:root {
    --background: #FAF7FA;
    --primary-heading: #4A1443;
    --subheading: #6D2A63;
    --body-text: #413A43;
    --accent: #C5A15C;
    --white: #ffffff;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-strong: rgba(255, 255, 255, 1);
    --muted: rgba(65, 58, 67, 0.75);
    --shadow: rgba(80, 21, 73, 0.05);
    --gold-accent: #C8A86B;
    
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

    --apple-easing: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-speed: 0.4s;
    --theme-transition: background var(--transition-speed) var(--apple-easing), 
                        color var(--transition-speed) var(--apple-easing),
                        border-color var(--transition-speed) var(--apple-easing),
                        box-shadow var(--transition-speed) var(--apple-easing),
                        filter var(--transition-speed) var(--apple-easing);
}

[data-theme="dark"] {
    --background: #120511;
    --primary-heading: #F5EEF4;
    --subheading: #DCAED4;
    --body-text: #D8D2D8;
    --white: #1C0B1B;
    --surface: rgba(28, 11, 27, 0.94);
    --surface-strong: rgba(42, 14, 40, 1);
    --shadow: rgba(0, 0, 0, 0.4);
    --muted: rgba(216, 210, 216, 0.65);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }

body {
    margin: 0; min-height: 100vh; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.01em;
    color: var(--body-text); background: linear-gradient(180deg, var(--background) 0%, #f8f3f7 100%);
    overflow-x: hidden; transition: var(--theme-transition);
}

[data-theme="dark"] body { background: linear-gradient(180deg, var(--background) 0%, #0d040c 100%); }
button, a { font-family: var(--font-body); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


.scroll-progress { position: fixed; top: 0; left: 0; width: 0; height: 4px; background: linear-gradient(90deg, #100612, var(--primary-heading), #9c2787, var(--gold-accent)); z-index: 1000; }
.page-loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--background); color: var(--primary-heading); transition: opacity 0.5s var(--apple-easing), visibility 0.5s var(--apple-easing); }
.page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-brand { text-align: center; }
.loader-brand span { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; letter-spacing: 0.3em; display: block; }
.loader-line { width: 120px; height: 2px; margin: 18px auto 16px; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: lineDraw 1.4s var(--apple-easing) forwards; }
.loader-brand p { margin: 0; color: var(--muted); letter-spacing: 0.16em; }


.site-header {
   position: sticky; top: 0; left: 0; right: 0; z-index: 40; width: 100%;
    height: 64px; /* Gives just a tiny bit more breathing room */
    display: flex;
    align-items: center; /* Ensures perfect vertical centering */
    background: rgba(255, 255, 255, 0.70) !important;
    backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(122, 46, 110, 0.08);
    box-shadow: 0 4px 20px rgba(80, 21, 73, 0.03);
    transition: box-shadow 0.3s var(--apple-easing), var(--theme-transition);
}


[data-theme="dark"] 
.site-header { background: rgba(18, 5, 17, 0.65) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.site-header.scrolled { box-shadow: 0 10px 30px var(--shadow); }
.header-inner { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; height: 100%; }

.brand-logo-text { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(135deg, #0c2340 0%, #1d4ed8 30%, #a21caf 70%, #db2777 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; display: block; }
.logo-text-link { text-decoration: none; display: flex; align-items: center; }
.nav-links { display: flex; gap: 28px; align-items: center; margin-left: auto; margin-right: 28px; }
.nav-links a { color: var(--body-text); text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; padding: 6px 0; transition: color 0.2s ease; position: relative; }
[data-theme="dark"] .nav-links a { color: #fafafc; }

.nav-links a.has-dropdown::after { content: ''; display: inline-block; width: 0; height: 0; margin-left: 5px; vertical-align: middle; border-top: 4px solid currentColor; border-right: 4px solid transparent; border-left: 4px solid transparent; opacity: 0.7; }
.nav-links a::before { content: ''; position: absolute; left: 50%; bottom: -4px; width: 0; height: 2px; background: var(--gold-accent); border-radius: 999px; transform: translateX(-50%); transition: width 0.35s var(--apple-easing); }
.nav-links a:hover { color: var(--subheading); }
.nav-links a:hover::before, .nav-links a:focus-visible::before { width: 100%; }

.header-utilities { display: flex; align-items: center; gap: 18px; color: #1d1d1f; }
[data-theme="dark"] .header-utilities { color: #fafafc; }
.lang-selector { font-size: 0.8rem; font-weight: 700; cursor: pointer; letter-spacing: 0.04em; }

.utility-icon-btn { background: transparent; border: none; padding: 6px; cursor: pointer; color: inherit; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: transform 0.2s ease, background-color 0.2s ease; }
.utility-icon-btn:hover { transform: scale(1.05); background-color: rgba(122, 46, 110, 0.06); }
[data-theme="dark"] .utility-icon-btn:hover { background-color: rgba(255, 255, 255, 0.06); }
.nav-toggle { display: none; border: none; background: transparent; cursor: pointer; padding: 6px; color: inherit; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; border-radius: 1px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Accessibility Dropdown */
.accessibility-dropdown-wrapper { display: none !important; }
#searchBtn { display: none !important; }
.accessibility-dropdown-wrapper:hover .accessibility-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.accessibility-menu { position: absolute; top: calc(100% + 15px); right: -10px; background: rgba(255, 255, 255, 0.8) !important; backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(122, 46, 110, 0.08); border-radius: 12px; box-shadow: 0 12px 30px var(--shadow); padding: 18px; min-width: 220px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s var(--apple-easing); z-index: 100; }
[data-theme="dark"] .accessibility-menu { border-color: rgba(255, 255, 255, 0.06); background: rgba(18, 5, 17, 0.8) !important; }
.accessibility-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.acc-menu-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 600; color: var(--body-text); letter-spacing: 0.02em; }
.acc-menu-item:last-child { margin-bottom: 0; }

/* Toggle Switch */
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(122, 46, 110, 0.2); transition: .4s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
input:checked + .slider { background-color: var(--subheading); }
input:checked + .slider:before { transform: translateX(20px); }
[data-theme="dark"] .slider { background-color: rgba(255, 255, 255, 0.2); }
[data-theme="dark"] input:checked + .slider { background-color: var(--accent); }

/* Dyslexia Font Override */
body.dyslexia-font-enabled * { font-family: 'Comic Sans MS', 'OpenDyslexic', sans-serif !important; letter-spacing: 0.02em !important; word-spacing: 0.05em !important; }

/* Search Bar Container */
.search-bar-container { position: fixed; top: 64px; left: 0; right: 0; background: var(--surface-strong); border-bottom: 1px solid rgba(122, 46, 110, 0.1); padding: 16px 24px; z-index: 39; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: all 0.4s var(--apple-easing); box-shadow: 0 10px 30px var(--shadow); }
[data-theme="dark"] .search-bar-container { border-bottom-color: rgba(255, 255, 255, 0.08); }
.search-bar-container.open { transform: translateY(0); opacity: 1; visibility: visible; }
.search-bar-inner { max-width: 800px; margin: 0 auto; display: flex; align-items: center; gap: 12px; position: relative; }
.search-bar-inner input { flex: 1; border: none; background: transparent; font-size: 1.2rem; font-family: var(--font-body); color: var(--body-text); padding: 12px 16px; outline: none; }
.search-bar-inner input::placeholder { color: var(--muted); }
.search-bar-inner button { background: transparent; border: none; color: var(--body-text); cursor: pointer; padding: 8px; display: inline-flex; align-items: center; justify-content: center; }
#searchClose { font-size: 1.5rem; }

.search-results-container { max-width: 800px; margin: 0 auto; display: none; flex-direction: column; gap: 8px; max-height: 400px; overflow-y: auto; padding-top: 16px; }
.search-results-container.active { display: flex; }
.search-result-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 8px; text-decoration: none; color: var(--body-text); background: rgba(122, 46, 110, 0.03); transition: background 0.2s; }
[data-theme="dark"] .search-result-item { background: rgba(255, 255, 255, 0.03); }
.search-result-item:hover { background: rgba(122, 46, 110, 0.08); }
[data-theme="dark"] .search-result-item:hover { background: rgba(255, 255, 255, 0.08); }
.search-result-type { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.search-result-text { font-size: 0.95rem; line-height: 1.4; }
.search-result-none { padding: 16px; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* Responsive tweaks for search */
@media (max-width: 768px) {
    .search-bar-inner input { font-size: 1rem; }
    .search-bar-container { top: 64px; padding: 12px 16px; }
}


.hero-section { position: relative; min-height: calc(100vh - 34px); display: flex; align-items: center; padding: 60px 24px; overflow: hidden; }

.hero-content { position: relative; max-width: 840px; margin: 0 auto; z-index: 2; text-align: center; will-change: transform, opacity; }
.eyebrow { margin: 0 0 16px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; }
.hero-section h1 { margin: 0 0 24px; font-family: var(--font-heading); font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: #ffffff; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4); }
.hero-copy { margin: 0 auto 40px; max-width: 680px; color: rgba(255, 255, 255, 0.85); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.8; font-weight: 400; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }
.hero-actions { display: flex; justify-content: center; gap: 16px; }
.hero-actions .button.primary { background-color: var(--accent); color: #120511; box-shadow: 0 6px 20px rgba(197, 161, 92, 0.25); }
.hero-actions .button.primary:hover { background-color: var(--gold-accent); box-shadow: 0 10px 24px rgba(197, 161, 92, 0.4); }

.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; transition: transform 0.25s var(--apple-easing), box-shadow 0.25s var(--apple-easing), background-color 0.25s ease; border: none; }
.button.primary { background-color: var(--primary-heading); color: var(--white); box-shadow: 0 6px 20px rgba(80, 21, 73, 0.15); }
.button.secondary { background-color: var(--surface); color: var(--primary-heading); border: 1px solid rgba(122, 46, 110, 0.15); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(80, 21, 73, 0.22); }
[data-theme="dark"] .button.secondary { border-color: rgba(255, 255, 255, 0.1); }

.scroll-animated-section {
    /* The JS will set --scroll-parallax. We combine it with the initial reveal transform. */
    transform: translateY(30px) scale(0.98);
    will-change: transform; /* Performance hint for the browser */
}

.section-split, .cards-section, .ecosystem-section, .showcase-section, .join-section, .interactive-business-section, .values-section, .growth-strategy-section, .csr-section { 
    padding: clamp(60px, 8vw, 110px) 24px; max-width: 1200px; margin: 0 auto; 
    opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(5px); 
    transition: opacity 0.7s ease-out, 
                transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), 
                filter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.revealed { opacity: 1 !important; transform: translateY(var(--scroll-parallax, 0px)) scale(1) !important; filter: blur(0) !important; }
/* For sections that are not parallax-animated but still need to reveal */
.revealed:not(.scroll-animated-section) { transform: translateY(0) scale(1) !important; }
/* This also applies to the genesis section's vision-mission grid */
.section-split, .vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }


.split-image { display: grid; place-items: center; }

.globe-illustration { position: relative; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(197, 161, 92, 0.1), transparent 30%), linear-gradient(135deg, var(--white), rgba(246, 239, 245, 0.5)); box-shadow: 0 20px 60px var(--shadow); }
.globe-ring, .globe-core, .globe-line { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.globe-ring { width: 280px; height: 280px; border: 1px solid rgba(122, 46, 110, 0.15); border-radius: 50%; animation: rotateSlow 30s linear infinite; }
.globe-core { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); }
.globe-line { width: 220px; height: 1.5px; background: rgba(122, 46, 110, 0.15); transform: translate(-50%, -50%) rotate(45deg); }
.split-copy h2, .cards-section h2, .ecosystem-section h2, .showcase-section h2, .join-section h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--primary-heading); margin: 0 0 20px; }
.split-copy p, .cards-section p, .ecosystem-section p, .showcase-section p, .join-section p { font-family: var(--font-body); color: var(--body-text); line-height: 1.8; }


.values-section { padding: clamp(60px, 8vw, 110px) 24px; max-width: 1200px; margin: 0 auto; }
.values-header { text-align: center; margin-bottom: 60px; }
.values-intro { font-size: 1.05rem; line-height: 1.8; color: var(--muted); max-width: 700px; margin: 20px auto 0; font-weight: 400; }

.values-grid { 
    display: flex; /* Changed to flexbox for better centering of wrapped items */
    flex-wrap: wrap; /* Allow cards to wrap to the next line */
    justify-content: center; /* Center cards horizontally when they wrap */
    gap: 28px; 
    margin-top: 50px; 
}
.value-card {
    background-color: transparent;
    min-height: 280px;
    /* perspective: 1000px; */ /* No longer needed for flip */
    border: none;
    cursor: pointer;
    /* Initial state for reveal animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--apple-easing), transform 0.6s var(--apple-easing), flex 0.3s ease;
    flex: 1 1 300px; /* Allows cards to grow/shrink, with a base of 300px */
    /* Let flexbox decide column count, but prevent cards from getting too wide */
    max-width: 380px;
}

/* Staggered animation when the section is revealed */
.values-section.revealed .value-card { opacity: 1; transform: translateY(0); }
.values-section.revealed .value-card:nth-child(1) { transition-delay: 0.1s; }
.values-section.revealed .value-card:nth-child(2) { transition-delay: 0.2s; }
.values-section.revealed .value-card:nth-child(3) { transition-delay: 0.3s; }
.values-section.revealed .value-card:nth-child(4) { transition-delay: 0.4s; }
.values-section.revealed .value-card:nth-child(5) { transition-delay: 0.5s; }

.value-card-inner {
    box-shadow: none;
    padding: 0;
}
.value-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: box-shadow 0.7s var(--apple-easing);
    /* transform-style: preserve-3d; */ /* No longer needed for flip */
    box-shadow: 0 8px 24px var(--shadow);
    border-radius: 16px;
}
.value-card:hover .value-card-inner, .value-card:focus-within .value-card-inner {
    /* transform: rotateY(180deg); */ /* Removed flip */
    box-shadow: 0 16px 40px rgba(80, 21, 73, 0.15);
}
.value-card-front, .value-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    /* -webkit-backface-visibility: hidden; backface-visibility: hidden; */ /* No longer needed */
    border-radius: 16px;
    background: var(--surface-strong);
    border: 1px solid rgba(122, 46, 110, 0.08) !important;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Smoother, longer transition for the glass effect */
    transition: background 0.6s var(--apple-easing), backdrop-filter 0.6s var(--apple-easing), border-color 0.6s ease;
}
[data-theme="dark"] .value-card-front, [data-theme="dark"] .value-card-back { border-color: rgba(255, 255, 255, 0.05) !important; }

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(197, 161, 92, 0.1);
    color: var(--accent);
    margin-bottom: 20px;
    transition: transform 0.4s var(--apple-easing), background 0.4s var(--apple-easing), opacity 0.4s ease 0.1s;
}
.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(197, 161, 92, 0.2);
    opacity: 0;
}
.value-icon svg {
    width: 28px;
    height: 28px;
}
.value-card h3 { margin: 0 0 12px; color: var(--primary-heading); font-size: 1.25rem; transition: opacity 0.4s ease 0.1s; font-weight: 600; } /* Added slight delay to fade out */
.value-card p { margin: 0; color: var(--body-text); line-height: 1.65; font-size: 0.95rem; }
.value-card-back {
    /* transform: rotateY(180deg); */ /* Removed flip */
    opacity: 0; /* Hide back content initially */
    background: transparent; /* Back is transparent, front handles the glass effect */
    /* Delayed fade-in for smoother effect */
    transition: opacity 0.5s ease 0.2s;
}

.value-card:hover .value-card-front, .value-card:focus-within .value-card-front {
    /* Increased glassmorphism effect: more blur, more transparency */
    background: rgba(250, 247, 250, 0.6);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.5) !important;
}
[data-theme="dark"] .value-card:hover .value-card-front, [data-theme="dark"] .value-card:focus-within .value-card-front {
    /* Increased glassmorphism effect for dark mode */
    background: rgba(28, 11, 27, 0.5);
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.value-card:hover .value-card-front h3, .value-card:focus-within .value-card-front h3 {
    opacity: 0;
}
.value-card:hover .value-card-back, .value-card:focus-within .value-card-back {
    opacity: 1;
}

.vubo-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.feature-item { display: flex; gap: 16px; padding: 16px; background: rgba(197, 161, 92, 0.04); border-radius: 12px; border: 1px solid rgba(197, 161, 92, 0.08); transition: all 0.3s var(--apple-easing); }
.feature-item:hover { background: rgba(197, 161, 92, 0.08); transform: translateX(4px); }
.feature-icon { font-size: 1.8rem; flex-shrink: 0; }
.feature-item h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--primary-heading); }
.feature-item p { margin: 0; font-size: 0.85rem; color: var(--body-text); }



.growth-strategy-section { padding: clamp(60px, 8vw, 110px) 24px; max-width: 1200px; margin: 0 auto; background: linear-gradient(135deg, rgba(162, 28, 175, 0.04), transparent); border-radius: 20px; }
.section-intro { font-size: 1.05rem; line-height: 1.8; color: var(--muted); max-width: 800px; margin: 16px 0 40px; font-weight: 400; }

.strategy-grid { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px; 
    margin-bottom: 48px; 
}
.strategy-card {
    --translateX: -40px;
    --translateY: 0px;
    padding: 36px 32px; border-radius: 20px; 
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(122, 46, 110, 0.06); 
    box-shadow: 0 8px 30px var(--shadow);
    position: relative;
    opacity: 0;
    flex: 1 1 320px;
    max-width: 400px;
    transform: translateX(var(--translateX)) translateY(var(--translateY));
    transition: opacity 0.6s var(--apple-easing), transform 0.6s var(--apple-easing), box-shadow 0.4s var(--apple-easing), background 0.4s var(--apple-easing), border-color 0.4s var(--apple-easing);
}
[data-theme="dark"] .strategy-card { 
    background: rgba(28, 11, 27, 0.35);
    border-color: rgba(255, 255, 255, 0.05); 
}

.growth-strategy-section.revealed .strategy-card {
    opacity: 1;
    --translateX: 0px;
}
.growth-strategy-section.revealed .strategy-card:nth-child(1) { transition-delay: 0.1s; }
.growth-strategy-section.revealed .strategy-card:nth-child(2) { transition-delay: 0.2s; }
.growth-strategy-section.revealed .strategy-card:nth-child(3) { transition-delay: 0.3s; }
.growth-strategy-section.revealed .strategy-card:nth-child(4) { transition-delay: 0.4s; }
.growth-strategy-section.revealed .strategy-card:nth-child(5) { transition-delay: 0.5s; }

.strategy-number { position: absolute; top: 20px; right: 24px; font-size: 2.4rem; font-weight: 800; color: var(--accent); opacity: 0.2; }
.strategy-card h3 { margin: 0 0 12px; color: var(--primary-heading); font-size: 1.2rem; font-weight: 600; }
.strategy-card p { margin: 0; color: var(--body-text); font-size: 0.95rem; line-height: 1.65; }
.strategy-card:hover { 
    --translateY: -8px; 
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(122, 46, 110, 0.15);
    box-shadow: 0 20px 40px rgba(80, 21, 73, 0.08); 
}
[data-theme="dark"] .strategy-card:hover {
    background: rgba(28, 11, 27, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.strategy-philosophy { padding: 32px 28px; border-radius: 12px; background: linear-gradient(135deg, var(--subheading), var(--primary-heading)); color: white; text-align: center; margin-top: 40px; }
.strategy-philosophy p { margin: 0; font-size: 1.1rem; font-weight: 600; line-height: 1.6; }
.strategy-philosophy strong { color: var(--accent); }


.csr-section { padding: clamp(60px, 8vw, 110px) 24px; max-width: 1200px; margin: 0 auto; }
.csr-content { text-align: center; margin-bottom: 50px; }
.csr-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 40px; }
.pillar { padding: 32px 28px; border-radius: 16px; background: var(--surface-strong); border: 1px solid rgba(122, 46, 110, 0.08); box-shadow: 0 8px 24px var(--shadow); transition: all 0.4s var(--apple-easing); text-align: left; }
[data-theme="dark"] .pillar { border-color: rgba(255, 255, 255, 0.05); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(80, 21, 73, 0.15); }
.pillar h3 { margin: 0 0 12px; color: var(--primary-heading); font-size: 1.1rem; }
.pillar p { margin: 0; color: var(--body-text); font-size: 0.95rem; line-height: 1.65; }

.floating-media-section { padding: 60px 24px 100px; max-width: 1280px; margin: 0 auto; overflow: hidden; opacity: 0; transform: translateY(40px); transition: all 0.8s var(--apple-easing); }
.floating-media-section.revealed { opacity: 1; transform: translateY(0); }
.media-container { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }

.floating-card { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px var(--shadow); border: 1px solid rgba(122, 46, 110, 0.1); background: var(--surface-strong); animation: floatUpDown 6s ease-in-out infinite; transition: transform 0.4s var(--apple-easing), box-shadow 0.4s var(--apple-easing); }
[data-theme="dark"] .floating-card { border-color: rgba(255, 255, 255, 0.05); }
.floating-card:hover { animation-play-state: paused; transform: scale(1.03) translateY(-10px); box-shadow: 0 30px 60px rgba(80, 21, 73, 0.2); }
.floating-card video, .floating-card img { display: block; width: 100%; height: 100%; object-fit: cover; }

.card-1 { max-width: 280px; height: 400px; animation-delay: 0s; }
.card-2 { max-width: 450px; height: 320px; animation-delay: 1.5s; }
.card-3 { max-width: 380px; height: 360px; animation-delay: 3s; }

/* ==========================================================================
   6. INTERACTIVE BUSINESS CAROUSEL & DYNAMIC BACKGROUNDS
   ========================================================================== */
.interactive-business-section { position: relative; width: 100vw; margin-left: calc(-50vw + 50%); min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: transparent; max-width: none; border-radius: 0; }
.sector-bg { 
    position: absolute; 
    inset: 0; 
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transform: scale(1.1); /* Start more zoomed-in for a subtle Ken Burns effect */
    /* Use a smoother ease-in-out for the crossfade and a longer duration */
    transition: opacity 1.5s ease-in-out, transform 10s ease-in-out; 
    z-index: 1; 
}
.sector-bg.active { opacity: 0.3; transform: scale(1); /* Zoom out to normal scale when active */ }
.bg-gradient-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0.1) 100%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
[data-theme="dark"] .bg-gradient-overlay { background: linear-gradient(to right, rgba(18, 5, 17, 0.9) 0%, rgba(18, 5, 17, 0.6) 45%, rgba(18, 5, 17, 0.1) 100%); }

.interactive-business-inner { position: relative; z-index: 3; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; gap: 60px; }
.business-text-content { flex: 1; max-width: 550px; color: var(--body-text); }
.business-text-content .eyebrow { 
    color: #C5A15C;
    font-size: 1rem;
    letter-spacing: 0.2em;
    padding-bottom: 8px;
}
.business-text-content h2 { 
    background: linear-gradient(135deg, var(--accent), var(--subheading));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; text-fill-color: transparent;
    margin-bottom: 30px; font-family: var(--font-heading); 
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    text-shadow: 0 2px 20px rgba(80, 21, 73, 0.1);
}

.active-sector-details { transition: opacity 0.4s ease, transform 0.4s ease; }
.active-sector-details.fade-out { opacity: 0; transform: translateY(10px); }
.active-sector-details.fade-in { opacity: 1; transform: translateY(0); }
.active-sector-details h3 { font-family: var(--font-heading); font-size: 1.8rem; margin: 0 0 16px; color: var(--primary-heading); font-weight: 600; }
.active-sector-details p { font-size: 1.05rem; line-height: 1.7; color: var(--body-text); margin-bottom: 32px; }

.glass-know-more { background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(122, 46, 110, 0.15); color: var(--primary-heading); padding: 14px 28px; border-radius: 40px; font-size: 0.95rem; font-weight: 600; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; box-shadow: 0 8px 32px var(--shadow); transition: all 0.3s var(--apple-easing); }
.glass-know-more:hover { background: var(--surface-strong); border-color: var(--accent); transform: translateY(-3px); }

.glass-arrow-btn { background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(122, 46, 110, 0.15); color: var(--primary-heading); width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px var(--shadow); transition: all 0.3s var(--apple-easing); }
.glass-arrow-btn:hover { background: var(--surface-strong); border-color: var(--accent); transform: translateY(-2px); }

.business-carousel-wrapper { flex: 1.2; position: relative; perspective: 1000px; padding-bottom: 20px; display: flex; flex-direction: column; align-items: center; }
.business-carousel { position: relative; height: 480px; width: 340px; transform-style: preserve-3d; }

.biz-card { 
    position: absolute; top: 0; left: 0; width: 100%; height: auto; 
    border-radius: 20px; overflow: hidden; cursor: pointer; 
    border: 2px solid transparent; box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    transform-origin: center center; 
    /* Initial state for fan-out animation */
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: transform 0.8s var(--apple-easing), opacity 0.6s var(--apple-easing), box-shadow 0.7s ease-in-out, border-color 0.7s ease-in-out;
}
.biz-card img { 
    width: 100%; 
    height: auto; 
    display: block;
    object-fit: contain;
    transition: transform 0.8s ease; 
}
.biz-card:hover img { transform: scale(1.05); }
.biz-card.active { border-color: var(--gold-accent); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.biz-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%); display: flex; align-items: flex-end; padding: 24px; padding-bottom: 80px; }
.biz-card-overlay h4 { margin: 0; color: #ffffff; font-family: var(--font-heading); font-size: 1.15rem; }

/* Legacy Static Cards hidden but styled for backward compatibility */
.sector-cards { display: none; } 

/* Ecosystem Graph Map Rules */
.ecosystem-graphic { position: relative; max-width: 800px; margin: 40px auto; min-height: 360px; }
.ecosystem-graphic .node, .ecosystem-graphic .sub-node { position: absolute; padding: 16px 24px; border-radius: 8px; background: var(--surface-strong); border: 1px solid rgba(122, 46, 110, 0.12); font-weight: 700; box-shadow: 0 8px 24px var(--shadow); }
.ecosystem-graphic .core { top: 40%; left: 40%; width: 160px; text-align: center; background: rgba(122, 46, 110, 0.05); color: var(--primary-heading); }
.ecosystem-graphic .tech { top: 10%; left: 15%; }
.ecosystem-graphic .energy { top: 10%; right: 15%; }
.ecosystem-graphic .rnd { bottom: 15%; left: 15%; }
.ecosystem-graphic .sub-node { bottom: 12%; right: 15%; width: 120px; text-align: center; }
.line { position: absolute; background: linear-gradient(180deg, transparent, var(--accent), transparent); opacity: 0.8; }
.tech-line { top: 18%; left: 24%; width: 2px; height: 24%; }
.energy-line { top: 18%; right: 24%; width: 2px; height: 24%; }
.rnd-line { bottom: 22%; left: 24%; width: 2px; height: 22%; }

/* ==========================================================================
   7. METRICS DISPLAY ENGINE & GEOMETRY SCALING Physics
   ========================================================================== */
.showcase-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.showcase-visual { display: grid; place-items: center; perspective: 1200px; }
.device-shell { width: 280px; height: 560px; border-radius: 36px; background: #110410; border: 10px solid #290d25; box-shadow: 0 30px 70px rgba(80, 21, 73, 0.2); transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-10deg); transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.2, 1); will-change: transform; }
.screen-feed { position: absolute; inset: 12px; background: linear-gradient(180deg, #ffffff, #f7f3f6); border-radius: 24px; }
.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.metrics-grid div { padding: 24px; background: var(--surface); border: 1px solid rgba(122, 46, 110, 0.06); border-radius: 12px; box-shadow: 0 6px 20px var(--shadow); }
.metric-number { display: block; font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--primary-heading); margin-bottom: 2px; }

/* ==========================================================================
   8. SECTOR DETAILS DISPLAY DIALOG MODULE (MODAL)
   ========================================================================== */
.sector-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* Remove padding for full-screen effect */
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.4s, opacity 0.4s var(--apple-easing);
}

.sector-modal.open {
    opacity: 1;
    visibility: visible;
}

.sector-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 5, 17, 0.45);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    transition: opacity 0.4s var(--apple-easing);
}

.sector-modal.open .sector-modal-overlay {
    opacity: 1;
}

.sector-modal-panel {
    position: relative;
    background: rgba(250, 247, 250, 0.7);
    width: 100%;
    max-width: 1100px;
    height: calc(100% - 80px);
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden; /* Hide overflowing content */
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s var(--apple-easing), opacity 0.4s var(--apple-easing);
    opacity: 0;
}

.sector-modal.open .sector-modal-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

[data-theme="dark"] .sector-modal-panel {
    background: rgba(28, 11, 27, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

.sector-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 15;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-heading);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    transition: background 0.2s, transform 0.2s;
}

.sector-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

[data-theme="dark"] .sector-modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.sector-modal-content-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-hero {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    color: white;
    transition: filter 0.3s ease-in-out;
}

.modal-hero-banner {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    animation: fadeIn 0.3s ease-in-out;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.20), rgba(10,10,10,0.55), rgba(10,10,10,0.82));
    animation: fadeIn 0.3s ease-in-out;
}

