:root {
    --primary-color: #B08D55;
    /* Professional Metallic Gold */
    --secondary-color: #0f172a;
    /* Deep Navy (Headings/Text) */
    --accent-color: #334155;
    /* Slate 700 */
    --text-color: #334155;
    /* Slate 800 - High contrast text */
    --light-bg: #f8fafc;
    /* Slate 100 - Crisp light bg */
    --white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    /* Geometric, Modern */
    --font-body: 'Manrope', sans-serif;
    /* Clean, High Legibility */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother interaction */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    /* Changed from 100vw to fix scrollbar jitter */
    max-width: 100%;
    scrollbar-gutter: stable;
    /* Modern fix for layout shift */
    overflow-y: scroll;
    /* Fallback: Always show scrollbar track */
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: transparent;
    overflow-x: hidden;
    width: 100%;
    /* Changed from 100vw to fix scrollbar jitter */
    max-width: 100%;
    position: relative;
    margin: 0;
}

/* Global overflow cleanup */
section,
.section,
#ceo-profile,
.landmark-slider,
.venn-container,
.hero-bg-container {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    /* Professional Navy for Headings */
    /* color: var(--secondary-color); Removed generic color */
    margin-bottom: 1rem;
}

/* --- SECTION BACKGROUNDS (Odd/Even Rhythm) --- */
#about {
    background-color: transparent;
    /* Transparent */
}

#proposition {
    background-color: transparent;
    /* Transparent */
}

#focus {
    background-color: #ffffff !important;
    /* Override inline */
}

#ceo-profile {
    background-color: #f8fafc;
    /* Slate 50 */
    padding: 6rem 0;
}

#clientele {
    background-color: #ffffff !important;
}

#services {
    background-color: #f8fafc;
    /* Slate 50 */
}

#sectorial {
    background-color: #ffffff;
}

#finance {
    background-color: #f8fafc;
    /* Slate 50 */
}

#contact {
    background-color: #ffffff;
}

/* Specific Heading Overrides for Visibility - Traffic Yellow Update */
#about h2.section-title,
#proposition h2.section-title {
    color: #F7B500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    /* Strong drop shadow for visibility without box */
    margin-bottom: 0.5rem;
}

#about .section-subtitle,
#proposition .section-subtitle {
    color: #FFD700;
    /* Light Traffic Yellow */
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    /* Strong drop shadow for visibility without box */
    margin-bottom: 0;
}

/* Glass Header Container Effect REMOVED - Using transparent clean layout */
#about .section-header,
#proposition .section-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    box-shadow: none;
    width: 90%;
}

/* Hero Button Override - Traffic Yellow */
.hero-btns .btn-primary {
    background-color: #F7B500;
    color: #000000;
    border-color: #F7B500;
    font-weight: 700;
}

.hero-btns .btn-primary:hover {
    background-color: #d49a00;
    color: #000000;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 1.5rem;
}

.text-center {
    text-align: center;
}

/* Utilities */
.container {
    max-width: 1200px;
    width: 100%;
    /* Ensure it adapts to smaller screens */
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b08d4b;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--secondary-color);
    /* Navy Border */
    color: var(--secondary-color);
    /* Navy Text */
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    /* Pure White */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    /* Dark text for white header */
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 80px;
    background-color: transparent;
    /* Changed from white since header is white */
    padding: 5px 10px;
    border-radius: 4px;
    object-fit: contain;
}

/* Brand Text Styles */
.brand-bold {
    font-weight: 800;
    color: #0f172a;
    /* Deep Navy */
    letter-spacing: -0.5px;
}

.brand-light {
    font-weight: 300;
    color: #475569;
    /* Slate 600 - Lighter */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--secondary-color);
    /* Dark text */
    font-family: var(--font-heading);
    /* Changed font as requested */
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    /* Dark for white header */
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    /* Spacing for fixed navbar */
}

/* Background Layers */
.hero-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    z-index: -2;
    overflow: hidden;
}

