/* ==========================================================================
   EXCLUSIVE PREMIUM LIGHT DESIGN SYSTEM - CANARSIE CONSULTING
   ========================================================================== */

:root {
    /* Color Palette - HSL (Hue, Saturation, Lightness) for smooth dynamic adjustments */
    --h-primary: 222;
    --s-primary: 47%;
    
    /* Clean, Spacious Light Theme Tokens */
    --primary: hsl(var(--h-primary), var(--s-primary), 11%);
    --bg-primary: hsl(210, 40%, 98%);
    --bg-secondary: #ffffff;
    --bg-tertiary: hsl(210, 40%, 94%);
    
    --text-primary: hsl(var(--h-primary), var(--s-primary), 12%);
    --text-secondary: hsl(215, 16%, 37%);
    --text-muted: hsl(215, 13%, 54%);
    
    --accent-teal: hsl(199, 89%, 48%);
    --accent-purple: hsl(258, 90%, 66%);
    --accent-coral: hsl(347, 89%, 60%);
    --accent-gold: hsl(38, 92%, 50%);
    
    --border-color: hsl(214, 32%, 91%);
    --border-hover: hsl(214, 32%, 80%);
    
    /* Premium Soft Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 10px 24px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.08);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
    
    /* Font Weights & Family */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Mathematically Calculated Fluid Typography Scale (360px -> 1200px viewport bounds) */
    --text-xs: clamp(0.6875rem, 0.12vw + 0.66rem, 0.75rem);   /* 11px -> 12px */
    --text-sm: clamp(0.8125rem, 0.12vw + 0.785rem, 0.875rem); /* 13px -> 14px */
    --text-base: clamp(0.9375rem, 0.12vw + 0.91rem, 1rem);    /* 15px -> 16px */
    --text-md: clamp(1rem, 0.24vw + 0.95rem, 1.125rem);       /* 16px -> 18px */
    --text-lg: clamp(1.125rem, 0.24vw + 1.07rem, 1.25rem);    /* 18px -> 20px */
    --text-xl: clamp(1.25rem, 0.36vw + 1.17rem, 1.4375rem);   /* 20px -> 23px */
    --text-2xl: clamp(1.375rem, 0.71vw + 1.21rem, 1.75rem);   /* 22px -> 28px */
    --text-3xl: clamp(1.625rem, 1.19vw + 1.36rem, 2.25rem);   /* 26px -> 36px */
    --text-4xl: clamp(2rem, 1.9vw + 1.57rem, 3rem);           /* 32px -> 48px */
    --text-5xl: clamp(2.25rem, 2.62vw + 1.66rem, 3.625rem);   /* 36px -> 58px */

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Core Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & GLOBAL SETUP
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 0.15vw + 13.5px, 16px);
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   COMMON COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

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

.btn-secondary:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-text:hover {
    color: var(--text-primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--text-xs);
}

.btn-block {
    width: 100%;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-purple) 60%, var(--accent-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Styling */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 12px;
}

.section-title {
    font-size: var(--text-3xl);
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

/* Background Ambient Blobs */
.hero-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(100px);
    opacity: 0.12;
    mix-blend-mode: multiply;
    animation: float 20s infinite alternate;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background-color: var(--accent-teal);
    top: -100px;
    right: 10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background-color: var(--accent-purple);
    top: 200px;
    left: 5%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ==========================================================================
   NAVIGATION BAR (HEADER)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-fast);
}

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

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-width: 100px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-purple));
    transition: width var(--transition-fast);
}

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

.nav-btn {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
    color: #ffffff;
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.15);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.25);
}

/* Nav Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-muted);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
    font-size: var(--text-xs);
    transition: color var(--transition-fast);
    padding: 4px;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    color: var(--accent-purple);
}

.lang-divider {
    font-size: var(--text-xs);
    opacity: 0.5;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle .icon-close {
    display: none;
}

.mobile-menu-toggle.active .icon-menu {
    display: none;
}

.mobile-menu-toggle.active .icon-close {
    display: block;
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-primary);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
    border-bottom: 1px solid var(--border-color);
}

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

.mobile-link {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-btn {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
    color: #ffffff;
    font-size: var(--text-lg);
    font-weight: 600;
    padding: 14px 40px;
    border-radius: var(--radius-md);
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 80px 0 100px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background-color: var(--bg-secondary);
    color: var(--accent-purple);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    width: 100%;
    max-width: 600px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==========================================================================
   INTERACTIVE CONSULTING MATCHER WIDGET
   ========================================================================== */
.hero-widget-area {
    width: 100%;
}

.matcher-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.matcher-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.matcher-icon {
    background: linear-gradient(135deg, rgba(13, 165, 233, 0.08), rgba(139, 92, 246, 0.08));
    color: var(--accent-purple);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.matcher-header h3 {
    font-size: var(--text-lg);
    color: var(--text-primary);
}

.matcher-header p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Progress bar */
.matcher-progress {
    width: 100%;
    height: 4px;
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-purple));
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

