/* -------------------------------------------------------------------------- */
/* 1. BASE STYLES & RESET */
/* -------------------------------------------------------------------------- */
:root {
    /* Health Tech Color Scheme - Custom Blue/Teal Palette */
    --color-primary: #169192; /* Teal - Main Accent */
    --color-primary-dark: #114e73; /* Dark Blue-Green */
    --color-primary-light: #29839f; /* Lighter Blue */
    --color-primary-lighter: #85cbca; /* Light Cyan/Teal */
    --color-secondary: #29839f; /* Lighter Blue */
    --color-secondary-dark: #114e73; /* Dark Blue-Green */
    --color-accent: #169192; /* Teal Accent */
    --color-success: #169192; /* Teal Green */
    --color-error: #EF4444; /* Red */
    --color-warning: #F59E0B; /* Amber */

    /* Dark Blue/Black Base Colors */
    --color-dark: #041c3a; /* Very Dark Blue */
    --color-dark-alt: #114e73; /* Dark Blue-Green */
    --color-dark-light: #29839f; /* Lighter Blue */
    --color-gray: #64748B; /* Slate 500 */
    --color-light: #F1F5F9; /* Slate 100 */
    --color-lighter: #F8FAFC; /* Slate 50 */
    --color-white: #FFFFFF;
    
    /* Gradient Colors - Health Tech Theme */
    --gradient-primary: linear-gradient(135deg, #169192 0%, #114e73 100%);
    --gradient-secondary: linear-gradient(135deg, #29839f 0%, #114e73 100%);
    --gradient-hero: linear-gradient(135deg, #041c3a 0%, #114e73 50%, #041c3a 100%);
    --gradient-accent: linear-gradient(135deg, #169192 0%, #29839f 100%);
    --gradient-dark: linear-gradient(135deg, #041c3a 0%, #114e73 100%);

    /* Typography - Exciting Fonts */
    --font-family-sans: 'Inter', sans-serif;
    --font-family-display: 'Space Grotesk', sans-serif;
    --font-family-serif: 'DM Serif Display', serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 800;
    --font-weight-black: 900;

    /* Spacing Scale (rem) */
    --space-s: 0.5rem;
    --space-m: 1rem;
    --space-l: 2rem;
    --space-xl: 3.5rem;
    --space-xxl: 6rem;

    /* Transitions & Shadows */
    --transition-duration: 0.3s;
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
    --border-radius-m: 8px;
    --border-radius-l: 12px;
}

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

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

body {
    font-family: var(--font-family-sans);
    line-height: 1.7;
    color: var(--color-dark);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-duration), opacity var(--transition-duration);
}

a:hover {
    color: var(--color-dark);
    opacity: 0.8;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

/* Base Headings - Exciting Typography */
.heading-xxxl { 
    font-size: clamp(3rem, 8vw, 5.5rem); 
    font-weight: var(--font-weight-black); 
    font-family: var(--font-family-display);
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.heading-xxl { 
    font-size: clamp(1.5rem, 6vw, 4rem); 
    font-weight: var(--font-weight-extra-bold); 
    font-family: var(--font-family-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.heading-xl { 
    font-size: clamp(2rem, 4vw, 2.75rem); 
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-display);
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.heading-large { 
    font-size: clamp(1.75rem, 3vw, 2.25rem); 
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-display);
    line-height: 1.25;
}
.heading-medium { 
    font-size: clamp(1.5rem, 2.5vw, 1.75rem); 
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
}
.heading-small { 
    font-size: clamp(1.125rem, 2vw, 1.25rem); 
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
}

/* Base Text - Improved Typography */
.text-xxl { 
    font-size: clamp(2rem, 4vw, 2.5rem); 
    line-height: 1.2; 
    font-weight: var(--font-weight-bold);
}
.text-xlarge {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    line-height: 1.4;
    font-weight: var(--font-weight-semibold);
}
.text-large { 
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); 
    line-height: 1.6;
    font-weight: var(--font-weight-normal);
}
.text-medium { 
    font-size: 1rem; 
    line-height: 1.6;
}
.text-small { 
    font-size: 0.875rem; 
    line-height: 1.5;
}
.text-muted { color: #6c757d; }
.text-highlight { 
    color: var(--color-primary); 
    font-weight: var(--font-weight-bold);
    text-shadow: 0 0 20px rgba(22, 145, 146, 0.4);
}

/* -------------------------------------------------------------------------- */
/* 2. LAYOUT & UTILITIES (Webflow-Style) */
/* -------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-m);
    padding-right: var(--space-m);
}

.container-large {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-l);
    padding-right: var(--space-l);
}

.max-width-l { max-width: 900px; margin-left: auto; margin-right: auto; }
.max-width-m { max-width: 700px; margin-left: auto; margin-right: auto; }

.section-padding-xl { padding-top: var(--space-xxl); padding-bottom: var(--space-xxl); }
.bg-light { background-color: var(--color-light); }
.bg-dark { 
    background: var(--gradient-dark);
}
.bg-dark-alt { 
    background: var(--gradient-dark);
}
.bg-success-light { 
    background: linear-gradient(135deg, rgba(22, 145, 146, 0.15) 0%, rgba(41, 131, 159, 0.1) 100%);
    border: 2px solid rgba(22, 145, 146, 0.3);
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-error { color: var(--color-error); }
.text-success { color: var(--color-success); }

/* Spacing Helpers */
.margin-auto { margin-left: auto; margin-right: auto; }
.margin-top-s { margin-top: var(--space-s); }
.margin-top-m { margin-top: var(--space-m); }
.margin-top-l { margin-top: var(--space-l); }
.margin-top-xl { margin-top: var(--space-xl); }
.margin-bottom-s { margin-bottom: var(--space-s); }
.margin-bottom-m { margin-bottom: var(--space-m); }
.margin-bottom-l { margin-bottom: var(--space-l); }
.margin-bottom-xl { margin-bottom: var(--space-xl); }
.margin-bottom-xxl { margin-bottom: var(--space-xxl); }

.padding-l { padding: var(--space-l); }
.padding-xl { padding: var(--space-xl); }
.padding-top-m { padding-top: var(--space-m); }

.border-radius-m { border-radius: var(--border-radius-m); }
.border-radius-l { border-radius: var(--border-radius-l); }
.border-top-light { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.font-bold { font-weight: var(--font-weight-bold); }
.font-extra-bold { font-weight: var(--font-weight-extra-bold); }

/* -------------------------------------------------------------------------- */
/* 3. COMPONENTS */
/* -------------------------------------------------------------------------- */

/* BUTTONS */
.button {
    display: inline-block;
    padding: var(--space-m) var(--space-l);
    border-radius: 50px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-duration);
    border: none;
    text-align: center;
    line-height: 1;
}

.button-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(22, 145, 146, 0.4);
    font-weight: var(--font-weight-bold);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color-primary);
}

.button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.button-primary:hover {
    background: var(--gradient-accent);
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(22, 145, 146, 0.6), 0 0 40px rgba(41, 131, 159, 0.4);
    transform: translateY(-3px) scale(1.02);
    border-color: var(--color-primary-light);
}

.button-primary:hover::before {
    left: 100%;
}

.button-secondary {
    background: transparent;
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(22, 145, 146, 0.3);
    font-weight: var(--font-weight-bold);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color-primary);
}

.button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.5s;
    z-index: -1;
}

.button-secondary:hover {
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(22, 145, 146, 0.6);
    transform: translateY(-3px) scale(1.02);
    border-color: var(--color-primary-light);
}

.button-secondary:hover::before {
    width: 100%;
}

.button-small { font-size: 0.85rem; padding: 0.6rem 1.2rem; }
.button-medium { font-size: 1rem; padding: 0.8rem 1.8rem; }
.button-large { font-size: 1.1rem; padding: 1rem 2rem; }
.button-xl { font-size: 1.25rem; padding: 1.2rem 2.4rem; }
.is-full-width { width: 100%; }

/* GRIDS */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.grid-2-col-narrow { display: grid; grid-template-columns: 0.6fr 1fr; gap: var(--space-xl); }
.grid-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); }
.grid-4-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-l); }
.grid-2-col-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; }

