@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ================================================================
   DESIGN SYSTEM — Teal + Charcoal from FilerWaale logo
   ================================================================ */
:root {
    --primary: #1a7b7b;
    --primary-dark: #145f5f;
    --primary-light: rgba(26,123,123,0.06);
    --primary-light-2: rgba(26,123,123,0.10);
    --charcoal: #1e2a3a;
    --text-main: #222222;
    --text-body: #333333;
    --text-muted: #666666;
    --text-light: #999999;
    --bg-body: #f7f8fa;
    --bg-white: #ffffff;
    --bg-section-alt: #f0f2f5;
    --border: rgba(0,0,0,0.08);
    --border-medium: rgba(0,0,0,0.12);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.11);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: 0.22s ease;
    --header-height: 5.5rem;
    --container-max: 82rem;
    color-scheme: light;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background: var(--bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--charcoal);
    line-height: 1.3;
}

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(26,123,123,0.25);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 22px rgba(26,123,123,0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--charcoal);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.btn-outline:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* ================================================================
   CARDS
   ================================================================ */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all var(--transition);
}

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

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

/* ================================================================
   HEADER — Befiler-inspired 3-column grid
   ================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(0,0,0,0.05);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--header-height);
}

/* Brand */
.header-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-brand img {
    height: 3.8rem;
    width: auto;
    object-fit: contain;
}

/* Nav list (center) */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

/* Invisible hover bridge */
.nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.75rem;
    background: transparent;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 0.85rem;
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
    text-decoration: none;
}

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

.nav-icon.mobile-only {
    display: none;
}

.mobile-menu-header {
    display: none;
}

.nav-chevron {
    width: 0.7rem;
    height: 0.7rem;
    opacity: 0.4;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.nav-item:hover .nav-chevron {
    transform: rotate(180deg);
}

/* Standard Dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-0.5rem);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    padding: 0.375rem;
    min-width: 13rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility 0s 0.22s;
    z-index: 200;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -0.375rem;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 0.75rem;
    height: 0.75rem;
    background: var(--bg-white);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    color: var(--text-main);
    font-size: 0.845rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background var(--transition), color var(--transition);
}

.nav-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Mega Dropdown (Services) */
.nav-item--mega {
    position: static;
}

.nav-mega {
    position: absolute;
    top: calc(var(--header-height) + 1px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity var(--transition), transform var(--transition), visibility 0s 0.22s;
    z-index: 200;
    padding: 1.25rem 0;
}

.mega-inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.375rem;
}

.mega-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.875rem 0.75rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.mega-item:hover {
    background: var(--primary-light);
    border-color: rgba(26,123,123,0.15);
    transform: translateY(-2px);
}

.mega-item__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--primary-light-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mega-item__icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
    stroke: var(--primary);
}

.mega-item__title {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--charcoal);
    line-height: 1.3;
}

.mega-item__desc {
    font-size: 0.72rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.mega-item:hover .mega-item__title {
    color: var(--primary);
}

/* View All card variant */
.mega-item--view-all {
    border: 1.5px dashed rgba(26,123,123,0.3);
    background: rgba(26,123,123,0.02);
}
.mega-item--view-all .mega-item__icon {
    background: var(--primary-light-2);
}
.mega-item--view-all .mega-item__title {
    color: var(--primary);
}
.mega-item--view-all:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    border-style: solid;
}

/* Open states */
.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity var(--transition), transform var(--transition), visibility 0s;
}

.nav-item--mega:hover .nav-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity var(--transition), transform var(--transition), visibility 0s;
}

/* Right actions */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
}

.header-cta {
    font-size: 0.845rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    border-radius: var(--radius-sm);
    transition: background var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.header-cta:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26,123,123,0.32);
}

/* Hamburger */
.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: background var(--transition);
}

.header-hamburger:hover {
    background: rgba(0,0,0,0.05);
}

.header-hamburger span {
    display: block;
    width: 1.375rem;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.header-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
    background: linear-gradient(to bottom, var(--bg-white) 0%, #f2f8f8 100%);
    padding: 60px 0 20px;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light-2);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-stats-card {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 15px 0;
    margin-top: 20px;
    width: 100%;
}

.hero-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.hero-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.hero-stat-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.hero-stat-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
}

.hero-stat-item small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 420px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
}

/* Legacy trust bar removed */

/* ================================================================
   STATS
   ================================================================ */