.hero-banner-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    animation: slideUp 0.3s ease-in-out;
}

.hero-banner-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-banner-content .tagline {
    font-size: 1.2rem;
    margin-top: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-in-out;
}

@media (max-width: 1024px) {
    .modal-hero-banner {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .modal-hero-banner {
        height: 200px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sector-modal-panel:hover .modal-hero {
    filter: brightness(1.1);
}

.modal-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

.hero-banner-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 8px;
    color: #fff;
}

.modal-body-content {
    padding: clamp(30px, 5vw, 50px);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.modal-section h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-heading);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(122, 46, 110, 0.15);
}

[data-theme="dark"] .modal-section h4 {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.modal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
    color: var(--body-text);
}

.modal-section.focus-areas ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.modal-section.focus-areas li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px;
    background: rgba(122, 46, 110, 0.03);
    border-radius: 8px;
}

[data-theme="dark"] .modal-section.focus-areas li {
    background: rgba(255, 255, 255, 0.03);
}

.focus-icon {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-outro {
    font-style: italic;
    color: var(--muted);
    border-left: 3px solid var(--accent);
    padding: 8px 16px;
    margin-top: 16px;
    background: rgba(122, 46, 110, 0.02);
    border-radius: 0 8px 8px 0;
}

[data-theme="dark"] .modal-outro {
    background: rgba(255, 255, 255, 0.02);
}

.modal-outro p {
    margin: 0;
}
.modal-outro strong {
    font-weight: 600;
    color: var(--subheading);
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .sector-modal-panel {
        height: 100%;
        max-height: 100vh;
        width: 100%;
        max-width: 100vw;
        border-radius: 0;
    }
    .modal-hero {
        min-height: 200px;
        padding: 24px;
    }
    .modal-body-content {
        padding: 24px;
    }
}


/* ==========================================================================
   8b. PREMIUM ENERGY SECTOR MODAL REDESIGN
   ========================================================================== */
.sector-modal.energy-theme .sector-modal-panel {
    max-width: 1180px;
    background: rgba(250, 247, 250, 0.75);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
[data-theme="dark"] .sector-modal.energy-theme .sector-modal-panel {
    background: rgba(28, 11, 27, 0.65);
    border-color: rgba(255, 255, 255, 0.1);
}
.sector-modal.energy-theme .sector-modal-content { gap: 0; }
.sector-modal.energy-theme .sector-modal-image {
    padding: 0;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    background: transparent; /* Let the showcase component handle its own background */
    min-height: 600px; /* Ensure enough height for the showcase */
}
.energy-image-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
    border-radius: 20px 0 0 20px;
    transform: translateZ(0); /* Promotes to GPU layer for smooth animations */
    box-shadow: 0 0 40px rgba(46, 133, 64, 0.15); /* Subtle green-tinted glow */
    background: #000; /* Fallback for image loading */
}
/* Depth effect on hover for the entire showcase */
.energy-image-showcase:hover {
    transform: scale(1.02);
    transition: transform 0.4s var(--apple-easing);
}
.showcase-image-wrapper {
    position: absolute; inset: 0;
    z-index: 1;
}
.showcase-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.0); /* Start at normal scale for zoom-in effect */
    filter: blur(10px); /* Start blurred when inactive */
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1), 
                filter 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform, filter;
}
.showcase-image.active {
    opacity: 1;
    filter: blur(0px); /* Clear when active */
    /* Animation duration should match the JS interval for a seamless loop */
    animation: kenBurns 7s linear forwards;
}
.showcase-overlay {
    position: absolute;
    inset: 0;
    /* Subtle vignette and readability gradient */
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.4)),
                linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%), /* Stronger bottom gradient */
                linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 40%); /* Stronger side gradient */
    z-index: 2;
}
.showcase-grain {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    pointer-events: none;
    z-index: 3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: grain 1s steps(2, end) infinite; /* Subtle animated noise */
}
.showcase-stats-overlay {
    position: absolute;
    bottom: clamp(20px, 4vw, 40px);
    left: clamp(20px, 4vw, 40px);
    right: clamp(20px, 4vw, 40px);
    z-index: 4;
    display: flex;
    gap: 16px;
    color: white;
    pointer-events: none; /* Allow hover on image behind */
}
.showcase-stat-card {
    flex: 1;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s var(--apple-easing) 0.5s forwards;
    opacity: 0;
}
.showcase-stat-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 4px;
}
.showcase-stat-card p {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 500;
    opacity: 0.8;
    margin: 0;
}
.sector-modal.energy-theme .sector-modal-text {
    padding: clamp(30px, 5vw, 60px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sector-modal.energy-theme .sector-modal-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}
.energy-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--subheading);
    font-weight: 500;
    margin: 0 !important;
}
.sector-modal.energy-theme .sector-modal-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}
.investment-focus {
    margin: 16px 0;
}
.investment-focus h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-heading);
    margin: 0 0 16px; /* Added margin for spacing */
}
.investment-focus ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.investment-focus li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}
.investment-focus li svg {
    width: 20px; /* Slightly larger icon */
    height: 20px;
    flex-shrink: 0;
    color: var(--accent); /* Use accent color for consistency */
}
[data-theme="dark"] .investment-focus li svg {
    color: var(--gold-accent); /* Dark mode accent */
}
.energy-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 16px 0;
}
.stat-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 20px;
    text-align: center; /* Centered text for stats */
    transition: all 0.3s var(--apple-easing);
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .stat-card {
    background: rgba(40, 20, 38, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(80, 21, 73, 0.1); /* Subtle shadow on hover */
    border-color: rgba(46, 133, 64, 0.4);
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(46, 133, 64, 0.7), transparent); /* Green accent line */
    opacity: 0;
    transform: scaleX(0.5);
    transition: all 0.4s var(--apple-easing);
}
.stat-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}
.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700; /* Stronger font for values */
    color: var(--primary-heading);
    line-height: 1.1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--muted); /* Muted color for labels */
    font-weight: 500;
}
/* The energy-outro class is now modal-outro */
.energy-outro { margin-top: 16px !important; }

