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

:root {
    --text-primary: #1d1d1f;
    /* Apple Dark Grey */
    --text-secondary: #86868b;
    /* Apple Light Grey */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --accent: #9d0208;
    /* Keeping the Starling Red but using sparingly */
    --accent-hover: #7b0206;
    --divider: #d2d2d7;

    /* Apple-like System Font Stack (Inter as primary web font) */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

/* Lenis Smooth Scroll CSS */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}



html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    /* Typography smoothing only - Removed transforms to fix sticky header */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}



a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
    /* Tight tracking */
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
    font-size: 2rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 60ch;
    line-height: 1.7;
}

/* Navigation - Apple Style Sticky & Clean */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 40px;
    /* Slight shrink on scroll for effect */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-brand {
    height: 64px;
    /* Increased size for visibility */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
}

.cta-button {
    font-size: 0.9rem;
    padding: 10px 20px;
    background: var(--text-primary);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.cta-button.whatsapp {
    background: #25D366;
}

/* Hero Section - Immersive & Realistic */
/* Hero Section - Split Layout */
/* Hero Section - Wireframe Layout */
.hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding: 120px 40px 80px;
    display: flex;
    align-items: center;
    background: linear-gradient(-45deg, #ffffff, #fff0f0, #f0f8ff, #f8fff0);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    overflow: visible;
    /* Changed to visible for floating cards */
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    /* Text left, Image right */
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

/* Badge Style */
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ffcdd2;
    /* Light pink border */
    background: #ffebee;
    /* Light pink bg */
    color: #c62828;
    /* Darker red text */
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(3rem, 4vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #111;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.15rem;
    color: #666;
    /* Grey text */
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

/* Form Styles */
.hero-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 500px;
}

.hero-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 16px 24px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    /* More visible border */
    background: #ffffff;
    /* White background for contrast */
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-form input[type="email"]:focus {
    border-color: #d50000;
    /* Accent color on focus */
    box-shadow: 0 4px 20px rgba(213, 0, 0, 0.15);
}

.btn-submit {
    padding: 16px 32px;
    background: #d50000;
    /* Starling Red */
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-submit:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

/* Hero Visual & Abstract Background */
.hero-visual {
    position: relative;
    height: 580px;
    width: 100%;
    /* border-radius: 32px; Moved to carousel to allow overflow */
    z-index: 5;
    background: transparent;
    /* Changed from placeholder since overflow is handled inside */
}

/* Carousel Container */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    /* Clip images here */
    overflow: hidden;
    /* Only clip images, not the whole container */
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.18);
    background: #f5f5f7;
}

/* Individual Slides */
/* Individual Slides - Smooth Overlap Technique */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transform: scale(1.15);
    /* Reset state */
}

/* Active Slide: Fades in and runs animation */
/* Active Slide: Fades in and runs animation */
.hero-slide.active {
    opacity: 1;
    z-index: 2;
    /* Base active level */
    animation: kenBurns 20s ease-out forwards;
    /* Long duration for drift */
    transition: opacity 2s ease-in-out;
    /* Smooth fade in */
}

/* On-Top modifier: Ensures incoming slide covers outgoing one */
.hero-slide.on-top {
    z-index: 3;
}

@keyframes kenBurns {
    0% {
        transform: scale(1.0);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Abstract Blur Objects */
.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #ffe5e6;
    /* Soft pink/red tint */
    top: -10%;
    right: -10%;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: #e6f0ff;
    /* Soft blue tint */
    bottom: 0%;
    left: 10%;
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }


    .hero-subtitle {
        padding-left: 0;
    }

    .hero-subtitle::before {
        display: none;
    }

    .hero p {
        margin: 0 auto 40px;
    }

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

    .hero-visual {
        height: 400px;
        margin-top: 40px;
    }
}


/* Mission / Philosophy Section - Minimalist Text */
.mission {
    padding: 160px 20px;
    background: var(--bg-primary);
    text-align: center;
}

.mission-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    display: block;
}

.mission h2 {
    margin-bottom: 40px;
    color: var(--text-primary);
}

.mission p {
    font-size: 1.35rem;
    margin: 0 auto 80px;
    font-weight: 300;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid var(--divider);
    padding-top: 60px;
}