.stats-section {
    background: linear-gradient(135deg, rgba(26,123,123,0.04), rgba(26,123,123,0.02));
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-item .counter-val {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 5px;
    font-family: 'Inter', sans-serif;
}

/* ================================================================
   TAX CALCULATOR
   ================================================================ */
.calculator-container {
    background: linear-gradient(135deg, var(--bg-section-alt), #e8f2f2);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 70px;
    border: 1px solid rgba(26,123,123,0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    margin-top: 50px;
}

.calc-left {
    flex: 0 0 30%;
}

.calc-left h2 {
    font-size: 2.2rem;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 15px;
}

.calc-left p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.calc-right {
    flex: 1;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    overflow: hidden;
}

.calc-form {
    flex: 1;
    padding: 40px;
}

.calc-inputs {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.calc-input-group {
    flex: 1;
}

.calc-input-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7c93;
    margin-bottom: 8px;
}

.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-prefix span {
    position: absolute;
    left: 15px;
    color: #a0aec0;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-with-prefix input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8f9fa;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: all 0.3s;
}

.input-with-prefix input:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
}

.calc-input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8f9fa;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
}

.calc-slider-container {
    margin-bottom: 25px;
}

#calc-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    margin-bottom: 10px;
}

#calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    cursor: pointer;
}

.calc-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 600;
}

.calc-annual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px dashed var(--border);
}

.calc-annual-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7c93;
}

.calc-annual-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--charcoal);
}

.calc-results {
    width: 250px;
    background: #fff;
    border-left: 1px dashed var(--border);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-result-item {
    margin-bottom: 20px;
}

.result-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a0aec0;
    margin-bottom: 5px;
}

.result-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
}

.calc-note {
    font-size: 0.7rem;
    color: #a0aec0;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .calculator-container {
        flex-direction: column;
        padding: 30px 20px;
        margin-top: 25px;
    }
    .calc-right {
        flex-direction: column;
        width: 100%;
    }
    .calc-results {
        width: 100%;
        border-left: none;
        border-top: 1px dashed var(--border);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 30px;
    }
    .calc-result-item {
        margin-bottom: 0;
    }
    .calc-note {
        display: none;
    }
}
@media (max-width: 576px) {
    .calc-inputs {
        flex-direction: column;
    }
    .calc-results {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ================================================================
   SERVICES
   ================================================================ */
/* ================================================================
   SERVICES FILTER & GRID
   ================================================================ */
.services-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.services-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-pill {
    background: var(--bg-white);
    border: 1px solid var(--border-medium);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26,123,123,0.3);
}

.services-search input {
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-medium);
    font-size: 0.95rem;
    width: 250px;
    outline: none;
    transition: var(--transition);
    background: var(--bg-white);
}

.services-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.service-intro-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.service-intro-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.service-intro-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-intro-text .intro-p1 {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-intro-text .intro-p2 {
    line-height: 1.8;
}

@media (max-width: 768px) {
    .service-intro-flex {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
    }
    
    .service-intro-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 5px;
    }

    .service-intro-text h2 {
        font-size: 1.6rem;
    }

    .service-intro-text .intro-p1 {
        font-size: 1rem;
    }
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    position: relative;
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.6rem;
    background: var(--primary-light-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

/* Connector line between steps */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    border-top: 2px dashed rgba(26,123,123,0.25);
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    align-items: flex-start;
}
@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    margin-bottom: 12px;
    overflow: hidden;
    padding: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-item.open .faq-question {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ================================================================
   PAGE HEADER (inner pages)
   ================================================================ */
.page-header {
    background: linear-gradient(135deg, rgba(26,123,123,0.06), rgba(26,123,123,0.02));
    padding: 50px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ================================================================
   DEADLINE BANNER
   ================================================================ */
.deadline-banner {
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 20;
}

.deadline-content {
    background: linear-gradient(135deg, var(--primary), var(--charcoal));
    border-radius: 15px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(26, 123, 123, 0.2);
    position: relative;
    overflow: hidden;
}

.deadline-content::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 200" preserveAspectRatio="none"><path d="M0,200 L0,150 L20,150 L20,130 L40,130 L40,110 L60,110 L60,90 L80,90 L80,70 L100,70 L100,100 L120,100 L120,80 L140,80 L140,60 L160,60 L160,40 L180,40 L180,90 L200,90 L200,120 L220,120 L220,150 L240,150 L240,130 L260,130 L260,110 L280,110 L280,80 L300,80 L300,50 L320,50 L320,30 L340,30 L340,70 L360,70 L360,100 L380,100 L380,130 L400,130 L400,160 L420,160 L420,180 L440,180 L440,150 L460,150 L460,120 L480,120 L480,90 L500,90 L500,60 L520,60 L520,40 L540,40 L540,80 L560,80 L560,110 L580,110 L580,140 L600,140 L600,170 L620,170 L620,190 L640,190 L640,160 L660,160 L660,130 L680,130 L680,100 L700,100 L700,70 L720,70 L720,50 L740,50 L740,90 L760,90 L760,120 L780,120 L780,150 L800,150 L800,180 L820,180 L820,200 L1000,200 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    background-position: bottom;
    z-index: 0;
    pointer-events: none;
}

.deadline-left {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.deadline-calendar {
    background: #fff;
    border-radius: 12px;
    width: 85px;
    height: 95px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.calendar-month {
    background: var(--primary-light-2);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 10px 0;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
}

.calendar-day {
    font-size: 2.2rem;
    font-weight: 800;
    color: #222;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.deadline-text h2 {
    color: #fff;
    font-size: 1.9rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.deadline-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.05rem;
}

.deadline-right {
    position: relative;
    z-index: 1;
}

.deadline-btn {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    white-space: nowrap;
    border: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    display: inline-block;
}

.deadline-btn:hover {
    background: #f8f9fa;
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

@media (max-width: 991px) {
    .deadline-content {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        gap: 25px;
    }
    .deadline-left {
        flex-direction: column;
        gap: 15px;
    }
    .deadline-banner {
        margin-bottom: 30px;
    }
}

/* ================================================================
   FORMS
   ================================================================ */
.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,123,123,0.1);
}

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

select.form-control {
    cursor: pointer;
}

/* ================================================================
   FOOTER — Befiler-inspired
   ================================================================ */

/* Support Bar */
.footer-support {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.support-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-body);
    white-space: nowrap;
}

.support-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    stroke: var(--primary);
    flex-shrink: 0;
}

.support-item a {
    color: var(--primary);
    font-weight: 600;
}

.support-item a:hover {
    text-decoration: underline;
}

.support-label {
    font-weight: 700;
    color: var(--charcoal);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Main Footer */
.footer {
    background: var(--bg-white);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-section-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}

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

.social-links a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition), padding-left var(--transition);
}

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

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