/* ==========================================================================
   5a. THE AUREON GENESIS - CINEMATIC "ABOUT US" EXPERIENCE
   ========================================================================== */
.genesis-section { background: var(--background); transition: var(--theme-transition); }

/* Scene 1: Overture */
.genesis-scene.overture {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10vh 24px;
    position: relative;
    gap: clamp(60px, 10vh, 120px);
}
.genesis-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--primary-heading);
    max-width: 15ch;
}
.genesis-heading .highlight-gradient {
    background: linear-gradient(135deg, var(--subheading), var(--gold-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

/* Scene 2: Vision & Mission */
.genesis-scene.vision-mission {
    padding: clamp(60px, 10vh, 120px) 24px;
}

.vision-mission-grid {
    gap: clamp(40px, 8vw, 120px);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.vision-mission-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}
/* The fadeInUp animation for .vision-mission-content was removed to make the cards visible by default. */

.revealed .eyebrow {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--primary-heading);
    margin: 0;
}

.mission-vision-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.mission-card, .vision-card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.45); /* Slightly more transparent to reveal animation */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--apple-easing);
}
[data-theme="dark"] .mission-card, [data-theme="dark"] .vision-card {
    background: rgba(28, 11, 27, 0.35); /* Slightly more transparent for dark mode */
    border-color: rgba(255, 255, 255, 0.1);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
}

