/* ===================================================================
   Footer Main Section - Master UI Design System
   Scoped to: #footer-main-section
   Typography: Playfair Display (Headings), Source Sans Pro (Links), IBM Plex Mono (Data)
   =================================================================== */

/* Import Typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+Pro:wght@300;400;600&family=IBM+Plex+Mono:wght@300;400;500&display=swap');

/* ===================================================================
   CSS Custom Properties
   =================================================================== */

#footer-main-section {
    /* Colors - Dark Blue theme base */
    --fm-bg-base: #004685;
    --fm-text-primary: #ffffff;
    --fm-text-secondary: #e0e0e0;
    --fm-accent: #29afe3;
    --fm-border: rgba(255, 255, 255, 0.15);

    /* Typography */
    --fm-font-heading: 'Playfair Display', serif;
    --fm-font-body: 'Source Sans Pro', sans-serif;
    --fm-font-mono: 'IBM Plex Mono', monospace;
}

[data-theme="dark"] #footer-main-section {
    --fm-bg-base: #0d1117;
    --fm-text-secondary: #b0b0b0;
    --fm-border: rgba(255, 255, 255, 0.1);
}

/* ===================================================================
   Section Base Styling
   =================================================================== */

#footer-main-section {
    position: relative;
    background-color: var(--fm-bg-base) !important;
    color: var(--fm-text-secondary);
    padding: 60px 0 30px;
    font-family: var(--fm-font-body);
}

/* Remove default overlay */
#footer-main-section .overlay-main {
    display: none;
}

#footer-main-section .container {
    position: relative;
    z-index: 1;
}

/* ===================================================================
   Widgets & Typography
   =================================================================== */

#footer-main-section h4.widget-title {
    font-family: var(--fm-font-heading);
    color: var(--fm-text-primary) !important;
    background: transparent !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Clean up widget backgrounds */
#footer-main-section .widget,
#footer-main-section .widget-section {
    background: transparent !important;
    margin-bottom: 20px;
}

/* ===================================================================
   Nav Row (Top)
   =================================================================== */

#footer-main-section .footer-link {
    border-bottom: 1px solid var(--fm-border);
    padding-bottom: 30px;
    margin-bottom: 50px;
}

#footer-main-section .footer-link ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#footer-main-section .footer-link a {
    color: var(--fm-text-primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

#footer-main-section .footer-link a:hover {
    color: var(--fm-accent) !important;
}

/* ===================================================================
   Main Content Columns (Middle)
   =================================================================== */

#footer-main-section .widget-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer-main-section .widget-section li {
    font-family: var(--fm-font-mono);
    font-size: 0.9rem;
    color: var(--fm-text-secondary) !important;
    margin-bottom: 12px;
    line-height: 1.5;
}

#footer-main-section .widget-section li a {
    color: var(--fm-text-secondary) !important;
    transition: color 0.2s;
}

#footer-main-section .widget-section li a:hover {
    color: var(--fm-accent) !important;
}

/* ===================================================================
   Social Icons Row (Bottom)
   =================================================================== */

#footer-main-section .new-footer-social-icon {
    margin-top: 20px;
    /* Center align if in full width row, or standard behavior */
    text-align: center;
}

#footer-main-section .new-footer-social-icon ul {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#footer-main-section .new-footer-social-icon li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#footer-main-section .new-footer-social-icon li a i {
    color: #fff;
}

/* Hover Effects */
#footer-main-section .new-footer-social-icon li a:hover {
    background: var(--fm-accent);
    border-color: var(--fm-accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 175, 227, 0.3);
}

/* Platform Specific Hovers */
#footer-main-section .new-footer-social-icon li a:has(.fa-linkedin):hover {
    background: #0077b5;
    border-color: #0077b5;
}

#footer-main-section .new-footer-social-icon li a:has(.fa-youtube-play):hover {
    background: #ff0000;
    border-color: #ff0000;
}

#footer-main-section .new-footer-social-icon li a:has(.fa-twitter):hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

#footer-main-section .new-footer-social-icon li a:has(.fa-facebook):hover {
    background: #1877f2;
    border-color: #1877f2;
}

#footer-main-section .new-footer-social-icon li a:has(.fa-instagram):hover {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    border-color: #dc2743;
}

#footer-main-section .new-footer-social-icon li a:has(.fa-at):hover {
    background: #000;
    border-color: #000;
}


/* ===================================================================
   Responsive
   =================================================================== */

@media (max-width: 991px) {
    #footer-main-section {
        padding: 50px 0 20px;
    }
}

@media (max-width: 767px) {
    #footer-main-section {
        text-align: center;
    }

    #footer-main-section .footer-link ul {
        flex-direction: column;
        gap: 15px;
    }

    #footer-main-section .col-md-4 {
        margin-bottom: 40px;
    }
}


/* ===================================================================
   GLOBAL OVERRIDES (PRESERVED)
   Fix for Header Dropdown & Contact Panel Text Visibility (Light Mode)
   =================================================================== */

/* 1. Header Dropdown (Light Mode) */
html body .header-nav .nav>li .sub-menu,
html body .nav-dark.header-nav .nav>li .sub-menu {
    background-color: #004685 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

html body .header-nav .nav>li .sub-menu li a,
html body .nav-dark.header-nav .nav>li .sub-menu li a {
    color: #ffffff !important;
    background-color: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

html body .header-nav .nav>li .sub-menu li a:hover,
html body .nav-dark.header-nav .nav>li .sub-menu li a:hover {
    background-color: #29afe3 !important;
    color: #ffffff !important;
}

/* 2. Contact Slide-out Panel (Light Mode) */
html body .contact-slide-hide,
html body .contact-nav,
html body .contact-nav-form {
    background-color: #ffffff !important;
}

html body .contact-nav h4,
html body .contact-nav h5,
html body .contact-nav .section-head h4,
html body .contact-nav-form h4,
html body .contact-slide-hide h4 {
    color: #1a1a2e !important;
}

html body .contact-nav p,
html body .contact-nav .icon-content p {
    color: #333333 !important;
}

/* Text Inputs & Labels */
html body .contact-nav label,
html body .contact-nav-form label,
html body .contact-nav .input-animate label,
html body .input-animate label {
    color: #333333 !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body .contact-nav input,
html body .contact-nav textarea,
html body .input-animate input,
html body .input-animate textarea {
    background-color: #ffffff !important;
    color: #1a1a2e !important;
    border-bottom: 2px solid #29afe3 !important;
}

html body .contact_close {
    color: #1a1a2e !important;
}

/* 3. Dark Mode Restoration (Must override the overrides) */
html[data-theme="dark"] body .contact-nav label,
html[data-theme="dark"] body .input-animate label {
    color: #e0e0e0 !important;
}

html[data-theme="dark"] body .contact-nav input,
html[data-theme="dark"] body .contact-nav textarea {
    background-color: #252525 !important;
    color: #ffffff !important;
}
/* LIGHT MODE PATCH - FORCED VISIBILITY */
/* Injected last to override all other styles */

/* =========================================
   1. Header Dropdown
   ========================================= */
html body .header-nav .nav>li .sub-menu,
html body .nav-dark.header-nav .nav>li .sub-menu {
    background-color: #004685 !important;
}

html body .header-nav .nav>li .sub-menu li a,
html body .nav-dark.header-nav .nav>li .sub-menu li a {
    color: #ffffff !important;
    background-color: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    text-shadow: none !important;
}

html body .header-nav .nav>li .sub-menu li a:hover,
html body .nav-dark.header-nav .nav>li .sub-menu li a:hover {
    background-color: #29afe3 !important;
    color: #ffffff !important;
}

/* =========================================
   2. Contact Slide-out Panel
   ========================================= */
html body .contact-slide-hide,
html body .contact-nav,
html body .contact-nav-form {
    background-color: #ffffff !important;
}

/* Headings */
html body .contact-nav h4,
html body .contact-nav h5,
html body .contact-nav .section-head h4,
html body .contact-nav-form h4,
html body .contact-slide-hide h4 {
    color: #1a1a2e !important;
}

/* Paragraphs */
html body .contact-nav p,
html body .contact-nav .icon-content p {
    color: #333333 !important;
}

/* Labels */
html body .contact-nav label,
html body .contact-nav-form label,
html body .contact-nav .input-animate label,
html body .input-animate label {
    color: #333333 !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
}

/* Inputs & Textareas - Aggressive Override */
html body .contact-nav input,
html body .contact-nav textarea,
html body .contact-nav-form input,
html body .contact-nav-form textarea,
html body .input-animate input,
html body .input-animate textarea,
html body .contact-slide-hide input,
html body .contact-slide-hide textarea {
    background-color: #ffffff !important;
    color: #000000 !important;
    /* Force Black */
    caret-color: #000000 !important;
    border-bottom: 2px solid #29afe3 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
}

html body .contact-nav input::placeholder,
html body .contact-nav textarea::placeholder,
html body .input-animate input::placeholder,
html body .input-animate textarea::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #666666 !important;
}

/* Close Button Transformation (Replace ? with Icon) */
html body .contact_close {
    font-size: 0 !important;
    /* Hide text '?' */
    display: block !important;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer !important;
    text-decoration: none !important;
    color: transparent !important;
}

html body .contact_close::before {
    content: "\f00d";
    /* FontAwesome Times */
    font-family: FontAwesome;
    font-size: 24px !important;
    color: #1a1a2e !important;
    /* Dark Icon */
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
    visibility: visible !important;
}

html body .contact_close:hover::before {
    color: #ff0000 !important;
    transform: rotate(90deg);
}

/* =========================================
   3. Dark Mode Protection
   ========================================= */
html[data-theme="dark"] body .contact-nav label,
html[data-theme="dark"] body .contact-nav-form label,
html[data-theme="dark"] body .input-animate label {
    color: #e0e0e0 !important;
}

html[data-theme="dark"] body .contact-nav input,
html[data-theme="dark"] body .contact-nav textarea,
html[data-theme="dark"] body .contact-nav-form input,
html[data-theme="dark"] body .contact-nav-form textarea,
html[data-theme="dark"] body .input-animate input,
html[data-theme="dark"] body .input-animate textarea {
    background-color: #252525 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    border-color: #444 !important;
}

html[data-theme="dark"] body .contact-nav input::placeholder,
html[data-theme="dark"] body .contact-nav textarea::placeholder {
    color: #aaaaaa !important;
    -webkit-text-fill-color: #aaaaaa !important;
}

html[data-theme="dark"] body .contact_close::before {
    color: #ffffff !important;
}

/* =========================================
   4. Navigation Hover Fix (Strict Visibility Strategy)
   ========================================= */

/* 1. Container: Ignore clicks on padding/gaps */
html body .header-nav .nav>li {
    pointer-events: none !important;
    height: auto !important;
}

/* 2. Link: Always interactive (Triggers hover) */
html body .header-nav .nav>li>a {
    pointer-events: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
    position: relative !important;
    z-index: 100 !important;
}

/* 3. Submenu Default: Hidden & Non-Interactive (Prevents phantom hovers) */
html body .header-nav .nav>li .sub-menu {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    display: block !important;
    top: 100% !important;
    margin-top: 0 !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* 4. Submenu Hover: Show & Enable Interaction */
html body .header-nav .nav>li:hover .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
/* =======================================================
   Turnkey Services Section Redesign (Premium Card Style)
   Scope: #turnkey-services-section
   ======================================================= */

/* General Section Styling */
#turnkey-services-section p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

#turnkey-services-section .section-head p {
    font-weight: 400;
    margin-top: 15px;
}

/* Card Wrapper */
#turnkey-services-section .turnkey-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft, premium shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

/* Hover Lift Effect */
#turnkey-services-section .turnkey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 70, 133, 0.12);
    border-color: transparent;
}

/* Media Area */
#turnkey-services-section .turnkey-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

#turnkey-services-section .turnkey-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Image Zoom on Hover */
#turnkey-services-section .turnkey-card:hover .turnkey-media img {
    transform: scale(1.08);
}

