:root {
    /* SlideSciences Logo Palette */
    --astronaut: #274d78;
    --elephant: #143351;
    --viking: #4fc5df;
    --black: #000000;

    --primary-blue: var(--astronaut);
    --primary-hover: var(--elephant);
    --accent-cyan: var(--viking);
    --primary-dark: var(--black);
    --text-main: var(--black);
    --font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: #ffffff;
}

/* Scroll offset for anchor links so header doesn't cover content */
#services,
#projects,
#goals,
#process,
#faq,
#contact {
    scroll-margin-top: 5rem;
}

/* Shared Section Headings (excluding Hero) */
.services-tabs-container .section-title,
.projects-header h2,
.goals-title,
.process-title,
.cta-title,
.general-faq-left h2,
.testimonials-header h2 {
    font-family: var(--font-family);
    font-size: 2.75rem;
    font-weight: 700;
    color: #000000;
    letter-spacing: -1px;
    line-height: 1.2;
}

@media (max-width: 992px) {

    .services-tabs-container .section-title,
    .projects-header h2,
    .goals-title,
    .process-title,
    .cta-title,
    .general-faq-left h2,
    .testimonials-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {

    .services-tabs-container .section-title,
    .projects-header h2,
    .goals-title,
    .process-title,
    .cta-title,
    .general-faq-left h2,
    .testimonials-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {

    .services-tabs-container .section-title,
    .projects-header h2,
    .goals-title,
    .process-title,
    .cta-title,
    .general-faq-left h2,
    .testimonials-header h2 {
        font-size: 1.75rem;
    }
}

/* Hero Section - Split Premium Layout */
.hero-section {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding-top: 11rem;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 8.5rem;
        padding-bottom: 3.5rem;
    }
}

.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: calc(1400px + 8rem);
    margin: 0 auto;
    padding: 0 4rem 2rem 4rem;
    z-index: 25;
    gap: 4rem;
}

.hero-visual-container {
    flex: 1.3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 0;
}

/* ===== Hero Transform Visual ===== */
.hero-transform-visual {
    width: 100%;
    max-width: 680px; /* Increased width to make visual larger and more legible */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    margin-top: -3.5rem; /* Shift upward to align with left hero content */
}

/* --- Floating Source Cards Row --- */
.source-cards-row {
    display: flex;
    gap: 14px;
    width: 100%;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 2;
}

.source-card {
    flex: 1;
    animation: sourceFloat 3.5s ease-in-out infinite;
    will-change: transform;
}

.source-card[data-float-delay="0"] { animation-delay: 0s; }
.source-card[data-float-delay="1"] { animation-delay: 0.6s; }
.source-card[data-float-delay="2"] { animation-delay: 1.2s; }
.source-card[data-float-delay="3"] { animation-delay: 1.8s; }