.mission-card h4, .vision-card h4 { font-size: 1.25rem; margin: 0 0 8px; color: var(--primary-heading); }
.mission-card p, .vision-card p { font-size: 0.95rem; line-height: 1.7; margin: 0; color: var(--body-text); }

.button-journey {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 30px;
    background: transparent;
    border: 1px solid rgba(122, 46, 110, 0.2);
    color: var(--primary-heading);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s var(--apple-easing);
}
[data-theme="dark"] .button-journey { border-color: rgba(255, 255, 255, 0.2); }
.button-journey:hover {
    background: var(--surface);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
}

.vision-mission-visual {
    display: grid;
    place-items: center;
    position: relative;
    min-height: 400px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .vision-mission-grid { grid-template-columns: 0.9fr 1.1fr; }
}

@media (max-width: 820px) {
    .vision-mission-grid { grid-template-columns: 1fr; text-align: center; }
    .vision-mission-content {
        align-items: center;
        position: relative;
        z-index: 1;
    }
    .support-copy { max-width: 60ch; }
    .vision-mission-visual {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        margin-top: 0;
    }
    .mission-card, .vision-card { text-align: left; }
    .button-journey { margin: 0 auto; }
    /* The canvas is now enabled on mobile, positioned behind the cards. */
}

/* Styling for the new constellation canvas */
#constellationCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   9. PREMIUM MODERN FOOTER
   ========================================================================== */

