/* ================================================
   DREAMSMART BEHAVIORAL SOLUTIONS - DESIGN SYSTEM
   ================================================ */

/* -------------------- CSS VARIABLES -------------------- */
:root {
    /* Brand Colors */
    --color-blue: #17609E;
    --color-blue-dark: #124d7e;
    --color-blue-light: #1a6db3;
    --color-green: #99B63B;
    --color-green-dark: #7a922f;
    --color-green-light: #a8c44a;
    --color-orange: #F26622;
    --color-orange-dark: #d9561b;
    --color-orange-light: #f47a3e;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-charcoal: #2D3E50;
    --color-charcoal-dark: #1a2633;
    --color-gray-light: #ECF0F1;
    --color-gray: #BDC3C7;
    --color-gray-dark: #7F8C8D;
    
    /* Background Colors */
    --bg-primary: #F8F9FA;
    --bg-warm: #F5F3EF;
    --bg-dark: #1a2633;
    --bg-darker: #0f1419;
    
    /* Text Colors */
    --text-primary: #2D3E50;
    --text-secondary: #5a6c7d;
    --text-muted: #7F8C8D;
    --text-light: #FFFFFF;
    --text-light-muted: rgba(255, 255, 255, 0.75);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Layout */
    --container-max: 1280px;
    --container-narrow: 900px;
    --container-wide: 1400px;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--color-white);
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* -------------------- TYPOGRAPHY -------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.display {
    font-size: clamp(2.5rem, 5vw, var(--text-6xl));
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h1, .h1 {
    font-size: clamp(2rem, 4vw, var(--text-5xl));
    letter-spacing: -0.02em;
}

h2, .h2 {
    font-size: clamp(1.75rem, 3vw, var(--text-4xl));
    letter-spacing: -0.01em;
}

h3, .h3 {
    font-size: clamp(1.25rem, 2vw, var(--text-2xl));
    font-family: var(--font-body);
    font-weight: 600;
}

h4, .h4 {
    font-size: var(--text-xl);
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

.text-lg {
    font-size: var(--text-lg);
    line-height: 1.7;
}

.text-sm {
    font-size: var(--text-sm);
}

.text-xs {
    font-size: var(--text-xs);
}

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

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

.text-blue {
    color: var(--color-blue);
}

.text-green {
    color: var(--color-green);
}

.text-orange {
    color: var(--color-orange);
}

.text-white {
    color: var(--text-light);
}

/* -------------------- LAYOUT -------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.container-wide {
    max-width: var(--container-wide);
}

.section {
    padding: var(--space-20) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

.section-lg {
    padding: var(--space-24) 0;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-6);
}

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

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4, .grid-5 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--space-16) 0;
    }
}

/* Flex Utilities */
.flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* -------------------- BACKGROUNDS -------------------- */
.bg-white {
    background-color: var(--color-white);
}

.bg-light {
    background-color: var(--bg-primary);
}

.bg-warm {
    background-color: var(--bg-warm);
}

.bg-gray {
    background-color: var(--color-gray-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.bg-darker {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

.bg-blue {
    background-color: var(--color-blue);
    color: var(--text-light);
}

.bg-green {
    background-color: var(--color-green);
}

.bg-orange {
    background-color: var(--color-orange);
    color: var(--text-light);
}

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

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo a {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-blue);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: width var(--transition-base);
}

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

.nav-link i {
    font-size: 14px;
    transition: transform var(--transition-fast);
}

.nav-link:hover i {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--color-gray-light);
    color: var(--color-blue);
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        overflow-y: auto;
        max-height: calc(100vh - 80px);
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: var(--space-2) 0 0 var(--space-4);
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* -------------------- BUTTONS -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn i {
    font-size: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--color-blue);
    color: var(--text-light);
    border-color: var(--color-blue);
}

.btn-primary:hover {
    background: var(--color-blue-dark);
    border-color: var(--color-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--color-blue);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-orange {
    background: var(--color-orange);
    color: var(--text-light);
    border-color: var(--color-orange);
}

.btn-orange:hover {
    background: var(--color-orange-dark);
    border-color: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-white:hover {
    background: var(--color-gray-light);
    border-color: var(--color-gray-light);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-block {
    width: 100%;
}

/* -------------------- CARDS -------------------- */
.card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-slow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: var(--space-6);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.card-text {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-blue);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-top: var(--space-4);
    transition: gap var(--transition-fast);
}

.card-link:hover {
    gap: var(--space-3);
}

/* Icon Card */
.icon-card {
    padding: var(--space-8);
    text-align: center;
}

.icon-card .icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-size: 32px;
}

.icon-card .icon-wrap.blue {
    background: rgba(23, 96, 158, 0.1);
    color: var(--color-blue);
}

.icon-card .icon-wrap.green {
    background: rgba(153, 182, 59, 0.1);
    color: var(--color-green);
}

.icon-card .icon-wrap.orange {
    background: rgba(242, 102, 34, 0.1);
    color: var(--color-orange);
}

/* Feature Card */
.feature-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
}

.feature-card .icon-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: rgba(23, 96, 158, 0.1);
    color: var(--color-blue);
}

/* Dark Card */
.card-dark {
    background: var(--bg-dark);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-dark .card-title {
    color: var(--text-light);
}

.card-dark .card-text {
    color: var(--text-light-muted);
}

/* -------------------- BADGES -------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
}

.badge-blue {
    background: rgba(23, 96, 158, 0.1);
    color: var(--color-blue);
}

.badge-green {
    background: rgba(153, 182, 59, 0.1);
    color: var(--color-green-dark);
}

.badge-orange {
    background: rgba(242, 102, 34, 0.1);
    color: var(--color-orange);
}

.badge-dark {
    background: var(--color-charcoal);
    color: var(--text-light);
}

.badge-white {
    background: var(--color-white);
    color: var(--color-blue);
    box-shadow: var(--shadow-sm);
}

/* -------------------- HERO SECTIONS -------------------- */
.hero {
    padding: calc(80px + var(--space-16)) 0 var(--space-16);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

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

.hero-badge {
    margin-bottom: var(--space-6);
}

.hero-title {
    margin-bottom: var(--space-6);
    color: var(--color-blue);
}

.hero-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.hero-image-badge {
    position: absolute;
    bottom: var(--space-6);
    left: var(--space-6);
    background: var(--color-white);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
}

/* Homepage Hero (Full-width background image style) */
.hero-home {
    padding: 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--color-blue);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 80px;
}

.hero-home-content {
    max-width: 540px;
    padding: var(--space-16) 0;
}

.hero-home-title {
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.hero-home-text {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-home-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.btn-hero-dark {
    background: var(--color-charcoal);
    color: var(--text-light);
    border-color: var(--color-charcoal);
    border-radius: var(--radius-full);
    padding: var(--space-4) var(--space-10);
    font-size: var(--text-base);
}

.btn-hero-dark:hover {
    background: var(--color-charcoal-dark);
    border-color: var(--color-charcoal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px) {
    .hero-home {
        background-position: center;
        min-height: 500px;
    }
    
    .hero-home-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-home-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-home {
        min-height: 100svh;
        background-position: center top;
        background-size: cover;
        justify-content: center;
    }
    
    .hero-home::before {
        background: rgba(26, 38, 51, 0.55);
    }
    
    .hero-home-content {
        max-width: 100%;
        padding: var(--space-12) var(--space-4);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }
    
    .hero-home-title {
        font-size: clamp(1.75rem, 7vw, var(--text-4xl));
    }
    
    .hero-home-text {
        font-size: var(--text-base);
        max-width: 440px;
    }
    
    .hero-home-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-home-buttons .btn {
        width: 100%;
    }
}

/* Page Hero (Centered) */
.page-hero {
    padding: calc(80px + var(--space-16)) 0 var(--space-12);
    text-align: center;
    background: var(--bg-warm);
}

.page-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* -------------------- SECTION HEADERS -------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-12);
}

.section-header .badge {
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
}

.section-header-left {
    text-align: left;
    max-width: none;
    margin-bottom: var(--space-10);
}

/* -------------------- FORMS -------------------- */
.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(23, 96, 158, 0.1);
}

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

.form-error {
    display: none;
    font-size: var(--text-xs);
    color: #dc3545;
    margin-top: var(--space-2);
}

.form-error.active {
    display: block;
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-8);
}

.form-success.active {
    display: block;
}

.form-success i {
    font-size: 48px;
    color: var(--color-green);
    margin-bottom: var(--space-4);
}

/* -------------------- FOOTER -------------------- */
.footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--space-4);
}