/* Steps Transition States */
.matcher-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.matcher-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-question {
    font-family: var(--font-heading);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Option Buttons Grid */
.option-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: all var(--transition-fast);
    outline: none;
}

.option-btn i {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.option-btn:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-hover);
    transform: scale(1.02);
}

.option-btn:hover i {
    color: var(--accent-purple);
}

/* Result Design */
.result-header {
    text-align: center;
    margin-bottom: 28px;
}

.result-badge {
    display: inline-block;
    background: rgba(13, 165, 233, 0.08);
    color: var(--accent-teal);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.result-title {
    font-size: var(--text-xl);
    color: var(--text-primary);
    margin-bottom: 12px;
}

.result-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   PHILOSOPHY VALUES SECTION
   ========================================================================== */
.values-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.value-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.value-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.value-icon-wrapper i {
    width: 28px;
    height: 28px;
}

.value-icon-wrapper.purple {
    background: rgba(139, 92, 246, 0.08);
    color: var(--accent-purple);
}

.value-icon-wrapper.teal {
    background: rgba(13, 165, 233, 0.08);
    color: var(--accent-teal);
}

.value-icon-wrapper.orange {
    background: rgba(244, 63, 94, 0.08);
    color: var(--accent-coral);
}

.value-title {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.value-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
}

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

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Dynamic Gradient Borders on hover using pseudoelements */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple), var(--accent-coral));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    background: linear-gradient(135deg, rgba(13, 165, 233, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
    color: var(--accent-purple);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    border: 1px solid rgba(139, 92, 246, 0.12);
}

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

.service-title {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.service-desc {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: 32px;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.service-list li {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    width: 16px;
    height: 16px;
    color: var(--accent-teal);
    flex-shrink: 0;
}

/* ==========================================================================
   CASE STUDIES CAROUSEL
   ========================================================================== */
.case-studies-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 12px;
}

.carousel-slides {
    display: flex;
    transition: transform var(--transition-slow);
}

.carousel-slide {
    min-width: 100%;
    opacity: 0.3;
    transform: scale(0.98);
    transition: all var(--transition-slow);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.case-image-wrapper {
    position: relative;
}

.case-gradient-bg {
    height: 100%;
    min-height: 380px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    position: relative;
}

.case-gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.case-gradient-bg.bg-1 {
    background: url('assets/case-bg-1.jpg') no-repeat center center;
    background-size: cover;
}

.case-gradient-bg.bg-2 {
    background: url('assets/case-bg-2.jpg') no-repeat center center;
    background-size: cover;
}

.case-gradient-bg.bg-3 {
    background: url('assets/case-bg-3.jpg') no-repeat center center;
    background-size: cover;
}

.case-gradient-bg.bg-4 {
    background: url('assets/case-bg-4.jpg') no-repeat center center;
    background-size: cover;
}

.case-meta {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-teal);
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.case-year {
    color: #ffffff;
    opacity: 0.6;
}

.case-hero-heading {
    font-size: var(--text-xl);
    color: #ffffff;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.case-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-icon-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-purple);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.case-icon-tag i {
    width: 16px;
    height: 16px;
}

.case-title-main {
    font-size: var(--text-xl);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.case-desc-text {
    color: var(--text-secondary);
    font-size: var(--text-base);
    margin-bottom: 32px;
}

.case-results-grid {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.case-result-item {
    display: flex;
    flex-direction: column;
}

.case-result-item .result-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--accent-teal);
}

.case-result-item .result-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 500;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.carousel-btn {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-hover);
    transform: scale(1.05);
}

.carousel-btn i {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dots .dot.active {
    width: 24px;
    background-color: var(--accent-purple);
}

/* ==========================================================================
   LOCAL MODEL SECTION
   ========================================================================== */
.local-model-section {
    padding: 100px 0;
}

.local-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

/* Stacking Card Design */
.local-image-area {
    position: relative;
    height: 400px;
}

.image-stack {
    position: relative;
    height: 100%;
}

.stack-bg-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    filter: blur(40px);
    opacity: 0.15;
    top: 50px;
    left: 50px;
    z-index: 1;
}

.card-overlap {
    position: absolute;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    z-index: 2;
    transition: transform var(--transition-normal);
}

.card-overlap:hover {
    transform: translateY(-5px);
}

.top-card {
    width: 320px;
    max-width: 85%;
    top: 20px;
    left: 0;
}

.bottom-card {
    width: 280px;
    max-width: 80%;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bottom-card i {
    color: var(--accent-teal);
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}

.bottom-card .highlight-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.bottom-card span {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-weight: 600;
}

/* Avatar overlapping circles */
.avatar-group {
    display: flex;
    margin-bottom: 20px;
}

.avatar-init {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
    color: #ffffff;
    border: 3px solid var(--bg-secondary);
    margin-left: -12px;
}

.avatar-init:first-child {
    margin-left: 0;
}

.font-glow-1 { background-color: var(--accent-teal); }
.font-glow-2 { background-color: var(--accent-purple); }
.font-glow-3 { background-color: var(--accent-coral); }

.top-card h4 {
    font-size: var(--text-md);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.top-card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* Feature List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    background: rgba(13, 165, 233, 0.08);
    color: var(--accent-teal);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    width: 20px;
    height: 20px;
}

.feature-item h4 {
    font-size: var(--text-md);
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feature-item p {
    font-size: var(--text-base);
    color: var(--text-secondary);
}



/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    background: linear-gradient(135deg, rgba(13, 165, 233, 0.04), rgba(139, 92, 246, 0.04));
    border: 1px solid var(--border-color);
    color: var(--accent-purple);
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon i {
    width: 20px;
    height: 20px;
}

.contact-detail-item h4 {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.detail-link, .detail-text {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.detail-link:hover {
    color: var(--accent-teal);
}

/* Modern Form Elements */
.contact-form-area {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-purple);
    background-color: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

/* Select Styling Override */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Form success overlay dialog */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.success-overlay.show {
    display: flex;
    opacity: 1;
}

.success-modal {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.success-overlay.show .success-modal {
    transform: translateY(0);
}

.success-icon {
    background: rgba(13, 165, 233, 0.08);
    color: var(--accent-teal);
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.success-icon i {
    width: 32px;
    height: 32px;
}

.success-modal h3 {
    font-size: var(--text-2xl);
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-modal p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.faq-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 56px auto;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
    background-color: var(--bg-primary);
}

.faq-item.active {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 20px -2px rgba(139, 92, 246, 0.05);
    background-color: var(--bg-primary);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: none;
    border: none;
    outline: none;
    padding: 24px 32px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    transition: all var(--transition-normal);
}

.faq-question {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-icon-wrapper {
    background: rgba(15, 23, 42, 0.03);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-wrapper {
    background: rgba(139, 92, 246, 0.08);
    color: var(--accent-purple);
}

.faq-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-normal) ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-in-out;
}

.faq-answer-inner {
    padding: 0 32px 28px 32px;
}

.faq-answer-inner p {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer-inner strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Form Disclaimer Styling */
.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.form-disclaimer i {
    width: 14px;
    height: 14px;
    color: var(--accent-teal);
    flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 48px 0;
    color: var(--text-secondary);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand-desc {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin: 20px 0 24px 0;
    line-height: 1.5;
}

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

.social-links a {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: scale(1.05);
}

.social-links i,
.social-links svg {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-links-group h4, 
.footer-newsletter h4 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group ul a {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-links-group ul a:hover {
    color: var(--text-primary);
}

.footer-newsletter p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Newsletter inline form */
.newsletter-form {
    display: flex;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 4px;
    width: 100%;
}

.newsletter-form:focus-within {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    padding: 10px 14px;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    flex-grow: 1;
    width: 100%;
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-purple));
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button i {
    width: 16px;
    height: 16px;
}

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

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dot-separator {
    color: var(--border-color);
}

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

/* ==========================================================================
   MEDIA QUERIES - HIGHLY RESPONSIVE GRID LAYOUTS
   ========================================================================== */

/* Large Tablets & Small Laptops */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }
    
    .hero-text-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .values-grid .value-card:last-child {
        grid-column: span 2;
    }
    
    .services-grid {
        grid-template-columns: 1.5fr;
        justify-content: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .local-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .local-image-area {
        height: 320px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .top-card {
        width: 280px;
    }
    
    .bottom-card {
        width: 240px;
        right: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

/* Tablets & Mobile */
@media (max-width: 768px) {
    .navbar-container {
        height: 70px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .local-image-area {
        display: none;
    }
    
    .hero-section {
        padding-top: 50px;
        min-height: calc(100vh - 70px);
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid .value-card:last-child {
        grid-column: span 1;
    }
    
    .case-study-grid {
        grid-template-columns: 1fr;
    }
    
    .case-gradient-bg {
        min-height: 250px;
    }
    
    .form-group-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-area {
        padding: 32px 24px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .matcher-card {
        padding: 24px 16px;
    }
    
    .option-btn {
        padding: 12px 14px;
    }
}

/* ==========================================================================
   BOT HONEYPOT & ERROR MODAL STYLING
   ========================================================================== */
.form-group-honey {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

.error-icon {
    background: rgba(244, 63, 94, 0.08); /* 8% opacity coral/red */
    color: var(--accent-coral);
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.error-icon i {
    width: 32px;
    height: 32px;
}