/* Clean & Professional Hero Style */
.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    /* Aligned to top for better visibility */
    transition: opacity 0.1s linear;
    filter: brightness(1.05) saturate(0.9);
}

.hero-real {
    z-index: 2;
    opacity: 0;
    /* Hidden by default */
}

/* Water Ripple Effect */
.water-effect {
    /* Clip to the bottom 15% of the screen (reduced from 25%) */
    clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0% 100%);
    filter: url(#waterRipple);
    pointer-events: none;
    /* Let clicks pass through */
}

/* Specific adjustment for Stage 3 water (Taller effect) */
.hero-stage-3-water {
    clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0% 100%);
}

/* Interactive Ripple Effect */
.ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: rippleAnim 1s linear forwards;
    z-index: 10;
}

@keyframes rippleAnim {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.5;
        border-width: 1px;
    }

    100% {
        width: 100px;
        height: 30px;
        /* Elliptical to match perspective roughly */
        opacity: 0;
        border-width: 0px;
    }
}

/* Hero Overlay - Grey White as requested */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Grey White Gradient - Reduced opacity for better image visibility */
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.75) 0%, rgba(248, 250, 252, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    /* Deep Navy against White Gradient Overlay */
    text-shadow: none;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: var(--text-color);
    /* Slate 800 for readability on white */
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-up.active {
    animation: fadeInUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: transparent;
    color: var(--text-color);
    /* Navy text */
    position: relative;
    z-index: 10;
}

.about .section-subtitle {
    color: var(--accent-color);
}


/* .about .section-subtitle removed - handled by Main Heading Overrides */

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.6);
    /* Stronger glass for visibility */
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Clientele Marquee Styles */
.clientele-marquee {
    overflow: hidden;
    width: 100%;
    margin-top: 3rem;
    position: relative;
    /* Fade masks on sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    /* Continuous Scroll Animation */
    animation: scroll 30s linear infinite;
    padding: 1rem 0;
}

/* Individual Logo Tile */
.client-logo {
    flex-shrink: 0;
    width: 200px;
    /* Slightly wider */
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    /* Transparent background */
    border-radius: 8px;
    /* Removed box-shadow for cleaner floating look */
    padding: 0.5rem;
    /* Reduced padding for larger logos */
    transition: all 0.3s ease;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Remove grayscale - Show full color */
    filter: none;
    opacity: 1;
    /* Blend white backgrounds if any */
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.1);
}

/* Pulse Animation for Tiles */
.pulse-item {
    animation: tilePulse 3s infinite ease-in-out;
}

/* Randomize delays for organic feel */
.pulse-item:nth-child(2n) {
    animation-delay: 0.5s;
}

.pulse-item:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes tilePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move half way (one full set) */
}

/* Link specific styles */
a.link-item {
    cursor: pointer;
    border: 2px solid transparent;
}

a.link-item:hover {
    border-color: var(--primary-color);
}

.client-item:hover {
    background: var(--light-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 3D Perspective Animation */
.focus .container {
    perspective: 1000px;
}

.perspective-lift {
    /* opacity: 0;  REMOVED default hidden state to avoid blank page if JS fails or delays */
    opacity: 1;
    transform: rotateX(15deg) translateY(50px) scale(0.95);
    transform-origin: center top;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Smooth ease-out */
}

.perspective-lift.active {
    opacity: 1;
    transform: rotateX(0) translateY(0) scale(1);
}


/* Focus Section - Technical Grid Pattern */
.focus {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    /* Engineering Grid */
}

/* Feature Cards Grid */
.focus-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--primary-color);
    /* Gold Accent Top */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.focus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--secondary-color);
    /* Navy on Hover */
}

.focus-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(203, 166, 96, 0.1);
    /* Light Gold BG */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.focus-card:hover .focus-icon {
    transform: rotate(15deg) scale(1.1);
    background: var(--primary-color);
    color: #fff;
}

