/* =========================================
   VARIABLES & RESETS
========================================= */
:root {
    --bg-extreme: #050a1f;
    --bg-panel: #0b132b;
    --text-primary: #ffffff;
    --text-muted: #888888;
    --text-inverse: #000000;
    --accent: #4169E1;
    /* Royal blue */
    --accent-glow: rgba(65, 105, 225, 0.1);

    --border-light: rgba(255, 255, 255, 0.05);
    --border-medium: rgba(255, 255, 255, 0.1);
    --bg-overlay: rgba(5, 10, 31, 0.75);
    --bg-overlay-heavy: rgba(0, 0, 0, 0.8);
    --video-overlay: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-hover: rgba(255, 255, 255, 0.04);

    --font-heading: 'Cinzel', serif;
    --font-body: 'Manrope', sans-serif;

    --cursor-size: 10px;
    --cursor-follower-size: 40px;
}

[data-theme="light"] {
    --bg-extreme: #ffffff;
    --bg-panel: #f4f7f6;
    --text-primary: #000000;
    --text-muted: #555555;
    --text-inverse: #ffffff;
    --accent: #003366;
    /* Deep blue */
    --accent-glow: rgba(0, 51, 102, 0.1);

    --border-light: rgba(0, 0, 0, 0.1);
    --border-medium: rgba(0, 0, 0, 0.2);
    --bg-overlay: rgba(255, 255, 255, 0.85);
    --bg-overlay-heavy: rgba(255, 255, 255, 0.9);
    --video-overlay: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    --card-bg: rgba(0, 0, 0, 0.02);
    --card-hover: rgba(0, 0, 0, 0.05);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

html {
    scroll-behavior: initial;
    font-size: 16px;
    overflow-x: clip;
    width: 100%;
}

body {
    background-color: var(--bg-extreme);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: clip;
    line-height: 1.5;
    width: 100%;
    position: relative;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-6 {
    margin-top: 4rem;
}

.mb-6 {
    margin-bottom: 4rem;
}

/* =========================================
   CUSTOM CURSOR
========================================= */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-size);
    height: var(--cursor-size);
    background-color: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--cursor-follower-size);
    height: var(--cursor-follower-size);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.cursor.hovered {
    width: 0;
    height: 0;
}

.cursor-follower.hovered {
    width: 60px;
    height: 60px;
    background-color: var(--accent-glow);
    border-color: var(--accent);
    backdrop-filter: blur(2px);
}

.cursor-follower.drag {
    width: 80px;
    height: 80px;
    background-color: var(--border-light);
    border-color: var(--text-primary);
}

/* =========================================
   PRELOADER
========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-extreme);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.preloader-text-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-title {
    font-family: var(--font-heading);
    font-size: 8vw;
    letter-spacing: 0.2em;
    color: var(--border-medium);
    position: relative;
}

.preloader-logo {
    width: clamp(260px, 45vw, 500px);
    height: auto;
    object-fit: contain;
    position: relative;
    display: block;
    filter: invert(1) brightness(10);
    opacity: 0.2;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

[data-theme="light"] .preloader-logo {
    filter: none;
    opacity: 0.25;
}

.preloader-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--text-primary);
    mix-blend-mode: difference;
}

.preloader-progress {
    margin-top: 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--accent);
}

/* =========================================
   NAVIGATION & CTA BTNS
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transition: padding 0.4s ease, background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1.2rem 4rem;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-primary);
    display: inline-block;
}

.nav-right {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    display: inline-block;
}

.nav-btn {
    display: inline-block;
    border: 1px solid var(--border-medium);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.nav-btn:hover {
    background: var(--accent);
    color: var(--text-inverse);
    border-color: var(--accent);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: color 0.3s, background 0.3s;
    cursor: none;
}

.theme-toggle:hover {
    background: var(--card-bg);
    color: var(--accent);
}

.circle-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 2rem;
}

.circle-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--accent);
    transition: height 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.circle-cta:hover {
    color: var(--bg-extreme);
}

.circle-cta:hover::before {
    height: 100%;
    top: auto;
    bottom: 0;
}

/* =========================================
   HERO SWIPER
========================================= */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--video-overlay);
    z-index: 1;
    transition: background 0.4s ease;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
}

.slide-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.slide-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.secondary-btn {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.3rem;
    transition: color 0.3s;
    font-weight: 500;
}

.secondary-btn:hover {
    color: var(--accent);
}

.drag-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    z-index: 10;
    pointer-events: none;
}

.swiper-pagination-bullet {
    background: var(--bg-inverse);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

/* =========================================
   MARQUEE
========================================= */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-extreme);
}

.marquee {
    display: flex;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee span {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-right: 2rem;
}

.dot {
    color: var(--accent);
    margin: 0 1rem;
}

/* =========================================
   STATS STRIP
========================================= */
.stats-strip {
    padding: 4rem 0;
    background: var(--bg-extreme);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-hover);
    border-radius: 8px;
    transition: background 0.4s, border-color 0.4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.stat-item:hover {
    background: var(--card-hover);
    border-color: var(--accent);
}

.stat-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.stat-icon svg {
    color: var(--accent);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        padding: 3rem 0;
    }
}

