/* ========================================
   CAREERZENX - COMPLETE STYLESHEET
   ======================================== */

/* CSS Variables - Colour Theme */
:root {
    /* Primary Palette */
    --primary-blue: #0F4C81;
    --primary-blue-dark: #0A3A63;
    --primary-blue-light: #1A6BA8;

    /* Secondary */
    --growth-green: #2E8B57;
    --growth-green-light: #3DAF6E;

    /* Accent */
    --energetic-orange: #F4A261;
    --energetic-orange-dark: #E76F51;

    /* Segment Accents */
    --student-teal: #38B2AC;
    --pro-gold: #D4AF37;
    --corp-navy: #1E3A5F;

    /* Neutrals & Surfaces */
    --charcoal: #1A1A2E;
    --slate-grey: #4A5568;
    --soft-grey: #E2E8F0;
    --off-white: #F8F9FA;
    --pure-white: #FFFFFF;
    --card-bg: #FFFFFF;
    --soft-blue: #EAF2F8;
    --text-white: #FFFFFF;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --border-radius: 12px;
    --border-radius-sm: 8px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--charcoal);
    line-height: 1.6;
    background: var(--pure-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--charcoal);
    line-height: 1.25;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h3 {
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--soft-grey);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo img,
.logo .logo-img {
    height: 48px;
    width: auto;
    max-height: 48px;
    display: block;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo .logo-dark {
    display: none;
}

[data-theme="dark"] .logo .logo-light {
    display: none;
}

[data-theme="dark"] .logo .logo-dark {
    display: block;
}

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

.logo-zenx {
    color: var(--energetic-orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item-wrapper {
    display: inline-flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--slate-grey);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--primary-blue);
    background: rgba(15, 76, 129, 0.06);
}

.dropdown-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px 8px 10px 2px;
    color: var(--slate-grey);
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    line-height: 1;
    vertical-align: middle;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus-visible {
    color: var(--primary-blue);
}

.dropdown-toggle i {
    transition: transform var(--transition-fast);
}

.nav-item.has-dropdown {
    position: relative;
}

.nav-item.has-dropdown:hover .dropdown-toggle i,
.nav-item.has-dropdown:focus-within .dropdown-toggle i,
.nav-item.has-dropdown.is-open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--soft-grey);
    padding: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    pointer-events: none;
    z-index: 1001;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown,
.nav-item.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown li a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--slate-grey);
    transition: var(--transition-fast);
}

.dropdown li a:hover,
.dropdown li a:focus-visible {
    background: var(--off-white);
    color: var(--primary-blue);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--pure-white);
    box-shadow: 0 4px 15px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 76, 129, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--soft-grey);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.btn-white {
    background: #FFFFFF;
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.btn-white:hover,
.btn-white:focus-visible {
    background: #F8F9FA;
    color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn-outline-white {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 50%, #f5f0eb 100%);
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--pure-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.hero-badge i {
    color: var(--energetic-orange);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--pure-white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--energetic-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

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

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

/* Hero Visual Cards */
.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}

.hero-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--border-radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.hero-card:hover,
.hero-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.hero-card i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: inline-block;
}

.student-card i {
    color: var(--student-teal);
}

.pro-card i {
    color: var(--pro-gold);
}

.corp-card i {
    color: var(--corp-navy);
}

.student-card {
    border-top: 3px solid var(--student-teal);
}

.pro-card {
    border-top: 3px solid var(--pro-gold);
}

.corp-card {
    border-top: 3px solid var(--corp-navy);
}

.hero-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--charcoal);
}

.hero-card p {
    font-size: 0.85rem;
    color: var(--slate-grey);
}

.hero-visual .corp-card {
    grid-column: 1 / -1;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section-header {
    text-align: center;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(15, 76, 129, 0.08);
    color: var(--primary-blue);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--slate-grey);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--pure-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    border: 1px solid var(--soft-grey);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--growth-green));
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 76, 129, 0.08);
    border-color: rgba(15, 76, 129, 0.2);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--pure-white);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 1.8rem;
}