/* Overlay Gradient */
#turnkey-services-section .turnkey-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

#turnkey-services-section .turnkey-card:hover .turnkey-overlay {
    opacity: 0.4;
}

/* Content Area */
#turnkey-services-section .turnkey-content {
    padding: 30px 25px 25px;
    /* Top padding enables overlapping icon */
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Floating Icon */
#turnkey-services-section .turnkey-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30px;
    /* Floats half over image */
    right: 20px;
    /* Positioned right for modern asymmetric look */
    color: #004685;
    font-size: 24px;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
    /* Seamless merge */
}

#turnkey-services-section .turnkey-card:hover .turnkey-icon {
    background: #004685;
    color: #ffffff;
    transform: rotateY(180deg);
}

/* Titles */
#turnkey-services-section .wt-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d1d33;
    margin-bottom: 12px;
    margin-top: 5px;
    transition: color 0.3s ease;
}

#turnkey-services-section .turnkey-card:hover .wt-title {
    color: #29afe3;
}

/* Description Text */
#turnkey-services-section .turnkey-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Read More Button */
#turnkey-services-section .turnkey-btn {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: #29afe3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

#turnkey-services-section .turnkey-btn i {
    transition: transform 0.3s ease;
}

#turnkey-services-section .turnkey-card:hover .turnkey-btn i {
    transform: translateX(5px);
}

/* =======================================================
   DARK MODE OVERRIDES
   ======================================================= */
html[data-theme="dark"] #turnkey-services-section .turnkey-card {
    background: #0d1d33;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] #turnkey-services-section .turnkey-card:hover {
    background: #112540;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] #turnkey-services-section .turnkey-content {
    background: transparent;
}

html[data-theme="dark"] #turnkey-services-section .wt-title {
    color: #ffffff;
}

html[data-theme="dark"] #turnkey-services-section .turnkey-card:hover .wt-title {
    color: #29afe3;
}

html[data-theme="dark"] #turnkey-services-section p {
    color: #b0b8c4;
}

html[data-theme="dark"] #turnkey-services-section .turnkey-icon {
    background: #1a2e4d;
    color: #29afe3;
    border-color: #1a2e4d;
}

html[data-theme="dark"] #turnkey-services-section .turnkey-card:hover .turnkey-icon {
    background: #29afe3;
    color: #ffffff;
}

/* =======================================================
   MOBILE OPTIMIZATION
   ======================================================= */
@media (max-width: 767px) {
    #turnkey-services-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    #turnkey-services-section .turnkey-card {
        margin-bottom: 25px;
        /* Comfortable stack spacing */
        height: auto;
        min-height: auto;
    }

    #turnkey-services-section .turnkey-media {
        height: 180px;
        /* Reduced image height for compactness */
    }

    #turnkey-services-section .turnkey-content {
        padding: 25px 20px 20px;
    }

    #turnkey-services-section .turnkey-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: -25px;
        right: 15px;
    }

    #turnkey-services-section .wt-title {
        font-size: 18px;
    }

    #turnkey-services-section .section-head h2 {
        font-size: 28px;
    }
}
/* =======================================================
   Cleanroom Products Section Redesign
   Scope: #cleanroom-products-section
   Unique Layout: Staggered Grid with "Floating" Cards
   ======================================================= */

/* Section Wrapper */
#cleanroom-products-section {
    position: relative;
    overflow: hidden;
    background-color: #f9fbfd;
    /* Very subtle light blue-grey */
}

/* Background Decoration (Subtle Parallax-like shapes) */
#cleanroom-products-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 175, 227, 0.05) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

#cleanroom-products-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 70, 133, 0.05) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

/* Grid Layout */
#cleanroom-products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Zig-Zag Stagger Effect on Desktop */
@media (min-width: 992px) {
    #cleanroom-products-section .product-card-wrap:nth-child(3n+2) {
        transform: translateY(40px);
        /* Push middle column down */
    }
}

/* Card Styling */
#cleanroom-products-section .product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Image Area */
#cleanroom-products-section .product-media {
    height: 240px;
    position: relative;
    overflow: hidden;
}

#cleanroom-products-section .product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* Unique Hover: Image Pan */
#cleanroom-products-section .product-card:hover .product-media img {
    transform: scale(1.1) rotate(1deg);
}

/* Overlay Badge (Category/Icon) */
#cleanroom-products-section .product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004685;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

#cleanroom-products-section .product-card:hover .product-badge {
    background: #29afe3;
    color: #fff;
    transform: rotateY(360deg);
}

/* Content Area */
#cleanroom-products-section .product-details {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Decorative Accent Line */
#cleanroom-products-section .product-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 40px;
    height: 3px;
    background: #29afe3;
    transition: width 0.4s ease;
}

#cleanroom-products-section .product-card:hover .product-details::before {
    width: calc(100% - 50px);
    /* Expand across */
}

/* Typography */
#cleanroom-products-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 15px;
    margin-bottom: 10px;
}

#cleanroom-products-section p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Unique Button: Pill Shape that fills */
#cleanroom-products-section .product-link {
    align-self: flex-start;
    padding: 10px 24px;
    border-radius: 30px;
    background: transparent;
    border: 2px solid #e1e1e1;
    color: #555;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

#cleanroom-products-section .product-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #004685;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#cleanroom-products-section .product-card:hover .product-link,
#cleanroom-products-section .product-link:hover {
    border-color: #004685;
    color: #ffffff !important;
    padding-right: 35px;
    /* Make room for arrow */
}

#cleanroom-products-section .product-card:hover .product-link::before {
    width: 100%;
}

/* Arrow that appears on hover */
#cleanroom-products-section .product-link::after {
    content: '\f105';
    /* FontAwesome Right Angle */
    font-family: FontAwesome;
    position: absolute;
    right: 15px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

#cleanroom-products-section .product-card:hover .product-link::after {
    opacity: 1;
    transform: translateX(0);
}

/* =======================================================
   DARK MODE OVERRIDES
   ======================================================= */
html[data-theme="dark"] #cleanroom-products-section {
    background-color: #0a1628;
}

html[data-theme="dark"] #cleanroom-products-section::before {
    background: radial-gradient(circle, rgba(41, 175, 227, 0.1) 0%, transparent 70%);
}

html[data-theme="dark"] #cleanroom-products-section::after {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
}

html[data-theme="dark"] #cleanroom-products-section .product-card {
    background: #132238;
    /* Slightly lighter than bg */
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] #cleanroom-products-section .product-badge {
    background: rgba(30, 41, 59, 0.9);
    color: #fff;
}

html[data-theme="dark"] #cleanroom-products-section h4 {
    color: #fff;
}