/* BADGES & ICONS */
.badge-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-m);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 145, 146, 0.4);
    border: 2px solid var(--color-primary-light);
}

.badge-large {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    margin: 0 auto var(--space-m) auto;
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(22, 145, 146, 0.5);
    border: 3px solid var(--color-primary-light);
    transition: all 0.3s ease;
}

.badge-large:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(22, 145, 146, 0.7);
}

.badge-secondary {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-weight: var(--font-weight-bold);
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(22, 145, 146, 0.4);
    border: 2px solid var(--color-primary-light);
}

.badge-credential {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin-right: var(--space-s);
    margin-bottom: var(--space-s);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(22, 145, 146, 0.1);
    box-shadow: 0 2px 10px rgba(22, 145, 146, 0.2);
    transition: all 0.3s ease;
}

.badge-credential:hover {
    background: rgba(22, 145, 146, 0.2);
    box-shadow: 0 4px 20px rgba(22, 145, 146, 0.4);
    transform: translateY(-2px);
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 1.5rem;
    margin: 0 auto var(--space-m) auto;
    box-shadow: 0 4px 20px rgba(22, 145, 146, 0.4);
    border: 3px solid var(--color-primary-light);
    transition: all 0.3s ease;
}

.icon-circle i {
    font-size: 1.5rem;
    color: var(--color-white);
}

