﻿:root {
    --bg-color: #FAFAFA;
    --text-color: #1E293B;
    --heading-color: #0F172A;
    --accent-color: #334155;
    --accent-dark: #1E293B;
    --accent-gradient: linear-gradient(135deg, #334155 0%, #0F172A 100%);
    --surface-white: #ffffff;

    --gray-100: #F3F4F6;
    --gray-200: #E2E8F0;
    --gray-800: #1E293B;

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    --section-padding: 100px 0;
    --container-width: 90%;
    --max-width: 1280px;
    --radius-lg: 24px;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);


}



/* RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: var(--container-width);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* TYPOGRAPHY SYSTEM */
h1,
h2,
h3 {
    font-weight: 900;
    /* letter-spacing: -0.02em; */
    line-height: 1.1;
}

.section-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.6;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    /* Reduced to medium size */
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.section-line {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    margin-bottom: 4rem;
    transform-origin: left;
}

/* SIDE NAV */
.side-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.vertical-text {
    writing-mode: vertical-lr;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}

.nav-visual-line {
    width: 1px;
    height: 100px;
    background-color: var(--text-color);
}

/* FLOATING CTA */
.floating-cta {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    color: white;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4);
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* NAVBAR */
/* NAVBAR - LATTICE STYLE */
/* Full Width Glass Navbar */
/* Full Width Glass Navbar */
/* Full Width Glass Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    max-width: none;
    z-index: 1000;
    padding: 1rem 5%;
    /* Standard side padding */
    background: #ffffff;
    /* Solid White to hide logo box */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    /* Constrains content width on large screens */
    margin: 0 auto;
    /* Centers the container */
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: #000000;
    letter-spacing: -0.02em;
    text-decoration: none;
    justify-self: start;
    /* Grid align */
}

.nav-logo-img {
    height: 200px;
    /* Much larger as requested */
    width: auto;
    /* mix-blend-mode removed for clean look on white */
}

.footer-logo {
    height: 120px;
    /* Reduced from 300px to be large but reasonable */
    width: auto;
    opacity: 1 !important;
    margin-bottom: 20px;
    display: block;
    /* Removed blend modes to ensure visibility */
}

.logo-text {
    font-family: 'Inter', sans-serif;
}


/* Centered Links - RESET to Flex inside Grid */
/* Centered Links */
.nav-links-center {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    position: static;
    transform: none;
    margin: 0;
}

.nav-links-center li a {
    font-weight: 500;
    color: #475569;
    /* Slate 600 */
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links-center li a:hover {
    color: #000000;
}

/* Right Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-self: end;
    /* Grid align */
}

.nav-search-icon {
    color: #475569;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.nav-search-icon:hover {
    color: #000000;
}