.footer-description {
    color: var(--text-light-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-blue);
    border-color: var(--color-blue);
}

.footer-heading {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-6);
    color: var(--text-light);
}

.footer-links li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--text-light-muted);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-brands {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-brand-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    transition: background var(--transition-fast);
}

.footer-brand-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-brand-link img {
    height: 24px;
    width: auto;
}

.footer-brand-link span {
    font-size: var(--text-sm);
    color: var(--text-light-muted);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.footer-bottom p {
    color: var(--text-light-muted);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    color: var(--text-light-muted);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* -------------------- TRUST BAR (MARQUEE) -------------------- */
.trust-bar {
    background-color: var(--bg-primary);
    padding: var(--space-8) 0;
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
    overflow: hidden;
}

.trust-label {
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.trust-logos {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 100px, black calc(100% - 100px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 100px, black calc(100% - 100px), transparent);
}

.trust-logos-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: fit-content;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .trust-logos-track {
        animation: none;
    }
}

.trust-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-slow);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .trust-logo {
        height: 28px;
    }
    .trust-logos-track {
        gap: 2rem;
    }
}

/* -------------------- SOCIAL PROOF BAR -------------------- */
.social-proof-bar {
    padding: var(--space-8) 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
}

.social-proof-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.social-proof-item {
    text-align: center;
}