.focus-card h5 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.focus-card p {
    font-size: 0.95rem;
    color: #64748b;
    /* Slate 500 */
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 968px) {
    .focus-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .focus-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Split Join Animation - Scroll Driven 3D (CSS Variables) */
.focus-split-wrapper {
    perspective: 1200px;
    perspective-origin: center center;
    transform-style: preserve-3d;
    /* Default Progress is 0 (Split/Open) to force visuals */
    --progress: 0;
}

.focus-part-top {
    /* Vertical Gap: Starts at -300px, ends at 0 */
    /* Rotation: Starts at 45deg, ends at 0 */
    /* Scale: Starts at 0.8, ends at 1 */
    transform:
        translateY(calc(-300px * (1 - var(--progress)))) rotateX(calc(45deg * (1 - var(--progress)))) scale(calc(0.8 + (0.2 * var(--progress))));

    /* Opacity: Starts at 0, ends at 1 */
    opacity: var(--progress);

    will-change: transform, opacity;
}

.focus-part-bottom {
    /* Vertical Gap: Starts at 300px, ends at 0 */
    /* Rotation: Starts at -45deg, ends at 0 */
    transform:
        translateY(calc(300px * (1 - var(--progress)))) rotateX(calc(-45deg * (1 - var(--progress)))) scale(calc(0.8 + (0.2 * var(--progress))));

    opacity: var(--progress);

    will-change: transform, opacity;
}

/* Ensure no transitions interfere with scroll-linking */
.focus-split-wrapper,
.focus-part-top,
.focus-part-bottom {
    transition: none !important;
}

/* Stats / Projects - Solid Background */
.stats {
    background-color: var(--light-bg);
    /* Grey-White base */
    color: var(--text-color);
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

/* Services / Expertise - Solid Background */
.services {
    background-color: var(--white);
    /* White base for contrast */
    position: relative;
    z-index: 10;
}

/* Contact - Solid Background */
.contact {
    background-color: var(--light-bg);
    position: relative;
    z-index: 10;
}

/* ... existing code ... */

/* Proposition Section (Venn Diagram) */
.proposition {
    background-color: transparent;
    /* Changed to transparent as requested */
}

/* .proposition .section-subtitle styles moved/cleaned */
.proposition .section-subtitle {
    /* Padding removed to fit in glass box */
    position: relative;
    z-index: 10;
}

.venn-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    /* Broader space */
    height: 600px;
    /* Taller for better fly-in */
    margin: 2rem auto 0;
    overflow: visible;
    /* Ensure they aren't clipped during animation */
}

/* Venn Circle Container - Text stays crisp */
.venn-circle {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* Stronger text shadow */
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: none;
    opacity: 0;
    left: 50%;
    top: 50%;
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 20;
    /* Ensure text is above overlays */
}

/* Background Color Layer - Handles Blend Mode */
.venn-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    mix-blend-mode: multiply;
    /* Blends colors nicely */
    z-index: -1;
    /* Behind text */
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

/* Colors applied to ::before */
.circle-top::before {
    background: rgba(148, 163, 184, 0.9);
    /* Slate 400 - Light Grey */
}

.circle-left::before {
    background: rgba(51, 65, 85, 0.9);
    /* Slate 700 - Dark Grey */
}

.circle-right::before {
    background: rgba(100, 116, 139, 0.9);
    /* Slate 500 - Medium Grey */
}

/* Remove direct styles from parent classes */
.circle-top,
.circle-left,
.circle-right {
    background: transparent;
    border: none;
}

/* Initial States (Exploded View - originate from broader space) */
.circle-top {
    transform: translate(-50%, -250%) scale(0.5);
}

.circle-left {
    transform: translate(-200%, 50%) scale(0.5);
}

.circle-right {
    transform: translate(100%, 50%) scale(0.5);
}

/* Active State (Intersected - Looser Desktop Spacing) */
.venn-container.active .venn-circle {
    opacity: 1;
    /* Fully visible container */
}

/* 
   Symmetry Logic (Desktop):
   Distance D = 100px (Increased from 70px to loosen overlap)
   Top: (0, -100)
   Right: (87px, 50px)
   Left: (-87px, 50px)
*/
.venn-container.active .circle-top {
    transform: translate(-50%, calc(-50% - 100px));
}

.venn-container.active .circle-left {
    transform: translate(calc(-50% - 87px), calc(-50% + 50px));
}

.venn-container.active .circle-right {
    transform: translate(calc(-50% + 87px), calc(-50% + 50px));
}

/* Hover effect */
.venn-circle:hover {
    transform: scale(1.1) !important;
    z-index: 50;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.contact-form-box {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(194, 157, 89, 0.2);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 2rem;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    /* FIX: Venn Diagram Mobile Scaling */
    .proposition {
        overflow: hidden;
        /* Hide overflow on mobile to prevent horizontal scroll */
    }

    .venn-container {
        width: 100%;
        /* Fit to screen */
        height: 450px;
        /* Increased height to accommodate larger scale */
        transform: scale(0.75);
        /* Increased from 0.5 to 0.75 for prominence */
        transform-origin: center top;
        /* Pin to top so it doesn't drift */
        margin: 0 auto 0;
        /* Reduced from 2rem to 0 to pull it up */
    }

    /* Fix Hero Buttons on Mobile */
    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .hero-btns .btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }

    /* Mobile Nav Menu Adjustments */
    .nav-links {
        background: var(--white);
        /* White background like header */
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #f1f5f9;
        top: 80px;
        /* Push down below logo */
    }

    .nav-links a {
        color: var(--secondary-color);
        font-size: 1.1rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f8fafc;
        width: 100%;
        display: block;
    }

    /* FIX: Hero Visibility on Mobile Scroll */
    /* Ensure sticky background works well */
    /* FIX: Hero Visibility on Mobile Scroll */
    /* Ensure sticky background works well */
    .hero-bg-container {
        height: 100svh;
        /* Stable Small Viewport Height */
        /* height: 100dvh; Removed to prevent jerky resize */
    }

    /* Ensure content has enough margin/padding so scroll triggers logic */
    .section {
        padding: 3rem 0;
    }

    /* Adjust logo size for mobile if needed */
    .logo img {
        height: 60px;
    }

    /* FIX: Ensure full background coverage on mobile */
    .hero-layer,
    .hero-art {
        background-size: contain !important;
        background-position: top center !important;
        background-repeat: no-repeat !important;
        width: 100% !important;
        max-width: 100vw !important;
        /* Ensure it starts from top */
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
    }

    /* Ensure container allows centering */
    .hero-bg-container,
    .hero-art-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
}

/* =========================================
   New Animation Styles
   ========================================= */

/* Art Layer & Animation */
.hero-art-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #ffffff;
}