.btn-nav-login {
    background: #000000;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-nav-login:hover {
    background: #333333;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Mobile Responsive Nav */
@media (max-width: 900px) {
    .nav-links-center {
        display: none;
        /* Hide links on mobile for now */
    }

    .mobile-menu-btn {
        display: block;
    }

    .btn-nav-login {
        display: none;
        /* Hide login on small screens if crowded */
    }
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-dark);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    /* box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4); Removed blur shadow */
    background: var(--accent-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-secondary:hover {
    background: var(--text-color);
    color: white;
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    overflow: hidden;
    padding-top: 80px;
    color: white;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

/* HERO BACKGROUND IMAGE */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/landing_home.png');
    background-size: cover;
    background-position: center top;
    /* changed from center bottom to fix cutoff */
    background-repeat: no-repeat;
    z-index: -2;
    animation: zoomOut 20s infinite alternate;
    /* Subtle zoom effect */
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* DEPRECATED: .hero-background removed in favor of Three.js canvas */

/* Removed duplicate hero-background::after */

/* ========================================
   NEW STUNNING HERO SECTION
   ======================================== */

/* ========================================
   LATTICE STYLE HERO SECTION - FITS VIEWPORT
   ======================================== */

.hero-lattice-section {
    position: relative;
    /* Increased padding to clear navbar */
    padding: 100px 0 20px;
    background: #ffffff;
    color: var(--heading-color);
    /* Ensure it doesn't force scroll unnecessarily, but allows it if content is tall */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Header Content */
.hero-lattice-header {
    text-align: center;
    max-width: 900px;
    /* Reduced bottom margin */
    margin: 0 auto 40px;
}

.lattice-title {
    /* Slightly smaller max font size */
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.lattice-subtitle {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.lattice-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-lattice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lattice.primary {
    background: #000000;
    color: #ffffff;
}

.btn-lattice.primary:hover {
    background: #333333;
    transform: translateY(-2px);
}

.btn-lattice.secondary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #e2e8f0;
}

.btn-lattice.secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* New Buttons Overlay in Image */
.lattice-actions-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 16px;
    z-index: 20;
    width: 100%;
    justify-content: center;
}

.btn-lattice.primary-glow {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-lattice.primary-glow:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.btn-lattice.secondary-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-lattice.secondary-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Visual Container */
.hero-lattice-visual {
    margin-top: 20px;
    width: 100%;
}

.lattice-visual-content {
    position: relative;
    width: 100%;
    /* Key change: calculate height based on viewport minus header space */
    height: 55vh;
    min-height: 400px;
    max-height: 600px;
    background: #f1f5f9;
    border-radius: 24px;
    overflow: hidden;
}

.lattice-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* Adjust this to position the doctor image correctly */
    object-position: center 20%;
}

/* Floating Tags */
.lattice-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 10;
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
}

.lattice-tag.top-left {
    top: 40px;
    left: 40px;
}

.lattice-tag.top-right {
    top: 40px;
    right: 40px;
}

.tag-pill {
    font-size: 0.7rem;
    font-weight: 700;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
    color: #64748b;
}

/* Bottom Overlay Content */
.lattice-bottom-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: white;
}

.overlay-text-group {
    max-width: 500px;
}

.overlay-badge {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.overlay-heading {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 500;
}

.overlay-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Floating Scroll Cards */
.lattice-cards-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.lattice-cards-scroll::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.lattice-mini-card {
    background: white;
    padding: 12px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.gradient-1 {
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
}

.gradient-2 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.gradient-3 {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.mini-info {
    display: flex;
    flex-direction: column;
}

.mini-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.mini-role {
    font-size: 0.75rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
    .lattice-bottom-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .overlay-heading {
        font-size: 2rem;
    }

    .lattice-cards-scroll {
        width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 600px) {
    .lattice-title {
        font-size: 2.5rem;
    }

    .lattice-visual-content {
        min-height: 500px;
        border-radius: 20px;
    }

    .lattice-tag {
        display: none;
    }

    .lattice-bottom-overlay {
        padding: 30px 20px 20px;
    }
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%, 0% 50%, 0% 50%, center;
    }

    50% {
        background-position: 100% 50%, 100% 50%, 100% 50%, center;
    }

    100% {
        background-position: 0% 50%, 0% 50%, 0% 50%, center;
    }
}

@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-img {
    display: none;
    /* Hide old img element if present */
}

.hero-content {
    margin-left: 5%;
    max-width: 900px;
    /* Increased width */
    z-index: 1;
    /* Removed heavy glass box for a cleaner, cinematic look */
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    /* Remove padding */
    border: none;
    box-shadow: none;
}

.hero-top-tag {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-top-tag::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    /* Bigger, bolder */
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    margin-top: 1rem;
    color: white;
    /* Clean white */
    /* Removed text gradient for now to ensure readability/classiness on image */
    background: none;
    -webkit-text-fill-color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.4;
}

.hero-desc p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

/* MARQUEE TICKER */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--text-color);
    padding: 1.5rem 0;
    white-space: nowrap;
    box-sizing: border-box;
}

.ticker {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-color);
    text-transform: uppercase;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }

    /* Assuming duplicated content for infinite loop */
}



/* BILLBOARD SECTION */
.billboard-container {
    position: relative;
    width: 100%;
    height: 500px;
    /* Adjust height */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.billboard-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.billboard-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.billboard-slide.active {
    opacity: 1;
    z-index: 10;
}

.billboard-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    z-index: 1;
}

.billboard-content {
    position: relative;
    z-index: 20;
    max-width: 600px;
    color: white;
}

.billboard-content h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.billboard-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.billboard-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 30;
    border-radius: 50%;
    transition: background 0.3s;
}

.billboard-controls button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.billboard-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.overlay-hand-text {
    position: absolute;
    right: 37%;
    bottom: 53%;
    /* transform: rotate(0deg); Removed rotation to keep text straight */

    font-size: 0.8rem;
    font-weight: 900;
    color: #ffffff;

    /* Power Source Styling */
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.9) 0%, rgba(56, 189, 248, 0.5) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    /* Pill shape */
    padding: 6px 16px;

    /* Intense Glow - Scaled Down */
    box-shadow:
        0 0 15px rgba(56, 189, 248, 0.9),
        0 0 30px rgba(56, 189, 248, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.6);

    text-shadow: 0 0 8px rgba(255, 255, 255, 1);

    z-index: 25;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    pointer-events: none;

    animation: powerPulse 2s infinite ease-in-out;
}