.footer-badges {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-badges span::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: 700;
}

/* ================================================================
   WhatsApp Float
   ================================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px 0;
    text-align: center;
    color: #fff;
}

.cta-section .section-title {
    color: #fff;
}

.cta-section .section-desc {
    color: rgba(255,255,255,0.8);
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.cta-section .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    background: transparent;
}

.cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* ================================================================
   MOBILE MENU OVERLAY
   ================================================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1049;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    backdrop-filter: blur(2px);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    .header-brand img {
        height: 4.5rem;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 30px;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(.22,1,.36,1);
        z-index: 1050;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0,0,0,0.1);
        gap: 0;
    }

    .header-nav.active {
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1.6rem;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: 2px;
        margin-bottom: 25px;
        font-family: 'Outfit', sans-serif;
        border-bottom: 2px solid var(--primary-light);
        padding-bottom: 15px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item::after {
        display: none;
    }

    .nav-link {
        width: 100%;
        padding: 14px 18px;
        font-size: 1.05rem;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 0.4rem;
    }

    .nav-icon.mobile-only {
        display: block;
        width: 1.5rem;
        height: 1.5rem;
        color: var(--primary);
        flex-shrink: 0;
    }

    .nav-chevron {
        margin-left: auto;
    }

    /* Mega dropdown mobile */
    .nav-mega {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        transition: none;
        display: none;
    }

    .nav-item--mega.active .nav-mega {
        display: block;
    }

    .mega-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 8px;
    }

    .mega-item {
        padding: 10px 12px;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        border-radius: var(--radius-sm);
        margin-bottom: 2px;
        width: 100%;
    }

    .mega-item__desc {
        display: none;
    }

    /* Standard dropdown mobile */
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 8px;
        min-width: 0;
        display: none;
        transition: none;
    }

    .nav-dropdown::before {
        display: none;
    }

    .nav-item.active .nav-dropdown {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .header-hamburger {
        display: flex;
        z-index: 1051;
    }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content {
        display: contents;
    }

    .hero-badge {
        order: 1;
        margin: 0 auto;
    }

    .hero-title {
        order: 2;
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-image {
        order: 3;
        margin: 0 auto;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-subtitle {
        order: 4;
        text-align: center;
        margin: 0 auto;
        font-size: 1.05rem;
        line-height: 1.6;
        padding: 0 10px;
    }

    .hero-btns {
        order: 5;
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 20px;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
        font-size: 1.05rem;
        border-radius: 8px;
    }

    .hero-btns .btn-primary {
        box-shadow: 0 8px 24px rgba(26,123,123,0.25);
    }

    .hero-btns .btn-outline {
        box-shadow: 0 4px 15px rgba(0,0,0,0.06);
        border: 1px solid #e2e8f0;
    }

    .hero-stats-card {
        order: 6;
        margin-top: 15px;
        padding: 22px 5px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    }

    /* Trust bar */
    .trust-grid {
        display: flex;
        flex-direction: column;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card::after {
        display: none;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

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

    .support-grid {
        gap: 20px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    .page-title {
        font-size: 2.2rem;
    }
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 0;
    overflow: hidden;
    margin-top: 20px;
}

.trust-grid-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    margin-top: 40px;
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .trust-grid {
        flex-wrap: nowrap;
    }
}

.trust-item {
    flex: 1 1 200px;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-light-2);
    color: var(--primary);
}

.trust-item-icon svg {
    width: 20px;
    height: 20px;
}

.trust-item strong {
    display: block;
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 3px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.trust-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

@media (max-width: 1023px) {
    .trust-item {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 22px 18px;
    }
    .trust-item:last-child {
        border-bottom: none;
    }
    .trust-item-icon {
        width: 44px;
        height: 44px;
    }
    .trust-item-icon svg {
        width: 22px;
        height: 22px;
    }
    .trust-item strong {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    .trust-item span {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* ================================================================
   BEFILER LAYOUT SECTION
   ================================================================ */
.befiler-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 991px) {
    .befiler-layout-grid {
        grid-template-columns: 1fr;
    }
}

.how-it-works-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding-top: 20px;
    margin-bottom: 20px;
}

.how-it-works-row::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    border-top: 2px dashed rgba(26,123,123,0.3);
    z-index: 0;
}

.how-it-works-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 5px;
}

.how-it-works-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9f2f2;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 4px solid var(--bg-white);
    flex-shrink: 0;
}

.how-it-works-icon svg {
    width: 22px;
    height: 22px;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.why-choose-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light-2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-choose-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 991px) {
    .why-choose-image {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 25px 0;
    }

    .card {
        padding: 25px 20px;
        margin-bottom: 0;
    }

    .faq-item.card {
        padding: 0;
    }

    .trust-grid-wrapper {
        margin-top: 35px;
    }

    .befiler-layout-grid {
        gap: 15px;
    }

    .how-it-works-row {
        flex-direction: column;
        gap: 20px;
        padding-top: 0;
    }

    .how-it-works-row::before {
        display: none;
    }

    .how-it-works-step {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 15px;
        align-items: center;
        text-align: left;
        width: 100%;
        padding: 12px 10px;
    }

    .how-it-works-icon {
        margin: 0;
        width: 44px;
        height: 44px;
        border: none;
        grid-row: span 2;
    }

    .how-it-works-step h4 {
        font-size: 1rem !important;
        margin-bottom: 2px !important;
        align-self: end;
    }
    .how-it-works-step p {
        font-size: 0.85rem !important;
        margin-bottom: 0;
        align-self: start;
    }

    .why-choose-list {
        gap: 25px;
    }

    .why-choose-item {
        gap: 15px;
        align-items: center;
    }

    .why-choose-icon {
        width: 44px;
        height: 44px;
    }

    .why-choose-item h4 {
        font-size: 1rem !important;
        margin-bottom: 2px !important;
    }
    .why-choose-item p {
        font-size: 0.85rem !important;
        margin-bottom: 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .hero {
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

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

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

    .support-grid {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-item {
        font-size: 2rem;
    }

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

@media (max-width: 768px) {
    .services-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .services-categories {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .filter-pill {
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .services-search input {
        width: 100%;
    }
}

/* Service Detail Layouts */
.detail-bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Reusable Grids */
.responsive-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.responsive-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.about-hero-grid {
    gap: 60px;
}

.about-mission-grid {
    gap: 30px;
}

/* Contact Page Layout */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .detail-bottom-grid,
    .contact-form-grid,
    .responsive-grid-2,
    .responsive-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .about-hero-grid,
    .about-mission-grid {
        gap: 50px !important;
    }
}

/* ================================================================
   REVIEWS SECTION
   ================================================================ */
.reviews-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.reviews-marquee-container {
    height: 450px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: transparent;
    /* Soft gradient mask for smooth fading at top and bottom */
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}

.reviews-marquee-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* 5 cards + 5 duplicates. Gap is 20px. */
    animation: scroll-vertical 25s linear infinite;
}

/* Pause animation on hover */
.reviews-marquee-container:hover .reviews-marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-vertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 10px)); } 
}

.review-card {
    background: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ================================================================
   ABOUT PAGE IMAGE WRAPPER
   ================================================================ */
.about-image-wrapper {
    padding: 60px;
}

@media (max-width: 768px) {
    .about-image-wrapper {
        padding: 30px 15px;
    }
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-stars {
    color: #FFB800;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 1rem;
    color: var(--charcoal);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.review-author {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 991px) {
    .reviews-layout-grid {
        grid-template-columns: 1fr;
    }
    .reviews-marquee-container {
        height: 350px;
    }
}