/* =========================================
   Sectoral Expertise Styles
   ========================================= */
.sectorial-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.sector-card {
    background: transparent;
    text-align: center;
}

.sector-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Square images as per reference */
    overflow: hidden;
    margin-bottom: 1rem;
    /* border-radius: 4px; Optional */
}

.sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sector-card:hover .sector-image img {
    transform: scale(1.05);
}

.sector-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

.sector-content p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
    opacity: 0.9;
}

/* Responsive Sectoral Grid */
@media (max-width: 1024px) {
    .sectorial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .sectorial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sectorial-grid {
        grid-template-columns: 1fr;
    }
}

.hero-art {
    width: 100%;
    height: 100%;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    /* opacity: 0.7 !important; Removed to allow full visibility if transparency is native */
}

.hero-canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Hide hero content initially */
/* Hide hero content initially */
body.loading .navbar {
    opacity: 0;
    pointer-events: none;
    transition: opacity 2s ease-out;
}

body.loading .hero-content {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: opacity 2.5s ease-out, transform 2.5s ease-out;
}

body:not(.loading) .navbar {
    opacity: 1;
    pointer-events: all;
}

body:not(.loading) .hero-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* ... Existing Styles ... */

/* Sector Accordion Styles */
.sector-accordion {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #e2e8f0;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    background: transparent;
    transition: background-color 0.2s;
}