.page-footer.glass-footer {
    padding: 0;
    background-color: rgba(250, 247, 250, 0.75); /* Light mode glass color */
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    background-image: url('assets/wave.png');
    background-size: cover;
    background-position: center bottom;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .page-footer.glass-footer {
    background-color: rgba(18, 5, 17, 0.65); /* Dark mode glass color */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-blend-mode: soft-light;
}

.footer-golden-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    animation: footerLineAnimation 4s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

@keyframes footerLineAnimation {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-content-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 100px) clamp(24px, 4vw, 48px);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(32px, 5vw, 64px);
}

.footer-column {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--apple-easing), transform 0.6s var(--apple-easing);
}

/* For JS Intersection Observer */
.footer-column.reveal {
    opacity: 1;
    transform: translateY(0);
}
.footer-column.reveal:nth-child(1) { transition-delay: 0.1s; }
.footer-column.reveal:nth-child(2) { transition-delay: 0.2s; }
.footer-column.reveal:nth-child(3) { transition-delay: 0.3s; }
.footer-column.reveal:nth-child(4) { transition-delay: 0.4s; }


.footer-brand-column {
    grid-column: span 1;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
[data-theme="dark"] .footer-logo {
   filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}


.footer-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--subheading);
    margin: 0 0 16px;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 24px;
}