@keyframes sourceFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.source-card-inner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(39, 77, 120, 0.10);
    border-radius: 12px;
    padding: 10px 10px 8px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 140px; /* Reduced height to make cards more compact and visually proportional */
    box-shadow:
        0 8px 24px rgba(39, 77, 120, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Specific Card Layouts & Mock Content */
.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.doc-badge {
    font-size: 0.5rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.doc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-body {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.skeleton-title {
    height: 5px;
    background: rgba(20, 51, 81, 0.15);
    border-radius: 2px;
    width: 85%;
}

.skeleton-title.short {
    width: 50%;
}

.skeleton-line {
    height: 3px;
    background: rgba(20, 51, 81, 0.08);
    border-radius: 1.5px;
    width: 100%;
}

.skeleton-line.short {
    width: 65%;
}

.skeleton-layout-cols {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-top: 2px;
}

.skeleton-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.skeleton-abstract {
    background: rgba(39, 77, 120, 0.03);
    border-left: 1.5px solid rgba(39, 77, 120, 0.25);
    padding: 2px 0 2px 4px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.skeleton-line.highlight {
    background: rgba(39, 77, 120, 0.15);
}

.doc-footer {
    width: 100%;
    border-top: 0.5px solid rgba(20, 51, 81, 0.06);
    padding-top: 4px;
    margin-top: auto;
    flex-shrink: 0;
}

.doc-name {
    font-size: 0.5rem;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-family: var(--font-family);
    letter-spacing: -0.1px;
}

/* PDF Card Accent */
.type-pdf .doc-badge {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
}
.type-pdf .doc-icon {
    color: #ef4444;
}
.source-card:hover .type-pdf {
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 
        0 12px 30px rgba(239, 68, 68, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* DATA Card Accent & Chart */
.type-data .doc-badge {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}
.type-data .doc-icon {
    color: #10b981;
}
.mini-chart {
    height: 25px;
    display: flex;
    gap: 4px;
    align-items: flex-end;
    justify-content: center;
    padding: 1px 0;
    border-bottom: 0.5px solid rgba(20, 51, 81, 0.06);
    width: 100%;
}
.chart-bar {
    width: 8px;
    height: var(--h);
    background: linear-gradient(to top, var(--astronaut), var(--viking));
    border-radius: 1.5px 1.5px 0 0;
}
.mini-table {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
    width: 100%;
}
.table-row {
    display: flex;
    justify-content: space-between;
    gap: 4px;
}
.table-row.header .table-cell {
    background: rgba(20, 51, 81, 0.1);
}
.table-cell {
    height: 3px;
    background: rgba(20, 51, 81, 0.06);
    border-radius: 1px;
    flex: 1;
}
.source-card:hover .type-data {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 
        0 12px 30px rgba(16, 185, 129, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* IMG Card Accent & Infographic */
.type-img .doc-badge {
    background: rgba(245, 158, 11, 0.08);
    color: #f59e0b;
}
.type-img .doc-icon {
    color: #f59e0b;
}
.mini-graphic {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 1px 0;
    width: 100%;
}
.molecule {
    position: relative;
    width: 32px;
    height: 32px;
}
.molecule .node {
    position: absolute;
    border-radius: 50%;
}
.molecule .n-center {
    width: 6px;
    height: 6px;
    background: var(--astronaut);
    top: 13px;
    left: 13px;
    box-shadow: 0 0 3px rgba(79, 197, 223, 0.8);
    z-index: 2;
}
.molecule .n-1 { width: 4px; height: 4px; background: #ef4444; top: 3px; left: 6px; }
.molecule .n-2 { width: 4px; height: 4px; background: #10b981; top: 22px; left: 4px; }
.molecule .n-3 { width: 4px; height: 4px; background: #f59e0b; top: 15px; left: 24px; }
.molecule .bond {
    position: absolute;
    height: 0.5px;
    background: rgba(20, 51, 81, 0.15);
    transform-origin: left center;
}
.molecule .b-1 { width: 13px; transform: rotate(120deg); top: 16px; left: 16px; }
.molecule .b-2 { width: 12px; transform: rotate(-130deg); top: 16px; left: 16px; }
.molecule .b-3 { width: 9px; transform: rotate(10deg); top: 16px; left: 16px; }
.graphic-lines {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}
.source-card:hover .type-img {
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 
        0 12px 30px rgba(245, 158, 11, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* DOC Card Accent & Split Layout */
.type-doc .doc-badge {
    background: rgba(39, 77, 120, 0.08);
    color: var(--astronaut);
}
.type-doc .doc-icon {
    color: var(--astronaut);
}
.doc-layout-split {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 2px;
    width: 100%;
}
.skeleton-img-box {
    width: 26px;
    height: 18px;
    background: rgba(39, 77, 120, 0.08);
    border-radius: 2px;
    border: 0.5px dashed rgba(39, 77, 120, 0.25);
    flex-shrink: 0;
}
.doc-split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.source-card:hover .type-doc {
    border-color: rgba(39, 77, 120, 0.25);
    box-shadow: 
        0 12px 30px rgba(39, 77, 120, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Hover Global card movement */
.source-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* --- Flow Connection (Engine/Core) --- */
.flow-connection {
    width: 100%;
    position: relative;
    height: 60px; /* Slightly taller to accommodate the engine layout */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin: 0px 0 -8px;
}

.flow-svg {
    width: 100%;
    height: 60px;
    overflow: visible;
    position: absolute;
    top: 0;
    left: 0;
}

.flow-line {
    fill: none;
    stroke-width: 3.5; /* Made flow lines thicker for high visibility */
    opacity: 0.35;
    stroke: var(--astronaut);
}

.flow-particle {
    fill: var(--astronaut);
    opacity: 0.95;
    filter: drop-shadow(0 0 6px rgba(39, 77, 120, 0.7));
}

.fl-1 { animation-delay: 0s; opacity: 0.25; }
.fl-2 { animation-delay: 0.3s; opacity: 0.45; }
.fl-3 { animation-delay: 0.6s; opacity: 0.45; }
.fl-4 { animation-delay: 0.9s; opacity: 0.25; }

.fp-1 { opacity: 0.95; }
.fp-2 { opacity: 0.85; }
.fp-3 { opacity: 0.85; }
.fp-4 { opacity: 0.95; }

/* Downward Flow Arrow Chevron */
.flow-arrow {
    fill: var(--astronaut);
    stroke: none;
    filter: drop-shadow(0 1px 2px rgba(39, 77, 120, 0.15));
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { filter: drop-shadow(0 1px 2px rgba(39, 77, 120, 0.15)) drop-shadow(0 0 3px rgba(39, 77, 120, 0.3)); }
    50% { filter: drop-shadow(0 2px 6px rgba(39, 77, 120, 0.25)) drop-shadow(0 0 8px rgba(39, 77, 120, 0.65)); }
}


/* --- Slide Preview Area --- */
.slide-preview-area {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

/* Backplate Aurora Glow Effect */
.preview-glow-aurora {
    position: absolute;
    top: 5%;
    left: 10%;
    right: 10%;
    bottom: 20%;
    background: radial-gradient(circle, rgba(79, 197, 223, 0.22) 0%, rgba(39, 77, 120, 0.06) 50%, transparent 80%);
    filter: blur(45px);
    z-index: 1;
    pointer-events: none;
    border-radius: 50%;
}

.slide-preview-frame {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(39, 77, 120, 0.12);
    box-shadow:
        0 20px 50px rgba(39, 77, 120, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    z-index: 2;
}


.slide-preview-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.slide-preview-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.slide-preview-item.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.preview-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel Navigation */
.slide-preview-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.slide-nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(39, 77, 120, 0.15);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--astronaut);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.slide-nav-arrow:hover {
    background: var(--astronaut);
    color: #ffffff;
    border-color: var(--astronaut);
    box-shadow: 0 4px 12px rgba(39, 77, 120, 0.25);
    transform: scale(1.08);
}

.slide-preview-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.preview-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(39, 77, 120, 0.18);
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-dot.active {
    background: var(--viking);
    width: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(79, 197, 223, 0.4);
}

.preview-dot:hover:not(.active) {
}

/* Responsive adjustments for Hero Transform Visual */
@media (max-width: 768px) {
    .source-cards-row {
        gap: 10px;
    }
    
    .source-card-inner {
        height: 125px; /* Shorter cards on tablet */
        padding: 8px 8px 6px;
    }

    .doc-header {
        margin-bottom: 6px;
    }

    .skeleton-title {
        height: 4px;
    }

    .skeleton-line {
        height: 2.5px;
    }

    .mini-chart {
        height: 20px;
    }

    .molecule {
        width: 28px;
        height: 28px;
    }

    .molecule .n-center {
        width: 5px;
        height: 5px;
        top: 11.5px;
        left: 11.5px;
    }

    .skeleton-img-box {
        width: 22px;
        height: 15px;
    }

    .flow-connection {
        height: 50px;
        margin: 0px 0 -4px;
    }
    
    .flow-svg {
        height: 50px;
    }

    .flow-arrow {
        stroke-width: 3.5; /* Scale down arrow stroke on tablet */
    }
}

@media (max-width: 480px) {
    .source-cards-row {
        gap: 6px;
        padding: 0;
    }
    
    .source-card-inner {
        height: 110px; /* Shorter cards on mobile */
        padding: 6px 6px 4px;
        border-radius: 8px;
    }

    .doc-badge {
        font-size: 0.42rem;
        padding: 0.5px 3.5px;
    }

    .doc-icon svg {
        width: 10px;
        height: 10px;
    }

    .doc-name {
        font-size: 0.42rem;
    }

    .skeleton-title {
        height: 3.5px;
    }

    .skeleton-line {
        display: none; /* Hide finer text lines on tiny mobile screens to prevent clutter */
    }

    .skeleton-layout-cols,
    .skeleton-abstract,
    .doc-layout-split,
    .graphic-lines {
        display: none;
    }

    .mini-chart {
        height: 18px;
        gap: 2.5px;
    }

    .chart-bar {
        width: 6px;
    }

    .mini-table {
        display: none;
    }

    .mini-graphic {
        height: 24px;
    }

    .molecule {
        width: 24px;
        height: 24px;
    }

    .molecule .n-center {
        top: 9.5px;
        left: 9.5px;
    }

    .molecule .n-1 { top: 1px; left: 4px; }
    .molecule .n-2 { top: 17px; left: 2px; }
    .molecule .n-3 { top: 11px; left: 18px; }

    .molecule .b-1 { width: 10px; top: 12px; left: 12px; }
    .molecule .b-2 { width: 10px; top: 12px; left: 12px; }
    .molecule .b-3 { width: 7px; top: 12px; left: 12px; }

    .flow-connection {
        height: 40px;
        margin: 0px 0 -2px;
    }
    
    .flow-svg {
        height: 40px;
    }

    .flow-arrow {
        stroke-width: 2.8; /* Scale down arrow stroke on mobile */
    }
}

/* For very large screens, cap the size to keep it clean and proportionate */



.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 20;
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    /* Minimal, clean curve height */
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: padding 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

@media (min-width: 1528px) {
    .header {
        padding-left: calc((100vw - 1400px) / 2);
        padding-right: calc((100vw - 1400px) / 2);
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 4rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4fc5df;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-cyan);
    color: var(--elephant);
    box-shadow: 0 4px 15px rgba(79, 197, 223, 0.45);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.hero-text-container {
    flex: 1;
    max-width: 580px;
    margin-top: -2rem;
}

.hero-text-container h1 {
    font-size: 3rem;
    font-weight: 800;
    /* Bolder for professional impact */
    line-height: 1.1;
    /* Tighter line-height */
    margin-bottom: 1.25rem;
    letter-spacing: -1.5px;
    /* Tighter tracking for modern premium feel */
    color: #000000;
}

.hero-text-container p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
    max-width: 540px;
    font-weight: 400;
}

.btn-large {
    padding: 0.8rem 1rem 0.8rem 1.8rem;
    font-size: 1.05rem;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--primary-blue);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-left: 14px;
}

/* Micro-animation for all premium icon arrow buttons */
.btn .icon-circle svg {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:hover .icon-circle svg {
    transform: translate(2px, -2px);
}

/* Secondary Button Style */
.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--accent-cyan);
    color: var(--elephant);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 15px rgba(79, 197, 223, 0.35);
}

.btn-secondary .icon-circle {
    background-color: rgba(39, 77, 120, 0.08);
    color: var(--primary-blue);
}

/* Hero CTA Group spacing & layouts */
.hero-cta-group {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}

.compliance-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 100%;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.badge-item span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--elephant);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.25;
    max-width: 95px;
    display: inline-block;
}

/* Circular certification seal wrapper removed to show logos clearly and larger */
.logo-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-seal img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .compliance-badges {
        flex-direction: column !important;
        align-items: center;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        gap: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header {
        padding: 2rem;
    }

    .hero-main {
        padding: 0 2rem;
        gap: 2rem;
    }

    .hero-text-container h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    .nav-container {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
    }

    .nav-container.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .header-actions {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-main {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
        gap: 3rem;
    }

    .hero-text-container {
        max-width: 100%;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text-container p {
        margin-left: auto;
        margin-right: auto;
    }

    .compliance-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem 1.5rem;
    }

    .hero-visual-container {
        width: 100%;
        justify-content: center;
        padding-bottom: 3rem;
    }

    .hero-transform-visual {
        max-width: 480px;
    }

    .source-card-inner {
        padding: 12px 10px 10px;
    }

    .source-icon {
        width: 34px;
        height: 34px;
    }

    .source-label {
        font-size: 0.65rem;
    }

    .hero-text-container h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .hero-text-container h1 {
        font-size: 2.8rem;
    }

    .hero-text-container p {
        font-size: 1.05rem;
    }

    .btn-large {
        justify-content: center;
    }

    .source-cards-row {
        gap: 10px;
    }

    .flow-connection {
        height: 50px;
    }

    .slide-preview-frame {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem;
    }

    .hero-main {
        padding: 0 1.5rem;
        align-items: center;
        padding-top: 2rem;
    }

    .hero-text-container h1 {
        font-size: 2.2rem;
    }

    .hero-text-container p {
        font-size: 1rem;
    }

    .hero-transform-visual {
        max-width: 100%;
    }

    .source-cards-row {
        gap: 8px;
        padding: 0;
    }

    .source-card-inner {
        padding: 10px 6px 8px;
        border-radius: 10px;
        gap: 5px;
    }

    .source-icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .source-icon svg {
        width: 16px;
        height: 16px;
    }

    .source-label {
        font-size: 0.58rem;
    }

    .source-format {
        font-size: 0.5rem;
        padding: 1px 6px;
    }

    .flow-connection {
        height: 40px;
    }

    .transform-badge {
        font-size: 0.6rem;
        padding: 4px 10px 4px 8px;
    }

    .slide-nav-arrow {
        width: 30px;
        height: 30px;
    }

    .slide-nav-arrow svg {
        width: 14px;
        height: 14px;
    }

    .preview-dot {
        width: 6px;
        height: 6px;
    }

    .preview-dot.active {
        width: 18px;
    }
}

/* Logo Marquee Section */
.logo-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 1.25rem 0;
}

.logo-container {
    max-width: calc(1400px + 8rem);
    margin: 0 auto;
    padding: 0 4rem;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 3rem;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
}

.marquee-left .marquee-content {
    animation: scroll-left 50s linear infinite;
}

.marquee-right .marquee-content {
    animation: scroll-right 50s linear infinite;
}



@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-separator {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Logos Styling */
.marquee-logo-img {
    height: 125px;
    width: auto;
    max-width: 300px;
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Responsive Marquee */
@media (max-width: 768px) {
    .logo-section {
        padding: 1.5rem 0;
    }

    .logo-item {
        padding: 0 1.5rem;
    }

    .marquee-logo-img {
        height: 65px;
    }

    .logo-separator {
        height: 65px;
    }
}

/* Stats Section - Premium Dotted Wave Design */
.stats-section {
    background-color: #ffffff;
    padding: 6rem 4rem 4.5rem 4rem;
    /* Decreased excessive whitespace */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Simulated dotted wave background */
.stats-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(39, 77, 120, 0.15) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.8;
    z-index: 1;
    /* Soft fade mask to make it look like a floating wave */
    mask-image: radial-gradient(ellipse 90% 50% at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 50% at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    transform: rotate(-2deg) scale(1.1);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 4rem;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    /* half of gap */
    top: 2rem;
    height: 140px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(39, 77, 120, 0.12) 20%, rgba(39, 77, 120, 0.12) 80%, transparent);
}

.stat-value {
    font-size: 5rem;
    font-weight: 700;
    /* Beautiful premium gradient fill */
    background: linear-gradient(135deg, #274d78 0%, #4fc5df 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 1.25rem;
    letter-spacing: -2px;
}

.stat-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 2.8em;
    /* Standardizes heading height to 2 lines so descriptions start on the same line */
}

.stat-desc {
    color: #64748b;
    /* Clean, legible neutral gray */
    font-size: 0.95rem;
    /* Secondary text size for correct visual hierarchy */
    line-height: 1.6;
    max-width: 320px;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-container {
        flex-direction: column;
        gap: 3.5rem;
        align-items: center;
    }

    .stats-section {
        padding: 5rem 2rem;
    }

    .stat-item {
        padding: 0;
        max-width: 450px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .stat-value {
        font-size: 4.5rem;
    }

    .stats-section {
        padding: 4rem 1.5rem;
    }
}

/* Projects Section */
.projects-section {
    padding: 6rem 4rem;
    background-color: #ffffff;
    /* Light background as requested */
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.projects-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.projects-subtitle {
    font-size: 1.15rem;
    color: #475569;
    margin-top: 0.5rem;
    font-weight: 400;
}

.projects-header h2 {
    /* Sizing managed by shared section headings rule */
}

.projects-gallery {
    display: flex;
    height: 500px;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    flex: 1;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #143351;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card.active {
    flex: 12;
    cursor: default;
    box-shadow: 0 15px 35px rgba(79, 197, 223, 0.25);
}

.project-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient to make text readable at bottom */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease;
}

.project-card.active .project-overlay {
    opacity: 1;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    color: white;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0s;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-card.active .project-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
    pointer-events: auto;
}

.project-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 800px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tag {
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.project-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--elephant);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.5rem 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.project-cta-btn .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--elephant);
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.project-cta-btn .icon-circle svg {
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-cta-btn:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.project-cta-btn:hover .icon-circle {
    background-color: #ffffff;
    color: var(--elephant);
}

.project-cta-btn:hover .icon-circle svg {
    transform: translate(2px, -2px);
}

@media (max-width: 992px) {
    .projects-gallery {
        height: 400px;
    }

    .project-card.active {
        flex: 8;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 4rem 2rem;
    }

    .goals-section {
        padding: 4rem 2rem;
    }

    .goals-grid {
        grid-template-columns: 1fr;
    }



    .projects-gallery {
        flex-direction: column;
        height: 800px;
    }

    .project-card {
        flex: 1;
    }

    .project-card.active {
        flex: 6;
    }

    .project-content p {
        -webkit-line-clamp: 2;
        font-size: 0.95rem;
    }
}

/* Goals Section */
.goals-section {
    padding: 6rem 4rem;
    background-color: #f4f7f6;
    /* Light gray fallback background */
    /* Updated to look for goals-bg.png or jpg in your assets folder */
    background-image: url('assets/goals-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.goals-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft white overlay to ensure text is readable if image is complex */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    /* Slight blur to the background image */
    z-index: 1;
}

.goals-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.goals-title {
    margin-bottom: 3.5rem;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.goal-card {
    background-color: rgba(255, 255, 255, 0.85);
    /* Premium light glass look */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(39, 77, 120, 0.3);
    /* Premium blue outline */
    box-shadow: 0 15px 35px rgba(39, 77, 120, 0.06), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /* Modern transition for 3D and shadow */
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
}

/* 1. Dynamic expanding top accent line */
.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #274d78, #274d78, #4fc5df);
    transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 2;
}

/* 2. Glass shine sweep effect */
.goal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0s;
    z-index: 1;
    pointer-events: none;
}

/* New Hover State: Vertical shift instead of 3D perspective tilt */
.goal-card:hover {
    transform: translateY(-8px);
    box-shadow: 20px 30px 60px rgba(79, 197, 223, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 1);
    border-color: rgba(79, 197, 223, 0.6);
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 10;
}

.goal-card:hover::before {
    width: 100%;
}

.goal-card:hover::after {
    left: 200%;
    transition: left 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.goal-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(79, 197, 223, 0.12);
    /* Soft Viking cyan */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    /* Astronaut */
    margin-bottom: 2.5rem;
    border: 1px solid rgba(39, 77, 120, 0.15);
    box-shadow: 0 8px 16px rgba(39, 77, 120, 0.08);
    transition: transform 0.4s ease;
}

.goal-card:hover .goal-icon {
    transform: scale(1.05);
}

.goal-card p {
    color: #000000;
    /* Dark sophisticated blue/gray */
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* Expertise Section */
.expertise-section {
    padding: 6rem 4rem;
    background-color: #ffffff;
    /* Light background as requested */
}

.expertise-container {
    max-width: 1400px;
    margin: 0 auto;
}

.expertise-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expertise-card {
    background-color: #143351;
    /* Softer dark blue background for cards */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(7, 26, 82, 0.15);
}

.expertise-image {
    width: calc(100% - 2rem);
    height: 240px;
    background-color: #000;
    margin: 1rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.expertise-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.expertise-content {
    padding: 0.5rem 2rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.expertise-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expertise-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expertise-section {
        padding: 4rem 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, #000000 0%, #274d78 100%);
    text-align: center;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.cta-line-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.8));
}

.cta-dot {
    width: 4px;
    height: 4px;
    background-color: #4fc5df;
    border-radius: 50%;
    margin-top: 2px;
}

.cta-title {
    color: #ffffff;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    color: #000000;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-cyan);
    color: var(--elephant);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 197, 223, 0.45);
}

.cta-button:hover .cta-icon {
    background-color: var(--elephant);
    color: #ffffff;
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--astronaut);
    /* Bright blue */
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (max-width: 768px) {


    .cta-section {
        padding: 6rem 1.5rem;
    }
}

/* FAQ Section - Clean & Minimal Medical Field Style */
.faq-section {
    padding: 6rem 4rem;
    background-color: #ffffff;
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
}

.faq-title {
    text-align: left;
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4rem;
    letter-spacing: -1px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.25rem 0;
    background: none;
    border: none;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #274d78;
}

.faq-icon {
    width: 28px;
    height: 28px;
    background-color: transparent;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #274d78;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 2rem;
}

.faq-answer p {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 800px;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .faq-question {
        font-size: 1.2rem;
        padding: 1.5rem 0;
    }

    .faq-section {
        padding: 4rem 2rem;
    }
}

/* Process Section */
.process-section {
    padding: 6rem 4rem;
    background-color: #ffffff;
    /* Following light theme global rule */
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-title {
    text-align: center;
    margin-bottom: 4rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.process-card {
    background: linear-gradient(135deg, #143351, #274d78);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(20, 51, 81, 0.2);
    transition: transform 0.3s ease;
    min-height: 110px;
}

.process-card:hover {
    transform: translateY(-5px);
}

.process-card:hover .process-number {
    -webkit-text-stroke: 1.5px var(--accent-cyan);
    filter: drop-shadow(0 0 8px rgba(79, 197, 223, 0.4));
}

.process-number {
    font-size: 4.5rem;
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    display: inline-flex;
    justify-content: center;
    width: 5rem;
    flex-shrink: 0;
    z-index: 1;
    line-height: 1;
}

.process-text {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    z-index: 2;
}

.process-footer {
    text-align: center;
    margin-top: 4rem;
}

.process-divider {
    height: 1px;
    width: 300px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 0 auto 2.5rem auto;
}

.process-footer p {
    font-size: 1.15rem;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.process-footer strong {
    font-weight: 700;
}

@media (max-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-section {
        padding: 4rem 2rem;
    }

    .process-title {
        margin-bottom: 3rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 1.5rem 1.5rem 1.5rem 5rem;
    }
}

/* General FAQ Section - Minimalistic & Medical Professional Design */
.general-faq-section {
    padding: 8rem 4rem;
    background-color: #fafcfc;
    position: relative;
    overflow: hidden;
}

.general-faq-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 77, 120, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.general-faq-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 6rem;
    position: relative;
    z-index: 2;
}

.general-faq-left {
    flex: 1;
}

.general-faq-left h2 {
    margin-bottom: 3.5rem;
}

.general-faq-left h2 br {
    display: none;
    /* Make heading flow naturally */
}

/* Minimalist Accordion Overrides for this section only */
.general-faq-section .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.general-faq-section .faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    overflow: hidden;
}

.general-faq-section .faq-item:hover {
    box-shadow: 0 8px 25px rgba(79, 197, 223, 0.15);
    border-color: rgba(79, 197, 223, 0.4);
}

.general-faq-section .faq-question {
    padding: 1.5rem 2rem;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
}

.general-faq-section .faq-item.active {
    border-color: var(--accent-cyan);
}

.general-faq-section .faq-item.active .faq-question {
    color: #274d78;
}

.general-faq-section .faq-icon {
    width: 24px;
    height: 24px;
    background-color: transparent;
    color: #94a3b8;
    margin-left: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
}

.general-faq-section .faq-item.active .faq-icon {
    background-color: rgba(79, 197, 223, 0.15);
    color: var(--accent-cyan);
    border-color: transparent;
}

.general-faq-section .faq-answer {
    padding: 0 2rem;
}

.general-faq-section .faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem 2rem;
}

.general-faq-section .faq-answer p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

.general-faq-right {
    flex: 0 0 380px;
}

.faq-contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(79, 197, 223, 0.2);
    box-shadow: 0 20px 40px rgba(79, 197, 223, 0.05);
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.faq-contact-card::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    background-color: rgba(79, 197, 223, 0.15);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234fc5df' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.faq-contact-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-contact-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 2rem;
}

.faq-email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #274d78;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(39, 77, 120, 0.2);
}

.faq-email-btn svg {
    margin-left: 0.75rem;
    width: 18px;
    height: 18px;
}

.faq-email-btn:hover {
    background-color: var(--accent-cyan);
    color: var(--elephant);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 197, 223, 0.4);
}

@media (max-width: 992px) {
    .general-faq-container {
        flex-direction: column;
        gap: 3rem;
    }

    .general-faq-right {
        flex: auto;
        width: 100%;
    }

    .faq-contact-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .general-faq-section {
        padding: 5rem 1.5rem;
    }



    .general-faq-section .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1.05rem;
    }

    .general-faq-section .faq-answer {
        padding: 0 1.5rem;
    }

    .general-faq-section .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}

/* Footer Section */
.site-footer {
    background-color: #0b1a29; /* Premium deep dark blue background */
    color: #cbd5e1;
    padding: 6rem 4rem 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1); /* Pure white logo for premium dark contrast */
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 500px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: var(--accent-cyan); /* Cyan link for crisp contrast */
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon:hover {
    background-color: var(--accent-cyan);
    color: var(--elephant);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 197, 223, 0.25);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.footer-address p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: #ffffff;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 4rem 2rem 2rem 2rem;
    }
}

/* Interactive Services Tabs Section */
.services-tabs-section {
    background: radial-gradient(120% 120% at 50% 0%, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    padding: 5.5rem 4rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.02);

    /* Shared Accent Theme variables (Blue only) */
    --accent-color: #274d78;
    --accent-cyan: #4fc5df;
    --accent-glow: rgba(39, 77, 120, 0.15);
    --accent-bg: rgba(39, 77, 120, 0.04);
}

/* Subtle scientific grid pattern */
.services-tabs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(39, 77, 120, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}



/* Ambient animated blobs */
.services-ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    transition: all 1s ease-in-out;
}

.services-ambient-blob.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(39, 77, 120, 0.15) 0%, rgba(79, 197, 223, 0.02) 70%);
    top: -100px;
    left: -100px;
}

.services-ambient-blob.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(39, 77, 120, 0.1) 0%, rgba(79, 197, 223, 0) 70%);
    bottom: -150px;
    right: -100px;
}

.services-tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-tabs-container .section-subtitle {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    background-color: rgba(39, 77, 120, 0.05);
    border: 1px solid rgba(39, 77, 120, 0.15);
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(39, 77, 120, 0.03);
}

.services-tabs-container .section-title {
    background: linear-gradient(135deg, #000000 60%, #274d78 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.25rem;
}

.services-tabs-container .section-desc {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 2.25rem;
    max-width: 650px;
    line-height: 1.6;
}

/* Tabs Navigation */
.tabs-nav-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .tabs-nav-container {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .tabs-nav-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .tabs-nav-container {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.service-tab-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background-color: #ffffff;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

/* Tactile bottom highlight bar indicator */
.service-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    width: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    transition: all 0.3s ease;
}

.service-tab-btn:hover {
    background-color: #ffffff;
    color: var(--accent-cyan);
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 20px rgba(79, 197, 223, 0.08);
}

/* Active tab style mapping (Blue theme only) */
.service-tab-btn.active {
    border-color: var(--accent-cyan);
    color: var(--astronaut);
    background: linear-gradient(135deg, rgba(79, 197, 223, 0.08) 0%, rgba(79, 197, 223, 0.01) 100%);
    box-shadow: 0 12px 25px rgba(79, 197, 223, 0.1);
}

.service-tab-btn.active::after {
    width: 45%;
    transform: translateX(-50%) translateY(0);
    background-color: var(--accent-cyan);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #64748b;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.service-tab-btn.active .tab-icon {
    color: var(--accent-cyan);
}

.service-tab-btn:hover .tab-icon {
    color: var(--accent-cyan);
}

.tab-label-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.tab-title-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.tab-subtitle-text {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Tab Panels Content Box */
.tab-panels-box {
    position: relative;
    width: 100%;
}

.service-tab-panel {
    display: none;
    width: 100%;
}

.service-tab-panel.active {
    display: block;
    animation: tabFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-layout {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.04), 0 20px 40px -25px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 2;
    overflow: hidden;
}



.panel-info {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.panel-media {
    flex: 1.3;
    width: 100%;
    margin-top: 5.2rem;
}

.panel-heading {
    font-size: clamp(1.4rem, 2.2vw, 1.95rem);
    font-weight: 800;
    background: linear-gradient(135deg, #000000 60%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    text-align: left;
    white-space: nowrap;
}

.panel-subheading {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    text-align: left;
    height: 1rem;
}

.panel-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
    width: 100%;
    position: relative;
}

.panel-list-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 2;
    padding: 0.45rem 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: visible;
}

.panel-list-item:hover {
    background: transparent;
    border: none;
    box-shadow: none;
    transform: translateX(6px);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.item-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(39, 77, 120, 0.15);
    background: rgba(39, 77, 120, 0.04);
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.item-icon-circle i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.panel-list-item:hover .item-icon-circle {
    background: linear-gradient(135deg, var(--astronaut) 0%, var(--accent-cyan) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(79, 197, 223, 0.3);
    transform: scale(1.08);
}

.panel-list-item:hover .item-icon-circle i {
    transform: rotate(8deg);
}

.item-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-text-group h4 {
    font-size: 1.025rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0;
    transition: color 0.25s ease;
}

.panel-list-item:hover .item-text-group h4 {
    color: var(--astronaut);
}

.item-text-group p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.45;
}

/* Compact list layout (no descriptions) */
.panel-list.list-compact {
    gap: 0.45rem;
    margin-bottom: 2rem;
}

.panel-list.list-compact .panel-list-item {
    padding: 0.35rem 0.5rem;
    align-items: center;
    border-radius: 0;
}

.panel-list.list-compact .panel-list-item:hover {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.panel-list.list-compact .item-icon-circle {
    width: 32px;
    height: 32px;
    margin-top: 0;
}

.panel-list.list-compact .item-icon-circle i {
    font-size: 0.9rem;
}

.panel-list.list-compact .item-text-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0;
}

.panel-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
    margin-left: 0.75rem;
    position: relative;
    padding-bottom: 2px;
}

.panel-cta-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.panel-cta-link svg {
    transition: transform 0.25s ease;
}

.panel-cta-link:hover::after {
    width: 100%;
    background-color: var(--accent-cyan);
}

.panel-cta-link:hover {
    color: var(--accent-cyan);
    gap: 0.75rem;
}

.panel-cta-link:hover svg {
    transform: translateX(2px);
}

.panel-info .open-quote-btn {
    margin-left: 0.75rem;
}

/* Slides Carousel Viewport */
.panel-slider-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel-slides-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    border: 0.5px solid #e5e7eb;
    z-index: 1;
}

/* Glow light sheet behind bezel */
.panel-slides-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(25px);
    z-index: -1;
    pointer-events: none;
    border-radius: 5px;
    transition: background 0.5s ease;
}

/* Bezel inner border sheet */
.panel-slides-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    border: 0.5px solid #e5e7eb;
    pointer-events: none;
    z-index: 3;
}

.panel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
    border-radius: 5px;
}

.panel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.panel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

/* Slider Navigation Controls */
.panel-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 5;
}

.slider-arrow {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--primary-blue);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-arrow:hover {
    background-color: var(--accent-cyan);
    color: var(--elephant);
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(79, 197, 223, 0.35);
    transform: scale(1.05);
}

.slider-arrow svg {
    transition: transform 0.2s ease;
}

.slider-arrow.prev:hover svg {
    transform: translateX(-2px);
}

.slider-arrow.next:hover svg {
    transform: translateX(2px);
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dots .dot:hover {
    background-color: #94a3b8;
}

.slider-dots .dot.active {
    background-color: var(--primary-blue);
    width: 20px;
    border-radius: 4px;
}

/* Responsiveness for Interactive Tabs Section */
@media (max-width: 1200px) {
    .panel-layout {
        gap: 3rem;
        padding: 3rem;
    }
}

@media (max-width: 992px) {
    .services-tabs-section {
        padding: 5rem 2rem;
    }

    .services-ambient-blob.blob-1 {
        width: 300px;
        height: 300px;
    }

    .services-ambient-blob.blob-2 {
        width: 320px;
        height: 320px;
    }

    .panel-layout {
        flex-direction: column;
        padding: 2.5rem;
        gap: 2.5rem;
    }

    .panel-info,
    .panel-media {
        flex: auto;
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .services-tabs-section {
        padding: 4rem 1.5rem;
    }

    .services-tabs-container .section-desc {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .tabs-nav-container {
        margin-bottom: 2rem;
    }

    .service-tab-btn {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }



    .panel-layout {
        padding: 1.5rem;
    }

    .panel-heading {
        font-size: 1.6rem;
        white-space: normal;
    }

    .panel-subheading {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .panel-list {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .panel-list-item {
        gap: 0.85rem;
        padding: 0.45rem 0.75rem;
        border-radius: 10px;
    }

    .panel-list.list-compact .panel-list-item {
        padding: 0.45rem 0.75rem;
    }

    .item-icon-circle {
        width: 32px;
        height: 32px;
    }

    .panel-list.list-compact .item-icon-circle {
        width: 30px;
        height: 30px;
    }
}

/* ========================================
   Quote Request Popup Modal
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    width: 90%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Scrollbar styling */
.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: transparent;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Close button */
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #274d78;
    border-color: #274d78;
    color: #ffffff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(39, 77, 120, 0.3);
}

/* Modal header */
.modal-header {
    margin-bottom: 2rem;
    padding-right: 2.5rem;
}

.modal-title {
    font-family: var(--font-family);
    font-size: 1.75rem;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* Form styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: #000000;
    background-color: #f8fafc;
    transition: all 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #274d78;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(39, 77, 120, 0.08);
}

.form-group input::placeholder {
    color: #94a3b8;
}

/* Side-by-side row for duration & deadline */
.form-row {
    display: flex;
    gap: 1rem;
}

/* Submit button */
.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #274d78, #143351);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-family: var(--font-family);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(39, 77, 120, 0.25);
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 197, 223, 0.45);
    background: var(--accent-cyan);
    color: var(--elephant);
}

.form-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(39, 77, 120, 0.2);
}

.form-submit-btn svg {
    transition: transform 0.25s ease;
}

.form-submit-btn:hover svg {
    transform: translateX(3px);
}

/* HubSpot Form Styling Overrides */
.hs-form-wrapper {
    width: 100%;
    overflow: visible;
}

.hs-form-frame iframe {
    width: 100% !important;
    border: none !important;
    min-height: 420px;
}

/* In case it renders as raw HTML */
.hs-form-frame form.hs-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hs-form-frame .hs-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.hs-form-frame label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    font-family: var(--font-family);
    display: block;
    margin-bottom: 0.25rem;
}

.hs-form-frame input[type="text"],
.hs-form-frame input[type="email"],
.hs-form-frame input[type="tel"],
.hs-form-frame select,
.hs-form-frame textarea {
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-family: var(--font-family) !important;
    font-size: 0.95rem !important;
    color: #000000 !important;
    background-color: #f8fafc !important;
    outline: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.hs-form-frame input:focus,
.hs-form-frame select:focus,
.hs-form-frame textarea:focus {
    border-color: #274d78 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(39, 77, 120, 0.08) !important;
}

.hs-form-frame input.hs-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 1rem !important;
    background: linear-gradient(135deg, #274d78, #143351) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    font-family: var(--font-family) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 6px 20px rgba(39, 77, 120, 0.25) !important;
    margin-top: 1rem !important;
    -webkit-appearance: none;
    appearance: none;
}

.hs-form-frame input.hs-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(79, 197, 223, 0.45) !important;
    background: var(--accent-cyan) !important;
    color: var(--elephant) !important;
}

/* Modal responsive */
@media (max-width: 576px) {
    .modal-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        width: 95%;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .form-group input,
    .form-group select {
        padding: 0.75rem 0.85rem;
        font-size: 0.9rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 4.5rem 4rem;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonials-ambient-blob {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 197, 223, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    gap: 1rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(20, 51, 81, 0.15);
    background-color: transparent;
    color: var(--elephant);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-btn:hover {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--elephant);
    box-shadow: 0 4px 15px rgba(79, 197, 223, 0.3);
    transform: translateY(-2px);
}

.slider-btn:active {
    transform: translateY(0);
}

.slider-btn svg {
    transition: transform 0.3s ease;
}

.slider-btn.prev-btn:hover svg {
    transform: translateX(-2px);
}

.slider-btn.next-btn:hover svg {
    transform: translateX(2px);
}

/* Slider Layout */
.testimonials-slider {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Card Styling */
.testimonial-card {
    flex: 0 0 calc((100% - (2 * 2.5rem)) / 3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1rem;
    background-color: transparent;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.client-logo {
    height: 55px;
    width: auto;
    max-width: 220px;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.client-logo img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.quote-mark {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--accent-cyan);
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.quote-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.25rem;
    font-weight: 400;
    flex-grow: 1;
}

.client-meta {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--elephant);
    margin-top: auto;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc((100% - (1 * 2.5rem)) / 2);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 4rem 2rem;
    }

    .testimonial-card {
        flex: 0 0 100%;
        padding: 1.5rem 0;
    }

    .testimonials-header {
        margin-bottom: 2rem;
    }
}

/* ==========================================
   Comprehensive Responsive Layout System
   ========================================== */

/* Wide Screens & Extra Large Desktops */
@media (min-width: 1400px) {
    .hero-main {
        max-width: calc(1400px + 8rem);
        padding-bottom: 2rem;
    }

    .header {
        padding-left: calc((100vw - 1400px) / 2);
        padding-right: calc((100vw - 1400px) / 2);
    }

    .logo-container {
        max-width: calc(1400px + 8rem);
    }

    .hero-text-container h1 {
        font-size: 3.2rem;
    }
}

/* Large Screens (Laptops & Desktops) */
@media (max-width: 1200px) {
    .hero-section {
        padding-top: 9.5rem;
        padding-bottom: 4rem;
        min-height: auto;
    }

    .hero-main {
        gap: 3rem;
        padding: 0 2rem 5rem 2rem;
    }

    .logo-container {
        padding: 0 2rem;
    }

    .hero-text-container h1 {
        font-size: 2.8rem;
    }

    .hero-visual-wrapper {
        max-width: 580px;
    }

    .projects-section,
    .services-tabs-section,
    .expertise-section,
    .testimonials-section {
        padding: 5rem 2rem;
    }
}

/* Medium Screens (Tablets & Landscape Mobile) */
@media (max-width: 992px) {
    .hero-section {
        padding-top: 9rem;
        padding-bottom: 3.5rem;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    .hero-main {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding-bottom: 6rem;
    }

    .hero-text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .hero-text-container h1 {
        font-size: 2.6rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .compliance-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .hero-visual-container {
        width: 100%;
        justify-content: center;
        padding-bottom: 2rem;
    }

    .hero-visual-wrapper {
        margin-top: 0;
        max-width: 640px;
    }

    .hero-transform-visual {
        margin-top: 0;
    }
}

/* Small Screens (Tablets & Portrait Mobile) */
@media (max-width: 768px) {
    .hero-text-container h1 {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-text-container p {
        font-size: 1.05rem;
    }

    .compliance-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .badge-item {
        justify-content: flex-start;
    }

    .logo-container {
        padding: 0 1.5rem;
    }

    .projects-gallery {
        flex-direction: column;
        height: auto;
        gap: 1.5rem;
    }

    .project-card {
        height: 320px;
        flex: none !important;
    }

    .project-card.active {
        height: 380px;
    }

    .projects-section,
    .services-tabs-section,
    .expertise-section,
    .testimonials-section,
    .stats-section {
        padding: 3.5rem 1.5rem;
    }
}

/* Extra Small Screens (Compact Mobile Devices) */
@media (max-width: 576px) {
    .hero-section {
        padding-top: 7.5rem;
        padding-bottom: 3rem;
    }

    .header {
        padding: 1.25rem 1rem;
    }

    .hero-text-container h1 {
        font-size: 1.9rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .compliance-badges {
        grid-template-columns: 1fr;
        max-width: 280px;
    }

    .logo-container {
        padding: 0 1rem;
    }

    .projects-header-left h2,
    .services-tabs-container h2,
    .expertise-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   Before & After Slide Comparison Section
   ========================================================================== */
.before-after-section {
    padding: 6rem 4rem;
    background-color: #f8fafc;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.before-after-section .section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.before-after-header {
    text-align: center;
    margin-bottom: 4rem;
}

.before-after-header h2 {
    font-family: var(--font-family);
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.before-after-subtitle {
    font-family: var(--font-family);
    color: rgba(20, 51, 81, 0.7);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.compare-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    overflow-x: auto;
    padding: 0.5rem;
}

.compare-tabs-nav::-webkit-scrollbar {
    display: none;
}

.compare-tab-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background-color: #ffffff;
    color: rgba(20, 51, 81, 0.8);
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.compare-tab-btn:hover {
    background-color: #ffffff;
    color: var(--accent-cyan);
    transform: translateY(-2px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 20px rgba(79, 197, 223, 0.08);
}

.compare-tab-btn.active {
    border-color: var(--accent-cyan);
    color: var(--astronaut);
    background: linear-gradient(135deg, rgba(79, 197, 223, 0.08) 0%, rgba(79, 197, 223, 0.01) 100%);
    box-shadow: 0 12px 25px rgba(79, 197, 223, 0.1);
}

.compare-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(3px);
    width: 0;
    height: 3px;
    border-radius: 100px;
    background-color: transparent;
    transition: all 0.25s ease;
}

.compare-tab-btn.active::after {
    width: 45%;
    transform: translateX(-50%) translateY(0);
    background-color: var(--accent-cyan);
}

.compare-tab-btn .tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(20, 51, 81, 0.4);
    transition: color 0.2s ease;
}

.compare-tab-btn.active .tab-icon,
.compare-tab-btn:hover .tab-icon {
    color: var(--accent-cyan);
}

/* Compare Panels */
.compare-panels-box {
    width: 100%;
    position: relative;
}

.compare-tab-panel {
    display: none;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.compare-tab-panel.active {
    display: block;
    animation: fadeInCompare 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInCompare {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.compare-slider-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.compare-slides-viewport {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: visible;
    z-index: 1;
}

.comparison-slider {
    display: none;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.comparison-slider.active {
    display: grid;
    animation: fadeInCompare 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.compare-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.compare-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.compare-label {
    text-align: center;
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.compare-label-before {
    color: #64748b; /* Sleek slate gray */
}

.compare-label-after {
    color: var(--primary-blue); /* Brand accent blue */
}

/* Slider Controls (Prev/Next Arrows and Dots) */
.compare-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.compare-arrow {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: var(--primary-blue);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-arrow:hover {
    background-color: var(--accent-cyan);
    color: var(--elephant);
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(79, 197, 223, 0.35);
    transform: scale(1.05);
}

.compare-arrow svg {
    transition: transform 0.2s ease;
}

.compare-arrow.prev:hover svg {
    transform: translateX(-2px);
}

.compare-arrow.next:hover svg {
    transform: translateX(2px);
}

.compare-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(39, 77, 120, 0.2);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.compare-dot.active {
    width: 20px;
    border-radius: 4px;
    background-color: var(--primary-blue);
}

/* Legend Below Slider */
.comparison-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: rgba(20, 51, 81, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    padding: 0 1rem;
}

.legend-icon {
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .before-after-section {
        padding: 5rem 2rem;
    }
    
    .compare-tabs-nav {
        gap: 0.75rem;
        margin-bottom: 2.5rem;
        justify-content: flex-start;
        padding-bottom: 0.75rem;
    }
    
    .compare-tab-btn {
        padding: 0.6rem 1.15rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .before-after-header h2 {
        font-size: 2rem;
    }
    
    .before-after-subtitle {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .comparison-slider.active {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .before-after-section {
        padding: 3.5rem 1.5rem;
    }

    .compare-arrow {
        width: 36px;
        height: 36px;
    }
    
    .compare-slider-controls {
        gap: 1.25rem;
    }
}

/* Font Awesome Icon Styles */
.item-icon-circle i {
    font-size: 1.15rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.panel-list-item:hover .item-icon-circle i {
    color: #ffffff;
}

.service-tab-btn .tab-icon i,
.compare-tab-btn .tab-icon i {
    font-size: 1.15rem;
    transition: color 0.2s ease;
}

.service-tab-btn.active .tab-icon i,
.service-tab-btn:hover .tab-icon i,
.compare-tab-btn.active .tab-icon i,
.compare-tab-btn:hover .tab-icon i {
    color: var(--accent-cyan);
}

.goal-icon i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* ==========================================================================
   Slide Maximization (Lightbox Modal) Styles
   ========================================================================== */

/* Maximize Hint Overlay on Hero Slide */
.slide-preview-frame {
    cursor: pointer;
    position: relative;
}

.slide-maximize-hint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 41, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    pointer-events: none;
}

.slide-preview-frame:hover .slide-maximize-hint {
    opacity: 1;
}

.slide-maximize-hint svg {
    transform: scale(0.85);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    stroke: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.slide-maximize-hint span {
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.slide-preview-frame:hover .slide-maximize-hint svg {
    transform: scale(1.1);
}

/* Lightbox Overlay */
.slide-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 25, 41, 0.93); /* Deep navy base */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 100002;
    line-height: 1;
}

.lightbox-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.08) rotate(90deg);
}

/* Main Content Wrapper */
.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1360px;
    padding: 0 5rem;
    position: relative;
    gap: 3.5rem;
}

/* Lightbox Slide frame */
.lightbox-slide-frame {
    flex: 1;
    max-width: 980px;
    aspect-ratio: 16/9;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.45),
        0 0 50px rgba(79, 197, 223, 0.18); /* Vikings cyan backplate aura glow */
    transform: scale(0.93) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100000;
}

.slide-lightbox.active .lightbox-slide-frame {
    transform: scale(1) translateY(0);
}

.lightbox-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox Navigation Arrows */
.lightbox-arrow {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    z-index: 100001;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 
        0 0 25px rgba(79, 197, 223, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.lightbox-arrow:active {
    transform: scale(0.95);
}

/* Responsive Rules for Lightbox */
@media (max-width: 992px) {
    .lightbox-content {
        padding: 0 2.5rem;
        gap: 2rem;
    }
    
    .lightbox-arrow {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 768px) {
    .lightbox-content {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 600px;
    }
    
    .lightbox-slide-frame {
        border-radius: 12px;
    }
    
    .lightbox-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 46px;
        height: 46px;
        background: rgba(10, 25, 41, 0.85); /* higher contrast backing over slides */
        border-color: rgba(255, 255, 255, 0.25);
    }
    
    .lightbox-arrow.lightbox-prev {
        left: 2rem;
    }
    
    .lightbox-arrow.lightbox-next {
        right: 2rem;
    }
    
    .lightbox-arrow:hover {
        transform: translateY(-50%) scale(1.05);
    }
    
    .lightbox-close {
        top: 1.5rem;
        right: 1.5rem;
        width: 46px;
        height: 46px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        padding: 0 0.5rem;
    }
    
    .lightbox-arrow.lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-arrow.lightbox-next {
        right: 1rem;
    }
}