.stat-item .value {
    display: block;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-item .desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Services Grid Layout */
.services {
    padding: 120px 40px;
    background: var(--bg-secondary);
}

.services-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.services-header h2 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.services-header h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.services-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-image {
    height: 240px;
    width: 100%;
    overflow: hidden;
}

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

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

.card-content {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.service-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.service-group ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.service-group ul li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 14px;
    position: relative;
    display: flex;
    align-items: center;
}

.service-group ul li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    background: #e2e2e2;
    border-radius: 50%;
}

.service-divider {
    height: 1px;
    background: var(--divider);
    margin: 24px 0;
    width: 100%;
}

/* Team Section */
/* Team Section */
.team {
    padding: 160px 40px;
    background: #ffffff;
    /* Reverted to white */
}

.team-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px;
}

.team-header h2 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.team-header p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    /* Flexbox for centering */
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 24px;
    flex: 0 1 480px;
    /* Constrain width to 480px max */
    border: 1px solid #e5e5e5;
    /* Clean border for definition on white bg */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Soft shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}



/* Updated Image Wrapper for Vertical Layout */
.member-image-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 32px;
}

.member-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    /* Box shadow removed from image as card has shadow now, or kept subtle */
}


.member-title {
    display: flex;
    flex-direction: column;
}

.team-member h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    min-height: 3rem;
    /* Handle 1-2 lines of name text */
    display: flex;
    align-items: flex-end;
    /* Align bottom of name area */
    justify-content: center;
    line-height: 1.2;
}

.team-member .role {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 24px;
    min-height: 64px;
    /* Ensure space for 2-3 lines of role */
    display: flex;
    align-items: flex-start;
    /* Align top of role area */
    justify-content: center;
    line-height: 1.4;
}

.member-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    flex-grow: 1;
    /* Allow bio to take up remaining space */
}

.member-footer {
    margin-top: auto;
    /* Push to bottom */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.contact-item {
    color: var(--accent);
    /* Brand Red */
    font-weight: 600;
    font-size: 1rem;
}

.contact-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.btn-pill {
    background-color: #f7f7f7;
    /* Light grey pill */
    color: #1d1d1f;
    /* Dark text */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 12px 32px;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.2s ease;
}

.btn-pill:hover {
    background-color: #e5e5e5;
    /* Slightly darker on hover */
    transform: translateY(-1px);
    color: #000;
}






/* WhatsApp CTA */
.team-cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366;
    /* WhatsApp Brand Green */
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-whatsapp i {
    font-size: 1.4rem;
}

.btn-whatsapp:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    background-color: #22bf5b;
}

/* Contact Form Section */
.contact-section {
    padding: 120px 40px;
    background: #f9f9fb;
    /* Light background */
}

.contact-container {
    max-width: 1200px;
    /* Wider container for split layout */
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    /* Clip the map corners */
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Split 50/50 */
}

.form-side {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-side {
    width: 100%;
    height: 100%;
    min-height: 500px;
    /* Ensure map has height */
    position: relative;
    background: #e0e0e0;
}

.map-side iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%);
    /* Optional: Make map greyscale to fit theme */
}

.contact-header {
    text-align: left;
    /* Align left for split layout */
    margin-bottom: 32px;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

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

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        /* Stack on tablet/mobile */
        max-width: 600px;
        /* Narrower on mobile */
    }

    .map-side {
        height: 400px;
        /* Fixed height map on mobile */
        min-height: auto;
    }

    .form-side {
        padding: 40px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    background: #FAFAFA;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(157, 2, 8, 0.1);
}

.submit-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
    align-self: flex-start;
    /* Align left */
    min-width: 180px;
}

.submit-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(157, 2, 8, 0.2);
}