.footer-social-icons {
    display: flex;
    gap: 16px;
}

.footer-social-icons a {
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s var(--apple-easing);
}

.footer-social-icons a:hover {
    color: var(--accent);
    transform: translateY(-3px) scale(1.1);
    background: rgba(122, 46, 110, 0.05);
    box-shadow: 0 4px 12px var(--shadow);
}
[data-theme="dark"] .footer-social-icons a:hover {
     background: rgba(255, 255, 255, 0.05);
}


.footer-heading {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-heading);
    margin: 0 0 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--body-text);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s var(--apple-easing);
    color: var(--accent);
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s var(--apple-easing);
}

.footer-links a:hover {
    color: var(--subheading);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(-20px);
}

.footer-links a:hover::after {
    width: 100%;
}


.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-contact .contact-icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 3px;
}

.footer-contact li > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-heading);
}

.footer-contact span,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact a:hover {
    color: var(--accent);
}


.footer-bottom-bar {
    border-top: 1px solid rgba(122, 46, 110, 0.1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .footer-bottom-bar {
    border-top-color: rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.footer-bottom-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px clamp(24px, 4vw, 48px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright,
.footer-made-in-india {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

.footer-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(122, 46, 110, 0.2);
}
[data-theme="dark"] .footer-divider {
     background-color: rgba(255, 255, 255, 0.2);
}


.page-footer .scroll-to-top-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 5;
    transform: scale(0);
}
.page-footer.revealed .scroll-to-top-btn {
	transform: scale(1);
}

/* ==========================================================================
   11. MEDIA TIMING BREAKPOINT CONFIGURATIONS
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-brand-column {
        grid-column: span 2;
    }
    .sector-modal-panel { 
        max-height: 90vh; 
        max-width: 95vw; 
    }
    .sector-modal-content { grid-template-columns: 1fr; }
    .sector-modal-image { 
        max-height: 250px; 
        border-radius: 20px 20px 0 0; 
    }
}

@media (max-width: 992px) {
    .media-container { gap: 24px; }
    .card-1, .card-2, .card-3 { 
        max-width: 100%; 
        height: auto; 
    }
    .interactive-business-section {
        min-height: auto; /* Remove fixed height */
    }
    .carousel-controls {
        display: none !important; /* Hide desktop controls on mobile */
    }
    .interactive-business-inner { 
        flex-direction: column; 
        gap: 40px; 
        padding: 60px 0; 
    }
    .bg-gradient-overlay { background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0.2) 100%); }
    [data-theme="dark"] .bg-gradient-overlay { background: linear-gradient(to bottom, rgba(18, 5, 17, 0.98) 0%, rgba(18, 5, 17, 0.8) 40%, rgba(18, 5, 17, 0.2) 100%); }
    .business-text-content { 
        text-align: center; 
        max-width: 100%; 
        padding: 0 24px;
    }

    .business-carousel-wrapper { 
        width: 100%; 
        margin-left: 0; 
        mask-image: none; 
        -webkit-mask-image: none; 
        overflow: hidden;
    }

    .business-carousel {
        display: flex;
        gap: 24px; /* Increased gap */
        width: auto;
        height: auto;
        padding: 0 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        transform-style: flat;
        perspective: none;
        /* Enhanced scrolling physics */
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
    }
    .business-carousel::-webkit-scrollbar { display: none; }

    .biz-card {
        position: relative;
        flex: 0 0 75%; /* Tablet card width */
        max-width: 320px;
        height: auto; /* Let content define height */
        scroll-snap-align: center;
        opacity: 0.65;
        transform: scale(0.94);
        will-change: transform, opacity; /* Performance hint */
        transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.4s ease;
    }
    
    .biz-card img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    .biz-card.active {
        opacity: 1;
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(0,0,0,0.35);
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: inline-block; }
    .header-inner { padding: 0 24px; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--surface-strong); flex-direction: column; padding: 24px; gap: 16px;
        border-bottom: 1px solid rgba(122, 46, 110, 0.08); box-shadow: 0 12px 24px var(--shadow);
    }
    .nav-links.open { display: flex; }
    .header-utilities .lang-selector, .header-utilities .utility-icon-btn:not(#navToggle) { display: none; }
    .section-split, .showcase-card, .values-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 300px; margin: 0 auto; }
    .ecosystem-graphic { display: none; }
    .metrics-grid, .strategy-grid, .csr-pillars, .vubo-features { grid-template-columns: 1fr; }
    .value-card { text-align: center; }
    .feature-item { flex-direction: column; text-align: center; }
    .feature-icon { font-size: 2.2rem; }

    .biz-card {
        flex: 0 0 85%; /* Mobile card width */
    }

    /* Responsive Modal Styles */
    .sector-modal-panel {
        width: 95vw;
        max-width: 500px; /* Max-width on tablet-sized phones */
        height: auto;
        max-height: 85vh; /* Give some breathing room */
        border-radius: 16px;
    }
    .modal-hero {
        min-height: 180px; /* Adjust hero height */
        padding: 24px;
    }
    .modal-body-content {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand-column {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-heading {
        text-align: center;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links a::before {
        display: none;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-divider {
        display: none;
    }
}

/* Kinetic Pure CSS Animations */
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatUpDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes modalPop { from { opacity: 0; transform: scale(0.97) translateY(15px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes lineDraw { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes gridDrift { from { background-position: 0 0; } to { background-position: 80px 80px; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.04); opacity: 0.45; } }
@keyframes scrollPulse { 0%, 100% { transform: translateY(0); opacity: 0.9; } 50% { transform: translateY(10px); opacity: 0.35; } }
@keyframes rotateSlow { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }ransform: translateY(0); opacity: 0.9; } 50% { transform: translateY(10px); opacity: 0.35; } }

@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

@keyframes kenBurns {
    from { transform: scale(1.0) rotate(0.001deg); }
    to { transform: scale(1.1) rotate(0.001deg); } /* Slow zoom-in effect */
}

@media (prefers-reduced-motion: reduce) {
    .business-carousel {
        scroll-behavior: auto;
    }
    .biz-card, .active-sector-details {
        transition: none !important;
    }
}

/* Premium Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    /* Base gradient and colors */
    background-color: #081529;
    background-image: 
        radial-gradient(ellipse at 50% 30%, rgba(27, 42, 90, 0.5) 0%, transparent 60%), /* Royal Blue glow */
        radial-gradient(ellipse at 20% 70%, rgba(75, 42, 123, 0.4) 0%, transparent 50%), /* Violet glow */
        radial-gradient(ellipse at 85% 60%, rgba(27, 42, 90, 0.4) 0%, transparent 50%); /* Royal Blue glow */
}

/* The new background is dark by nature, so we ensure it's consistent across themes. */
[data-theme="dark"] .hero-bg {
    background-color: #081529;
    background-image: 
        radial-gradient(ellipse at 50% 30%, rgba(27, 42, 90, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 70%, rgba(75, 42, 123, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 60%, rgba(27, 42, 90, 0.4) 0%, transparent 50%);
}

.hero-bg-stars {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, white, transparent),
        radial-gradient(1px 1px at 80% 30%, white, transparent),
        radial-gradient(1.5px 1.5px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 25% 80%, white, transparent),
        radial-gradient(1.2px 1.2px at 90% 75%, white, transparent);
    background-size: 300px 300px, 400px 400px, 500px 500px, 350px 350px, 450px 450px;
    opacity: 0.3;
    animation: starsDrift 120s linear infinite;
}

.hero-bg-gridlines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(75, 42, 123, 0.1) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(75, 42, 123, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: gridPan 60s linear infinite;
    opacity: 0.7;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90vw;
    height: 90vh;
    background: radial-gradient(ellipse at center, rgba(75, 42, 123, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    animation: subtlePulse 10s ease-in-out infinite alternate;
}

.hero-bg-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    animation: pulseRing 12s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    pointer-events: none;
}

.hero-bg-ring.ring-1 {
    width: 35vmax;
    height: 35vmax;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.hero-bg-ring.ring-2 {
    width: 50vmax;
    height: 50vmax;
    bottom: 5%;
    right: 10%;
    animation-delay: 4s;
    border-width: 2px;
}

.hero-bg-ring.ring-3 {
    width: 60vmax;
    height: 60vmax;
    top: 50%;
    left: 50%;
    animation-name: pulseRingCentered;
    animation-delay: 8s;
    border-style: dashed;
}

.hero-bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 60%, #081529 100%);
    opacity: 0.8;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none; /* Allow clicks through */
    z-index: 5; /* On top of other bg elements */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Keyframes for new background animations */
@keyframes starsDrift {
    from { transform: translate(0, 0); }
    to { transform: translate(-100px, -50px); }
}

@keyframes gridPan {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

@keyframes subtlePulse {
    from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    to { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}
@keyframes pulseRingCentered {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* Ensure content stays above the background */
.hero-content {
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   12. ESG RESPONSIBLE GROWTH SECTION (Refactored)
   ========================================================================== */
.esg-section {
    padding: clamp(40px, 8vw, 80px) 24px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s var(--apple-easing);
    scroll-margin-top: 100px; /* Prevents content from hiding under the fixed navbar on anchor link */
}

.esg-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.esg-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px; /* Increased bottom margin */
}

.esg-header .eyebrow {
    margin-bottom: 12px;
}

.esg-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    color: var(--primary-heading);
    margin: 0 0 20px;
}

.esg-header > p {
    color: var(--muted);
    line-height: 1.8;
    max-width: 70ch; /* Improved readability */
    margin: 0 auto;
}

.esg-interactive-layout {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: start; /* Aligns the top of both columns */
}

.esg-nav-panel {
    position: sticky;
    top: 120px; /* Adjusted for navbar height + spacing */
}

.esg-nav-panel [role="tablist"] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.esg-nav-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Added transform to transition set for scaling */
    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.esg-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--accent);
    border-radius: 4px;
    transition: height 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.esg-nav-item:not(.active):hover {
    background: rgba(122, 46, 110, 0.04);
    transform: scale(1.02);
}

.esg-nav-item.active {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(122, 46, 110, 0.1);
    box-shadow: 0 10px 25px var(--shadow), 0 0 0 1px rgba(122, 46, 110, 0.05);
    transform: scale(1.02); /* Slight scale for active item */
}

[data-theme="dark"] .esg-nav-item:not(.active):hover {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="dark"] .esg-nav-item.active {
    background: rgba(28, 11, 27, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
}

.esg-nav-item.active::before {
    height: 60%; /* Made indicator taller */
}

.esg-nav-icon {
    flex-shrink: 0;
    color: var(--muted);
    transition: color 0.3s ease-in-out;
}

.esg-nav-item:hover .esg-nav-icon,
.esg-nav-item.active .esg-nav-icon {
    color: var(--accent);
}

.esg-nav-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--body-text);
    margin: 0 0 4px;
    transition: color 0.3s ease-in-out;
}

.esg-nav-text p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.esg-nav-item.active .esg-nav-text h3 {
    color: var(--primary-heading);
}

.esg-content-panel {
    display: grid; /* Use grid to stack content panels */
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(250, 247, 250, 0.5), rgba(248, 243, 247, 0.5));
    border: 1px solid rgba(122, 46, 110, 0.08);
    padding: clamp(40px, 5vw, 60px);
    overflow: auto; /* Added to contain content within the box */
}

[data-theme="dark"] .esg-content-panel {
     background: linear-gradient(135deg, rgba(28, 11, 27, 0.4), rgba(42, 14, 40, 0.4));
     border-color: rgba(255, 255, 255, 0.08);
}

.esg-content {
    /* All content panels share the same grid cell */
    grid-row-start: 1;
    grid-column-start: 1;
    
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none; /* Inactive panels are not interactive */
    transform: translateY(25px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.esg-content.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
    transition-delay: 0.1s;
}

.esg-content h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-heading);
    margin: 0 0 24px;
    opacity: 0;
    transform: translateY(15px);
    animation: content-fade-in 0.35s ease-in-out forwards;
}

.esg-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--body-text);
    margin: 0 0 40px; /* Increased spacing */
    max-width: 65ch; /* Readability */
    opacity: 0;
    transform: translateY(15px);
    animation: content-fade-in 0.35s ease-in-out forwards;
}

.animated-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--subheading), transparent);
    margin: 0 0 40px; /* Increased spacing */
    transform-origin: left;
    transform: scaleX(0);
    /* JS will trigger animation on active panel */
}