html[data-theme="dark"] #cleanroom-products-section p {
    color: #b0b8c4;
}

html[data-theme="dark"] #cleanroom-products-section .product-link {
    border-color: #334e68;
    color: #9aa5b1;
}

html[data-theme="dark"] #cleanroom-products-section .product-card:hover .product-link {
    border-color: #29afe3;
    color: #fff;
}

html[data-theme="dark"] #cleanroom-products-section .product-link::before {
    background: #29afe3;
}

/* =======================================================
   RESPONSIVENESS (Mobile First Principles)
   ======================================================= */
@media (max-width: 991px) {
    #cleanroom-products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    #cleanroom-products-section .products-grid {
        grid-template-columns: 1fr;
        /* Stacked */
        gap: 25px;
    }

    #cleanroom-products-section .product-card-wrap:nth-child(n) {
        transform: none !important;
        /* Remove stagger on mobile */
    }

    #cleanroom-products-section .product-media {
        height: 200px;
    }
}

/* =======================================================
   Key Benefits Visual Map Redesign
   Scope: #key-benefits-map
   ======================================================= */

/* --- Container & Background --- */
#key-benefits-map {
    position: relative;
    overflow: hidden;
}

.bg-light-blue-pattern {
    background-color: #f8fbff;
}

.text-light-blue {
    color: #29afe3 !important;
}

.text-dark-blue {
    color: #004685 !important;
}

/* --- Left: Image Collage --- */
.benefits-collage-wrapper {
    position: relative;
    height: 500px;
    /* Fixed height for desktop to manage overlapping */
    width: 100%;
}