/* Footer - Dark & Clean */
footer {
    background: #111;
    color: white;
    padding: 100px 40px 40px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.footer-brand p {
    color: #888;
    max-width: 300px;
    font-size: 1rem;
}

.footer-col h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col a {
    color: #888;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    color: #555;
    font-size: 0.85rem;
}

/* Mobile Responsive */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {

    .service-row,
    .service-row.reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-row .service-image {
        order: 1 !important;
        /* Force image to top */
        height: 400px;
    }

    .service-row .service-content {
        order: 2 !important;
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        /* Add JS toggle later if needed, simple for now */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 40px;
    }

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

/* Floating Cards Layout */
.float-card {
    position: absolute;
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    /* Strong but soft shadow */
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    max-width: 280px;
    animation: float 6s ease-in-out infinite;
}

/* Card Positioning */
.card-investment {
    top: 40px;
    left: -40px;
    animation-delay: 0s;
}

.card-insurance {
    bottom: 40px;
    left: -40px;
    animation-delay: 2s;
}

.card-travel {
    bottom: 60px;
    right: -20px;
    animation-delay: 4s;
    flex-direction: row-reverse;
    /* Flip content for variety */
    text-align: right;
}

/* Card Content Styling */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.icon-box.green-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.icon-box.blue-icon {
    background: #e3f2fd;
    color: #1565c0;
}

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

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.card-tag.green-text {
    color: #2e7d32;
}

.card-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.card-sub {
    font-size: 0.8rem;
    color: #888;
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 40px;
        gap: 60px;
    }

    .hero-visual {
        height: 500px;
    }

    .float-card {
        transform: scale(0.9);
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 10px auto;
        animation: none;
    }
}

/* Features Section - One Partner / Best Looking Layout */
.features-section {
    padding: 140px 60px;
    background: #ffffff;
}

.features-container {
    max-width: 1300px;
    margin: 0 auto;
}

.features-header {
    margin: 0 auto 100px auto;
    /* Centered with more breathing room below */
    max-width: 900px;
    text-align: center;
}

.features-header h2 {
    font-size: 3.5rem;
    margin-bottom: 32px;
    /* More space between title and text */
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.features-header p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    line-height: 1.8;
    /* Relaxed leading */
    font-weight: 400;
    max-width: 700px;
    /* Constrain width for comfortable reading */
    margin: 0 auto;
    /* Center the paragraph block */
}

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

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 24px;
    padding: 0;
    /* Remove default padding for full-width image */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    opacity: 0;
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.feature-card:hover {
    border-color: transparent;
    transform: translateY(-8px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 100%;
    height: 280px;
    /* Big, immersive image area */
    background: #f9f9fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0;
    /* REMOVED padding for edge-to-edge */
    overflow: hidden;
    /* Ensure image doesn't spill out on zoom */
}

.feature-icon-img {
    width: 100%;
    /* Fill width */
    height: 100%;
    /* Fill height */
    object-fit: cover;
    /* Cover the area, don't just contain */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transform: scale(1);
    transition: transform 0.5s ease;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin: 0 32px 16px 32px;
    /* Content padding */
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 32px 48px 32px;
    /* Content padding bottom */
}

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

    .features-header h2 {
        font-size: 2.25rem;
    }

    .features-section {
        padding: 80px 40px;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 120px 40px;
    background: #ffffff;
    text-align: center;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-it-works h2 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 80px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: left;
}

.step-item h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.step-item p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Red Stats Bar */
.stats-bar {
    background: #d60000;
    /* Starling Red or similar strong accent */
    padding: 40px 20px;
    color: #ffffff;
    width: 100%;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

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

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .stats-container {
        flex-direction: column;
        gap: 60px;
    }
}

/* Premium Micro-Animations */

/* 1. Smooth Fade Up Entry */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* 2. Staggered Delays for Children */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

/* 3. Magnetic/Lift Hover Effect */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* 4. Button Shimmer Effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-20deg);
    transition: none;
    /* Reset transition for initial state */
}

.btn-shimmer:hover::after {
    left: 120%;
    transition: left 0.6s ease-in-out;
    /* Only animate left property */
}

/* 5. Image Reveal (Mask) */
.reveal-image img {
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-image.visible img {
    opacity: 1;
    transform: scale(1);
}

/* 6. Text Highlight/Underline Animation */
.hover-underline {
    position: relative;
    display: inline-block;
}

.hover-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease-out;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Chatbot Widget Styles */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(157, 2, 8, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: var(--accent);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9fb;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overscroll-behavior: contain;
    /* Prevent page scroll when at limit */
    -webkit-overflow-scrolling: touch;
    /* Smooth touch scroll */
}

/* Custom Scrollbar for Chat */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bot-message {
    background: white;
    color: var(--text-primary);
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.user-message {
    background: var(--accent);
    color: white;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    box-shadow: 0 2px 8px rgba(157, 2, 8, 0.2);
}

.chat-input-area {
    padding: 12px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 8px;
}

.chat-input-area input {
    flex-grow: 1;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.chat-input-area input:focus {
    border-color: var(--accent);
}

.chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--text-primary);
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send:active {
    transform: scale(0.95);
}

.typing-indicator {
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    display: flex;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dot {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .chat-window {
        width: 90vw;
        height: 70vh;
        bottom: 80px;
        right: 5vw;
    }
}