@keyframes powerPulse {
    0% {
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.8), 0 0 40px rgba(56, 189, 248, 0.4);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 35px rgba(56, 189, 248, 1), 0 0 60px rgba(56, 189, 248, 0.6);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.8), 0 0 40px rgba(56, 189, 248, 0.4);
        transform: scale(1);
    }
}

.slide-sup-text {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(-5px);
    }
}

/* SECTIONS COMMON */
.section {
    padding: var(--section-padding);
}

/* ECOSYSTEM CAROUSEL */
.ecosystem-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ecosystem-track-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 5px;
    /* Space for shadow/hover */
}

.ecosystem-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.eco-nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-nav-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.app-card {
    position: relative;
    /* Compact Card Sizes */
    min-width: 280px;
    width: 280px;
    flex: 0 0 280px;

    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.25rem;
    /* Reduced padding */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--accent-color);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.app-card:hover::before {
    transform: scaleX(1);
}

.card-visual {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #f8fafc;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    /* filter: grayscale(100%); Removed grayscale for more 'pop' */
    opacity: 1;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-100);
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    background-image: url('assets/samasra-logo-v2.png');
    /* Fallback */
    background-color: #ddd;
    /* Visual fallback */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.app-tagline {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
    min-height: 3rem;
}

.platforms {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.platform-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-weight: 600;
}

.card-link {
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.app-logo-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.app-card:hover .app-logo-img {
    transform: scale(1.1);
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--text-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
}

/* VALUES SECTION */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-block,
.value-card {
    padding: 2rem;
    background: var(--gray-100);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.value-card:hover {
    background: #eef2ff;
    /* Light blue tint on hover */
}

.value-header {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* DEVICES SECTION */
/* DEVICES SECTION */
.devices-section {
    background-color: var(--text-color);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.devices-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: space-between;
}

.devices-content {
    flex: 1;
    max-width: 600px;
}

.devices-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 0;
    min-height: auto;
}

.devices-img-side {
    max-width: 70%;
    height: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.devices-img-side:hover {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .devices-grid {
        flex-direction: column;
        text-align: center;
    }

    .devices-content .section-header {
        text-align: center !important;
    }

    .devices-content .section-line {
        margin: 0 auto 2rem !important;
    }
}

/* IMPACT/WHO WE SERVE SECTION */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.impact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.impact-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);

}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.impact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.impact-card p {
    font-size: 1.05rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes tags to bottom */
}

.impact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.impact-tags li {
    background: var(--gray-100);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* COMPARISON SECTION */
/* COMPARISON SECTION REDESIGN */
.comparison-cards-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-visual-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.comparison-img {
    width: 100%;
    height: auto;
    display: block;
}

.comp-card {
    flex: 1;
    max-width: 450px;
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-200);
}

.comp-card:hover {
    transform: translateY(-5px);
}

.card-old {
    background: #FAFAFA;
    border-color: #E5E7EB;
}

.card-new {
    background: white;
    border: 2px solid var(--accent-color);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

/* Subtle glow for new card */
.card-new::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-color);
}

.card-header-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.comp-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.card-old h3 {
    color: var(--gray-800);
}

.card-new h3 {
    color: var(--accent-color);
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.comp-item .icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.comp-item h4 {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.comp-item p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

.comp-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-circle {
    width: 50px;
    height: 50px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-800);
}

@media (max-width: 900px) {
    .comparison-cards-container {
        flex-direction: column;
        gap: 3rem;
    }

    .comp-arrow {
        transform: rotate(90deg);
    }
}

/* FITNESS SECTION SPECIFIC */
.fitness-section {
    background: #ffffff;
}

.dental-section {
    background: linear-gradient(to bottom, #ffffff, #eff6ff);
    /* Subtle blue tint */
}

/* SHOWCASE SECTIONS */
.showcase-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.showcase-visual {
    flex: 1;
    position: relative;
}

.showcase-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.showcase-img.desktop-img {
    max-width: 100%;
    border-radius: 10px;
}

.showcase-content {
    flex: 1;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    max-width: 500px;
}

.feature-list li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '\2713';
    font-weight: 900;
    color: var(--accent-color);
}

@media (max-width: 900px) {

    .showcase-grid,
    .split-layout.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .section-line {
        margin: 0 auto 2rem;
    }

    .feature-list li {
        justify-content: center;
    }
}

.client-list li {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--gray-300);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.client-list li:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    font-size: 1.2rem;
}