.icon-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(22, 145, 146, 0.6);
}

/* -------------------------------------------------------------------------- */
/* 4. SECTIONS & SPECIFIC STYLING */
/* -------------------------------------------------------------------------- */

/* NAVIGATION (No significant change, retains previous styles) */
.navbar {
    background-color: #111835;
    padding: 1rem 0;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
}

.navbar.is-sticky {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: var(--font-weight-extra-bold);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-image {
    height: 70px;
    margin-right: 8px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: var(--space-l);
}

.nav-link {
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
    padding: 5px 0;
}

.cta-nav {
    margin-left: var(--space-xl);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown > .nav-link span {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > .nav-link span {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #333f67;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: var(--border-radius-m);
    list-style: none;
    padding: var(--space-s) 0;
    margin-top: var(--space-s);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu .nav-link {
    display: block;
    padding: var(--space-s) var(--space-m);
    color: white;
    transition: all 0.2s ease;
}

.dropdown-menu .nav-link:hover {
    background: rgba(22, 145, 146, 0.1);
    color: var(--color-primary);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* SCROLL PROGRESS BAR (Webflow-Style) */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    width: 0%;
    z-index: 1001;
    box-shadow: 0 0 10px rgba(22, 145, 146, 0.8);
}


/* HERO SECTION */
.hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(22, 145, 146, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(41, 131, 159, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: var(--space-xxl);
    position: relative;
    z-index: 1;
}

.hero-title {
    max-width: 90%;
    font-family: var(--font-family-display);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(22, 145, 146, 0.4));
}

.hero-subheader {
    color: rgba(255, 255, 255, 0.9);
    max-width: 85%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-pain-points p {
    margin-bottom: var(--space-s);
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-pain-points span {
    margin-right: 10px;
    font-size: 1.25rem;
}
.icon-x-circle { color: var(--color-error); }
.icon-check-circle { color: var(--color-success); }


.hero-image-placeholder {
    height: 450px;
    background-color: var(--color-light);
    border: 1px dashed var(--color-primary);
    border-radius: var(--border-radius-l);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
    box-shadow: var(--shadow-medium);
}

.hero-cta-wrapper {
    text-align: center;
    padding-top: var(--space-l);
}

.hero-cta-wrapper .text-muted {
    color: rgba(255, 255, 255, 0.8);
}


/* SERVICES SECTION - SCROLL LOCK STYLING */
.services {
    padding-bottom: 0; /* Remove bottom padding to ensure sticky works correctly */
    padding-top: var(--space-xxl);
}

.sticky-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    min-height: 400vh; /* Make wrapper tall enough to allow scrolling and sticky effect */
}

.sticky-content-panel {
    position: sticky;
    top: 150px; /* Offset from top for navigation/header */
    height: 60vh; /* The height of the sticky viewport content */
    align-self: start; /* Sticks to the top of the grid cell */
}

.sticky-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-light) 0%, rgba(22, 145, 146, 0.1) 100%);
    border: 4px solid var(--color-primary);
    border-radius: var(--border-radius-l);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    font-style: italic;
    box-shadow: 0 10px 40px rgba(22, 145, 146, 0.3), 0 0 60px rgba(41, 131, 159, 0.1);
    padding: var(--space-l);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.sticky-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 145, 146, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.active-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-top: var(--space-m);
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(22, 145, 146, 0.4));
    position: relative;
    z-index: 1;
}

.scroll-list-panel {
    display: flex;
    flex-direction: column;
}

.service-scroll-card {
    background-color: var(--color-white);
    border: 1px solid #e9ecef;
    box-shadow: var(--shadow-medium);
    margin-bottom: 50vh; /* Creates large gaps to trigger sticky effect */
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(30px);
}

.service-scroll-card.animated {
    opacity: 1;
    transform: translateX(0);
}

.service-scroll-card.is-active {
    background: var(--gradient-primary);
    color: var(--color-white);
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(22, 145, 146, 0.6), 0 0 50px rgba(41, 131, 159, 0.3);
    border: 3px solid var(--color-primary-light);
}

.service-scroll-card.is-active h3, 
.service-scroll-card.is-active p {
    color: var(--color-white);
}

.service-scroll-card.is-active .badge-circle {
    background: var(--color-dark);
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(22, 145, 146, 0.6);
}

.service-scroll-card-spacer {
    height: 50vh; /* Ensures the last card can scroll fully into the observation zone */
}


/* SOLUTION BENEFITS SECTION (Retains previous styles) */
.benefits-grid {
    margin-top: var(--space-l);
}

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

/* ENTRY OFFER SECTION (Retains previous styles) */
.entry-offer-box {
    border: 4px solid var(--color-primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(22, 145, 146, 0.4), 0 0 60px rgba(41, 131, 159, 0.2);
    background: var(--gradient-dark);
}

.entry-offer-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 145, 146, 0.2) 0%, rgba(41, 131, 159, 0.1) 50%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.entry-offer-price {
    font-family: var(--font-family-display);
    font-weight: var(--font-weight-black);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #85cbca;
    background: linear-gradient(135deg, #85cbca 0%, #169192 50%, #29839f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 30px rgba(22, 145, 146, 0.8)) drop-shadow(0 0 20px rgba(41, 131, 159, 0.6));
    position: relative;
    z-index: 1;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(133, 203, 202, 0.5);
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .entry-offer-price {
        -webkit-text-fill-color: #85cbca;
        color: #85cbca;
    }
}

/* Ensure visibility on dark background */
.bg-dark .entry-offer-price {
    color: #85cbca;
    -webkit-text-fill-color: #85cbca;
}

/* VALUE PROP SECTION */
.value-before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 3px solid var(--color-error) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.value-after {
    background: linear-gradient(135deg, rgba(22, 145, 146, 0.15) 0%, rgba(41, 131, 159, 0.1) 100%);
    border: 3px solid var(--color-primary) !important;
    box-shadow: 0 4px 20px rgba(22, 145, 146, 0.3);
}

.value-list {
    list-style: none;
}

.value-list li {
    padding: var(--space-m) 0;
    border-bottom: 1px solid #dee2e6;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.value-list li:last-child {
    border-bottom: none;
}

.list-item-error::before {
    content: '✖';
    color: var(--color-error);
    font-weight: var(--font-weight-extra-bold);
    margin-right: 15px;
}

.list-item-success::before {
    content: '✔';
    color: var(--color-success);
    font-weight: var(--font-weight-extra-bold);
    margin-right: 15px;
}


/* RESULTS SECTION - GRID LAYOUT */
.results-horizontal-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-l);
    padding-bottom: var(--space-l);
}