.collage-tile {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.collage-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.collage-tile:hover img,
.collage-tile.active img {
    transform: scale(1.05);
}

.collage-tile:hover,
.collage-tile.active {
    box-shadow: 0 20px 40px rgba(41, 175, 227, 0.2);
    border-color: #29afe3;
    z-index: 10;
    /* Bring to front on hover/active */
}

/* Tile Positioning (Desktop) */
.tile-1 {
    width: 55%;
    height: 60%;
    top: 0;
    left: 0;
    z-index: 2;
}

.tile-2 {
    width: 40%;
    height: 50%;
    top: 5%;
    right: 0;
    z-index: 1;
}

.tile-3 {
    width: 85%;
    height: 45%;
    bottom: 0;
    left: 10%;
    z-index: 3;
}

/* Tablet/Mobile Adjustments */
@media (max-width: 991px) {
    .benefits-collage-wrapper {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .collage-tile {
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .tile-3 {
        grid-column: span 2;
    }
}

/* --- Hotspots --- */
.hotspot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #29afe3;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(41, 175, 227, 0.4);
    pointer-events: none;
    /* Let clicks pass through to tile */
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.collage-tile.active .hotspot,
.collage-tile:hover .hotspot {
    opacity: 1;
    transform: scale(1);
    animation: pulse-ring 2s infinite;
}

.hotspot-label {
    position: absolute;
    top: 15%;
    /* Adjust based on design preference */
    right: 15%;
    background: rgba(0, 70, 133, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.collage-tile.active .hotspot-label,
.collage-tile:hover .hotspot-label {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 175, 227, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(41, 175, 227, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(41, 175, 227, 0);
    }
}

/* --- Right: Benefit Cards Stack --- */
.benefit-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.benefit-card.active {
    border-color: #29afe3;
    box-shadow: 0 10px 30px rgba(41, 175, 227, 0.15);
}

.card-status-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #004685, #29afe3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card.active .card-status-line {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-icon {
    font-size: 24px;
}

.card-number {
    font-size: 40px;
    font-weight: 900;
    color: rgba(200, 200, 200, 0.2);
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: all 0.3s ease;
}

.benefit-card.active .card-number {
    color: rgba(41, 175, 227, 0.15);
    transform: scale(1.1);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.card-desc {
    font-size: 13px;
    color: #6c757d;
    /* Muted text */
    margin: 0;
    line-height: 1.5;
}

/* --- Dark Mode Overrides (Assumes global .dark class on body) --- */
[data-theme="dark"] #key-benefits-map {
    background-color: #0d121c !important;
    /* Extremely dark blue/bg */
}

[data-theme="dark"] .bg-light-blue-pattern {
    background-color: #0d121c;
    /* Fallback */
}

[data-theme="dark"] .benefit-card {
    background-color: #16202e;
    border-color: #2a3546;
}

[data-theme="dark"] .text-dark-blue {
    color: #ffffff !important;
}

[data-theme="dark"] .card-desc {
    color: #a0aec0;
}

/* =======================================================
   Types & Options Configurator
   Scope: #types-configurator
   ======================================================= */

/* Type Selector List */
.type-selector-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.type-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.type-card.active {
    border-color: #29afe3;
    box-shadow: 0 10px 30px rgba(41, 175, 227, 0.15);
}

.type-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #004685, #29afe3);
}

.type-icon i {
    font-size: 24px;
    transition: color 0.3s ease;
}

.type-card.active .type-icon i {
    color: #29afe3;
}

/* Detail Panel */
.config-detail-panel {
    transition: all 0.3s ease;
}

/* Chips */
.stat-chip {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.stat-chip:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #29afe3;
}

/* Option Pills */
.option-pill {
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 15px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.option-pill.active {
    background-color: #29afe3;
    color: #fff;
    border-color: #29afe3;
}

/* Summary Box */
.config-summary {
    border: 1px solid #e1e8ed;
}

/* Responsive */
@media (max-width: 991px) {
    .type-selector-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .type-card {
        min-width: 250px;
    }
}

/* =======================================================
   Dark Mode Overrides - Types Configurator
   section: #types-configurator
   ======================================================= */
[data-theme="dark"] #types-configurator {
    background-color: #0d121c !important;
}

[data-theme="dark"] .type-card,
[data-theme="dark"] .config-detail-panel {
    background-color: #16202e;
    border-color: #2a3546;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .type-card:hover {
    background-color: #1c2a3d;
}

[data-theme="dark"] .text-dark-blue {
    color: #ffffff !important;
}

[data-theme="dark"] .text-muted {
    color: #a0aec0 !important;
}

[data-theme="dark"] .badge-light {
    background-color: #2a3546;
    color: #e2e8f0;
}

/* Chips in Dark Mode */
[data-theme="dark"] .stat-chip {
    background-color: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .stat-chip i {
    color: #94a3b8 !important;
    /* Lighter muted icon */
}

/* Option Pills in Dark Mode */
[data-theme="dark"] .option-pill {
    color: #cbd5e1;
    border-color: #475569;
}

[data-theme="dark"] .option-pill:hover {
    background-color: #334155;
    border-color: #64748b;
}

[data-theme="dark"] .option-pill.active {
    background-color: #29afe3;
    color: #ffffff;
    border-color: #29afe3;
}

/* Summary Box in Dark Mode */
[data-theme="dark"] .config-summary {
    background-color: #0f172a !important;
    border-color: #1e293b;
}


/* =======================================================
   Key Features Console
   section: #features-console
   ======================================================= */
/* Feature Nav List */
.feature-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-nav-pill {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 50px;
    padding: 12px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    width: 100%;
}

.feature-nav-pill i {
    color: #29afe3;
    transition: transform 0.3s;
}

.feature-nav-pill:hover {
    transform: translateX(5px);
    border-color: #29afe3;
    box-shadow: 0 4px 12px rgba(41, 175, 227, 0.1);
}

.feature-nav-pill.active {
    background-color: rgba(41, 175, 227, 0.08);
    /* Very light blue tint */
    border-color: #29afe3;
    color: #004685;
}

.feature-nav-pill.active i {
    transform: scale(1.2);
}

/* Schematic & Nodes */
.schematic-wrapper {
    position: relative;
}

.feature-node {
    position: absolute;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.node-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #29afe3;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.node-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(41, 175, 227, 0.3);
    border-radius: 50%;
    animation: none;
}

.feature-node:hover .node-dot,
.feature-node.active .node-dot {
    background-color: #29afe3;
    box-shadow: 0 0 15px rgba(41, 175, 227, 0.6);
    transform: translate(-50%, -50%) scale(1.3);
}

.feature-node.active .node-ring {
    animation: pulse-ring 2s infinite;
}

/* Story Panel */
.feature-story-panel {
    transition: opacity 0.3s ease;
}

.metric-pill {
    background: #f0f4f8;
    border-left: 3px solid #004685;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 4px;
    margin-right: 5px;
}

/* Dark Mode Overrides - Console */
[data-theme="dark"] #features-console {
    background-color: #0d121c !important;
}

[data-theme="dark"] .console-grid-bg {
    background-image: radial-gradient(#2a3546 1px, transparent 1px) !important;
    opacity: 0.3 !important;
}

[data-theme="dark"] .feature-nav-pill {
    background-color: #16202e;
    border-color: #2a3546;
    color: #a0aec0;
}

[data-theme="dark"] .feature-nav-pill:hover,
[data-theme="dark"] .feature-nav-pill.active {
    background-color: #1c2a3d;
    color: #fff;
    border-color: #29afe3;
}

[data-theme="dark"] .feature-story-panel {
    background-color: #16202e !important;
    border-color: #2a3546 !important;
}


/* =======================================================
   Typical Applications Explorer
   section: #typical-applications
   ======================================================= */
/* Background Animation */
@keyframes drift {
    0% {
        transform: translateY(0) rotate(15deg);
    }

    100% {
        transform: translateY(-40px) rotate(15deg);
    }
}

.anim-grid {
    animation: drift 20s linear infinite alternate;
}

.anim-orb {
    filter: blur(40px);
    animation: pulse-soft 8s ease-in-out infinite alternate;
}

.anim-orb.delay-1 {
    animation-delay: 2s;
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Tabs Nav */
.app-tabs-wrapper {
    text-align: center;
}

.app-tab-link {
    border: none;
    background: transparent;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.app-tab-link.active {
    color: #004685;
}

.nav-indicator {
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #004685, #29afe3);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}

/* Tab Content & Card */
.app-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.app-row-card {
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.app-row-card:hover {
    background: #fcfdfe;
    border-left-color: #29afe3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-expand-details {
    display: none;
    /* Toggled by JS or kept visible? Request says expand. */
}

.card-expand-details.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode - Applications */
[data-theme="dark"] #typical-applications {
    background-color: #0d121c !important;
}

[data-theme="dark"] .anim-grid {
    background: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) !important;
}

[data-theme="dark"] .app-tabs-nav,
[data-theme="dark"] .app-content-stage {
    background-color: #16202e !important;
}

[data-theme="dark"] .app-tab-link {
    color: #a0aec0;
}

[data-theme="dark"] .app-tab-link.active {
    color: #fff;
}

[data-theme="dark"] .app-row-card {
    background-color: #16202e;
    border-color: #2a3546;
    /* Borders */
}

[data-theme="dark"] .app-row-card:hover {
    background-color: #1c2a3d;
}

[data-theme="dark"] .icon-box-sm {
    background-color: rgba(41, 175, 227, 0.1);
}

/* =======================================================
   Animated CTA Section
   section: #interactive-cta
   ======================================================= */
/* Floating Shapes */
.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.6;
    animation: float-y 6s ease-in-out infinite;
}

.cta-shape.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #29afe3, transparent);
    animation-delay: 0s;
}

.cta-shape.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #004685, transparent);
    animation-delay: 1s;
    animation-duration: 8s;
}

.cta-shape.shape-3 {
    width: 100px;
    height: 100px;
    background: #29afe3;
    opacity: 0.3;
    animation: float-y 5s ease-in-out infinite alternate-reverse;
}

.cta-shape.shape-4 {
    width: 300px;
    height: 300px;
    background: #e1e8ed;
    filter: blur(80px);
    animation-duration: 10s;
}

@keyframes float-y {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }
}

/* CTA Card */
.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-icon-box i {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-card:hover .cta-icon-box i {
    transform: scale(1.2) rotate(10deg);
}

/* Dark Mode - CTA */
[data-theme="dark"] #interactive-cta {
    background-color: #0d121c !important;
}

[data-theme="dark"] .cta-bg-gradient {
    background: linear-gradient(135deg, #0d121c 0%, #16202e 100%) !important;
    opacity: 0.8 !important;
}

[data-theme="dark"] .cta-card {
    background-color: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cta-card .text-dark-blue {
    color: #fff !important;
}

[data-theme="dark"] .cta-card .text-muted {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .cta-shape {
    opacity: 0.3;
}

[data-theme="dark"] .cta-shape.shape-4 {
    background: #004685;
}

/* =======================================================
   Visual Story Wall
   section: #visual-story-wall
   ======================================================= */
/* Background Animation */
.anim-grid-faint {
    animation: drift 30s linear infinite alternate;
}

.anim-orb-float {
    animation: drift-orb 12s ease-in-out infinite alternate;
}

@keyframes drift-orb {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-30px, 30px);
    }
}

/* Filters */
.filter-nav {
    display: inline-flex;
    gap: 5px;
}

.filter-chip {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
    border: 1px solid transparent;
}

.filter-chip:hover {
    color: #29afe3;
    background: #f8fafc;
}

.filter-chip.active {
    background: #004685;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 70, 133, 0.2);
}

/* Media Tiles */
.tile-inner {
    position: relative;
    background: #000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    /* Hardware accel */
}

.tile-inner:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.media-img-wrapper img {
    opacity: 0.9;
    transition: transform 0.6s ease, opacity 0.4s;
    backface-visibility: hidden;
}

.tile-inner:hover .media-img-wrapper img {
    transform: scale(1.05);
    opacity: 0.6;
}

.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
}

.tile-inner:hover .tile-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Mode - Gallery */
[data-theme="dark"] #visual-story-wall {
    background-color: #0d121c !important;
}

[data-theme="dark"] .anim-grid-faint {
    background-image: radial-gradient(#2a3546 1px, transparent 1px) !important;
    opacity: 0.3 !important;
}

[data-theme="dark"] .filter-nav {
    background-color: #16202e !important;
}

[data-theme="dark"] .filter-chip {
    color: #a0aec0;
}

[data-theme="dark"] .filter-chip:hover {
    background: #1c2a3d;
    color: #fff;
}

[data-theme="dark"] .filter-chip.active {
    background: #29afe3;
    color: #004685;
}

/* Force White Text in Gallery Overlays (All Themes) */
.tile-overlay .text-white,
.tile-overlay .text-white-50,
.tile-overlay h4,
.tile-overlay p {
    color: #ffffff !important;
}

[data-theme="dark"] .tile-overlay .text-white,
[data-theme="dark"] .tile-overlay .text-white-50 {
    color: #ffffff !important;
}

/* =======================================================
   Ecosystem of Solutions
   section: #ecosystem-section
   ======================================================= */
/* Network Background */
.anim-net-grid {
    background-image:
        linear-gradient(rgba(41, 175, 227, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 175, 227, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: pan-grid 60s linear infinite;
}

@keyframes pan-grid {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 50px;
    }
}

/* Nodes */
.eco-node-center {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.center-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #29afe3;
    animation: pulse-ring 2s infinite;
}

.eco-node {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
    text-align: center;
    width: 20px;
    height: 20px;
}

.node-dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #ccc;
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.node-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Active / Hover Node */
.eco-node:hover .node-dot,
.eco-node.active .node-dot {
    background: #004685;
    border-color: #29afe3;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(41, 175, 227, 0.5);
}

.eco-node:hover .node-label,
.eco-node.active .node-label {
    color: #004685;
    opacity: 1;
    font-weight: 700;
}

/* Connections */
.eco-line {
    stroke: #ccc;
    stroke-width: 1;
    stroke-dasharray: 5;
    transition: all 0.4s;
}



.eco-line.active-line {
    stroke: #29afe3;
    stroke-width: 2;
    stroke-dasharray: 0;
    filter: drop-shadow(0 0 3px #29afe3);
}

/* Detail Card */
.eco-card {
    transition: all 0.3s;
    border-left: 4px solid #29afe3;
}

.eco-card.animate-in {
    animation: fadeSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Dark Mode - Ecosystem */
[data-theme="dark"] #ecosystem-section {
    background-color: #0d121c !important;
}

[data-theme="dark"] .anim-net-grid {
    opacity: 0.1 !important;
}

[data-theme="dark"] .eco-node-center {
    background: #16202e;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .node-dot {
    background: #2a3546;
    border-color: #4a5568;
}

[data-theme="dark"] .node-label {
    color: #a0aec0;
    background: rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .eco-card {
    background-color: #16202e;
    border-left-color: #004685;
}

[data-theme="dark"] .eco-card h3 {
    color: #fff !important;
}

[data-theme="dark"] .eco-card p,
[data-theme="dark"] .eco-card .text-muted {
    color: #cbd5e1 !important;
}

/* =======================================================
   Footer Enhancement
   section: #footer-main-section
   ======================================================= */
/* Footer Background */
.footer-floater {
    filter: blur(20px);
    opacity: 0.8;
    animation: float-slow 10s ease-in-out infinite alternate;
}

.float-1 {
    animation-delay: 0s;
}

.float-2 {
    animation-delay: 5s;
}

@keyframes float-slow {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Widget Icons */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
}

.bg-primary-light {
    background-color: rgba(41, 175, 227, 0.1);
    color: #004685;
}

/* Dark Mode - Footer */
[data-theme="dark"] .footer-light {
    background-color: #0d121c !important;
    color: #a0aec0;
}

[data-theme="dark"] .footer-light .widget-title {
    color: #fff !important;
}

[data-theme="dark"] .footer-light a {
    color: #a0aec0;
}

[data-theme="dark"] .footer-light a:hover {
    color: #29afe3;
}

[data-theme="dark"] .icon-circle {
    background-color: rgba(41, 175, 227, 0.2);
    color: #fff;
}

[data-theme="dark"] .footer-bottom {
    background-color: #0d121c !important;
    border-top-color: #2a3546;
}

[data-theme="dark"] .widget_address ul li,
[data-theme="dark"] .getin-touch ul li {
    color: #a0aec0;
}


/* =======================================================
   Ecosystem Enhancements (Maximized Visuals)
   section: #ecosystem-section
   ======================================================= */

/* 1. Node Icons - Larger & Floating */
.node-icon-circle {
    width: 65px;
    height: 65px;
    /* Bigger Icon */
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #f0f4f8;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Gentle Float Animation for ALL nodes */
.eco-node .node-icon-circle {
    animation: float-node 3s ease-in-out infinite alternate;
}

/* Stagger animations so they don't move in unison */
.eco-node:nth-child(2) .node-icon-circle {
    animation-delay: 0.5s;
}

.eco-node:nth-child(3) .node-icon-circle {
    animation-delay: 1.0s;
}

.eco-node:nth-child(4) .node-icon-circle {
    animation-delay: 1.5s;
}

.eco-node:nth-child(5) .node-icon-circle {
    animation-delay: 2.0s;
}

@keyframes float-node {
    0% {
        transform: translate(-50%, -50%) translateY(0);
    }

    100% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

.node-icon-circle i {
    color: #004685;
    font-size: 24px;
    /* Larger Icon Font */
    transition: all 0.3s;
}

/* Active State Override */
.eco-node.active .node-icon-circle,
.eco-node:hover .node-icon-circle {
    width: 80px;
    height: 80px;
    /* Even Larger active */
    border-color: #29afe3;
    box-shadow: 0 0 30px rgba(41, 175, 227, 0.6);
    background: #004685;
    transform: translate(-50%, -50%) scale(1.1);
    /* Slight pop */
    z-index: 10;
}

.eco-node.active .node-icon-circle i,
.eco-node:hover .node-icon-circle i {
    color: #fff;
    font-size: 32px;
}

/* Hide old dot if still present */
.node-dot {
    display: none;
}

/* Adjust label position for larger icons */
.node-label {
    top: 50px;
    /* Pushed further down */
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 2. Enhanced Background Floaters */
.eco-floater {
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    animation: float-drift 25s infinite alternate ease-in-out;
}

.float-Orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(41, 175, 227, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.float-Orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 70, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation-delay: -5s;
}

.float-Dash-1 {
    width: 150px;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(41, 175, 227, 0.4), transparent);
    border-radius: 6px;
    transform: rotate(-15deg);
    animation: float-dash 10s infinite linear;
}

@keyframes float-drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, -40px);
    }
}

@keyframes float-dash {
    0% {
        transform: translateX(-60px) rotate(-15deg);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(60px) rotate(-15deg);
        opacity: 0;
    }
}

/* Dark Mode Updates for Icons */
[data-theme="dark"] .node-icon-circle {
    background: #16202e;
    border-color: #2a3546;
}

[data-theme="dark"] .node-icon-circle i {
    color: #a0aec0;
}

[data-theme="dark"] .eco-node.active .node-icon-circle {
    background: #29afe3;
    border-color: #29afe3;
}

[data-theme="dark"] .eco-node.active .node-icon-circle i {
    color: #0d121c;
}

/* =======================================================
   Typical Applications Enhancements
   section: #typical-applications
   ======================================================= */

/* 1. App Background Floaters */
.app-floater {
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.float-Hex-1 {
    width: 200px;
    height: 174px;
    /* Hexagon approx */
    background-color: #004685;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float-rotate-slow 30s infinite linear;
}

.float-Hex-2 {
    width: 120px;
    height: 104px;
    background-color: #29afe3;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float-rotate-slow 25s infinite linear reverse;
}

.float-Dot-1 {
    width: 20px;
    height: 20px;
    background: #29afe3;
    border-radius: 50%;
    animation: pulse-soft 3s infinite ease-in-out;
}

@keyframes float-rotate-slow {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        transform: rotate(180deg) translate(20px, 20px);
    }

    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

/* 2. Modern Icon Wrapper (Premium Look) */
.modern-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-radius: 12px;
    display: flex;
    /* Center icon */
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 70, 133, 0.1);
    margin-right: 20px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modern-icon-wrapper i {
    font-size: 26px;
    color: #004685;
    background: -webkit-linear-gradient(#29afe3, #004685);
    background: linear-gradient(#29afe3, #004685);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s;
}

/* Hover Effect: Icon Pop */
.app-row-card:hover .modern-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(41, 175, 227, 0.2);
    border-color: #29afe3;
}

/* Remove old icon box styles from this context if conflicts arise, 
   but new class .modern-icon-wrapper handles specificity */

/* 3. Card Interactive States */
.app-row-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Prepare for border transition */
}

.app-row-card:hover {
    background: #fff;
    border-color: rgba(41, 175, 227, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    z-index: 2;
    position: relative;
}

/* Dark Mode Updates */
[data-theme="dark"] .modern-icon-wrapper {
    background: linear-gradient(135deg, #16202e 0%, #0d121c 100%);
    border-color: #2a3546;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .app-row-card:hover {
    background: #16202e;
    border-color: #29afe3;
}
/* =======================================================
   Cleanroom Products Section Redesign
   Scope: #cleanroom-products-section
   Unique Layout: Staggered Grid with "Floating" Cards
   ======================================================= */

/* Section Wrapper */
#cleanroom-products-section {
    position: relative;
    overflow: hidden;
    background-color: #f9fbfd;
    /* Very subtle light blue-grey */
}

/* Background Decoration (Subtle Parallax-like shapes) */
#cleanroom-products-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(41, 175, 227, 0.05) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

#cleanroom-products-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 70, 133, 0.05) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

/* Grid Layout */
#cleanroom-products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 20px;
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Zig-Zag Stagger Effect on Desktop */
@media (min-width: 992px) {
    #cleanroom-products-section .product-card-wrap:nth-child(3n+2) {
        transform: translateY(40px);
        /* Push middle column down */
    }
}

/* Card Styling */
#cleanroom-products-section .product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Image Area */
#cleanroom-products-section .product-media {
    height: 240px;
    position: relative;
    overflow: hidden;
}

#cleanroom-products-section .product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

/* Unique Hover: Image Pan */
#cleanroom-products-section .product-card:hover .product-media img {
    transform: scale(1.1) rotate(1deg);
}

/* Overlay Badge (Category/Icon) */
#cleanroom-products-section .product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004685;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

#cleanroom-products-section .product-card:hover .product-badge {
    background: #29afe3;
    color: #fff;
    transform: rotateY(360deg);
}

/* Content Area */
#cleanroom-products-section .product-details {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Decorative Accent Line */
#cleanroom-products-section .product-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 40px;
    height: 3px;
    background: #29afe3;
    transition: width 0.4s ease;
}

