k/* ============================================================
   DNL Private Limited — Global Stylesheet (Light Theme)
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors — based on #2368e8 */
    --brand-900: #05132e;
    --brand-800: #081f4a;
    --brand-700: #0b2c6a;
    --brand-600: #0f3c8f;
    --brand-500: #2368e8;   /* PRIMARY */
    --brand-400: #3d7aeb;
    --brand-300: #74a0f1;
    --brand-200: #acc6f6;
    --brand-100: #d5e2fb;
    --brand-50:  #edf2fd;

    --primary: var(--brand-500);
    --primary-dark: var(--brand-600);
    --primary-light: var(--brand-400);
    --primary-glow: rgba(35, 104, 232, 0.35);

    --secondary: var(--brand-600);
    --accent: var(--brand-300);

    /* Light surfaces */
    --darker-bg: #f6f9fd;          /* page background */
    --dark-bg: #ffffff;            /* raised surface background */
    --card-bg: #ffffff;
    --card-hover: rgba(35, 104, 232, 0.04);
    --border-color: rgba(15, 27, 45, 0.08);
    --border-hover: rgba(35, 104, 232, 0.35);

    --text-primary: #0f1b2d;
    --text-secondary: #55617a;
    --text-muted: #8894a8;

    --shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.12), 0 0 0 1px rgba(35, 104, 232, 0.06);
    --shadow-glow: 0 0 40px rgba(35, 104, 232, 0.25);
    --shadow-btn: 0 6px 20px rgba(35, 104, 232, 0.3);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --transition-fast: 150ms var(--ease-out);
    --transition: 250ms var(--ease-out);
    --transition-slow: 450ms var(--ease-out);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.logo, .nav-cta, .btn {
    font-family: var(--font-heading);
}

/* Soft background tint */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 15%, rgba(35, 104, 232, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(116, 160, 241, 0.06) 0%, transparent 50%);
    z-index: -1;
}

/* Grid Pattern Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(15, 27, 45, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 27, 45, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 48px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition);
}

nav.scrolled {
    padding: 14px 48px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand-50), var(--brand-50));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-btn);
    transition: all var(--transition);
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 8px 34px var(--primary-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .name {
    font-size: 1.15rem;
    font-weight: 700;
}

.logo-text .tagline {
    font-size: 0.63rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--brand-300));
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.87rem;
    font-weight: 600;
    transition: all var(--transition);
    box-shadow: var(--shadow-btn);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--brand-50);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    font-family: var(--font-heading);
}

.btn i {
    font-size: 0.85em;
    transition: transform var(--transition);
}

.btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px var(--primary-glow);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--brand-50);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.02rem;
}

/* ============================================================
   CONTAINER & SECTIONS
   ============================================================ */

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 50%, var(--brand-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ============================================================
   HERO SECTION — full-bleed background image
   ============================================================ */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 150px 48px 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    isolation: isolate;
}

.hero.hero-compact {
    min-height: 58vh;
    padding: 150px 48px 70px;
}

/* Hero keeps a dark photographic overlay so light text stays legible on the image,
   even though the rest of the site is light. */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 25%, rgba(35, 104, 232, 0.30), transparent 55%),
        linear-gradient(180deg, rgba(5, 19, 46, 0.88) 0%, rgba(5, 19, 46, 0.80) 45%, rgba(5, 19, 46, 0.94) 100%);
    z-index: -1;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
    will-change: transform;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    font-size: 0.84rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s var(--ease-out);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-300);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--brand-300);
}

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

.hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 26px;
    color: #ffffff;
    animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero p {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.75;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */

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

.feature-card {
    padding: 40px 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
    border: 1px solid var(--brand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.feature-card h3 {
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Numbered step cards (replaces emoji numerals) */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-btn);
}

/* ============================================================
   STATS SECTION
   ============================================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.stat-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: 0.84rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
    padding: 100px 48px;
    text-align: center;
    position: relative;
}

.cta-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-500) 55%, var(--brand-400));
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
    animation: rotate 24s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.cta-box h2 .gradient-text {
    background: linear-gradient(135deg, #ffffff, var(--brand-100));
    -webkit-background-clip: text;
    background-clip: text;
}

.cta-box p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-box .btn-primary {
    background: #ffffff;
    color: var(--brand-600);
    box-shadow: 0 8px 24px rgba(5, 19, 46, 0.25);
}

.cta-box .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(5, 19, 46, 0.3);
}

.cta-box .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.cta-box .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    padding: 80px 48px 40px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 320px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-column h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.4px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer-column ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger.visible .feature-card,
.stagger.visible .stat-item {
    animation: staggerIn 0.6s var(--ease-out) both;
}

.stagger.visible .feature-card:nth-child(1),
.stagger.visible .stat-item:nth-child(1) { animation-delay: 0.05s; }
.stagger.visible .feature-card:nth-child(2),
.stagger.visible .stat-item:nth-child(2) { animation-delay: 0.12s; }
.stagger.visible .feature-card:nth-child(3),
.stagger.visible .stat-item:nth-child(3) { animation-delay: 0.19s; }
.stagger.visible .feature-card:nth-child(4),
.stagger.visible .stat-item:nth-child(4) { animation-delay: 0.26s; }
.stagger.visible .feature-card:nth-child(5) { animation-delay: 0.33s; }
.stagger.visible .feature-card:nth-child(6) { animation-delay: 0.40s; }

@keyframes staggerIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--brand-700));
}

::selection {
    background: var(--primary);
    color: #ffffff;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}

.contact-info-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.contact-info-item p,
.contact-info-item a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

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

@media (max-width: 992px) {
    nav {
        padding: 16px 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 120px 24px 60px;
        min-height: auto;
    }

    .hero.hero-compact {
        padding: 120px 24px 50px;
    }

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

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

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

    .container {
        padding: 0 24px;
    }

    .section {
        padding: 80px 0;
    }

    .cta-box {
        padding: 60px 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .section-header {
        margin-bottom: 48px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .contact-form {
        padding: 28px 20px;
    }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