/* =========================================
   OFFICES GRID
========================================= */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.office-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.office-card:hover {
    transform: translateY(-10px);
    border-color: rgba(65, 105, 225, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(65, 105, 225, 0.05);
}

.office-flag {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.office-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.office-details {
    flex-grow: 1;
}

.office-details p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.office-details p strong {
    color: var(--text-primary);
    font-weight: 500;
}

.office-card .secondary-btn {
    align-self: flex-start;
    margin-top: 1.5rem;
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .offices-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PHILOSOPHY
========================================= */
.philosophy {
    padding: 10rem 0;
    background: var(--bg-extreme);
}

.massive-text {
    font-family: var(--font-heading);
    font-size: 8vw;
    line-height: 0.9;
    margin-bottom: 4rem;
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.philosophy-content p {
    max-width: 500px;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}



/* =========================================
   GEOGRAPHIC MAP
========================================= */
.geo-map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto 0;
}

.geo-map-container {
    position: relative;
    width: 100%;
    padding-bottom: 65.26%;
}

.geo-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/world-map.svg') no-repeat center;
    background-size: contain;
    filter: brightness(0) invert(1) opacity(0.15);
    transition: filter 0.5s, opacity 0.5s;
}

[data-theme="light"] .geo-map {
    filter: brightness(0) opacity(0.15);
}

.map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent);
    cursor: none;
    transition: transform 0.3s;
    z-index: 10;
}

.map-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s infinite;
    opacity: 0.5;
    z-index: -1;
}

.map-pin:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.map-pin-label {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-overlay);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-pin-label::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--bg-overlay);
    border-right: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.map-pin:hover .map-pin-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.pin-country {
    color: var(--accent);
    font-size: 0.65rem;
    margin-bottom: 2px;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

/* =========================================
   HORIZONTAL SCROLL (THE 4 C's)
========================================= */
.horizontal-scroll-section {
    overflow: hidden;
    background: var(--bg-panel);
}

.horizontal-sticky {
    height: 100vh;
    display: flex;
    align-items: center;
}

.horizontal-container {
    display: flex;
    height: 100%;
}

.h-panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10vw;
    border-right: 1px solid var(--border-light);
    overflow: hidden;
}

.intro-panel h2 {
    font-family: var(--font-heading);
    font-size: 5vw;
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.intro-panel p {
    font-size: 1.5rem;
    color: var(--text-muted);
    position: relative;
    z-index: 10;
}

.shape-panel {
    padding: 0;
    flex-direction: row;
}

.shape-panel-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5vw 0 10vw;
    position: relative;
    overflow-y: auto;
}

.shape-panel-right {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, var(--card-hover) 0%, var(--bg-extreme) 70%);
    border-left: 1px solid var(--border-light);
}

.shape-panel-right img {
    width: 75%;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.shape-panel:hover .shape-panel-right img {
    transform: scale(1.05);
}

.panel-num {
    position: absolute;
    top: 14vh;
    left: 10vw;
    font-family: var(--font-heading);
    font-size: 12vw;
    color: var(--card-hover);
    line-height: 0.8;
    z-index: 0;
    pointer-events: none;
}

@media (min-width: 769px) {
    #shapes .panel-num {
        top: 20vh;
    }
}

.shape-panel-left h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--title-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.shape-panel-left p {
    font-size: 1.3rem;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.shape-panel-left .nav-btn {
    align-self: flex-start;
    position: relative;
    z-index: 10;
}

/* =========================================
   WHY NEO DIAM
========================================= */
.why-section {
    padding: 15vh 5vw;
    background: var(--bg-extreme);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.04) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.why-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.why-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    grid-auto-rows: minmax(280px, auto);
}

.why-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s, border-color 0.5s, box-shadow 0.5s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    border-color: rgba(65, 105, 225, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(65, 105, 225, 0.05);
}

/* Bento spans */
.why-card:nth-child(1) {
    grid-column: span 2;
}

.why-card:nth-child(4) {
    grid-column: span 2;
}

.why-icon-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.why-icon {
    color: rgba(65, 105, 225, 0.7);
    transition: color 0.5s, transform 0.5s, background 0.5s;
    background: rgba(65, 105, 225, 0.05);
    padding: 1rem;
    border-radius: 50%;
    display: inline-flex;
}

.why-card:hover .why-icon {
    color: var(--accent);
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-glow);
}

.why-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--border-medium);
    font-weight: 300;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.why-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 90%;
}