#cleanroom-products-section .product-card:hover .product-details::before {
    width: calc(100% - 50px);
    /* Expand across */
}

/* Typography */
#cleanroom-products-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 15px;
    margin-bottom: 10px;
}

#cleanroom-products-section p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Unique Button: Pill Shape that fills */
#cleanroom-products-section .product-link {
    align-self: flex-start;
    padding: 10px 24px;
    border-radius: 30px;
    background: transparent;
    border: 2px solid #e1e1e1;
    color: #555;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

#cleanroom-products-section .product-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #004685;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#cleanroom-products-section .product-card:hover .product-link,
#cleanroom-products-section .product-link:hover {
    border-color: #004685;
    color: #ffffff !important;
    padding-right: 35px;
    /* Make room for arrow */
}

#cleanroom-products-section .product-card:hover .product-link::before {
    width: 100%;
}

/* Arrow that appears on hover */
#cleanroom-products-section .product-link::after {
    content: '\f105';
    /* FontAwesome Right Angle */
    font-family: FontAwesome;
    position: absolute;
    right: 15px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

#cleanroom-products-section .product-card:hover .product-link::after {
    opacity: 1;
    transform: translateX(0);
}

/* =======================================================
   DARK MODE OVERRIDES
   ======================================================= */
html[data-theme="dark"] #cleanroom-products-section {
    background-color: #0a1628;
}

html[data-theme="dark"] #cleanroom-products-section::before {
    background: radial-gradient(circle, rgba(41, 175, 227, 0.1) 0%, transparent 70%);
}

html[data-theme="dark"] #cleanroom-products-section::after {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
}

html[data-theme="dark"] #cleanroom-products-section .product-card {
    background: #132238;
    /* Slightly lighter than bg */
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] #cleanroom-products-section .product-badge {
    background: rgba(30, 41, 59, 0.9);
    color: #fff;
}

html[data-theme="dark"] #cleanroom-products-section h4 {
    color: #fff;
}

html[data-theme="dark"] #cleanroom-products-section p {
    color: #b0b8c4;
}

html[data-theme="dark"] #cleanroom-products-section .product-link {
    border-color: #334e68;
    color: #9aa5b1;
}

html[data-theme="dark"] #cleanroom-products-section .product-card:hover .product-link {
    border-color: #29afe3;
    color: #fff;
}

html[data-theme="dark"] #cleanroom-products-section .product-link::before {
    background: #29afe3;
}

/* =======================================================
   RESPONSIVENESS (Mobile First Principles)
   ======================================================= */
@media (max-width: 991px) {
    #cleanroom-products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    #cleanroom-products-section .products-grid {
        grid-template-columns: 1fr;
        /* Stacked */
        gap: 25px;
    }

    #cleanroom-products-section .product-card-wrap:nth-child(n) {
        transform: none !important;
        /* Remove stagger on mobile */
    }

    #cleanroom-products-section .product-media {
        height: 200px;
    }
}

/* =======================================================
   Key Benefits Visual Map Redesign
   Scope: #key-benefits-map
   ======================================================= */

/* --- Container & Background --- */
#key-benefits-map {
    position: relative;
    overflow: hidden;
}