.esg-focus-areas {
    list-style: none;
    padding: 0;
    margin: 0 0 40px; /* Increased spacing */
    flex-grow: 1; /* Pushes quote down */
}

.esg-focus-areas li {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 12px 0 12px 24px; /* Increased padding */
    position: relative;
    opacity: 0;
    transform: translateX(-15px);
    /* JS will trigger animation */
}

.esg-focus-areas li::before {
    content: '✧';
    position: absolute;
    left: 0;
    top: 14px;
    color: var(--accent);
    font-size: 1.1rem;
}

/* New Staggered Animation for List Items */
.esg-content.active-animating .animated-divider {
    animation: lineDraw 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}
.esg-content.active-animating h2, .esg-content.active-animating > p {
     animation-delay: 0.15s;
}
.esg-content.active-animating .esg-focus-areas li {
    animation: list-item-fade-in 0.3s ease-out forwards;
}
.esg-content.active-animating .esg-focus-areas li:nth-child(1) { animation-delay: 0.30s; }
.esg-content.active-animating .esg-focus-areas li:nth-child(2) { animation-delay: 0.35s; }
.esg-content.active-animating .esg-focus-areas li:nth-child(3) { animation-delay: 0.40s; }
.esg-content.active-animating .esg-focus-areas li:nth-child(4) { animation-delay: 0.45s; }
.esg-content.active-animating .esg-focus-areas li:nth-child(5) { animation-delay: 0.50s; }