.why-card:nth-child(1) p,
.why-card:nth-child(4) p {
    max-width: 70%;
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .why-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card:nth-child(1) {
        grid-column: span 2;
    }

    .why-card:nth-child(4) {
        grid-column: span 1;
    }

    .why-card:nth-child(5) {
        grid-column: span 2;
    }

    .why-card:nth-child(1) p,
    .why-card:nth-child(4) p {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .why-bento {
        grid-template-columns: 1fr;
    }

    .why-card:nth-child(1),
    .why-card:nth-child(4),
    .why-card:nth-child(5) {
        grid-column: span 1;
    }

    .why-card p,
    .why-card:nth-child(1) p,
    .why-card:nth-child(4) p {
        max-width: 100% !important;
    }
}

/* =========================================
   MANUFACTURING PROCESS (PANEL WIPE)
========================================= */
.process-journey {
    position: relative;
    width: 100%;
}

.process-panel {
    height: 100vh;
    width: 100%;
    position: sticky;
    top: 0;
    display: flex;
    padding-top: 105px;
    background: var(--bg-extreme);
    border-top: 1px solid var(--border-medium);
    overflow: hidden;
}

/* Redesign 4Cs section to stack normally and adapt to content */
#the-4cs .process-panel {
    padding-top: 105px;
    padding-bottom: 5rem;
    height: auto;
    min-height: 100vh;
    position: relative;
    overflow: visible;
}

#the-4cs .panel-img {
    height: auto;
    min-height: 400px;
}

#the-4cs .panel-text {
    height: auto;
    padding: 5rem 5vw;
}

@media (max-width: 1024px) {
    #the-4cs .panel-text {
        padding: 2rem 5vw;
    }
}

@media (min-width: 1025px) {
    #the-4cs .process-panel:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.panel-img {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, var(--bg-panel) 0%, var(--bg-extreme) 100%);
    position: relative;
}

.panel-img img {
    height: 80%;
    width: auto;
    object-fit: contain;
}

.panel-text {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5vw;
    background: var(--bg-extreme);
}

.stage-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.panel-text h2 {
    font-family: var(--font-heading);
    font-size: 4vw;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.panel-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
}

.specs {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-medium);
    padding-top: 2rem;
}

.specs div span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.specs div {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

/* =========================================
   PRE-FOOTER CTA
========================================= */
.full-width-cta {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-extreme) 0%, var(--bg-panel) 50%, var(--bg-extreme) 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.cta-subtext {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.cta-buttons .nav-btn {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-buttons .nav-btn:hover {
    background: var(--accent);
    color: #000000;
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .cta-headline {
        font-size: 2.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .cta-buttons .nav-btn,
    .cta-buttons .secondary-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* =========================================
   TESTIMONIALS (NEW)
========================================= */
.testimonials-section {
    padding: 10rem 0;
    background: var(--bg-extreme);
    border-top: 1px solid var(--border-light);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 5vw;
    margin-bottom: 4rem;
    line-height: 1;
}

.testimonial-slider {
    padding: 2rem 0 5rem 0;
}

.test-card {
    background: var(--card-hover);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s;
}

.test-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent);
    line-height: 0;
    margin-bottom: 2rem;
}

.quote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.author {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

/* =========================================
   FOOTER & MAP
========================================= */
.footer {
    padding: 10rem 0 3rem 0;
    background: var(--bg-extreme);
    border-top: 1px solid var(--border-light);
}

.footer-content h2 {
    font-family: var(--font-heading);
    font-size: 6vw;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.footer-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.big-email {
    font-family: var(--font-heading);
    font-size: 5vw;
    color: var(--accent);
    display: inline-block;
    position: relative;
    font-weight: 300;
    transition: color 0.4s ease;
}

.big-email::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.big-email:hover {
    color: var(--text-primary);
}

.big-email:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    border-top: 1px solid var(--border-light);
    padding-top: 5rem;
    margin-top: 5rem;
    text-align: left;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-primary);
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.manifesto-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent);
}

.social-links .sep {
    color: rgba(255, 255, 255, 0.15);
}

.footer-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* SALONS LIST */
.salon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-hover);
    padding: 0.8rem 0;
    font-size: 0.95rem;
}

.salon-item:first-of-type {
    padding-top: 0;
}

.salon-city {
    color: var(--text-primary);
}

.salon-tz {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent);
}

/* BESPOKE LINKS */
.services-col {
    display: flex;
    flex-direction: column;
}

.services-col a {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.services-col a:hover {
    color: var(--accent);
}

/* NEWSLETTER */
.newsletter-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-medium);
    padding-bottom: 0.5rem;
    transition: border-color 0.3s;
}

.newsletter-form:focus-within {
    border-color: var(--accent);
}

.newsletter-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    width: 100%;
    padding-right: 1rem;
    font-family: var(--font-body);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.newsletter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    padding: 0 0.5rem;
}