.accordion-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    text-align: left;
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-body-wrapper {
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.accordion-body-wrapper .sector-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.accordion-body-wrapper .sector-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.accordion-body-wrapper .sector-image:hover img {
    transform: scale(1.05);
}

.accordion-body-wrapper p {
    color: #64748b;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    text-align: center;
}

/* Hover effect for header */
.accordion-header:hover h3 {
    color: var(--primary-color);
}

/* =========================================
   CEO Profile Styles (Merged)
   ========================================= */

/* Specific styles for profile page */
.profile-hero {
    background-color: #ffffff;
    /* Set to white */
    padding: 120px 0 60px;
    text-align: center;
}

.profile-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.profile-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
}

.profile-content {
    background-color: #ffffff;
    padding: 60px 0;
    /* CRITICAL: Sticky requires ancestors to have visible overflow */
    overflow: visible !important;
    overflow-x: clip !important;
    /* Modern clipping without breaking scrolling context */
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    /* Ensures sidebar doesn't stretch to full height */
}

.profile-sidebar {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
    /* Offset from top */
    z-index: 10;
    align-self: start;
    /* Double ensure it sits at start */
}

.profile-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 5rem;
    color: #fff;
}

.key-stat {
    margin-bottom: 1.5rem;
}

.key-stat h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.key-stat p {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-main h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.profile-main h2:first-child {
    margin-top: 0;
}

.profile-main p {
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* DYNAMIC LANDMARK SLIDER STYLES */
.landmark-slider {
    position: relative;
    width: 100%;
    height: 800px;
    /* Increased from 500px to equalize layout */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-out;
    transform: scale(1.05);
    /* Start slightly zoomed in */
    display: flex;
    align-items: flex-end;
    /* Align text to bottom */
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1);
    /* Zoom to normal */
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay gradient for text readability */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
    pointer-events: none;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    color: #fff;
    max-width: 80%;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease-out 0.3s;
    /* Delay for content fade in */
}

.slider-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: #FFC107;
    /* Traffic Yellow */
    font-weight: 800;
    /* Extra Bold */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Dark shadow for contrast */
}

.slide-content p {
    color: #FFF176;
    /* Lighter Traffic Yellow */
    font-weight: 500;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.slide-location {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Added shadow for better readibility against images */
}

/* Vertical Controls */
.slider-controls {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: #fff;
    color: #1e293b;
    transform: scale(1.1);
}

.slider-counter {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.quote-box {
    background: #1e293b;
    color: #fde047;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3rem 0;
    position: relative;
}

.quote-box i.fa-quote-left {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    opacity: 0.8;
    color: #FFD700;
}

.quote-box i.fa-quote-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.8;
    color: #FFD700;
}

.quote-text {
    font-size: 1.25rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    color: #FFD700 !important;
    /* Golden Color */
    padding: 0 2rem;
    font-weight: 500;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pipeline-card {
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Profile Mobile Tweaks */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
        order: -1;
    }

    .landmark-slider {
        height: 400px;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .landmark-slider .slider-controls {
        right: 1rem;
    }
}

/* =========================================
   Project Finance Capability Styles
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    padding: 2rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    /* Equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-content h3 {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-content p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* =========================================
   Interactive Lifecycle Roadmap Styles
   ========================================= */

.lifecycle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    width: 100%;
}

/* Track Container */
.lifecycle-track-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 2rem 0;
}

/* Horizontal Line */
.lifecycle-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 4px;
}

/* Nodes Container */
.lifecycle-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Individual Node */
.lifecycle-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    width: 120px;
    /* Fixed width for alignment */
    text-align: center;
}

.lifecycle-node:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.lifecycle-node.active {
    opacity: 1;
    transform: scale(1.05);
}