.result-card-h {
    background: var(--gradient-dark);
    border: 2px solid var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-l);
    box-shadow: 0 8px 30px rgba(22, 145, 146, 0.3), 0 0 40px rgba(41, 131, 159, 0.2);
    text-align: center;
    transition: all 0.5s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-card-h:hover {
    border-color: var(--color-primary-light);
    box-shadow: 0 12px 40px rgba(22, 145, 146, 0.5), 0 0 60px rgba(41, 131, 159, 0.4);
    transform: translateY(-5px) scale(1.02);
}

.result-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-s);
}

.result-label {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--space-s);
}

.result-card-h p {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    margin-top: var(--space-s);
}


/* PROCESS SECTION (Retains previous styles) */
.process-steps {
    margin-top: var(--space-l);
}

.process-step {
    text-align: center;
    padding: var(--space-l);
    border-radius: var(--border-radius-l);
    background: var(--color-white);
    border: 2px solid var(--color-light);
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(22, 145, 146, 0.2);
    transform: translateY(-5px);
}

/* ABOUT SECTION (Retains previous styles) */
.about-image-placeholder {
    height: 400px;
    background-color: #ced4da;
    border-radius: var(--border-radius-l);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    font-style: italic;
    overflow: hidden;
}

/* FAQ SECTION - Accordion Styling (Retains previous styles) */
.faq-list {
    margin-top: var(--space-l);
}