.newsletter-btn:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-bottom {
    margin-top: 8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 2.5rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom .back-to-top {
    color: var(--text-primary);
    transition: color 0.3s;
}

.footer-bottom .back-to-top:hover {
    color: var(--accent);
}

/* =========================================
   RESPONSIVE & UTILS
========================================= */
.char {
    transform: translateY(110%);
    transition: transform .5s cubic-bezier(.19, 1, .22, 1);
}

.word {
    overflow: hidden;
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
    padding-top: 0.2em;
    margin-top: -0.2em;
}

@media (max-width: 1024px) {
    .process-panel {
        flex-direction: column;
    }

    .panel-img,
    .panel-text {
        height: 50%;
        padding: 2rem;
    }

    .panel-text h2 {
        font-size: 3rem;
    }

    .navbar {
        padding: 1.5rem;
    }

    .nav-right {
        display: none;
    }

    .panel-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem 2rem;
    }

    .big-email {
        font-size: 6vw;
    }

    /* Horizontal Scroll Disable for Mobile/Tablet */
    .horizontal-scroll-section {
        overflow: visible;
    }

    .horizontal-sticky {
        height: auto;
        display: block;
    }

    .horizontal-container {
        display: block;
        height: auto;
    }

    .h-panel {
        width: 100%;
        height: auto;
        min-height: 100vh;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 0;
    }

    .intro-panel {
        padding: 5rem 5vw;
    }

    .shape-panel {
        flex-direction: column;
    }

    .shape-panel-left {
        padding: 5rem 5vw;
        flex: none;
        overflow: visible;
    }

    .shape-panel-right {
        padding: 5rem 0;
        flex: none;
        min-height: 50vh;
    }

    #shapes .panel-num {
        top: 2rem;
        left: 5vw;
        font-size: 25vw;
        line-height: 1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .big-email {
        font-size: 7vw;
    }
}

/* =========================================
   SUB-PAGE STYLING (AWARDS-TIER)
========================================= */
.sub-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-extreme);
    text-align: center;
}

.sub-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.25;
    filter: grayscale(100%) contrast(1.2);
    transform: scale(1.05);
}

.sub-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5, 10, 31, 0.2) 0%, rgba(5, 10, 31, 0.95) 100%);
    z-index: 2;
}

.sub-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 2rem;
    margin-top: 6rem;
}

.sub-hero-title {
    font-family: var(--font-heading);
    font-size: 7vw;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.sub-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
}

.page-section {
    padding: 10rem 0;
    background: var(--bg-extreme);
    position: relative;
}

.page-section.alt-bg {
    background: var(--bg-panel);
}

.editorial-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.editorial-body h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.editorial-body p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.editorial-graphic {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.editorial-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .editorial-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .editorial-body h2 {
        font-size: 3rem;
    }

    .editorial-body p {
        font-size: 1.15rem;
    }

    .page-section {
        padding: 6rem 0;
    }
}

/* TIMELINE FOR OUR STORY */
.timeline-container {
    max-width: 900px;
    margin: 4rem auto 0 auto;
    position: relative;
    padding-left: 4rem;
    border-left: 1px solid var(--border-light);
}

.timeline-item {
    position: relative;
    margin-bottom: 7rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0.8rem;
    left: calc(-4rem - 5px);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    line-height: 1;
}

.timeline-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.timeline-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .timeline-container {
        padding-left: 2rem;
    }

    .timeline-item::before {
        left: calc(-2rem - 5px);
    }

    .timeline-year {
        font-size: 2.8rem;
    }

    .timeline-title {
        font-size: 1.5rem;
    }

    .timeline-desc {
        font-size: 1.1rem;
    }
}

/* LUXURY FORMS FOR CONTACT */
.form-wrapper {
    max-width: 750px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-hover);
    border-radius: 12px;
    padding: 5rem 4rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.8);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 3rem;
    text-align: left;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 1rem 0;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.4s ease;
}

.form-control:focus {
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 3rem 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sub-hero {
        height: 50vh;
    }

    .sub-hero-title {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }
}

