/* ========================================
   PREMIER SERVICES - MODERN WEBSITE DESIGN
   ======================================== */

/* CSS Variables */
:root {
    --primary: #c41e3a;
    --primary-dark: #a01830;
    --primary-light: #e8405b;
    --secondary: #1a1a2e;
    --accent: #f39c12;
    --dark: #0f0f1a;
    --gray-900: #1a1a2e;
    --gray-800: #2d2d44;
    --gray-700: #404060;
    --gray-600: #6b6b8a;
    --gray-500: #8888a4;
    --gray-400: #a5a5bd;
    --gray-300: #c2c2d6;
    --gray-200: #e0e0ec;
    --gray-100: #f0f0f7;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-xl: 0 35px 60px -15px rgb(0 0 0 / 0.3);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.logo-img {
    height: 75px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 68px;
}

.navbar.scrolled .logo {
    color: var(--secondary);
}

.logo-text {
    display: flex;
    gap: 0.25rem;
}

.logo-accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--secondary);
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--gray-800);
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
        background: var(--gray-100);
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 8rem 4rem 4rem;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    z-index: -1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(196, 30, 58, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, transparent 40%, rgba(196, 30, 58, 0.05) 100%);
    transform: rotate(-15deg);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-left: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-accent {
    display: block;
    color: var(--primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
}

.image-shape {
    position: absolute;
    inset: -20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    transform: rotate(6deg);
    opacity: 0.5;
}

.image-wrapper img {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-2xl);
    object-fit: cover;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img,
.about-image img,
.content-image img,
.gallery-item img {
    opacity: 0;
    transition: opacity 200ms ease;
}

.image-wrapper img.image-loaded,
.about-image img.image-loaded,
.content-image img.image-loaded,
.gallery-item img.image-loaded {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .image-wrapper img,
    .about-image img,
    .content-image img,
    .gallery-item img {
        transition: none;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 7rem 1.5rem 4rem;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .image-wrapper img {
        max-width: 350px;
    }

    .hero-scroll {
        display: none;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(196, 30, 58, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-outline-white svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ========================================
   SERVICES OVERVIEW
   ======================================== */
.services-overview {
    padding: 6rem 0;
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-600);
    flex: 1;
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.service-card:hover .service-link {
    gap: 0.5rem;
}

/* ========================================
   ABOUT PREVIEW
   ======================================== */
.about-preview {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-images {
    position: relative;
    height: 500px;
}

.about-image {
    position: absolute;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image.main {
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
}

.about-image.main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image.secondary {
    bottom: -40px;
    right: 0;
    width: 50%;
    height: 50%;
    border: 6px solid var(--white);
}

.about-image.secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.experience-badge {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.about-content .section-tag {
    margin-bottom: 1rem;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--gray-600);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    margin-bottom: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-weight: 500;
}

.about-features svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        height: 400px;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-features li {
        justify-content: center;
    }

    .about-content .btn {
        margin: 0 auto;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(196, 30, 58, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(196, 30, 58, 0.15) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    padding: 5rem 0 2rem;
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.25rem;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    font-size: 0.875rem;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* ========================================
   PAGE HEADER (for inner pages)
   ======================================== */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(196, 30, 58, 0.1) 0%, transparent 40%);
}

.page-header .container {
    position: relative;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1.25rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--gray-600);
}

.cta-inline-link {
    text-decoration: underline;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--gray-500);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--gray-600);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    padding: 5rem 0;
}

.content-section.alt {
    background: var(--gray-100);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.content-text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-text ul {
    margin: 1.5rem 0;
}

.content-text li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.content-text li svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid.reverse {
        direction: ltr;
    }
}

/* ========================================
   FEATURES GRID
   ======================================== */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.contact-method .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 30, 58, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-method svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.contact-method h4 {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 100px;
}

/* ========================================
   ENHANCED MOBILE RESPONSIVENESS
   ======================================== */

/* Extra Large screens (1400px+) */
@media (min-width: 1400px) {
    .hero {
        padding: 8rem 6rem 4rem;
    }
    
    .container {
        max-width: 1400px;
    }
}

/* Large screens (1200px - 1399px) */
@media (max-width: 1399px) {
    .hero {
        padding: 8rem 3rem 4rem;
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 520px;
    }
}

/* Medium-Large screens (992px - 1199px) */
@media (max-width: 1199px) {
    .hero {
        padding: 7rem 2rem 3rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--gray-800);
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
        background: var(--gray-100);
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        padding: 6rem 1.5rem 3rem;
        text-align: center;
        min-height: auto;
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        margin-left: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .image-wrapper img {
        max-width: 350px;
        margin: 0 auto;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-images {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-features li {
        justify-content: center;
    }
    
    .about-content .btn {
        margin: 0 auto;
    }

    /* Content Grids */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-grid.reverse {
        direction: ltr;
    }
    
    .content-text {
        text-align: center;
    }
    
    .content-text ul {
        display: inline-block;
        text-align: left;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-methods {
        align-items: center;
    }
    
    .contact-method {
        justify-content: center;
    }
}

/* Small Tablets / Large Phones (576px - 767px) */
@media (max-width: 767px) {
    /* Typography scaling */
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 7rem 0 3rem;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 5rem 1rem 2.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-stats {
        gap: 1rem;
        padding-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .image-wrapper img {
        max-width: 280px;
    }
    
    .image-shape {
        inset: -10px;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Services */
    .services-overview {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }

    /* About images */
    .about-images {
        height: 320px;
    }
    
    .about-image.secondary {
        width: 45%;
        height: 45%;
    }
    
    .experience-badge {
        padding: 1rem;
        right: 10%;
    }
    
    .exp-number {
        font-size: 2rem;
    }

    /* Sections */
    .content-section {
        padding: 3rem 0;
    }
    
    .features-section {
        padding: 3rem 0;
    }
    
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 1rem;
    }
    
    .footer-contact li {
        justify-content: center;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Mobile Phones (max-width: 575px) */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Navbar */
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .navbar.scrolled .logo-img {
        height: 54px;
    }

    /* Hero */
    .hero {
        padding: 7rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .title-accent {
        font-size: inherit;
    }
    
    .image-wrapper img {
        max-width: 240px;
    }

    /* Page headers */
    .page-header {
        padding: 6rem 0 2.5rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }

    /* Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }

    /* About */
    .about-images {
        height: 280px;
    }
    
    .about-image.main {
        width: 75%;
    }
    
    .about-image.secondary {
        width: 50%;
        height: 40%;
        bottom: -20px;
    }
    
    .experience-badge {
        display: none;
    }

    /* Content sections */
    .content-image {
        border-radius: var(--radius-lg);
    }
    
    .content-text h2 {
        font-size: 1.5rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }

    /* Footer */
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-logo {
        font-size: 1.1rem;
    }
}

/* Extra small devices (max-width: 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        text-align: center;
    }
    
    .image-wrapper img {
        max-width: 200px;
    }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .nav-link:hover {
        background: transparent;
    }
    
    .navbar.scrolled .nav-link:hover {
        background: transparent;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 2rem 2rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .page-header {
        padding: 5rem 0 2rem;
    }
}