/* Node Circle Icon */
.node-circle {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 3px solid #cbd5e1;
    /* Default Grey */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.lifecycle-node.active .node-circle {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(176, 141, 85, 0.2);
}

.lifecycle-node:hover .node-circle {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lifecycle-node.active:hover .node-circle {
    color: var(--white);
    /* Keep white on active hover */
}

/* Node Label */
.node-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

/* Detail Panel (The "Screen" Below) */
.lifecycle-detail-panel {
    background: var(--white);
    width: 100%;
    max-width: 800px;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lifecycle-detail-panel.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 2px solid #f8fafc;
    padding-bottom: 1.5rem;
}

.detail-icon-large {
    width: 70px;
    height: 70px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.detail-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.detail-body p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.detail-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

@media (max-width: 768px) {

    /* Fix Navigation Toggle Position */
    .nav-toggle {
        margin-left: auto;
        margin-right: 0;
        z-index: 1001;
        /* Ensure above everything */
        position: relative;
    }

    .navbar .logo {
        flex-grow: 1;
        max-width: 70%;
        /* Limit logo width */
    }

    /* Shrink Logo on Mobile */
    .navbar .logo img {
        height: 45px !important;
        /* Override inline styles */
        width: auto !important;
    }

    /* Lifecycle Mobile Optimization: Side-by-Side Split View */
    .lifecycle-wrapper {
        flex-direction: row;
        /* Horizontal Layout */
        align-items: flex-start;
        /* Align top */
        gap: 1rem;
        padding: 1rem 0;
    }

    /* Left Side: Navigation Strip */
    .lifecycle-track-container {
        width: 80px;
        /* Fixed width for icon strip */
        flex-shrink: 0;
        margin: 0;
        padding: 0;
    }

    /* Hide the horizontal line */
    .lifecycle-line {
        display: none;
    }

    .lifecycle-nodes {
        flex-direction: column;
        /* Stack icons vertically */
        gap: 1.5rem;
        width: 100%;
        align-items: center;
        /* Center icons in the strip */
    }

    .lifecycle-node {
        flex-direction: column;
        /* Just icon */
        width: 60px;
        height: 60px;
        padding: 0;
        background: transparent;
        border-radius: 50%;
        /* Circular touch target */
        box-shadow: none;
        border: none;
        justify-content: center;
        align-items: center;
    }

    .lifecycle-node.active .node-circle {
        transform: scale(1.1);
        border-color: var(--primary-color);
        background: var(--primary-color);
        color: var(--white);
        box-shadow: 0 4px 10px rgba(176, 141, 85, 0.4);
    }

    .node-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        flex-shrink: 0;
        margin: 0;
        /* Ensure circle itself handles the visual */
        background: var(--white);
        z-index: 2;
    }

    /* Hide text labels in the side-nav */
    .node-label {
        display: none;
    }

    /* Right Side: Detail Panel */
    .lifecycle-detail-panel {
        flex-grow: 1;
        /* Take remaining space */
        width: auto;
        /* Let flex handle it */
        margin-top: 0;
        padding: 1.25rem;
        min-height: 400px;
        /* Ensure height for reading */

        /* Mobile Sticky behavior for the panel? 
           If the list is long, we want the panel to stay visible.
           But the list is short (6 items = ~360px height). 
           So they fit side by side perfectly.
        */
    }

    .detail-header {
        flex-direction: column;
        /* Stack Title under Icon inside panel */
        align-items: flex-start;
        gap: 0.5rem;
        border-bottom: 1px solid #f1f5f9;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .detail-icon-large {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        display: none;
        /* Hide large icon since we have the nav icon highlighting on left? 
                        Actually keep it for context, but smaller. */
        display: flex;
    }

    .detail-header h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .detail-body p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .detail-list {
        grid-template-columns: 1fr;
        /* Single column list */
        gap: 0.5rem;
    }

    .detail-list li {
        font-size: 0.9rem;
    }
}

/* Navigation Padding Reduced */
.navbar {
    padding: 0.5rem 0;
}

/* Hero Image Adjustment - FINAL MOBILE FIX */
@media (max-width: 768px) {

    /* Force Full Screen Background & Fix Whitespace */
    .hero-bg-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        overflow: hidden;
    }

    .hero-art,
    .hero-real,
    .hero-layer {
        background-size: cover !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        width: 100vw !important;
        height: 100vh !important;
        position: absolute;
        top: 0;
        left: 0;
    }

    /* Venn Diagram Mobile Scaling */
    .venn-container {
        height: 400px;
        /* Reduced height */
        margin-top: 2rem;
    }

    .venn-circle {
        width: 160px;
        /* Smaller circles */
        height: 160px;
        font-size: 1.1rem;
    }

    /* Tighter active positions for mobile */
    .venn-container.active .circle-top {
        transform: translate(-50%, -70%);
    }

    .venn-container.active .circle-left {
        transform: translate(-75%, -20%);
    }

    .venn-container.active .circle-right {
        transform: translate(-25%, -20%);
    }
}

/* Shutter Animation - Horizontal Slide Overlay (V3) */

/* Manual Slider Styles */

.shutter-wrapper {
    position: relative;
    height: auto;
    /* No scroll track needed */
    padding-bottom: 2rem;
}

.shutter-stage {
    position: relative;
    /* Not sticky anymore */
    width: 100%;
    /* We need a fixed height for the stage to contain absolute slides */
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    background: transparent;
    border-radius: 12px;
    /* Make the container neat */
}

/* MCI Projects External Controls */
.slider-controls.external-controls {
    position: relative;
    margin-top: 2rem;
    display: flex;
    flex-direction: row-reverse;
    /* More on left, Previous on right */
    justify-content: flex-end;
    /* Align to right */
    gap: 1.5rem;
    z-index: 100;
    padding: 0 2rem;
}

.external-controls .slider-btn {
    background: var(--secondary-color);
    color: #ffffff;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    outline: none;
    min-width: 140px;
    justify-content: center;
}

.external-controls .slider-btn:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
}