.bg-light-blue-pattern {
    background-color: #f8fbff;
}

.text-light-blue {
    color: #29afe3 !important;
}

.text-dark-blue {
    color: #004685 !important;
}

/* --- Left: Image Collage --- */
.benefits-collage-wrapper {
    position: relative;
    height: 500px;
    /* Fixed height for desktop to manage overlapping */
    width: 100%;
}

.collage-tile {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid transparent;
    cursor: pointer;
}

.collage-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.collage-tile:hover img,
.collage-tile.active img {
    transform: scale(1.05);
}

.collage-tile:hover,
.collage-tile.active {
    box-shadow: 0 20px 40px rgba(41, 175, 227, 0.2);
    border-color: #29afe3;
    z-index: 10;
    /* Bring to front on hover/active */
}

/* Tile Positioning (Desktop) */
.tile-1 {
    width: 55%;
    height: 60%;
    top: 0;
    left: 0;
    z-index: 2;
}

.tile-2 {
    width: 40%;
    height: 50%;
    top: 5%;
    right: 0;
    z-index: 1;
}

.tile-3 {
    width: 85%;
    height: 45%;
    bottom: 0;
    left: 10%;
    z-index: 3;
}

/* Tablet/Mobile Adjustments */
@media (max-width: 991px) {
    .benefits-collage-wrapper {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .collage-tile {
        position: relative !important;
        width: 100% !important;
        height: 200px !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .tile-3 {
        grid-column: span 2;
    }
}

/* --- Hotspots --- */
.hotspot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #29afe3;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(41, 175, 227, 0.4);
    pointer-events: none;
    /* Let clicks pass through to tile */
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.collage-tile.active .hotspot,
.collage-tile:hover .hotspot {
    opacity: 1;
    transform: scale(1);
    animation: pulse-ring 2s infinite;
}

.hotspot-label {
    position: absolute;
    top: 15%;
    /* Adjust based on design preference */
    right: 15%;
    background: rgba(0, 70, 133, 0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.collage-tile.active .hotspot-label,
.collage-tile:hover .hotspot-label {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 175, 227, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(41, 175, 227, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(41, 175, 227, 0);
    }
}

/* --- Right: Benefit Cards Stack --- */
.benefit-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.benefit-card.active {
    border-color: #29afe3;
    box-shadow: 0 10px 30px rgba(41, 175, 227, 0.15);
}

.card-status-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #004685, #29afe3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card.active .card-status-line {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-icon {
    font-size: 24px;
}

.card-number {
    font-size: 40px;
    font-weight: 900;
    color: rgba(200, 200, 200, 0.2);
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: all 0.3s ease;
}

.benefit-card.active .card-number {
    color: rgba(41, 175, 227, 0.15);
    transform: scale(1.1);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.card-desc {
    font-size: 13px;
    color: #6c757d;
    /* Muted text */
    margin: 0;
    line-height: 1.5;
}

/* --- Dark Mode Overrides (Assumes global .dark class on body) --- */
[data-theme="dark"] #key-benefits-map {
    background-color: #0d121c !important;
    /* Extremely dark blue/bg */
}

[data-theme="dark"] .bg-light-blue-pattern {
    background-color: #0d121c;
    /* Fallback */
}

[data-theme="dark"] .benefit-card {
    background-color: #16202e;
    border-color: #2a3546;
}

[data-theme="dark"] .text-dark-blue {
    color: #ffffff !important;
}

[data-theme="dark"] .card-desc {
    color: #a0aec0;
}

/* =======================================================
   Types & Options Configurator
   Scope: #types-configurator
   ======================================================= */

/* Type Selector List */
.type-selector-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.type-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.type-card.active {
    border-color: #29afe3;
    box-shadow: 0 10px 30px rgba(41, 175, 227, 0.15);
}

.type-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #004685, #29afe3);
}

.type-icon i {
    font-size: 24px;
    transition: color 0.3s ease;
}

.type-card.active .type-icon i {
    color: #29afe3;
}

/* Detail Panel */
.config-detail-panel {
    transition: all 0.3s ease;
}

/* Chips */
.stat-chip {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.stat-chip:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: #29afe3;
}

/* Option Pills */
.option-pill {
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 15px;
    margin-bottom: 5px;
    transition: all 0.2s ease;
}

.option-pill.active {
    background-color: #29afe3;
    color: #fff;
    border-color: #29afe3;
}

/* Summary Box */
.config-summary {
    border: 1px solid #e1e8ed;
}

/* Responsive */
@media (max-width: 991px) {
    .type-selector-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .type-card {
        min-width: 250px;
    }
}

/* =======================================================
   Dark Mode Overrides - Types Configurator
   section: #types-configurator
   ======================================================= */
[data-theme="dark"] #types-configurator {
    background-color: #0d121c !important;
}

[data-theme="dark"] .type-card,
[data-theme="dark"] .config-detail-panel {
    background-color: #16202e;
    border-color: #2a3546;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .type-card:hover {
    background-color: #1c2a3d;
}

[data-theme="dark"] .text-dark-blue {
    color: #ffffff !important;
}

[data-theme="dark"] .text-muted {
    color: #a0aec0 !important;
}

[data-theme="dark"] .badge-light {
    background-color: #2a3546;
    color: #e2e8f0;
}

/* Chips in Dark Mode */
[data-theme="dark"] .stat-chip {
    background-color: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

[data-theme="dark"] .stat-chip i {
    color: #94a3b8 !important;
    /* Lighter muted icon */
}

/* Option Pills in Dark Mode */
[data-theme="dark"] .option-pill {
    color: #cbd5e1;
    border-color: #475569;
}

[data-theme="dark"] .option-pill:hover {
    background-color: #334155;
    border-color: #64748b;
}

[data-theme="dark"] .option-pill.active {
    background-color: #29afe3;
    color: #ffffff;
    border-color: #29afe3;
}

/* Summary Box in Dark Mode */
[data-theme="dark"] .config-summary {
    background-color: #0f172a !important;
    border-color: #1e293b;
}


/* =======================================================
   Key Features Console
   section: #features-console
   ======================================================= */
/* Feature Nav List */
.feature-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-nav-pill {
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 50px;
    padding: 12px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    width: 100%;
}

.feature-nav-pill i {
    color: #29afe3;
    transition: transform 0.3s;
}

.feature-nav-pill:hover {
    transform: translateX(5px);
    border-color: #29afe3;
    box-shadow: 0 4px 12px rgba(41, 175, 227, 0.1);
}

.feature-nav-pill.active {
    background-color: rgba(41, 175, 227, 0.08);
    /* Very light blue tint */
    border-color: #29afe3;
    color: #004685;
}

.feature-nav-pill.active i {
    transform: scale(1.2);
}

/* Schematic & Nodes */
.schematic-wrapper {
    position: relative;
}

.feature-node {
    position: absolute;
    width: 24px;
    height: 24px;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.node-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #29afe3;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.node-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(41, 175, 227, 0.3);
    border-radius: 50%;
    animation: none;
}

.feature-node:hover .node-dot,
.feature-node.active .node-dot {
    background-color: #29afe3;
    box-shadow: 0 0 15px rgba(41, 175, 227, 0.6);
    transform: translate(-50%, -50%) scale(1.3);
}

.feature-node.active .node-ring {
    animation: pulse-ring 2s infinite;
}

/* Story Panel */
.feature-story-panel {
    transition: opacity 0.3s ease;
}

.metric-pill {
    background: #f0f4f8;
    border-left: 3px solid #004685;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 4px;
    margin-right: 5px;
}

/* Dark Mode Overrides - Console */
[data-theme="dark"] #features-console {
    background-color: #0d121c !important;
}

[data-theme="dark"] .console-grid-bg {
    background-image: radial-gradient(#2a3546 1px, transparent 1px) !important;
    opacity: 0.3 !important;
}

[data-theme="dark"] .feature-nav-pill {
    background-color: #16202e;
    border-color: #2a3546;
    color: #a0aec0;
}

[data-theme="dark"] .feature-nav-pill:hover,
[data-theme="dark"] .feature-nav-pill.active {
    background-color: #1c2a3d;
    color: #fff;
    border-color: #29afe3;
}

[data-theme="dark"] .feature-story-panel {
    background-color: #16202e !important;
    border-color: #2a3546 !important;
}


/* =======================================================
   Typical Applications Explorer
   section: #typical-applications
   ======================================================= */
/* Background Animation */
@keyframes drift {
    0% {
        transform: translateY(0) rotate(15deg);
    }

    100% {
        transform: translateY(-40px) rotate(15deg);
    }
}

.anim-grid {
    animation: drift 20s linear infinite alternate;
}

.anim-orb {
    filter: blur(40px);
    animation: pulse-soft 8s ease-in-out infinite alternate;
}

.anim-orb.delay-1 {
    animation-delay: 2s;
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Tabs Nav */
.app-tabs-wrapper {
    text-align: center;
}

.app-tab-link {
    border: none;
    background: transparent;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color 0.3s;
}

.app-tab-link.active {
    color: #004685;
}

.nav-indicator {
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #004685, #29afe3);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}

/* Tab Content & Card */
.app-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.app-row-card {
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.app-row-card:hover {
    background: #fcfdfe;
    border-left-color: #29afe3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-expand-details {
    display: none;
    /* Toggled by JS or kept visible? Request says expand. */
}

.card-expand-details.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Mode - Applications */
[data-theme="dark"] #typical-applications {
    background-color: #0d121c !important;
}

[data-theme="dark"] .anim-grid {
    background: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) !important;
}

[data-theme="dark"] .app-tabs-nav,
[data-theme="dark"] .app-content-stage {
    background-color: #16202e !important;
}

[data-theme="dark"] .app-tab-link {
    color: #a0aec0;
}

[data-theme="dark"] .app-tab-link.active {
    color: #fff;
}

[data-theme="dark"] .app-row-card {
    background-color: #16202e;
    border-color: #2a3546;
    /* Borders */
}

[data-theme="dark"] .app-row-card:hover {
    background-color: #1c2a3d;
}

[data-theme="dark"] .icon-box-sm {
    background-color: rgba(41, 175, 227, 0.1);
}

/* =======================================================
   Animated CTA Section
   section: #interactive-cta
   ======================================================= */
/* Floating Shapes */
.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.6;
    animation: float-y 6s ease-in-out infinite;
}

.cta-shape.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #29afe3, transparent);
    animation-delay: 0s;
}

.cta-shape.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #004685, transparent);
    animation-delay: 1s;
    animation-duration: 8s;
}