.service-card[data-segment="students"] .service-icon {
    background: linear-gradient(135deg, var(--student-teal), #2C7A7B);
}

.service-card[data-segment="professionals"] .service-icon {
    background: linear-gradient(135deg, var(--pro-gold), #B7791F);
}

.service-card[data-segment="corporate"] .service-icon {
    background: linear-gradient(135deg, var(--corp-navy), var(--primary-blue));
}

.service-card[data-segment="students"]::before {
    background: linear-gradient(90deg, var(--student-teal), var(--growth-green));
}

.service-card[data-segment="professionals"]::before {
    background: linear-gradient(90deg, var(--pro-gold), var(--energetic-orange));
}

.service-card[data-segment="corporate"]::before {
    background: linear-gradient(90deg, var(--corp-navy), var(--primary-blue));
}

.service-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.service-card[data-segment="students"] .service-tag {
    color: var(--student-teal);
}

.service-card[data-segment="professionals"] .service-tag {
    color: var(--pro-gold);
}

.service-card[data-segment="corporate"] .service-tag {
    color: var(--corp-navy);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.service-card>p {
    color: var(--slate-grey);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    margin-bottom: 28px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--slate-grey);
    border-bottom: 1px solid var(--soft-grey);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: var(--growth-green);
    font-size: 0.85rem;
}

/* ========================================
   WHY US SECTION (EDITORIAL REFINEMENT)
   ======================================== */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--off-white);
    border-top: 1px solid var(--soft-grey);
    border-bottom: 1px solid var(--soft-grey);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.why-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--charcoal);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.why-lead {
    font-size: 1.05rem;
    color: var(--slate-grey);
    margin-bottom: 32px;
    line-height: 1.65;
    max-width: 580px;
}

.why-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.why-card {
    background: var(--pure-white);
    border: 1px solid var(--soft-grey);
    border-radius: var(--border-radius-sm);
    padding: 22px 20px;
    transition: var(--transition-fast);
}

.why-card:hover {
    border-color: var(--primary-blue-light);
    box-shadow: 0 8px 24px rgba(15, 76, 129, 0.06);
    transform: translateY(-2px);
}

.why-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(15, 76, 129, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.why-card-highlight .why-icon {
    background: rgba(46, 139, 87, 0.1);
    color: var(--growth-green);
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.85rem;
    color: var(--slate-grey);
    line-height: 1.5;
}

.why-visual {
    position: relative;
}

.why-visual .content-image {
    min-height: 420px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--soft-grey);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    padding: 36px 32px;
    border: 1px solid var(--soft-grey);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 76, 129, 0.08);
    border-color: rgba(15, 76, 129, 0.2);
}

.stars {
    color: var(--energetic-orange);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-card>p {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--growth-green));
    color: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--slate-grey);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--pure-white);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--corp-navy) 100%);
    border-radius: var(--border-radius);
    padding: 80px 60px;
    text-align: center;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
    position: relative;
}

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

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--charcoal);
    letter-spacing: -0.5px;
}

.contact-info>p {
    font-size: 1.1rem;
    color: var(--slate-grey);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-method>i {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--pure-white);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.contact-method h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-method a,
.contact-method span {
    font-size: 1.05rem;
    color: var(--charcoal);
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--primary-blue);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--charcoal);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--soft-grey);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: var(--transition-fast);
    background: var(--pure-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.08);
}

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

.input-error {
    border-color: var(--energetic-orange-dark) !important;
}

/* ========================================
   LOCATION & MAP SECTION
   ======================================== */
.location-section {
    padding-top: 0 !important;
}

.location-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--soft-grey);
    color: var(--charcoal);
}

.location-intro {
    margin-bottom: 32px;
}

.location-intro h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--charcoal);
    letter-spacing: -0.5px;
}

.location-address-lead {
    font-size: 1.05rem;
    color: var(--slate-grey);
    line-height: 1.6;
}

.location-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: center;
}

.address-text {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.65;
    margin-top: 4px;
}

.location-details .contact-method > i {
    background: var(--off-white);
    border: 1px solid var(--soft-grey);
    color: var(--primary-blue);
}

.location-details .contact-method h4 {
    color: var(--slate-grey);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.location-details .contact-method span,
.location-details .contact-method strong {
    color: var(--charcoal);
}

.map-wrapper {
    width: 100%;
    height: 420px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--soft-grey);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .map-wrapper {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .location-card {
        padding: 28px 20px;
    }

    .map-wrapper {
        height: 290px;
    }
}

.content-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border: 0 !important;
    border-radius: var(--border-radius) !important;
    background: var(--soft-grey) !important;
    box-shadow: 0 16px 36px rgba(15, 76, 129, 0.12);
}