.social-proof-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-blue);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.social-proof-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.social-proof-logos {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    opacity: 0.6;
}

.social-proof-logos img {
    height: 32px;
    width: auto;
    filter: grayscale(100%);
    transition: all var(--transition-fast);
}

.social-proof-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* -------------------- CTA SECTIONS -------------------- */
.cta-section {
    background: linear-gradient(rgba(10, 15, 30, 0.82), rgba(10, 15, 30, 0.88)), url('https://imagedelivery.net/o4mWYROcO-l6Q05X-a5wtg/3b51c691-2f8d-4e64-ca9c-6e672e83ef00/public') center/cover no-repeat;
    color: var(--text-light);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: var(--text-light);
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: var(--text-lg);
    color: var(--text-light-muted);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* -------------------- TESTIMONIALS -------------------- */
.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--color-gray-light);
}

.testimonial-stars {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    color: var(--color-green);
}

.testimonial-quote {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.testimonial-role {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* -------------------- BSP IDENTITIES GALLERY -------------------- */
.bsp-identities-section {
    overflow: hidden;
}

.bsp-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.bsp-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
}

.bsp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
}

.bsp-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.bsp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bsp-card:hover .bsp-card-image img {
    transform: scale(1.06);
}

.bsp-card-content {
    padding: 1rem 1rem 1.25rem;
    text-align: center;
}

.bsp-card-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.bsp-card-tagline {
    font-size: 0.8rem;
    color: var(--text-light-muted);
    font-style: italic;
    margin: 0;
}

@media (max-width: 1024px) {
    .bsp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .bsp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .bsp-card-name {
        font-size: 0.875rem;
    }
    .bsp-card-tagline {
        font-size: 0.75rem;
    }
    .bsp-card-content {
        padding: 0.75rem 0.5rem 1rem;
    }
}

/* -------------------- SOLUTION IMAGE CARDS -------------------- */
.solution-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-slow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.solution-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-gray-light);
}

.solution-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-card-image img {
    transform: scale(1.06);
}

.solution-card-content {
    padding: var(--space-6) var(--space-6) var(--space-8);
}

.solution-card-content .badge {
    margin-bottom: var(--space-4);
}

.solution-card-content h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.solution-card-content p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.solution-card-content .card-link {
    margin-top: 0;
}

/* -------------------- CHRONOLOGICAL TIMELINE -------------------- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-blue), var(--color-green), var(--color-orange));
    transform: translateX(-50%);
}

.timeline-entry {
    position: relative;
    width: 50%;
    padding: 0 var(--space-10) var(--space-10) 0;
}

.timeline-entry:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 var(--space-10) var(--space-10);
}

.timeline-entry:last-child {
    padding-bottom: 0;
}

.timeline-year {
    position: absolute;
    right: -28px;
    top: 0;
    width: 56px;
    height: 56px;
    background: var(--color-blue);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-xs);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--color-white);
}

.timeline-entry:nth-child(even) .timeline-year {
    left: -28px;
    right: auto;
}

.timeline-entry:nth-child(2) .timeline-year { background: var(--color-green); }
.timeline-entry:nth-child(3) .timeline-year { background: var(--color-orange); }
.timeline-entry:nth-child(4) .timeline-year { background: var(--color-blue); }
.timeline-entry:nth-child(5) .timeline-year { background: var(--color-green); }
.timeline-entry:nth-child(6) .timeline-year { background: var(--color-orange); }

.timeline-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-slow);
}

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

.timeline-card h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.timeline-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-entry,
    .timeline-entry:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 var(--space-8) 56px;
    }

    .timeline-year,
    .timeline-entry:nth-child(even) .timeline-year {
        left: -8px;
        right: auto;
        width: 48px;
        height: 48px;
        box-shadow: 0 0 0 4px var(--bg-warm);
    }
}

/* -------------------- WHO WE SERVE SHOWCASE CARDS -------------------- */
.audience-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.audience-showcase-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.audience-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    color: var(--text-light);
    transition: all var(--transition-slow);
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
}