/* =========================================
   MOBILE MENU NAVIGATION OVERLAY
========================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 14px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1), background-color 0.4s;
}

.hamburger.active span:first-child {
    transform: translateY(6px) rotate(45deg);
    background-color: var(--accent);
}

.hamburger.active span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
    background-color: var(--accent);
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 10, 31, 0.98);
    backdrop-filter: blur(20px);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
    opacity: 0;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.4s, transform 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--accent);
    transform: translateY(-2px);
}

.mobile-btn {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-inverse);
    background-color: var(--accent);
    padding: 1.2rem 3rem;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: background-color 0.4s, transform 0.4s;
    margin-top: 1rem;
    width: 100%;
    max-width: 320px;
    opacity: 0;
    transform: translateY(30px);
    display: block;
    text-align: center;
}

.mobile-btn:hover {
    background-color: var(--text-primary);
    transform: scale(1.02);
}

.mobile-menu-footer {
    margin-top: 2rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.mobile-email {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.mobile-menu-footer p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

/* =========================================
   ADDITIONAL MOBILE RESPONSIVENESS FIXES
========================================= */
@media (max-width: 768px) {

    /* Navbar fix for hamburger cutoff */
    .navbar {
        padding: 1.2rem 1.25rem !important;
        position: fixed !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .navbar.scrolled {
        padding: 1rem 1.25rem !important;
    }

    .hamburger {
        display: flex !important;
        position: absolute !important;
        right: 1.25rem !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1000 !important;
    }

    .hamburger span {
        background-color: var(--text-primary) !important;
        height: 2px !important;
    }

    .container {
        padding: 0 1.25rem !important;
    }

    /* Section Paddings */
    .philosophy {
        padding: 5rem 0;
    }

    .testimonials-section {
        padding: 5rem 0;
    }

    .footer {
        padding: 5rem 0 2rem 0;
    }

    .page-section {
        padding: 5rem 0;
    }

    .full-width-cta {
        padding: 4rem 0;
        min-height: 300px;
    }

    /* Font sizing fixes for ultra-small screens (320px) */
    .preloader-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .preloader-logo {
        width: clamp(200px, 75vw, 320px);
    }

    .massive-text {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 2rem;
    }

    .intro-panel h2 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .section-heading {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2.5rem;
    }

    .footer-content h2 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        line-height: 1.1;
    }

    .big-email {
        font-size: clamp(1.2rem, 8vw, 2.5rem);
    }

    /* Hero Adjustments */
    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .hero-ctas .nav-btn,
    .hero-ctas .secondary-btn {
        width: auto;
        max-width: 100%;
        text-align: center;
    }

    .slide-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
    }

    .slide-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    /* Horizontal Shapes Panel */
    .shape-panel {
        flex-direction: column;
        padding: 0;
    }

    .shape-panel-left {
        padding: 3rem 1.25rem 1rem;
        justify-content: flex-end;
        flex: 1;
    }

    .shape-panel-right {
        flex: 1;
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-top: 1rem;
    }

    .shape-panel-right img {
        max-height: 35vh;
    }

    .panel-num {
        font-size: clamp(5rem, 30vw, 10rem);
        left: 1rem;
        top: 1rem;
        opacity: 0.2;
    }

    .shape-panel-left h2 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 0.5rem;
    }

    .shape-panel-left p {
        font-size: 0.95rem;
    }

    .intro-panel {
        padding: 0 1.25rem;
    }

    /* Process Panel */
    .process-panel {
        height: 100svh;
    }

    .panel-img {
        height: 40%;
        padding: 1rem;
    }

    .panel-text {
        height: 60%;
        padding: 1.25rem;
        justify-content: flex-start;
    }

    .panel-text h2 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 1rem;
    }

    .panel-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .specs {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-light);
    }

    /* Why Bento */
    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 2rem;
    }

    .why-card {
        padding: 1.5rem;
    }

    .why-card h3 {
        font-size: clamp(1.2rem, 6vw, 1.5rem);
    }

    /* Footer */
    .footer-grid {
        margin-top: 3rem;
        padding-top: 3rem;
    }
}

/* =========================================
   EDUCATION PAGE UI COMPONENTS
========================================= */

/* Page Nav Tabs */
.page-nav-tabs {
    position: sticky;
    top: 103px;
    z-index: 90;
    background: var(--bg-extreme);
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
}

.tabs-scroll {
    display: flex;
    justify-content: flex-start;
    /* Start aligned to prevent left clipping on smaller screens */
    gap: 2rem;
    white-space: nowrap;
    padding: 0 5vw;
}

@media (min-width: 1025px) {
    .tabs-scroll {
        justify-content: center;
        /* Center only on larger screens where it fits */
    }
}

.tab-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.tab-link:hover,
.tab-link.active {
    color: var(--text-primary);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

/* Premium Data Tables */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-medium);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.premium-table.full-width {
    width: 100%;
    min-width: 600px;
}

.premium-table th {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-medium);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 1rem;
    vertical-align: top;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    transition: all 0.3s;
}

.premium-table.text-sm td {
    font-size: 0.9rem;
}

/* Tip Box */
.neo-tip-box {
    background: rgba(65, 105, 225, 0.05);
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.neo-tip-box strong {
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Accordion FAQs */
.accordion {
    border-top: 1px solid var(--border-medium);
    margin-top: 2rem;
}

.accordion-item {
    border-bottom: 1px solid var(--border-medium);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--accent);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.4s ease;
    color: var(--accent);
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content p {
    padding-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Interactive Cert Accordion */
.cert-accordion {
    display: flex;
    gap: 1rem;
    height: 500px;
    width: 100%;
}

.cert-panel {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: var(--card-bg);
    border: 1px solid var(--border-medium);
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), background 0.4s;
}

.cert-panel.active {
    flex: 3;
    background: var(--bg-panel);
    border-color: var(--accent);
}

.cert-panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.4;
    filter: grayscale(0.5);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.cert-panel.active .cert-panel-bg {
    opacity: 0.92;
    filter: grayscale(0);
}

.cert-panel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.08);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.cert-panel.active .cert-panel-bg img {
    transform: scale(1);
}

.cert-panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(to top, var(--bg-extreme) 35%, rgba(5, 10, 31, 0.7) 65%, transparent);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    pointer-events: none;
}

[data-theme="light"] .cert-panel-content {
    background: linear-gradient(to top, rgba(248, 250, 252, 0.95) 35%, rgba(248, 250, 252, 0.65) 65%, transparent);
}

.cert-panel-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    white-space: nowrap;
}

.cert-num {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.1rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.cert-panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    transition: font-size 0.4s ease;
}