.content-image > i {
    display: none !important;
}

.content-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.content-image-tall {
    min-height: 450px;
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #F8FAFC;
    color: #526174;
    padding: 70px 0 0;
    border-top: 1px solid #E2E8F0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-brand .logo img {
    height: 44px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

.footer-brand p {
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: #526174;
    max-width: 380px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E8EEF5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

.social-links a:hover,
.social-links a:focus-visible {
    background: var(--primary-blue);
    color: var(--pure-white);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: #13233F;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: #526174;
    transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--primary-blue);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #E2E8F0;
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #64748B;
}

.footer-bottom i {
    color: var(--energetic-orange);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .services-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .logo img,
    .logo .logo-img {
        height: 40px;
        max-height: 40px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--pure-white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 24px;
        gap: 4px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-bottom: 1px solid var(--soft-grey);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-item-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .nav-link {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 10px 14px;
        min-height: 44px;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--slate-grey);
        border-radius: var(--border-radius-sm);
        transition: var(--transition-fast);
    }

    .dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        padding: 0 12px;
        background: transparent !important;
        border: none !important;
        outline: none;
        box-shadow: none !important;
        -webkit-appearance: none;
        appearance: none;
        color: var(--slate-grey);
        font-size: 0.8rem;
        cursor: pointer;
        border-radius: var(--border-radius-sm);
        transition: var(--transition-fast);
        flex-shrink: 0;
    }

    .dropdown-toggle:hover,
    .dropdown-toggle:focus-visible {
        color: var(--primary-blue);
        background: rgba(15, 76, 129, 0.06);
    }

    .nav-item.has-dropdown.is-open .dropdown-toggle i,
    .nav-item.has-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
        color: var(--primary-blue);
    }

    .nav-item.has-dropdown .dropdown {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid rgba(15, 76, 129, 0.18) !important;
        background: rgba(15, 76, 129, 0.03) !important;
        border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
        margin: 2px 0 6px 12px;
        padding: 4px 0 4px 6px;
        pointer-events: auto;
    }

    .nav-item.has-dropdown.is-open .dropdown,
    .nav-item.has-dropdown.active .dropdown {
        display: block;
    }

    .dropdown li a {
        display: flex;
        align-items: center;
        padding: 8px 14px;
        min-height: 44px;
        font-size: 0.9rem;
        color: var(--slate-grey);
        border-radius: var(--border-radius-sm);
        transition: var(--transition-fast);
    }

    .dropdown li a:hover,
    .dropdown li a:focus-visible {
        background: rgba(15, 76, 129, 0.06);
        color: var(--primary-blue);
    }

    .nav-cta {
        width: 100%;
        min-height: 44px;
        margin-top: 6px;
        text-align: center;
        justify-content: center;
    }

    /* Dark theme mobile navigation overrides */
    [data-theme="dark"] .nav-menu {
        background: #111827;
        border-color: var(--soft-grey);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    [data-theme="dark"] .nav-item.has-dropdown .dropdown {
        background: rgba(255, 255, 255, 0.03) !important;
        border: none !important;
        border-left: 2px solid rgba(99, 179, 237, 0.3) !important;
        box-shadow: none !important;
    }

    [data-theme="dark"] .dropdown-toggle {
        color: var(--slate-grey);
        background: transparent !important;
        border: none !important;
    }

    [data-theme="dark"] .dropdown-toggle:hover,
    [data-theme="dark"] .dropdown-toggle:focus-visible {
        color: var(--primary-blue);
        background: rgba(99, 179, 237, 0.1);
    }

    [data-theme="dark"] .dropdown li a {
        color: var(--slate-grey);
    }

    [data-theme="dark"] .dropdown li a:hover,
    [data-theme="dark"] .dropdown li a:focus-visible {
        background: rgba(99, 179, 237, 0.1);
        color: var(--primary-blue);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

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

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

    .hero-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .why-content h2,
    .contact-info h2,
    .cta-box h2 {
        font-size: 1.8rem;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .content-image,
    .content-image-tall {
        min-height: 280px;
    }

    .why-editorial-grid {
        grid-template-columns: 1fr;
    }
}

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

/* ========================================
   UTILITY CLASSES
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   DARK MODE
   ======================================== */
[data-theme="dark"] {
    --charcoal: #F8F9FA;
    --slate-grey: #CBD5E0;
    --soft-grey: #2D3748;
    --off-white: #1A202C;
    --pure-white: #FFFFFF;
    --card-bg: #1A202C;
    --soft-blue: #1A365D;
    --primary-blue: #63B3ED;
    --primary-blue-dark: #3182CE;
}

[data-theme="dark"] body {
    background: #111827;
    color: var(--charcoal);
}

[data-theme="dark"] .navbar {
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 1px solid var(--soft-grey);
}

[data-theme="dark"] .nav-link {
    color: var(--slate-grey);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link:focus-visible {
    color: var(--primary-blue);
    background: rgba(99, 179, 237, 0.1);
}

[data-theme="dark"] .dropdown-toggle {
    color: var(--slate-grey);
}

[data-theme="dark"] .dropdown-toggle:hover,
[data-theme="dark"] .dropdown-toggle:focus-visible {
    color: var(--primary-blue);
}

[data-theme="dark"] .dropdown {
    background: var(--card-bg);
    border-color: var(--soft-grey);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .dropdown li a {
    color: var(--slate-grey);
}

[data-theme="dark"] .dropdown li a:hover,
[data-theme="dark"] .dropdown li a:focus-visible {
    background: var(--soft-grey);
    color: var(--primary-blue);
}

[data-theme="dark"] .hero-overlay {
    background: rgba(15, 23, 42, 0.85);
}

[data-theme="dark"] .services {
    background: #111827;
}

[data-theme="dark"] .why-us {
    background: #0B1120;
    border-color: var(--soft-grey);
}

[data-theme="dark"] .why-card {
    background: var(--card-bg);
    border-color: var(--soft-grey);
}

[data-theme="dark"] .why-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .why-icon {
    background: rgba(99, 179, 237, 0.12);
    color: var(--primary-blue);
}

[data-theme="dark"] .why-card-highlight .why-icon {
    background: rgba(61, 175, 110, 0.15);
    color: var(--growth-green-light);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .hero-card,
[data-theme="dark"] .contact-form-wrapper {
    background: var(--card-bg);
    border-color: var(--soft-grey);
}

[data-theme="dark"] .service-features li {
    border-bottom-color: var(--soft-grey);
}

[data-theme="dark"] .service-features li i {
    color: var(--growth-green-light);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .testimonial-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .btn-secondary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary-blue);
    color: #0F172A;
}

[data-theme="dark"] .btn-outline {
    color: var(--charcoal);
    border-color: var(--soft-grey);
}

[data-theme="dark"] .btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

[data-theme="dark"] .contact-section {
    background: #111827;
}

[data-theme="dark"] .contact-method>i {
    background: var(--card-bg);
    color: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #111827;
    color: var(--charcoal);
    border-color: var(--soft-grey);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(99, 179, 237, 0.2);
}

[data-theme="dark"] .footer {
    background: #0F172A;
    color: #94A3B8;
    border-top: 1px solid #1E293B;
}

[data-theme="dark"] .footer-brand p {
    color: #94A3B8;
}

[data-theme="dark"] .footer-links h4 {
    color: #F8F9FA;
}

[data-theme="dark"] .social-links a {
    background: #1E293B;
    color: #63B3ED;
}

[data-theme="dark"] .social-links a:hover,
[data-theme="dark"] .social-links a:focus-visible {
    background: var(--primary-blue);
    color: var(--pure-white);
}

[data-theme="dark"] .footer-links a {
    color: #94A3B8;
}

[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-links a:focus-visible {
    color: #63B3ED;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: #1E293B;
    color: #64748B;
}

/* Accessible focus rings */
:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

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

/* ========================================
   SCROLL REVEAL ANIMATIONS (Zero CLS, Progressive Enhancement)
   ======================================== */
.reveal-on-scroll {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    html.js-motion .reveal-on-scroll {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: opacity, transform;
    }

    html.js-motion .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}