.cta-shape.shape-3 {
    width: 100px;
    height: 100px;
    background: #29afe3;
    opacity: 0.3;
    animation: float-y 5s ease-in-out infinite alternate-reverse;
}

.cta-shape.shape-4 {
    width: 300px;
    height: 300px;
    background: #e1e8ed;
    filter: blur(80px);
    animation-duration: 10s;
}

@keyframes float-y {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
    }
}

/* CTA Card */
.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-icon-box i {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-card:hover .cta-icon-box i {
    transform: scale(1.2) rotate(10deg);
}

/* Dark Mode - CTA */
[data-theme="dark"] #interactive-cta {
    background-color: #0d121c !important;
}

[data-theme="dark"] .cta-bg-gradient {
    background: linear-gradient(135deg, #0d121c 0%, #16202e 100%) !important;
    opacity: 0.8 !important;
}

[data-theme="dark"] .cta-card {
    background-color: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cta-card .text-dark-blue {
    color: #fff !important;
}

[data-theme="dark"] .cta-card .text-muted {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .cta-shape {
    opacity: 0.3;
}

[data-theme="dark"] .cta-shape.shape-4 {
    background: #004685;
}

/* =======================================================
   Visual Story Wall
   section: #visual-story-wall
   ======================================================= */
/* Background Animation */
.anim-grid-faint {
    animation: drift 30s linear infinite alternate;
}

.anim-orb-float {
    animation: drift-orb 12s ease-in-out infinite alternate;
}

@keyframes drift-orb {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-30px, 30px);
    }
}

/* Filters */
.filter-nav {
    display: inline-flex;
    gap: 5px;
}

.filter-chip {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #555;
    border: 1px solid transparent;
}

.filter-chip:hover {
    color: #29afe3;
    background: #f8fafc;
}

.filter-chip.active {
    background: #004685;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 70, 133, 0.2);
}

/* Media Tiles */
.tile-inner {
    position: relative;
    background: #000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    /* Hardware accel */
}

.tile-inner:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.media-img-wrapper img {
    opacity: 0.9;
    transition: transform 0.6s ease, opacity 0.4s;
    backface-visibility: hidden;
}

.tile-inner:hover .media-img-wrapper img {
    transform: scale(1.05);
    opacity: 0.6;
}

.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
}

.tile-inner:hover .tile-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Mode - Gallery */
[data-theme="dark"] #visual-story-wall {
    background-color: #0d121c !important;
}