.esg-content.active-animating .esg-vision-statement {
    animation: content-fade-in 0.4s ease-out 0.6s forwards;
}


/* Refactored Quote Block */
.esg-vision-statement {
    opacity: 0; /* Hidden for animation */
    transform: translateY(15px);
    font-style: italic;
    font-weight: 500;
    color: var(--muted);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    margin: 40px auto 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 0 16px 16px 0;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 90%;
    box-shadow: 0 4px 15px var(--shadow);
}

[data-theme="dark"] .esg-vision-statement {
    background: rgba(28, 11, 27, 0.4);
}

/* Animations */
@keyframes content-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes list-item-fade-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive ESG Section */
@media (max-width: 1024px) {
    .esg-interactive-layout {
        grid-template-columns: 4fr 6fr;
        gap: 40px;
    }
}

/* Tablet: Stacked Layout */
@media (max-width: 820px) {
    .esg-interactive-layout {
        grid-template-columns: 1fr;
    }
    .esg-nav-panel {
        position: static; /* Unstick the nav panel */
    }
    .esg-content-panel {
        min-height: auto; /* Allow natural height */
    }
}

/* Mobile: Accordion Layout */
@media (max-width: 600px) {
    .esg-header { margin: 0 auto 60px; }
    .esg-interactive-layout { gap: 16px; }
    
    /* Hide the main content panel on the side */
    .esg-content-panel {
        display: none;
    }
    
    .esg-nav-panel [role="tablist"] {
        gap: 8px; /* Tighter gap for accordion */
    }

    /* Style nav items as accordion headers */
    .esg-nav-item {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        padding: 20px;
        background: var(--surface);
        border-color: rgba(122, 46, 110, 0.08);
        border-radius: 16px;
    }
     [data-theme="dark"] .esg-nav-item {
        background: var(--surface-strong);
        border-color: rgba(255,255,255,0.08);
     }

    .esg-nav-item::before { display: none; } /* Hide the side indicator */

    .esg-nav-item .esg-nav-text p {
        display: block; /* Show the summary text */
    }
    
    .esg-nav-item .esg-nav-icon {
        color: var(--subheading);
    }

    /* Style the content panels for accordion */
    .esg-content {
        position: static;
        display: block;
        visibility: visible;
        padding: 24px 0 0 0;
        margin-top: 20px;
        border-top: 1px solid rgba(122, 46, 110, 0.15);
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        transform: none;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, margin 0.4s ease-in-out;
    }
     [data-theme="dark"] .esg-content {
        border-top-color: rgba(255,255,255,0.15);
     }
     
/* ==========================================================================
   13. INFORMATIONAL MODAL CONTENT STYLING
   ========================================================================== */
#privacyModal .sector-modal-body,
#termsModal .sector-modal-body,
#careersModal .sector-modal-body {
    padding: 0; /* Remove padding from the body to allow content to have its own. */
}

.modal-body-content .modal-section:first-child {
    text-align: center;
}

.modal-body-content h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    color: var(--primary-heading);
}

.modal-body-content p[style*="text-align: center"] {
    text-align: center;
    font-size: 1.1rem;
    color: var(--subheading);
    margin-bottom: 32px;
}

    
    /* Show content when nav item is active */
    .esg-nav-item.active .esg-content {
        max-height: 1200px; /* Large enough to not clip content */
    }
    
    /* Hide all animation-ready elements in non-active accordion panels */
    .esg-content h2,
    .esg-content > p,
    .esg-focus-areas li,
    .esg-vision-statement {
        opacity: 1;
        transform: none;
        animation: none;
    }
}