.cert-panel.active .cert-panel-header h3 {
    font-size: 2.2rem;
}

.cert-panel-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.cert-panel.active .cert-panel-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 1.5rem;
}

.cert-panel-desc h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cert-panel-desc p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Compare Cards */
.comparison-grid {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.compare-card {
    flex: 1;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-medium);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.4s, border-color 0.4s;
}

.compare-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.compare-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: radial-gradient(circle at center, rgba(65, 105, 225, 0.15), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-medium);
}

.compare-img img {
    width: 60%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.6s ease;
}

.compare-card:hover .compare-img img {
    transform: scale(1.05);
}

.compare-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    background: rgba(65, 105, 225, 0.15);
    color: var(--accent);
    border: 1px solid rgba(65, 105, 225, 0.4);
    backdrop-filter: blur(5px);
}

.compare-content {
    padding: 2rem;
}

.compare-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.compare-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.compare-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.compare-list li:last-child {
    border-bottom: none;
}

.feat-name {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feat-val {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: right;
}

.split-layout {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .cert-accordion {
        flex-direction: column;
        height: 950px;
    }

    .cert-panel-bg img {
        object-position: center 30%;
    }

    .comparison-grid {
        flex-direction: column;
    }
}

/* =========================================
   CONTACT PAGE & GLOBAL UI UPDATES
========================================= */

/* Office Contact Cards */
.office-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.office-contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.office-contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(65, 105, 225, 0.05);
}

.office-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.office-flag-icon {
    font-size: 2rem;
}

.office-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.office-info-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.office-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.office-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}

.office-info-value {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.office-map-embed {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    margin-top: 1.5rem;
    overflow: hidden;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.4s;
}

.office-contact-card:hover .office-map-embed {
    filter: grayscale(50%) contrast(1.1);
}

.office-map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Enhanced Form Styles */
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 1px 0 0 var(--accent);
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-medium);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-extreme);
    font-size: 12px;
    font-weight: bold;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    cursor: pointer;
}

select.form-control option {
    background: var(--bg-extreme);
    color: var(--text-primary);
}

/* =========================================
   MODERN CONTACT FORM
========================================= */
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 3rem;
}

.modern-contact-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3.5rem;
    backdrop-filter: blur(20px);
}