[data-theme="dark"] .anim-grid-faint {
    background-image: radial-gradient(#2a3546 1px, transparent 1px) !important;
    opacity: 0.3 !important;
}

[data-theme="dark"] .filter-nav {
    background-color: #16202e !important;
}

[data-theme="dark"] .filter-chip {
    color: #a0aec0;
}

[data-theme="dark"] .filter-chip:hover {
    background: #1c2a3d;
    color: #fff;
}

[data-theme="dark"] .filter-chip.active {
    background: #29afe3;
    color: #004685;
}

/* Force White Text in Gallery Overlays (All Themes) */
.tile-overlay .text-white,
.tile-overlay .text-white-50,
.tile-overlay h4,
.tile-overlay p {
    color: #ffffff !important;
}

[data-theme="dark"] .tile-overlay .text-white,
[data-theme="dark"] .tile-overlay .text-white-50 {
    color: #ffffff !important;
}

/* =======================================================
   Ecosystem of Solutions
   section: #ecosystem-section
   ======================================================= */
/* Network Background */
.anim-net-grid {
    background-image:
        linear-gradient(rgba(41, 175, 227, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 175, 227, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: pan-grid 60s linear infinite;
}

@keyframes pan-grid {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 50px;
    }
}

/* Nodes */
.eco-node-center {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.center-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #29afe3;
    animation: pulse-ring 2s infinite;
}

.eco-node {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
    text-align: center;
    width: 20px;
    height: 20px;
}

.node-dot {
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #ccc;
    border-radius: 50%;
    margin: 0 auto;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.node-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 10px;
}

/* Active / Hover Node */
.eco-node:hover .node-dot,
.eco-node.active .node-dot {
    background: #004685;
    border-color: #29afe3;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(41, 175, 227, 0.5);
}

.eco-node:hover .node-label,
.eco-node.active .node-label {
    color: #004685;
    opacity: 1;
    font-weight: 700;
}

/* Connections */
.eco-line {
    stroke: #ccc;
    stroke-width: 1;
    stroke-dasharray: 5;
    transition: all 0.4s;
}



.eco-line.active-line {
    stroke: #29afe3;
    stroke-width: 2;
    stroke-dasharray: 0;
    filter: drop-shadow(0 0 3px #29afe3);
}

/* Detail Card */
.eco-card {
    transition: all 0.3s;
    border-left: 4px solid #29afe3;
}

.eco-card.animate-in {
    animation: fadeSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Dark Mode - Ecosystem */
[data-theme="dark"] #ecosystem-section {
    background-color: #0d121c !important;
}

[data-theme="dark"] .anim-net-grid {
    opacity: 0.1 !important;
}

[data-theme="dark"] .eco-node-center {
    background: #16202e;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .node-dot {
    background: #2a3546;
    border-color: #4a5568;
}

[data-theme="dark"] .node-label {
    color: #a0aec0;
    background: rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .eco-card {
    background-color: #16202e;
    border-left-color: #004685;
}

[data-theme="dark"] .eco-card h3 {
    color: #fff !important;
}

[data-theme="dark"] .eco-card p,
[data-theme="dark"] .eco-card .text-muted {
    color: #cbd5e1 !important;
}

/* =======================================================
   Footer Enhancement
   section: #footer-main-section
   ======================================================= */
/* Footer Background */
.footer-floater {
    filter: blur(20px);
    opacity: 0.8;
    animation: float-slow 10s ease-in-out infinite alternate;
}

.float-1 {
    animation-delay: 0s;
}

.float-2 {
    animation-delay: 5s;
}

@keyframes float-slow {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Widget Icons */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
}

.bg-primary-light {
    background-color: rgba(41, 175, 227, 0.1);
    color: #004685;
}

/* Dark Mode - Footer */
[data-theme="dark"] .footer-light {
    background-color: #0d121c !important;
    color: #a0aec0;
}

[data-theme="dark"] .footer-light .widget-title {
    color: #fff !important;
}

[data-theme="dark"] .footer-light a {
    color: #a0aec0;
}

[data-theme="dark"] .footer-light a:hover {
    color: #29afe3;
}

[data-theme="dark"] .icon-circle {
    background-color: rgba(41, 175, 227, 0.2);
    color: #fff;
}

[data-theme="dark"] .footer-bottom {
    background-color: #0d121c !important;
    border-top-color: #2a3546;
}

[data-theme="dark"] .widget_address ul li,
[data-theme="dark"] .getin-touch ul li {
    color: #a0aec0;
}


/* =======================================================
   Ecosystem Enhancements (Maximized Visuals)
   section: #ecosystem-section
   ======================================================= */

/* 1. Node Icons - Larger & Floating */
.node-icon-circle {
    width: 65px;
    height: 65px;
    /* Bigger Icon */
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #f0f4f8;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Gentle Float Animation for ALL nodes */
.eco-node .node-icon-circle {
    animation: float-node 3s ease-in-out infinite alternate;
}

/* Stagger animations so they don't move in unison */
.eco-node:nth-child(2) .node-icon-circle {
    animation-delay: 0.5s;
}

.eco-node:nth-child(3) .node-icon-circle {
    animation-delay: 1.0s;
}

.eco-node:nth-child(4) .node-icon-circle {
    animation-delay: 1.5s;
}

.eco-node:nth-child(5) .node-icon-circle {
    animation-delay: 2.0s;
}

@keyframes float-node {
    0% {
        transform: translate(-50%, -50%) translateY(0);
    }

    100% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

.node-icon-circle i {
    color: #004685;
    font-size: 24px;
    /* Larger Icon Font */
    transition: all 0.3s;
}

/* Active State Override */
.eco-node.active .node-icon-circle,
.eco-node:hover .node-icon-circle {
    width: 80px;
    height: 80px;
    /* Even Larger active */
    border-color: #29afe3;
    box-shadow: 0 0 30px rgba(41, 175, 227, 0.6);
    background: #004685;
    transform: translate(-50%, -50%) scale(1.1);
    /* Slight pop */
    z-index: 10;
}

.eco-node.active .node-icon-circle i,
.eco-node:hover .node-icon-circle i {
    color: #fff;
    font-size: 32px;
}

/* Hide old dot if still present */
.node-dot {
    display: none;
}

/* Adjust label position for larger icons */
.node-label {
    top: 50px;
    /* Pushed further down */
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 2. Enhanced Background Floaters */
.eco-floater {
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    animation: float-drift 25s infinite alternate ease-in-out;
}

.float-Orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(41, 175, 227, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.float-Orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 70, 133, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation-delay: -5s;
}

.float-Dash-1 {
    width: 150px;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(41, 175, 227, 0.4), transparent);
    border-radius: 6px;
    transform: rotate(-15deg);
    animation: float-dash 10s infinite linear;
}

@keyframes float-drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, -40px);
    }
}

@keyframes float-dash {
    0% {
        transform: translateX(-60px) rotate(-15deg);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateX(60px) rotate(-15deg);
        opacity: 0;
    }
}

/* Dark Mode Updates for Icons */
[data-theme="dark"] .node-icon-circle {
    background: #16202e;
    border-color: #2a3546;
}

[data-theme="dark"] .node-icon-circle i {
    color: #a0aec0;
}

[data-theme="dark"] .eco-node.active .node-icon-circle {
    background: #29afe3;
    border-color: #29afe3;
}

[data-theme="dark"] .eco-node.active .node-icon-circle i {
    color: #0d121c;
}

/* =======================================================
   Typical Applications Enhancements
   section: #typical-applications
   ======================================================= */

/* 1. App Background Floaters */
.app-floater {
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.float-Hex-1 {
    width: 200px;
    height: 174px;
    /* Hexagon approx */
    background-color: #004685;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float-rotate-slow 30s infinite linear;
}

.float-Hex-2 {
    width: 120px;
    height: 104px;
    background-color: #29afe3;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float-rotate-slow 25s infinite linear reverse;
}

.float-Dot-1 {
    width: 20px;
    height: 20px;
    background: #29afe3;
    border-radius: 50%;
    animation: pulse-soft 3s infinite ease-in-out;
}

@keyframes float-rotate-slow {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    50% {
        transform: rotate(180deg) translate(20px, 20px);
    }

    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

/* 2. Modern Icon Wrapper (Premium Look) */
.modern-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-radius: 12px;
    display: flex;
    /* Center icon */
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 70, 133, 0.1);
    margin-right: 20px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modern-icon-wrapper i {
    font-size: 26px;
    color: #004685;
    background: -webkit-linear-gradient(#29afe3, #004685);
    background: linear-gradient(#29afe3, #004685);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s;
}

/* Hover Effect: Icon Pop */
.app-row-card:hover .modern-icon-wrapper {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(41, 175, 227, 0.2);
    border-color: #29afe3;
}

/* Remove old icon box styles from this context if conflicts arise, 
   but new class .modern-icon-wrapper handles specificity */

/* 3. Card Interactive States */
.app-row-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* Prepare for border transition */
}

.app-row-card:hover {
    background: #fff;
    border-color: rgba(41, 175, 227, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    z-index: 2;
    position: relative;
}

/* Dark Mode Updates */
[data-theme="dark"] .modern-icon-wrapper {
    background: linear-gradient(135deg, #16202e 0%, #0d121c 100%);
    border-color: #2a3546;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .app-row-card:hover {
    background: #16202e;
    border-color: #29afe3;
}
/* ===================================================================
   Global Header Master UI Design System
   Scoped to: .gh-site-header
   Animation: Light Sweep / Floating Rectangles
   =================================================================== */

/* ===================================================================
   Variables & Theme
   =================================================================== */
:root {
    /* Map to existing Skin-1.css colors */
    --gh-primary: #29afe3;
    --gh-secondary: #004685;

    /* Header Specifics */
    --gh-bg-light: #ffffff;
    --gh-bg-dark: #0b1117;

    --gh-text-light: #0f2034;
    --gh-text-dark: #f0f6fc;

    --gh-border-light: rgba(0, 0, 0, 0.08);
    --gh-border-dark: rgba(255, 255, 255, 0.1);

    --gh-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --gh-height-desktop: 80px;
    --gh-height-mobile: 60px;

    /* Animation */
    --gh-anim-spline: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --gh-bg-light: var(--gh-bg-dark);
    --gh-text-light: var(--gh-text-dark);
    --gh-border-light: var(--gh-border-dark);
    --gh-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ===================================================================
   Base Structure
   =================================================================== */
.gh-site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--gh-bg-light);
    box-shadow: var(--gh-shadow);
    transition: background 0.3s ease, padding 0.3s ease;
    width: 100%;
}

.gh-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--gh-height-desktop);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Background Animation Container */
.gh-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Unique Animation: Light Sweep */
.gh-bg-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(41, 175, 227, 0.03) 40%,
            rgba(41, 175, 227, 0.08) 50%,
            rgba(41, 175, 227, 0.03) 60%,
            transparent 100%);
    transform: skewX(-20deg);
    animation: gh-sweep 15s infinite linear;
}

@keyframes gh-sweep {
    0% {
        transform: translateX(-50%) skewX(-20deg);
    }

    100% {
        transform: translateX(25%) skewX(-20deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gh-bg-anim::before {
        animation: none;
        opacity: 0.05;
        background: var(--gh-primary);
    }
}

/* ===================================================================
   Logo
   =================================================================== */
.gh-logo {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 10;
}

.gh-logo img {
    height: 42px;
    width: auto;
    transition: all 0.3s;
}

/* ===================================================================
   Desktop Navigation
   =================================================================== */
.gh-nav-desktop {
    display: none;
    /* Mobile first hidden */
    height: 100%;
}

.gh-nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.gh-nav-link {
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 60%;
    /* Clickable area */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gh-text-light);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.gh-nav-link:hover,
.gh-nav-link:focus,
.gh-nav-item.active .gh-nav-link {
    color: var(--gh-primary);
    background: rgba(41, 175, 227, 0.05);
}

/* Desktop Dropdown */
.gh-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--gh-bg-light);
    min-width: 260px;
    box-shadow: var(--gh-shadow);
    border-top: 2px solid var(--gh-primary);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s var(--gh-anim-spline);
    padding: 10px 0;
    z-index: 100;
}

.gh-nav-item:hover .gh-dropdown,
.gh-nav-item:focus-within .gh-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gh-dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--gh-text-light);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.gh-dropdown-link:hover {
    background: rgba(41, 175, 227, 0.03);
    color: var(--gh-primary);
    border-left-color: var(--gh-primary);
    padding-left: 25px;
}

@media (min-width: 992px) {
    .gh-nav-desktop {
        display: block;
    }
}

/* ===================================================================
   Mobile Navigation
   =================================================================== */
.gh-mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    /* Above menu */
    padding: 0;
}

.gh-bar {
    width: 100%;
    height: 2px;
    background: var(--gh-text-light);
    transition: all 0.3s ease;
}

/* Mobile Toggler Active State */
.gh-mobile-toggle.active .gh-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.gh-mobile-toggle.active .gh-bar:nth-child(2) {
    opacity: 0;
}

.gh-mobile-toggle.active .gh-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.gh-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--gh-bg-light);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s var(--gh-anim-spline);
    z-index: 100;
    padding: 80px 20px 20px;
    /* Top padding cleared for toggle */
    overflow-y: auto;
}

.gh-mobile-menu.active {
    transform: translateX(0);
}

.gh-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gh-mobile-item {
    border-bottom: 1px solid var(--gh-border-light);
}

.gh-mobile-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gh-text-light);
    text-decoration: none;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
}

.gh-mobile-link:hover {
    color: var(--gh-primary);
}

.gh-submenu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gh-border-light);
    border-radius: 50%;
    background: transparent;
    transition: all 0.2s;
}

.gh-submenu-toggle.active {
    background: var(--gh-primary);
    color: #fff;
    transform: rotate(180deg);
}

.gh-mobile-submenu {
    display: none;
    padding-left: 15px;
    background: rgba(0, 0, 0, 0.02);
    margin-bottom: 10px;
    border-radius: 8px;
}

.gh-mobile-submenu-link {
    display: block;
    padding: 12px 0;
    font-size: 0.9rem;
    color: var(--gh-text-light);
    text-decoration: none;
}

/* Overlay */
.gh-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.gh-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 992px) {

    .gh-mobile-toggle,
    .gh-mobile-menu,
    .gh-overlay {
        display: none;
    }
}

/* ===================================================================
   Actions (Right Side)
   =================================================================== */
.gh-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gh-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gh-border-light);
    background: transparent;
    color: var(--gh-text-light);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.gh-action-btn:hover {
    border-color: var(--gh-primary);
    color: var(--gh-primary);
    box-shadow: 0 4px 10px rgba(41, 175, 227, 0.2);
}

/* Dark Mode Toggle Checkbox Hidden Logic (Reuse existing if needed, or implement fresh) */
/* Assuming usage of simple JS to click existing toggle or just new button */