.faq-item {
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    overflow: hidden;
}

.faq-item:first-child {
    border-top: 1px solid #dee2e6;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-duration);
}

.faq-question:hover {
    background-color: #f1f3f5;
}

.faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg); /* Plus to X */
}

.faq-answer {
    max-height: 0;
    padding: 0 var(--space-m);
    transition: max-height 0.4s ease, padding 0.4s ease;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficiently large to show content */
    padding-bottom: var(--space-l);
}

/* CONTACT SECTION (Retains previous styles) */
.form-card {
    background-color: var(--color-white);
    border: 1px solid #e9ecef;
}

.input-field {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius-m);
    font-size: 1rem;
    transition: border-color var(--transition-duration), box-shadow var(--transition-duration);
}

.input-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

/* FOOTER (Retains previous styles) */
.footer {
    color: var(--color-white);
}

.footer-content {
    padding-bottom: var(--space-xl);
}

.footer-brand h3 {
    color: var(--color-white);
}

.footer-links a {
    color: var(--color-white);
    margin-left: var(--space-l);
    font-weight: var(--font-weight-medium);
}

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

.footer-bottom {
    padding-top: var(--space-m);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


/* -------------------------------------------------------------------------- */
/* 5. MEDIA QUERIES (Responsive Design) */
/* -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    .heading-xxxl { font-size: 3.5rem; }
    .heading-xxl { font-size: 2.75rem; }
    .heading-large { font-size: 1.8rem; }
    .heading-medium { font-size: 1.5rem; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title, .hero-subheader, .hero-pain-points {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image-placeholder {
        height: 300px;
    }

    .hero-cta-wrapper {
        margin-top: var(--space-l);
        text-align: center;
    }
    
/* Services Scroll Lock Breakpoint */
.sticky-wrapper {
    grid-template-columns: 1fr; /* Stack on mobile */
    min-height: 100%; /* Disable forced sticky height on mobile */
}

.sticky-content-panel {
    position: static; /* Disable sticky on mobile */
    height: 300px;
    top: auto;
}

.scroll-list-panel {
    padding-top: var(--space-xl);
}
    
.service-scroll-card {
    margin-bottom: var(--space-l); /* Reduce gaps on mobile */
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-scroll-card.animated {
    opacity: 1;
    transform: translateX(0);
}
    .service-scroll-card-spacer {
        height: 1px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Adjust based on navbar height */
        left: 0;
        background-color: #333f67;
        box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.is-open {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 1rem;
        text-align: center;
        border-top: 1px solid #e9ecef;
    }

    .nav-dropdown {
        position: static;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.05);
        margin-top: 0;
        padding: 0;
    }

    .dropdown-menu .nav-link {
        padding: 0.75rem 1rem;
    }

    .cta-nav {
        margin: 0;
    }

    .hamburger {
        display: block;
        padding: 5px;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--color-white);
        margin: 5px 0;
        transition: transform 0.3s ease;
    }

    .hamburger.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .grid-3-col, .grid-4-col {
        grid-template-columns: 1fr 1fr;
    }

    .grid-2-col, .grid-2-col-narrow {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1; /* Move image above text on mobile */
    }

    .hero-pain-points {
        text-align: left;
    }

    /* Results Grid Breakpoint */
    .results-horizontal-scroll {
        grid-template-columns: 1fr;
    }
    
    .result-card-h {
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .heading-xxxl { font-size: 2.8rem; }
    .heading-xxl { font-size: 2.2rem; }
    .heading-large { font-size: 1.6rem; }
    
    .grid-3-col, .grid-4-col {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------- */
/* 6. ANIMATIONS (Webflow-Style Comprehensive Animations) */
/* -------------------------------------------------------------------------- */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-5deg) scale(0.95);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes numberCount {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Base Animation Classes */
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Animation Types */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-up.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-rotate {
    opacity: 0;
    transform: rotate(-5deg) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-rotate.animated {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Staggered Animation Support */
.animate-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-stagger.animated > * {
    opacity: 1;
    transform: translateY(0);
}

/* Section-Specific Animations */
.hero-content > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.animated > *:nth-child(1) { transition-delay: 0s; }
.hero-content.animated > *:nth-child(2) { transition-delay: 0.1s; }
.hero-content.animated > *:nth-child(3) { transition-delay: 0.2s; }
.hero-content.animated > *:nth-child(4) { transition-delay: 0.3s; }
.hero-content.animated > *:nth-child(5) { transition-delay: 0.4s; }

.hero-content.animated > * {
    opacity: 1;
    transform: translateY(0);
}

/* Results Cards Animation */
.result-card-h {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-card-h.animated {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Process Steps Stagger */
.process-step {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Benefits Grid Stagger */
.benefit-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Value Prop Cards */
.value-before, .value-after {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-before.animated {
    opacity: 1;
    transform: translateY(0) translateX(-20px);
}

.value-after.animated {
    opacity: 1;
    transform: translateY(0) translateX(20px);
}

.value-result {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-result.animated {
    opacity: 1;
    transform: scale(1);
}

/* Entry Offer Animation */
.entry-offer-box {
    opacity: 0;
    transform: scale(0.95) translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.entry-offer-box.animated {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* About Section */
.about-image-wrapper, .about-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-wrapper.animated {
    opacity: 1;
    transform: translateY(0) translateX(-20px);
}

.about-text.animated {
    opacity: 1;
    transform: translateY(0) translateX(20px);
}

/* FAQ Items */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Final CTA */
.final-cta-content {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.final-cta-content.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Contact Form */
.contact-form {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-form.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Number Counter Animation */
.result-number {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-number.animated {
    opacity: 1;
    transform: scale(1);
    animation: numberPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

@keyframes numberPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}