.audience-card-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.audience-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.audience-card:hover .audience-card-img img {
    transform: scale(1.06);
}

.audience-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 20, 25, 0.88) 0%, rgba(15, 20, 25, 0.45) 50%, rgba(15, 20, 25, 0.15) 100%);
    z-index: 1;
    transition: background var(--transition-slow);
}

.audience-card:hover .audience-card-overlay {
    background: linear-gradient(to top, rgba(15, 20, 25, 0.92) 0%, rgba(15, 20, 25, 0.5) 50%, rgba(15, 20, 25, 0.2) 100%);
}

.audience-card-content {
    position: relative;
    z-index: 2;
    padding: var(--space-8);
}

.audience-card-content .badge {
    margin-bottom: var(--space-3);
}

.audience-card-content h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--space-2);
    line-height: 1.2;
}

.audience-card-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.audience-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-green);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: gap var(--transition-fast);
}

.audience-card:hover .audience-card-link {
    gap: var(--space-3);
}

.audience-showcase-bottom .audience-card {
    min-height: 280px;
}

.audience-showcase-bottom .audience-card-content h3 {
    font-size: var(--text-xl);
}

.audience-cta-bar {
    margin-top: var(--space-8);
    text-align: center;
}

@media (max-width: 1024px) {
    .audience-showcase-bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .audience-showcase {
        grid-template-columns: 1fr;
    }
    .audience-showcase-bottom {
        grid-template-columns: 1fr;
    }
    .audience-card {
        min-height: 260px;
    }
    .audience-showcase-bottom .audience-card {
        min-height: 260px;
    }
}

/* -------------------- WHY DREAMSMART NUMBERED CARDS -------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.why-card {
    position: relative;
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.why-card-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    position: absolute;
    top: var(--space-4);
    right: var(--space-6);
    line-height: 1;
}

.why-card h4 {
    color: var(--text-light);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
    position: relative;
}

.why-card p {
    color: var(--text-light-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
    position: relative;
}

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

/* -------------------- CTA WITH BACKGROUND IMAGE -------------------- */
.cta-image-section {
    position: relative;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.cta-image-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 20, 25, 0.85) 0%, rgba(15, 20, 25, 0.6) 50%, rgba(15, 20, 25, 0.4) 100%);
    z-index: 1;
}

.cta-image-section .container {
    position: relative;
    z-index: 2;
}

.cta-image-section .cta-content {
    padding: var(--space-8) 0;
}

/* -------------------- ABOUT PAGE FULL-HEIGHT HERO -------------------- */
.hero-about {
    padding: 0;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: var(--bg-warm);
}

.hero-about .hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: var(--space-16) 0;
}

.hero-about .hero-content {
    max-width: 560px;
}

.hero-about .hero-title {
    color: var(--color-blue);
    margin-bottom: var(--space-6);
}

.hero-about .hero-text {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-about .hero-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    max-height: 70vh;
    width: 100%;
    object-fit: cover;
    object-position: center 20%;
}

@media (max-width: 1024px) {
    .hero-about {
        min-height: auto;
    }
    .hero-about .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: var(--space-12) 0;
    }
    .hero-about .hero-content {
        max-width: 100%;
    }
    .hero-about .hero-image {
        order: -1;
    }
}

/* -------------------- TIMELINE BIO ACCENTS -------------------- */
.bio-section {
    border-left: 3px solid var(--color-blue);
    padding-left: var(--space-6);
    margin-bottom: var(--space-8);
}

.bio-section h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--color-blue);
}

.bio-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* -------------------- IMPACT STAT CARDS -------------------- */
.stat-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

.stat-card.accent-blue::after { background: var(--color-blue); }
.stat-card.accent-green::after { background: var(--color-green); }
.stat-card.accent-orange::after { background: var(--color-orange); }

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 500;
}

/* -------------------- HERO HOME RESPONSIVE BACKGROUND -------------------- */
.hero-home-bg {
    background-image: url('https://imagedelivery.net/o4mWYROcO-l6Q05X-a5wtg/f32b5711-5e6e-4436-3481-adacf8a72d00/public');
}