.nav-logo-img {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-cta {
    background: var(--black);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* CTA BANNER SECTION */
.cta-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 2rem;
    color: white;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    font-size: 1.2rem;
    padding: 1rem 3rem;
    border: 2px solid transparent;
}

.cta-btn:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: white;
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-info>p {
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.info-item p,
.info-item a {
    font-size: 1rem;
    color: var(--black);
    line-height: 1.5;
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* PHILOSOPHY */
.philosophy-section {
    padding: 150px 0;
    background: var(--gray-100);
}

.philosophy-content h2 {
    font-size: clamp(3rem, 6vw, 7rem);
    margin-bottom: 2rem;
}

.philosophy-content p {
    font-size: 1.5rem;
    max-width: 800px;
}

/* FOOTER */
/* FOOTER */
footer {
    background: var(--text-color);
    color: var(--gray-200);
    padding: 40px 0 20px;
    /* Reduced specific padding for compactness */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    /* Reduced gap */
    margin-bottom: 20px;
    /* Reduced margin */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    /* Reduced padding */
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 50px;
    /* Smaller logo */
    width: 50px;
    margin-bottom: 10px;
    /* filter: brightness(0) invert(1); Removed to show actual logo */
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.95rem;
    /* Slightly smaller text */
    opacity: 0.7;
    max-width: 300px;
}

.footer-contact-grid {
    display: flex;
    gap: 30px;
    /* Reduced gap */
    flex-wrap: wrap;
}

.contact-col {
    min-width: 160px;
    /* Reduced width requirement */
}

.contact-col h4 {
    color: white;
    font-size: 0.9rem;
    /* Smaller heading */
    margin-bottom: 8px;
    /* Tighter spacing */
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-col p {
    font-size: 0.85rem;
    /* Smaller text */
    opacity: 0.7;
    line-height: 1.4;
    /* Tighter leading */
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-contact-grid {
        flex-direction: column;
        gap: 20px;
    }
}

/* ANIMATION UTILS */
.reveal-text,
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
        width: 80px;
        height: 80px;
    }

    .side-nav {
        display: none;
    }
}

/* PHILOSOPHY SECTION */
.philosophy-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.philosophy-content {
    flex: 1;
}

.philosophy-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.philosophy-img {
    max-width: 80%;
    /* Reduced from 100% */
    display: block;
    margin: 0 auto;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.philosophy-img:hover {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .philosophy-grid {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

/* === PREMIUM ENHANCEMENTS === */

/* VALUES SECTION */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    background: none;
    -webkit-text-fill-color: initial;
    display: inline-block;
}

.value-card p {
    color: var(--text-color);
    opacity: 0.8;
}

/* CONTACT FORM */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-100);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--heading-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    background: #F8FAFC;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* FOOTER ENHANCED */
footer {
    background: var(--heading-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-brand .footer-logo {
    height: 50px;
    margin-bottom: 1rem;
    /* filter: brightness(0) invert(1); Removed to show actual logo */
}



/* SOLUTIONS BILLBOARD (STYLE LIKE MAIN BILLBOARD) */
.solutions-billboard-container {
    position: relative;
    width: 100%;
    height: 350px;
    /* Reduced height as requested */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.solutions-billboard-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.solutions-billboard-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0b0f14;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    padding: 0;
}

.solutions-billboard-slide.active {
    opacity: 1;
    z-index: 10;
}

.solutions-billboard-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: 1;
}

.solutions-billboard-content {
    position: relative;
    z-index: 20;
    width: 100%;
    padding: 2rem 3rem;
    color: white;
}

.solutions-billboard-content h3 {
    font-size: 2.2rem;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.solutions-billboard-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.8rem;
    cursor: pointer;
    z-index: 30;
    border-radius: 50%;
    transition: background 0.3s;
    backdrop-filter: blur(5px);
}

.solutions-billboard-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.sol-prev-btn {
    left: 20px;
}

.sol-next-btn {
    right: 20px;
}

@media (max-width: 768px) {
    .solutions-billboard-container {
        height: 250px;
    }

    .solutions-billboard-content h3 {
        font-size: 1.5rem;
    }

    .solutions-billboard-content {
        padding: 1.5rem;
    }
}

/* EVOLUTION SECTION */
.evolution-section {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Background mesh effect */
.evolution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    max-width: 600px;
    margin: 1rem auto 4rem;
    opacity: 0.8;
    font-size: 1.2rem;
    font-weight: 300;
}

.evolution-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 4rem;
}

.evolution-card {
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

.evolution-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.evolution-card ul {
    list-style: none;
    padding: 0;
}

.evolution-card li {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    padding-left: 10px;
    position: relative;
}

/* OLD CARD STYLE */
.evolution-card.old {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.evolution-card.old h3 {
    color: #64748b;
}

.evolution-card.old:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* NEW CARD STYLE */
.evolution-card.new {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
    position: relative;
    overflow: hidden;
}

.evolution-card.new::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.evolution-card.new h3 {
    color: #34d399;
    /* Emerald green */
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.evolution-card.new li {
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* EVOLUTION LINE */
.evolution-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.evolution-line span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 1rem;
    writing-mode: vertical-lr;
    /* Vertical text */
    transform: rotate(180deg);
}

.line-glow {
    width: 2px;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(to bottom, transparent, #34d399, transparent);
    box-shadow: 0 0 15px #34d399;
    opacity: 0.8;
}

/* EVOLUTION VISUAL */
.evolution-visual {
    margin-top: 2rem;
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.evolution-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: block;
    transition: transform 0.5s ease;
}

.evolution-visual:hover img {
    transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .evolution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .evolution-line {
        flex-direction: row;
        width: 100%;
        height: auto;
        padding: 2rem 0;
    }

    .evolution-line span {
        writing-mode: horizontal-tb;
        transform: none;
        margin-right: 1rem;
        margin-bottom: 0;
    }

    .line-glow {
        width: 100px;
        height: 2px;
        min-height: auto;
        background: linear-gradient(to right, transparent, #34d399, transparent);
    }
}

/* ========================================
   PREMIUM VISUAL SECTIONS
   ======================================== */

/* VISUAL SHOWCASE - FULLWIDTH IMAGE SECTION */
.visual-showcase-section {
    padding: 2rem 0;
}

.showcase-fullwidth {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.showcase-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.showcase-fullwidth-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease;
}

.showcase-image-wrapper:hover .showcase-fullwidth-img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.showcase-overlay-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 2rem;
    color: white;
}

.showcase-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #34d399;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 50px;
}

.showcase-headline {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.showcase-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

/* FEATURE SPLIT SECTION */
.feature-split-section {
    background: var(--bg-color);
    padding: 8rem 0;
}

.feature-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0d9488;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.feature-description {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--gray-200);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

.feature-split-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-image:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

/* PARALLAX BANNER SECTION */
/* Styled to match CTA banner */
.parallax-banner-section {
    padding: 2rem 0;
}

.parallax-banner-section .container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.parallax-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding: 2rem;
    color: white;
}

.parallax-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.parallax-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* GLOWING BUTTON */
.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(52, 211, 153, 0.6), 0 0 60px rgba(52, 211, 153, 0.3);
    }
}

/* RESPONSIVE FOR NEW SECTIONS */
@media (max-width: 900px) {
    .showcase-image-wrapper {
        min-height: 350px;
        border-radius: 16px;
    }

    .showcase-overlay {
        padding: 1.5rem;
    }

    .feature-split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-split-visual {
        order: -1;
    }

    .parallax-banner {
        min-height: 350px;
        border-radius: 16px;
        background-attachment: scroll;
    }
}

@media (max-width: 600px) {
    .showcase-headline {
        font-size: 2rem;
    }

    .showcase-subtext {
        font-size: 1rem;
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .parallax-title {
        font-size: 1.75rem;
    }
}

/* ========================================
   PREMIUM FINISHING TOUCHES
   ======================================== */

/* Floating Animation for Images */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer-text {
    background: linear-gradient(90deg, var(--heading-color) 0%, #0d9488 50%, var(--heading-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Enhanced Value Cards */
.value-card {
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

/* Gradient Border Effect */
.gradient-border {
    position: relative;
    background: var(--surface-white);
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #0d9488, #14b8a6, #2dd4bf);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Improved App Cards Hover */
.app-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-card:hover {
    transform: translateY(-12px) scale(1.02);
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Image Reveal */
.reveal-image {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-image.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Elegant Underline Animation */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    transition: width 0.4s ease;
}

.animated-underline:hover::after {
    width: 100%;
}

/* Premium Button Hover */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

/* Glassmorphism Card Enhancement */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Section Divider with Gradient */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
    margin: 4rem 0;
}

/* Smooth Page Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 4px;
}

/* Print Styles */
@media print {

    .navbar,
    .scroll-indicator,
    .billboard-controls,
    .eco-nav-btn {
        display: none !important;
    }
}