.input-modern input,
.input-modern textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.input-modern input:focus,
.input-modern textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.input-modern input::placeholder,
.input-modern textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-modern.full-width {
    grid-column: 1 / -1;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.pill-checkbox input[type="radio"],
.pill-checkbox input[type="checkbox"] {
    display: none;
}

.pill-label {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.pill-label:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
}

.pill-checkbox input:checked+.pill-label {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-contact-wrapper {
        padding: 2rem 1.5rem;
    }

    .modern-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .modern-contact-wrapper button[type="submit"] {
        width: 100%;
    }

    .privacy-notice {
        display: none !important;
    }
}

/* Light Mode Overrides for Modern Form */
[data-theme="light"] .modern-contact-wrapper {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .input-modern input,
[data-theme="light"] .input-modern textarea {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .input-modern input::placeholder,
[data-theme="light"] .input-modern textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .pill-label {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
}

[data-theme="light"] .pill-label:hover {
    border-color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .pill-checkbox input:checked+.pill-label {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
}


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--bg-overlay);
    backdrop-filter: blur(5px);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(10px);
    border: 1px solid var(--border-medium);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp Quick Contact Section */
.wa-quick-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
}

.wa-quick-contact h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.wa-quick-contact p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 100%;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25D366;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.wa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    color: white;
}

/* Enhanced Footer */
.footer-dark {
    background-color: #0B132B;
    border-top: none;
}

.footer-gold-line {
    border-top: 1px solid var(--accent);
    padding-top: 2.5rem;
    margin-top: 5rem;
}

@media (max-width: 1024px) {
    .office-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .office-contact-grid {
        grid-template-columns: 1fr;
    }

    .wa-quick-contact {
        padding: 3rem 1.5rem;
    }
}

/* Light Mode Footer Overrides */
[data-theme="light"] .footer-dark {
    background-color: var(--accent);
}

[data-theme="light"] .footer-dark .footer-logo,
[data-theme="light"] .footer-dark .manifesto-text,
[data-theme="light"] .footer-dark .footer-title,
[data-theme="light"] .footer-dark .footer-bottom span,
[data-theme="light"] .footer-dark a,
[data-theme="light"] .footer-dark p,
[data-theme="light"] .footer-dark .sep {
    color: #ffffff !important;
}

[data-theme="light"] .footer-dark .social-links a svg {
    stroke: #ffffff !important;
}

[data-theme="light"] .footer-dark .footer-gold-line {
    border-top-color: rgba(255, 255, 255, 0.2);
}

/* Light Mode CTA Overrides - Balanced Luxury Combination */
[data-theme="light"] .full-width-cta {
    background: radial-gradient(circle at center, #092354 0%, #010c24 100%) !important;
    border-top: 1px solid rgba(0, 51, 102, 0.3) !important;
    border-bottom: 1px solid rgba(0, 51, 102, 0.3) !important;
}

[data-theme="light"] .cta-overlay {
    background: var(--accent);
}

[data-theme="light"] .full-width-cta .cta-headline,
[data-theme="light"] .full-width-cta .cta-subtext {
    color: #ffffff !important;
}

[data-theme="light"] .full-width-cta .cta-buttons .nav-btn {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="light"] .full-width-cta .cta-buttons .nav-btn:hover {
    background: #ffffff !important;
    color: #003366 !important;
    border-color: #ffffff !important;
}

[data-theme="light"] .full-width-cta .cta-buttons .secondary-btn {
    color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

[data-theme="light"] .full-width-cta .cta-buttons .secondary-btn:hover {
    color: #cce0ff !important;
    border-bottom-color: #cce0ff !important;
}

/* Logo Color Adjustments */
.logo img {
    filter: invert(1) brightness(10);
    transition: filter 0.3s ease;
}

[data-theme="light"] .logo img {
    filter: invert(1) brightness(10) !important;
    /* Keep white logo in light mode header */
}

/* Keep Navbar / Header in Dark Mode Appearance for Light Theme */
[data-theme="light"] .navbar.scrolled {
    background-color: rgba(5, 10, 31, 0.75) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

[data-theme="light"] .navbar .logo,
[data-theme="light"] .navbar .nav-link,
[data-theme="light"] .navbar .nav-btn,
[data-theme="light"] .navbar .theme-toggle {
    color: #ffffff !important;
}

[data-theme="light"] .navbar .nav-btn {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] .navbar .nav-btn:hover {
    background: #4169E1 !important;
    color: #ffffff !important;
    border-color: #4169E1 !important;
}

[data-theme="light"] .navbar .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #4169E1 !important;
}

[data-theme="light"] .navbar .hamburger span {
    background-color: #ffffff !important;
}

[data-theme="light"] .navbar .hamburger.active span:first-child,
[data-theme="light"] .navbar .hamburger.active span:last-child {
    background-color: #4169E1 !important;
}

[data-theme="light"] .mobile-menu-overlay .mobile-link {
    color: #ffffff !important;
}

[data-theme="light"] .mobile-menu-overlay .mobile-link:hover,
[data-theme="light"] .mobile-menu-overlay .mobile-link.active {
    color: #4169E1 !important;
}

.footer-logo {
    filter: invert(1) brightness(10);
    /* Always white since footer is dark in both modes */
}

/* Light Mode Why Card Overrides */
[data-theme="light"] .why-card {
    background-color: #eaf2f8;
    /* Light blue background */
    border-color: #d4e6f1;
}

[data-theme="light"] .why-card:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

[data-theme="light"] .why-card:hover h3,
[data-theme="light"] .why-card:hover p,
[data-theme="light"] .why-card:hover .why-num {
    color: #ffffff !important;
}

[data-theme="light"] .why-card:hover .why-icon {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="light"] .mobile-menu-overlay .mobile-link:hover,
[data-theme="light"] .mobile-menu-overlay .mobile-link.active {
    color: #4169E1 !important;
}

.footer-logo {
    filter: invert(1) brightness(10);
    /* Always white since footer is dark in both modes */
}

/* Light Mode Why Card Overrides */
[data-theme="light"] .why-card {
    background-color: #eaf2f8;
    /* Light blue background */
    border-color: #d4e6f1;
}

[data-theme="light"] .why-card:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

[data-theme="light"] .why-card:hover h3,
[data-theme="light"] .why-card:hover p,
[data-theme="light"] .why-card:hover .why-num {
    color: #ffffff !important;
}

[data-theme="light"] .why-card:hover .why-icon {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   NARRATIVE BENTO STORY GRID
   ========================================================================== */

.story-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    grid-auto-rows: minmax(100px, auto);
}

.story-card {
    border-radius: 8px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-card-full {
    grid-column: span 12;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid var(--border-light);
}

.story-row-split {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.story-card-img {
    border-radius: 8px;
    overflow: hidden;
    background: var(--border-light);
    min-height: 300px;
}

.story-card-alt {
    background: var(--alt-bg);
    border: 1px solid var(--border-light);
}

.story-card-primary {
    background: var(--bg-extreme);
    border: 1px solid var(--border-light);
}

.story-card-dark {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--border-light);
}

.story-card-dark .story-title {
    color: var(--accent);
}

.story-card-dark .story-text {
    color: var(--text-muted);
}

.story-card-callout {
    grid-column: span 12;
    border: 1px solid var(--accent);
    text-align: center;
    background: rgba(212, 175, 55, 0.02);
}

.story-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.story-title.accent {
    color: var(--accent);
}

.story-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

.story-text-large {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-callout-title {
    font-size: 1.6rem;
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ==========================================================================
   ABOUT PAGE EDITORIAL STYLES
   ========================================================================== */

.editorial-section-gap {
    align-items: center;
    gap: 6rem;
}

.chapter-title {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.chapter-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.chapter-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-family: var(--font-heading);
}

.chapter-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.chapter-list li {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.chapter-list li .bullet {
    position: absolute;
    left: 0;
    color: var(--accent);
}

.chapter-highlight {
    padding: 2rem;
    border-left: 3px solid var(--accent);
    background-color: rgba(212, 175, 55, 0.03);
}

.chapter-highlight p {
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.chapter-highlight p.mb-1 {
    margin-bottom: 1rem;
}

.chapter-highlight p.mb-0 {
    margin-bottom: 0;
}

.chapter-highlight strong {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.chapter-highlight span {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.chapter-img-wrapper {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.chapter-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.founder-list {
    list-style: none;
    padding: 0;
}

.founder-list li {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.founder-list strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.founder-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.founder-details-wrapper {
    margin-bottom: 2.5rem;
}

/* Additional About Page Classes */
.office-hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.mission-icon {
    font-size: 1.8rem;
}

.mission-title {
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.section-text-large {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.promise-box {
    margin-top: 3rem;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.promise-text {
    font-size: 1.35rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.8;
}

.diamond-img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.philosophy-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 3rem;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* Additional About Page Classes */
.office-hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.mission-icon {
    font-size: 1.8rem;
}

.mission-title {
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title-large {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.section-text-large {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.promise-box {
    margin-top: 3rem;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.promise-text {
    font-size: 1.35rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.8;
}

.diamond-img {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* Identity Cards Grid */
.identity-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.id-card {
    background: var(--alt-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.id-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--text-primary);
}

.id-card-alt {
    background: rgba(212, 175, 55, 0.03);
}

.id-card-alt::before {
    background: var(--accent);
}

.id-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.id-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.id-card-alt .id-title {
    color: var(--accent);
}

.id-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .identity-cards {
        grid-template-columns: 1fr;
    }
}

/* Typographic Split Identity */
.identity-typographic-split {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.id-typo-item {
    flex: 1;
}

.id-typo-divider {
    width: 1px;
    height: 80px;
    background: var(--border-light);
}

.id-typo-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.id-typo-title.accent-text {
    color: var(--accent);
}

.id-typo-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .identity-typographic-split {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .id-typo-divider {
        width: 100px;
        height: 1px;
    }
}

/* Philosophy Section Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    text-align: left;
}

.philosophy-header {
    position: sticky;
    top: 120px;
    height: max-content;
}

.philosophy-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    line-height: 1.3;
    margin-top: 1rem;
    letter-spacing: 1px;
}

.philosophy-main-title .text-block {
    display: block;
    margin-bottom: 0.5rem;
}

.philosophy-main-title .accent-text {
    color: var(--accent);
}

.philosophy-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 4rem;
}

.philosophy-item:last-child {
    margin-bottom: 0;
}

.philosophy-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -4rem;
    width: 1px;
    background: var(--border-light);
}

.philosophy-item:last-child::before {
    display: none;
}

.phil-num {
    position: absolute;
    left: -12px;
    top: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent);
    background: var(--bg-panel);
    /* Matches alt-bg */
    padding: 0.5rem 0;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .philosophy-header {
        position: relative;
        top: 0;
        margin-bottom: 3rem;
    }

    .philosophy-item {
        padding-left: 0;
        text-align: left;
    }

    .philosophy-item::before,
    .phil-num {
        display: none;
    }
}

/* Philosophy Bullets */
.philosophy-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.philosophy-bullets li {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.8rem;
    position: relative;
}

.philosophy-bullets li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.75rem;
    color: var(--accent);
}

/* Stack Cards Layout */
.stack-cards-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-bottom: 6rem;
    position: relative;
}

.stack-card {
    position: sticky;
    top: calc(120px + (var(--card-index) * 15px));
    height: auto;
}

.stack-card-inner {
    background: var(--bg-extreme);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stack-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
    font-weight: 500;
    line-height: 1;
    opacity: 0.8;
}

.stack-card-inner p {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .stack-card-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem 2rem;
        gap: 1.5rem;
    }

    .stack-card {
        top: calc(80px + (var(--card-index) * 10px));
    }

    .stack-num {
        font-size: 2rem;
    }

    .stack-card-inner p {
        font-size: 1.15rem;
    }
}

/* Looking Ahead Section */
.looking-ahead-section {
    background: var(--bg-panel);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.looking-ahead-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.looking-ahead-container {
    position: relative;
    z-index: 1;
}

.ahead-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 5rem;
    max-width: 900px;
}

.ahead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: stretch;
    margin-bottom: 6rem;
}

.ahead-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ahead-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ahead-highlight {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    margin: 2.5rem 0;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

.ahead-journey {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.ahead-journey-step {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ahead-journey-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--accent);
    line-height: 1.3;
    margin: 0.5rem 0 3rem;
}

.ahead-journey-end {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.ahead-footer {
    padding-top: 5rem;
    border-top: 1px solid var(--border-medium);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.ahead-logo {
    height: 70px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

[data-theme="light"] .ahead-logo {
    filter: brightness(0);
}

.ahead-slogan {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 5px;
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .ahead-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .ahead-journey {
        padding: 3rem 2rem;
    }
}