/* -------------------- HERO HOME ENHANCEMENTS -------------------- */
.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26, 38, 51, 0.75) 0%, rgba(26, 38, 51, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.hero-home .container {
    position: relative;
    z-index: 2;
}

.hero-trust-badge {
    position: absolute;
    bottom: var(--space-8);
    right: var(--space-8);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-light);
}

.hero-trust-badge .badge-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    line-height: 1;
}

.hero-trust-badge .badge-text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
    max-width: 120px;
}

.hero-seo-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
    letter-spacing: 0.02em;
}

.btn-hero-orange {
    background: var(--color-orange);
    color: var(--text-light);
    border-color: var(--color-orange);
    border-radius: var(--radius-full);
    padding: var(--space-4) var(--space-10);
    font-size: var(--text-base);
}

.btn-hero-orange:hover {
    background: var(--color-orange-dark);
    border-color: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 102, 34, 0.35);
}

@media (max-width: 1024px) {
    .hero-trust-badge {
        display: none;
    }
}

/* -------------------- BRAND CARD TOP BORDERS -------------------- */
.brand-card-blue {
    border-top: 3px solid var(--color-blue);
}

.brand-card-green {
    border-top: 3px solid var(--color-green);
}

.brand-card-orange {
    border-top: 3px solid var(--color-orange);
}

/* -------------------- ABOUT ACCENT BAR -------------------- */
.accent-bar-left {
    position: relative;
    padding-left: var(--space-6);
}

.accent-bar-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-blue);
    border-radius: 2px;
}

/* -------------------- APPROACH STEP CARDS -------------------- */
.approach-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all var(--transition-slow);
}

.approach-card:nth-child(2) { background: rgba(23, 96, 158, 0.03); }
.approach-card:nth-child(4) { background: rgba(153, 182, 59, 0.03); }

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.approach-step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(23, 96, 158, 0.08);
    line-height: 1;
    margin-bottom: var(--space-4);
}

.approach-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: 24px;
}

/* -------------------- CASE STUDY FULL WIDTH -------------------- */
.case-study-section {
    position: relative;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.case-study-stat {
    text-align: center;
    padding: var(--space-6);
    background: rgba(23, 96, 158, 0.04);
    border-radius: var(--radius-lg);
}

.case-study-stat .stat-number {
    font-size: var(--text-4xl);
}

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

/* -------------------- ANIMATIONS -------------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* -------------------- UTILITIES -------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* -------------------- CTA HERO — FULL-WIDTH BG WITH VISIBLE JEFF -------------------- */
.cta-hero {
    position: relative;
    background: url('https://imagedelivery.net/o4mWYROcO-l6Q05X-a5wtg/3b51c691-2f8d-4e64-ca9c-6e672e83ef00/public') center top / cover no-repeat;
    min-height: 400px;
    overflow: hidden;
}
.cta-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(5, 10, 25, 0.15) 0%, rgba(5, 10, 25, 0.55) 40%, rgba(5, 10, 25, 0.8) 100%),
        linear-gradient(to top, rgba(5, 10, 25, 0.9) 0%, transparent 50%);
    z-index: 1;
}
.cta-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.cta-hero-text {
    text-align: center;
    max-width: 650px;
    margin-left: 20%;
}
.cta-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.cta-hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.cta-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cta-hero {
        min-height: 350px;
    }
    .cta-hero-inner {
        min-height: 350px;
        padding: 3rem 1.5rem;
    }
    .cta-hero-text {
        margin-left: 0;
    }
}
@media (max-width: 480px) {
    .cta-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* -------------------- BOOK FEATURE SECTION -------------------- */
@media (max-width: 768px) {
    .book-feature-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }
    .book-feature-grid .fade-in-up {
        text-align: center;
    }
    .book-feature-grid h2 br {
        display: none;
    }
}

/* -------------------- RESPONSIVE UTILITIES -------------------- */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .hidden-desktop {
        display: none !important;
    }
}

/* -------------------- MOBILE: WORD-BREAK FOR LONG TEXT -------------------- */
@media (max-width: 480px) {
    .card a[href*="mailto"],
    .card a[href*="tel"] {
        word-break: break-all;
    }
    
    .footer-social a {
        width: 44px;
        height: 44px;
    }
    
    .book-contributors {
        gap: 16px !important;
        justify-content: center !important;
    }
    
    .book-contributors > div {
        width: 56px !important;
    }
    
    .book-contributors > div img {
        width: 48px !important;
        height: 48px !important;
    }
    
    .hero-home-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }
    
    .hero-home-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-home {
        min-height: 480px;
    }
    
    .hero-home-content {
        padding: var(--space-10) 0;
    }
}