.external-controls .slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Landmark Projects Slider Controls */
.landmark-slider .slider-controls {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.landmark-slider .slider-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--secondary-color);
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 0.75rem;
    font-size: 1.1rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landmark-slider .slider-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.shutter-top {
    position: absolute;
    /* Overlay Stack */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: #ffffff;
    /* Styles */
    padding: 3rem;
    padding-bottom: 6rem;
    /* Extra buffer for scroll */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
    /* Changed from flex to block to allow scroll */
    overflow-y: auto;
    /* Enable internal scrolling */
    overflow-x: hidden;
    /* display: flex; REMOVED to allow normal flow scroll */
    /* flex-direction: column; */
    /* justify-content: flex-start; */

    transform-origin: center center;
    /* transition: none !important; REMOVED to allow manual animation */
    will-change: transform;

    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.shutter-bottom {
    position: absolute;
    /* Overlay Stack */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    /* On top of Top */
    background: #f1f5f9;
    /* Slate 100 - Distinct Grey */
    /* Must be opaque to cover */
    /* Styles */
    padding: 3rem;
    padding-bottom: 6rem;
    /* Extra buffer */
    border-radius: 12px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    /* Shadow on Left edge */
    display: block;
    /* Allow scroll */
    overflow-y: auto;
    /* Enable internal scrolling */
    overflow-x: hidden;

    transform-origin: center center;
    /* transition: none !important; REMOVED to allow manual animation */
    will-change: transform;

    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    /* Initial state handled by JS, but default off-screen safe */
    transform: translate3d(-100%, 0, 0);
    /* Start Left */
}

.shutter-pipeline {
    position: absolute;
    /* Overlay Stack */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    /* On top of Bottom */
    background: #e2e8f0;
    /* Slate 200 - Deeper Grey for Contrast */
    /* Must be opaque to cover */
    /* Styles */
    padding: 3rem;
    padding-bottom: 6rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
    overflow-y: auto;
    overflow-x: hidden;

    transform-origin: center center;
    /* transition: none !important; REMOVED */
    will-change: transform;

    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;

    /* Initial state: Off-screen TOP */
    transform: translate3d(0, -100%, 0);
}

/* Profile Section Styles (Moved from executive-profile.html) */
.profile-image-placeholder {
    width: 100%;
    /* Compact aspect ratio (Square) */
    aspect-ratio: 1/1;
    background: #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 5rem;
    color: #fff;
}

.profile-sidebar {
    background: #0f172a;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 100px;
    /* Prevent sidebar from being too short */
    border: 1px solid #334155;
    color: #ffffff;
}

.key-stat {
    margin-bottom: 1.5rem;
}

.key-stat h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

.key-stat p {
    font-size: 1.1rem;
    color: #e2e8f0;
    /* Slate 200 - Softer White */
    font-weight: 500;
    /* Reduced weight slightly */
    text-shadow: none;
    /* Removed glow */
}

/* Services / Project Finance Capability Grid Fix */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    flex: 1 1 300px;
    /* Grow, Shrink, Basis */
    max-width: 350px;
    /* Prevent over-stretching */
    min-height: 220px;
    /* Uniform Height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.service-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- Responsive Fixes for Animation Slider --- */
.pipeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Desktop-specific: Ensure right alignment for MCI controls */
@media (min-width: 769px) {

    /* Make the wrapper align content to right */
    .shutter-wrapper {
        text-align: right;
    }

    /* Reset text-align for stage content */
    .shutter-stage,
    .shutter-top,
    .shutter-bottom,
    .shutter-pipeline {
        text-align: left;
    }

    .slider-controls.external-controls {
        position: relative;
        display: inline-flex !important;
        /* Change to inline-flex */
        justify-content: flex-end !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        text-align: left;
        /* Reset text align for button content */
    }
}

@media (max-width: 768px) {

    /* Stack pipeline cards on mobile */
    .pipeline-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Move buttons BELOW the Card Pane */
    /* Move buttons BELOW the Card Pane */
    .shutter-stage {
        /* Create space at bottom of stage for buttons */
        background: #f8fafc !important;
        /* Visible Track BG */
        border-radius: 12px;
        overflow: hidden;
        /* Ensure everything stays inside */
    }

    .shutter-top,
    .shutter-bottom,
    .shutter-pipeline {
        /* Make slides shorter so they don't cover the bottom area */
        height: calc(100% - 90px) !important;
        /* Shorten the card */
        top: 0 !important;
        bottom: auto !important;
        border-radius: 12px 12px 0 0 !important;
        /* Rounded top only */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }

    .slider-controls {
        position: absolute !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        transform: none !important;

        display: flex !important;
        flex-direction: row !important;
        /* Ensure side-by-side */
        justify-content: space-between !important;
        align-items: center !important;
        gap: 1rem !important;

        padding: 1rem 1.5rem !important;
        background: #f8fafc !important;
        /* Solid BG */
        border-top: 1px solid #e2e8f0 !important;
        margin: 0 !important;
        z-index: 999 !important;
        /* Force on top */
    }

    .slider-btn {
        flex: 1;
        background: #ffffff !important;
        /* Solid White */
        color: var(--secondary-color) !important;
        border: 1px solid #e2e8f0 !important;
        /* Light Grey Border */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
        /* Soft Shadow */
        backdrop-filter: none !important;
        border-radius: 8px !important;
        /* More square/button like */
        padding: 1rem;
    }

    /* Prev Button Logic for Mobile (if different) */
    .slider-btn.prev-btn {
        background: #ffffff !important;
        color: var(--secondary-color) !important;
        border: 1px solid #e2e8f0 !important;
    }

    /* Reduce internal padding since buttons are now outside/below */
    .shutter-top,
    .shutter-bottom,
    .shutter-pipeline {
        padding-bottom: 2rem !important;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Adjust grid for Focus Area on mobile */
    .focus-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    .focus-grid {
        grid-template-columns: 1fr !important;
        /* 1 col on very small screens */
    }
}