/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}

:root {
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Safe Areas for iOS */
    --safe-top: env(safe-area-inset-top, 20px);
    --safe-bottom: env(safe-area-inset-bottom, 20px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);

    /* Glass blur constant */
    --glass-blur: 20px;
}

/* =============================================
   THEME: Dark (Professional & Sleek)
   ============================================= */
body,
body[data-theme="dark"] {
    /* Page */
    --bg-color: #02011a;
    --bg-mesh-1: rgba(255, 255, 255, 0.03);
    --bg-mesh-2: rgba(255, 255, 255, 0.02);
    --text-primary: #f5f5f7;
    --text-secondary: #84a7fb;
    --accent-color: #e9fd8e;
    --accent-glow: rgba(233, 253, 142, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --logo-gradient: linear-gradient(135deg, #ffffff, #84a7fb);
    --hero-orb-1: #04012e;
    --hero-orb-2: #6780c2;
    /* Notepad (Enhanced Glassmorphism) */
    --np-panel: rgba(10, 10, 20, 0.35);
    --np-panel-soft: rgba(20, 20, 30, 0.5);
    --np-field: transparent;
    --np-line: rgba(255, 255, 255, 0.1);
    --np-text: #f5f5f7;
    --np-text-dim: rgba(245, 245, 247, 0.6);
    --np-accent: #e9fd8e;
    --np-accent-glow: rgba(233, 253, 142, 0.2);
    --np-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    --np-header: transparent;
    --np-header-border: rgba(255, 255, 255, 0.12);
    --np-btn-color: #f5f5f7;
    --np-collapsed-bg: rgba(4, 1, 46, 0.4);
    --np-collapsed-border: linear-gradient(135deg, #6780c2, #84a7fb, #e9fd8e);
    --np-collapsed-shadow: rgba(132, 167, 251, 0.4);
}

/* =============================================
   THEME: Light (Clean & Crisp)
   ============================================= */
body[data-theme="light"] {
    /* Page */
    --bg-color: #f2e8d5;
    --bg-mesh-1: rgba(0, 0, 0, 0.02);
    --bg-mesh-2: rgba(0, 0, 0, 0.01);
    --text-primary: #04012e;
    --text-secondary: #6780c2;
    --accent-color: #84a7fb;
    --accent-glow: rgba(132, 167, 251, 0.15);
    --glass-bg: rgba(242, 232, 213, 0.4);
    --glass-border: rgba(156, 138, 102, 0.2);
    --logo-gradient: linear-gradient(135deg, #04012e, #6780c2);
    --hero-orb-1: #e5e5ea;
    --hero-orb-2: #d2d2d7;
    /* Notepad (Enhanced Glassmorphism) */
    --np-panel: rgba(255, 255, 255, 0.4);
    --np-panel-soft: rgba(255, 255, 255, 0.6);
    --np-field: transparent;
    --np-line: rgba(0, 0, 0, 0.15);
    --np-text: #02011a;
    --np-text-dim: rgba(2, 1, 26, 0.8);
    --np-accent: #6780c2;
    --np-accent-glow: rgba(103, 128, 194, 0.2);
    --np-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    --np-header: transparent;
    --np-header-border: rgba(103, 128, 194, 0.2);
    --np-btn-color: #02011a;
    --np-collapsed-bg: rgba(255, 255, 255, 0.5);
    --np-collapsed-border: linear-gradient(135deg, #6780c2, #84a7fb, #e9fd8e);
    --np-collapsed-shadow: rgba(103, 128, 194, 0.2);
}

/* =============================================
   Marquee Banner
   ============================================= */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #000000;
    color: #7b99e8;
    padding: 0.8rem 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;
    display: flex;
    white-space: nowrap;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 1;
    pointer-events: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scroll-marquee 80s linear infinite;
}

.banner-item {
    display: inline-block;
    padding: 0 6rem;
    font-size: 0.7rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.banner-item:nth-child(3n+1) { color: #F5B910; } /* Gold */
.banner-item:nth-child(3n+2) { color: #D4212D; } /* Red */
.banner-item:nth-child(3n+3) { color: #00A35B; } /* Green */

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
    /* Smooth theme and glow transitions */
    transition: background-color 0.8s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
}

/* Navigation - Glassmorphism & Safe Area */
.glass-nav {
    position: absolute;
    top: 3rem;
    /* Sits below the marquee */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem max(2rem, var(--safe-left)) 1.5rem max(2rem, var(--safe-right));
    padding-top: calc(1.5rem + var(--safe-top));
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-nav.scrolled {
    position: fixed;
    /* Becomes sticky on scroll */
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem max(2rem, var(--safe-left)) 1rem max(2rem, var(--safe-right));
    padding-top: calc(1rem + var(--safe-top));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.35;
}

.logo:hover {
    transform: scale(1.02);
    opacity: 0.8;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(132, 167, 251, 0.2));
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.nav-logo-text {
    margin-left: 1rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-transform: uppercase;
}

/* Mobile Menu Button - Unique Molecular Node Design */
#menuToggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    z-index: 1001;
    padding: 12px;
    opacity: 0.6;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#menuToggle:hover {
    opacity: 1;
    transform: scale(1.05);
}

#menuToggle span {
    display: block;
    width: 28px;
    height: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border-radius: 2px;
}

#menuToggle span:nth-child(1) { background-color: #F5B910; width: 28px; } /* Gold */
#menuToggle span:nth-child(2) { background-color: #D4212D; width: 16px; } /* Red */
#menuToggle span:nth-child(3) { background-color: #00A35B; width: 22px; } /* Green */

#menuToggle:hover span {
    filter: brightness(1.2);
    box-shadow: 0 0 10px currentColor;
}

/* Staggered Molecular Connections */
#menuToggle span:nth-child(1) {
    width: 28px;
}

#menuToggle span:nth-child(2) {
    width: 16px;
}

#menuToggle span:nth-child(3) {
    width: 22px;
}

/* Open State: The "Synthetic Bond" X */
.menu-open #menuToggle {
    opacity: 1;
    transform: rotate(180deg);
}

.menu-open #menuToggle span:nth-child(1) {
    transform: translateY(9px) rotate(26.6deg);
    width: 30px;
    background-color: #F5B910;
}

.menu-open #menuToggle span:nth-child(2) {
    width: 0;
    opacity: 0;
    transform: translateX(10px);
}

.menu-open #menuToggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-26.6deg);
    width: 30px;
    background-color: #F5B910;
}

/* Atomic Spheres Removed */


/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--accent-color);
    letter-spacing: 0.35em;
}

/* Main Content Spacing */
main {
    padding-bottom: calc(2rem + var(--safe-bottom));
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Full screen background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-bg-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(2, 1, 26, 0.25) 0%,
        rgba(2, 1, 26, 0.55) 60%,
        rgba(2, 1, 26, 0.75) 100%
    );
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    z-index: 3;
    text-align: center;
    padding: 8rem 1.5rem 2rem;
    position: relative;
    /* Force light text color even in light mode for the hero section */
    color: #f5f5f7;
}

.hero-content .hero-title,
.hero-content .hero-subtitle {
    color: #f5f5f7;
}

.hero-logo-img {
    height: clamp(160px, 22vw, 320px);
    width: auto;
    max-width: 90vw;
    object-fit: contain;
    margin-bottom: 2.5rem;
}

/* Two-phase logo reveal */
.hero-logo-wrap {
    height: clamp(160px, 22vw, 320px);
    aspect-ratio: 1024 / 648;
    max-width: 90vw;
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
    animation: kenteLogoShine 15s linear infinite 2s;
}

.hero-logo-letters,
.hero-logo-icons {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Phase 1: letters sweep left → right */
.hero-logo-letters {
    animation: lettersReveal 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Phase 2: starts exactly when letters finish — no overlap */
.hero-logo-icons {
    animation: iconsReveal 1s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
}

@keyframes lettersReveal {
    from {
        clip-path: inset(55% 100% 0 0);
        opacity: 0.4;
    }

    to {
        clip-path: inset(55% 0% 0 0);
        opacity: 1;
    }
}

@keyframes iconsReveal {
    from {
        clip-path: inset(0 0 45% 100%);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 45% 0%);
        opacity: 1;
    }
}

/* Kente colour wash — Gold → Red → Green → Gold, all via warm tones (no blue/purple)
   Starts neutral and fades in. Each colour holds, then blends through:
   Gold(5°) → Red(-43°): -48° through orange
   Red(-43°) → Green(109°): +152° through yellow-orange
   Green(109°) → Gold(5°): -104° through yellow-green */
@keyframes kenteLogoShine {
    0% {
        filter: grayscale(0) sepia(0) saturate(1) hue-rotate(0deg) brightness(1);
    }
    8% {
        filter: grayscale(0.5) sepia(0.5) saturate(4) hue-rotate(5deg) brightness(1.12);
    }
    16%, 28% {
        filter: grayscale(1) sepia(1) saturate(8) hue-rotate(5deg) brightness(1.25);
    }
    40%, 52% {
        filter: grayscale(1) sepia(1) saturate(8) hue-rotate(-43deg) brightness(1.15);
    }
    64%, 76% {
        filter: grayscale(1) sepia(1) saturate(8) hue-rotate(109deg) brightness(1.1);
    }
    88% {
        filter: grayscale(0.5) sepia(0.5) saturate(4) hue-rotate(5deg) brightness(1.12);
    }
    100% {
        filter: grayscale(0) sepia(0) saturate(1) hue-rotate(0deg) brightness(1);
    }
}

/* Suppress the periodic shine when the bg-glow mode has its own effect */
body.bg-glow .hero-logo-wrap {
    animation: none;
}

body.bg-glow .hero-logo-img,
body.bg-glow .footer-logo-img {
    filter: drop-shadow(-10px 0 20px rgba(132, 167, 251, 0.4)) drop-shadow(10px 0 20px rgba(132, 167, 251, 0.4));
    animation: logoBrandedPulse 4s ease-in-out infinite !important;
    opacity: 1 !important;
}

@keyframes logoBrandedPulse {

    0%,
    100% {
        filter: drop-shadow(-8px 0 15px rgba(132, 167, 251, 0.2)) drop-shadow(8px 0 15px rgba(132, 167, 251, 0.2));
    }

    50% {
        filter: drop-shadow(-25px 0 50px rgba(233, 253, 142, 0.6)) drop-shadow(25px 0 50px rgba(233, 253, 142, 0.6)) drop-shadow(0 0 30px rgba(132, 167, 251, 0.4));
    }
}





.hero::before {
    background: var(--hero-orb-1);
    top: -200px;
    left: -200px;
    transition: background 0.5s ease;
}

.hero::after {
    background: var(--hero-orb-2);
    bottom: -200px;
    right: -200px;
    transition: background 0.5s ease;
}

.hero-logo-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 0.85;
    margin-bottom: 2rem;
    position: relative;

    --diamond-glow: #ffffff;
    --diamond-refract: #00f2ff;
    background: linear-gradient(110deg,
            #84a7fb 15%,
            #ffffff 35%,
            #e9fd8e 50%,
            #ffffff 65%,
            #84a7fb 85%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    filter: drop-shadow(0 0 30px var(--accent-glow));
    opacity: 0;
    transform: translateY(20px);
    animation:
        heroTextReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

body.bg-glow .hero-logo-text {
    animation:
        heroTextReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s,
        diamondShine 2.5s linear infinite;
}

/* High-Fidelity Diamond Sparkle Glints */
.hero-logo-text::before,
.hero-logo-text::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: radial-gradient(circle, #ffffff 20%, var(--diamond-refract) 40%, transparent 70%);
    /* 4-pointed star polygon */
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 0 8px var(--diamond-refract));
}

.hero-logo-text::before {
    animation: randomGlints 4s linear infinite;
}

.hero-logo-text::after {
    animation: randomGlints 5s linear infinite reverse;
    animation-delay: 2s;
}

/* Light Mode: Animate half as often (double duration) */
body[data-theme="light"] .hero-logo-text {
    animation:
        heroTextReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s,
        diamondShine 5s linear infinite;
}

body[data-theme="light"] .hero-logo-text::before {
    animation-duration: 8s;
}

body[data-theme="light"] .hero-logo-text::after {
    animation-duration: 10s;
    animation-delay: 4s;
}


@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: clamp(1.1rem, 4vw, 3rem);
    line-height: 1.3;
    letter-spacing: clamp(0.12em, 2.5vw, 0.5em);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;

    /* The Kente Gradient is pre-loaded but hidden behind the initial text color */
    background-image: linear-gradient(110deg,
            #c02a18 0%,
            #d4720e 20%,
            #f0a030 38%,
            #286630 55%,
            #d4720e 72%,
            #c02a18 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Start with solid Logo Blue covering the gradient */
    -webkit-text-fill-color: #7b99e8;
    color: #7b99e8;

    /* Animations: revealKente fades out the blue to show the moving gradient */
    animation: 
        revealKente 1.5s ease forwards 2s,
        diamondShine 4s linear infinite 2s;
    
    transition: opacity 0.8s ease;
    opacity: 0.95;
}

@keyframes revealKente {
    from { -webkit-text-fill-color: #7b99e8; }
    to { -webkit-text-fill-color: transparent; }
}

body.bg-glow .hero-title {
    animation: diamondShine 5s linear infinite 2s;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.2em;
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
    opacity: 1;
    text-transform: uppercase;
    max-width: 650px;
    margin: 0 auto 1.5rem;
    transition: all 0.8s ease;
}



.ghost-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--text-primary) 50%, transparent);
    transition: all 0.4s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.ghost-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
}

.ghost-button.clicked-shine::before {
    animation: buttonClickShine 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes buttonClickShine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.ghost-button:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

/* Premium Hero CTA Group */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.6rem;
    background: #000000;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #F5B910; /* Default Gold */
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Premium Hero CTA — Kente-bordered editorial style */
.hero-cta-group .hero-cta {
    background: transparent;
    border: 1px solid #F5B910;
    box-shadow:
        0 0 18px rgba(245, 185, 16, 0.25),
        inset 0 0 12px rgba(245, 185, 16, 0.07);
    color: #F5B910;
    letter-spacing: 0.3em;
    font-weight: 300;
    padding: 0.85rem 2.4rem;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.hero-cta-group .hero-cta:hover {
    background: rgba(245, 185, 16, 0.1);
    box-shadow:
        0 0 30px rgba(245, 185, 16, 0.5),
        inset 0 0 20px rgba(245, 185, 16, 0.15);
    transform: translateY(-2px);
}

.hero-cta-group .hero-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-cta-group .hero-cta:hover::before {
    opacity: 1;
    animation: liquid-swirl 3s linear infinite;
}

@keyframes liquid-swirl {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-cta {
    padding: 0.5rem 1.4rem;
    font-size: 0.65rem;
    z-index: 10;
    margin-right: auto;
    background-color: #00A35B;
    border-color: #00A35B;
}

.text-yellow { color: #F5B910; }
.text-red { color: #D4212D; }

@media (max-width: 480px) {
    .nav-cta {
        padding: 0.4rem 1rem;
        font-size: 0.6rem;
    }
}

.hero-cta:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Removed glint effects for small button */

.hero-cta-text {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.hero-cta-arrow {
    display: none;
}

.hero-cta:hover .hero-cta-text {
    transform: none;
}

.hero-cta:active {
    transform: scale(0.98);
}

/* Service CTA - Compact version of Hero CTA */
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.8rem 2.2rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--text-primary) 15%, transparent);
    border-radius: 0;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-top: 1.5rem;
}

.service-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            transparent 0%,
            color-mix(in srgb, var(--text-primary) 4%, transparent) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
}

.service-cta.clicked-shine::after {
    animation: ctaGlint 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.service-cta-text {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.service-cta-arrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-cta:hover {
    border-color: color-mix(in srgb, var(--text-primary) 40%, transparent);
    padding-right: 1.8rem;
}

.service-cta:hover::before {
    opacity: 1;
}

.service-cta:hover .service-cta-text {
    transform: translateX(-4px);
}

.service-cta:hover .service-cta-arrow {
    width: 20px;
    opacity: 0.7;
}

.service-cta:active {
    transform: scale(0.98);
}

/* Services */
.services-section {
    position: relative;
    padding: 10rem 1.5rem;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

/* ── Services background photo slider ──────────────────────────────────────── */
.services-bg-slider {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
    pointer-events: none;
}

.services-bg-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    will-change: opacity;
}

.services-bg-slider .slide.active {
    opacity: 1;
}

.services-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(242, 232, 213, 0.75) 0%,
        rgba(242, 232, 213, 0.62) 50%,
        rgba(242, 232, 213, 0.75) 100%
    );
    z-index: 1;
    transition: background 0.8s ease;
}

body[data-theme="dark"] .services-bg-overlay {
    background: linear-gradient(
        to bottom,
        rgba(2, 1, 26, 0.75) 0%,
        rgba(2, 1, 26, 0.60) 50%,
        rgba(2, 1, 26, 0.75) 100%
    );
}

.services-section .services-stack {
    position: relative;
    z-index: 2;
}

.services-intro-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
}

.services-intro-section .services-heading-block {
    margin-bottom: 0;
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.services-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(110deg,
            #c02a18 0%,
            #d4720e 20%,
            #f0a030 38%,
            #286630 55%,
            #d4720e 72%,
            #c02a18 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: diamondShine 5s linear infinite;
}

/* Premium Services heading block */
.services-heading-block {
    text-align: center;
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Decorative blueprint line under the title */
.services-heading-block::after {
    content: '';
    width: 60px;
    height: 3px;
    background: #9c8a66;
    box-shadow: none;
    display: block;
    margin-top: 1.5rem;
    transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 2px;
}

.services-heading-block.visible::after {
    width: 140px;
}

.services-tagline {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #9c8a66;
    opacity: 1;
    margin: 0;
}

/* Services Layout */
.services-stack {
    display: flex;
    flex-direction: column;
    gap: 15rem;
    margin-top: 0;
    perspective: 1200px;
}

.service-row {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

.service-card {
    position: relative;
    padding: 3rem;
    border-radius: 20px;
    background: color-mix(in srgb, var(--bg-color) 35%, transparent);
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-info,
.service-media {
    position: relative;
    z-index: 1;
}

@keyframes snakeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
    .service-row {
        flex-direction: row;
        gap: 5rem;
    }

    .service-row.reverse {
        flex-direction: row-reverse;
    }

    .service-info,
    .service-media {
        flex: 1;
    }
}

.service-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    
    background: linear-gradient(110deg,
            #c02a18 0%,
            #d4720e 20%,
            #f0a030 38%,
            #286630 55%,
            #d4720e 72%,
            #c02a18 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: diamondShine 5s linear infinite;
}



/* Luxury Package Sparkle Glints */
#cardLuxury .service-info h3::before,
#cardLuxury .service-info h3::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #ffffff 20%, var(--diamond-refract) 40%, transparent 70%);
    /* 4-pointed star polygon */
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 0 6px var(--diamond-refract));
}

#cardLuxury .service-info h3::before {
    animation: randomGlints 4s linear infinite;
}

#cardLuxury .service-info h3::after {
    animation: randomGlints 5s linear infinite reverse;
    animation-delay: 2.5s;
}

.service-row:nth-child(1) .service-info h3 {
    animation-delay: 0s;
}

.service-row:nth-child(2) .service-info h3 {
    animation-delay: 1.5s;
}

.service-row:nth-child(3) .service-info h3 {
    animation-delay: 3s;
}

.service-row:nth-child(4) .service-info h3 {
    animation-delay: 4.5s;
}

.service-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    color: #544a36;
    opacity: 1;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.service-features li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #544a36;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.02em;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: #544a36;
    font-weight: bold;
}

.service-features li.no-bullet::before {
    display: none;
}

.service-features li.no-bullet {
    padding-left: 0;
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.8;
}

.service-link {
    display: inline-block;
    font-size: 0.85rem;
    padding: 0.8rem 2rem;
}

/* Service Media & Local Canvases */
.service-media {
    width: 100%;
    min-height: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slideshow-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slideshow-wrapper .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 3s ease;
    transform: scale(1.1);
    filter: brightness(0.7) saturate(1.2);
    pointer-events: none;
    z-index: 0;
}

.slideshow-wrapper .slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}

.service-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

/* Slideshow Arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(2, 1, 26, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f5f5f7;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    opacity: 0; /* Hidden until hover */
    transition: all 0.3s ease;
}

.service-media:hover .slide-nav {
    opacity: 1;
}

.slide-nav:hover {
    background: rgba(245, 185, 16, 0.2);
    border-color: #F5B910;
    color: #F5B910;
    transform: translateY(-50%) scale(1.05);
}

.slide-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-arrow {
    left: 1rem;
}

.next-arrow {
    right: 1rem;
}

/* Allow clicking images to expand */
.slideshow-wrapper .slide {
    cursor: zoom-in;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: radial-gradient(circle at center, rgba(57, 255, 20, 0.8) 0%, rgba(255, 255, 0, 0.6) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: breathOfLife 8s ease-in-out infinite;
}

@keyframes breathOfLife {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        filter: brightness(1.1);
    }
}

@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #00f2ff; /* Jamaican Sea Blue */
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: #00f2ff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-nav:hover {
    background: rgba(0, 242, 255, 0.2);
    border-color: #00f2ff;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

.lightbox-close:hover {
    color: #F5B910;
}

.card-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    border-radius: 20px;
    pointer-events: auto;
    /* Allow interactions */
    cursor: pointer;
}

.card-canvas.active {
    opacity: 1;
}

.placeholder-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* =============================================
   CTA / Contact — Terminal-style footer
   ============================================= */
.contact-cta {
    padding: 6rem 2rem 4rem;
    position: relative;
}

/* Two-column contact layout */
.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Form Column */
.contact-form-column {
    text-align: left;
}

.contact-form-column .cta-heading {
    text-align: left;
}

.contact-form-column .cta-subtext {
    text-align: left;
    margin-bottom: 2rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    opacity: 0.7;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.form-input::placeholder {
    color: var(--text-primary);
    opacity: 0.35;
}

.form-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 2.4rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    background: transparent;
    border: 1px solid #F5B910;
    box-shadow: 
        0 0 18px rgba(245, 185, 16, 0.25),
        inset 0 0 12px rgba(245, 185, 16, 0.07);
    color: #F5B910;
    letter-spacing: 0.3em;
    font-weight: 300;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.contact-submit-btn:hover {
    background: rgba(245, 185, 16, 0.1);
    box-shadow: 
        0 0 30px rgba(245, 185, 16, 0.5),
        inset 0 0 20px rgba(245, 185, 16, 0.15);
    transform: translateY(-2px);
    color: #F5B910;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-submit-btn:hover::before {
    opacity: 1;
    animation: liquid-swirl 3s linear infinite;
}

.contact-submit-btn:active {
    transform: scale(0.98);
}

.contact-submit-btn.success {
    background: linear-gradient(135deg, #34d399, #6ee7b7);
    color: #02011a;
}

/* Right Column: Info */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Contact Pills (Phone / Email) */
.contact-quick-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.8rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-pill:hover {
    border-color: var(--accent-color);
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-2px);
    color: var(--accent-color);
}

.contact-pill svg {
    opacity: 0.7;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

.contact-pill:hover svg {
    opacity: 1;
}

/* Location Block */
.contact-location-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 185, 16, 0.2);
}

.contact-location-heading {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #F5B910;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(245, 185, 16, 0.3);
}

.contact-location-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    opacity: 0.7;
    line-height: 1.6;
}

/* Map */
.contact-map-wrapper {
    margin-top: 2rem;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 185, 16, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.contact-map-wrapper:hover {
    border-color: #F5B910;
    box-shadow: 0 0 25px rgba(245, 185, 16, 0.2);
}

.contact-map-wrapper iframe {
    border-radius: 12px;
    filter: grayscale(0.5) contrast(1.1) brightness(0.9);
    transition: filter 0.5s ease;
    display: block;
    width: 100%;
}

.cta-terminal {
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Ambient glow & light beam behind the terminal panel */
.cta-terminal::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -60px;
    /* Reduced extension so it doesn't bleed into next section */
    background:
        /* The main diffuse aura around the box */
        radial-gradient(ellipse at 50% 50%, color-mix(in srgb, var(--accent-color) 15%, transparent) 0%, transparent 70%),
        /* A softer, shorter pillar of light */
        linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--accent-color) 12%, transparent) 50%, transparent 95%);
    filter: blur(35px);
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    /* Hidden until powered */
    transition: opacity 1s ease;
}

.cta-terminal.powered::before {
    opacity: 1;
}

/* Secondary concentrated ray of light cascading from the button specifically */
.cta-terminal::after {
    content: '';
    position: absolute;
    bottom: -40px;
    /* Reduced to prevent bleed */
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    height: 120px;
    /* Shorter ray */
    background: conic-gradient(from 140deg at 50% 0%, transparent 0deg, color-mix(in srgb, var(--accent-color) 20%, transparent) 40deg, transparent 80deg);
    filter: blur(40px);
    pointer-events: none;
    z-index: -2;
    opacity: 0;
    /* Hidden until powered */
    transition: opacity 1s ease 0.3s;
    /* Slight delay for the ray */
}

.cta-terminal.powered::after {
    opacity: 1;
}

@keyframes rgbShadow {
    0% {
        box-shadow: 0 0 25px rgba(255, 0, 85, 0.5);
        border-color: rgba(255, 0, 85, 0.8);
    }

    25% {
        box-shadow: 0 0 25px rgba(170, 0, 255, 0.5);
        border-color: rgba(170, 0, 255, 0.8);
    }

    50% {
        box-shadow: 0 0 25px rgba(0, 170, 255, 0.5);
        border-color: rgba(0, 170, 255, 0.8);
    }

    75% {
        box-shadow: 0 0 25px rgba(0, 255, 170, 0.5);
        border-color: rgba(0, 255, 170, 0.8);
    }

    100% {
        box-shadow: 0 0 25px rgba(255, 0, 85, 0.5);
        border-color: rgba(255, 0, 85, 0.8);
    }
}

.cta-terminal.powered {
    animation: rgbShadow 4s linear infinite;
    transition: box-shadow 0.6s ease;
}

.cta-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: inline-block;

    background: linear-gradient(110deg,
            #c02a18 0%,
            #d4720e 20%,
            #f0a030 38%,
            #286630 55%,
            #d4720e 72%,
            #c02a18 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: diamondShine 5s linear infinite;
}

.cta-subtext {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #9c8a66;
    opacity: 1;
    margin-bottom: 3rem;
}

/* Glow intensify on hover */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 4px color-mix(in srgb, var(--accent-color) 60%, transparent);
    }

    50% {
        box-shadow: 0 0 6px color-mix(in srgb, var(--accent-color) 80%, transparent),
            0 0 8px color-mix(in srgb, var(--accent-color) 40%, transparent);
    }
}

/* Premium Email CTA */
.email-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.2rem 3.8rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6780c2;
    background: linear-gradient(var(--bg-color), var(--bg-color)) padding-box,
        linear-gradient(90deg, #6780c2, #84a7fb, #e9fd8e) border-box;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 1.5rem auto 0;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .email-cta {
        padding: 1rem 1.8rem;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }
}

.email-cta:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #6780c2, #84a7fb, #e9fd8e) border-box;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(103, 128, 194, 0.3);
}

.email-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, color-mix(in srgb, var(--text-primary) 4%, transparent) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.email-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
}

.email-cta.clicked-shine::after {
    animation: ctaGlint 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.email-cta-icon {
    display: flex;
    align-items: center;
    margin-right: 1.25rem;
    opacity: 0.8;
}

.email-cta-text {
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 3vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.email-cta-arrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.email-cta:hover {
    border-color: color-mix(in srgb, var(--text-primary) 60%, transparent);
    padding-right: 2.5rem;
    box-shadow: 0 0 30px color-mix(in srgb, var(--text-primary) 5%, transparent);
}

.email-cta:hover::before {
    opacity: 1;
}

.email-cta:hover .email-cta-text {
    transform: translateX(-6px);
}

.email-cta:hover .email-cta-arrow {
    width: 28px;
    opacity: 0.7;
}

/* Powered state for email-cta */
.cta-terminal.powered .email-cta {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.email-cta:active {
    transform: scale(0.98);
}

/* Service card website link */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.25rem;
    padding: 0.5rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--accent-color);
    border: 1px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
    border-radius: 100px;
    background: color-mix(in srgb, var(--accent-color) 8%, transparent);
    transition: all 0.25s ease;
}

.card-link:hover {
    background: color-mix(in srgb, var(--accent-color) 18%, transparent);
    border-color: var(--accent-color);
    box-shadow: 0 0 16px color-mix(in srgb, var(--accent-color) 30%, transparent);
    transform: translateY(-2px);
}

.card-link:active {
    transform: scale(0.97);
}

.card-link svg {
    flex-shrink: 0;
}

/* Footer */
footer {
    padding: 4rem 1.5rem calc(5rem + var(--safe-bottom));
    border-top: 1px solid var(--glass-border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
    letter-spacing: 0.05em;
    font-family: var(--font-body);
    line-height: 1.8;
}

.heritage-text {
    color: var(--accent-color);
    font-weight: 600;
    white-space: nowrap;
}

.rights-split {
    margin: 0 0.5rem;
    opacity: 0.3;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.footer-logo span {
    display: block;
    line-height: 0.85;
    max-width: 100px;
    text-align: center;
    position: relative;
    /* For glints */
    --diamond-glow: #ffffff;
    --diamond-refract: #00f2ff;
    background: linear-gradient(110deg,
            var(--text-primary) 15%,
            #d1d5db 35%,
            var(--diamond-glow) 45%,
            var(--diamond-refract) 50%,
            var(--diamond-glow) 55%,
            #d1d5db 65%,
            var(--text-primary) 85%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: diamondShine 4s linear infinite;
}

.footer-logo span::before,
.footer-logo span::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
    opacity: 0;
    pointer-events: none;
}

.footer-logo span::before {
    top: -8px;
    left: -10px;
    animation: randomGlints 6s infinite;
}

.footer-logo span::after {
    bottom: -8px;
    right: -10px;
    animation: randomGlints 8s infinite;
    animation-delay: 3s;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* =============================================
   Learn More Section
   ============================================= */
.learn-more-section {
    padding: 10rem 1.5rem 8rem;
    max-width: 800px;
    margin: 0 auto;
}

.learn-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.knowledge-quote {
    position: relative;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.35em;
    line-height: 1.8;
    color: var(--text-primary);
    text-transform: uppercase;
    opacity: 0.5;
    margin: 0;
    padding: 0 1rem;
}

.quote-mark {
    display: none;
}

.knowledge-quote cite {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0.7;
}

.learn-divider {
    width: 40px;
    height: 1px;
    margin: 6rem auto;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    opacity: 0.15;
}

.learn-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0.4;
    margin-bottom: 2.5rem;
}

.learn-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
}

.learn-links li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid color-mix(in srgb, var(--text-primary) 10%, transparent);
    border-radius: 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.6;
}

.learn-links li a:hover {
    opacity: 1;
    border-color: var(--text-primary);
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--text-primary) 3%, transparent);
}

.learn-links li a svg {
    opacity: 0.5;
    transition: transform 0.4s ease;
}

.learn-links li a:hover svg {
    transform: translate(2px, -2px);
    opacity: 1;
}



/* =============================================
   Advanced Animations & Layers
   ============================================= */

/* Canvas Particle System Layer */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    /* Under everything else */
    opacity: 0.45;
    pointer-events: none;
}

/* Make sure main content is above canvas */
main,
nav,
footer,
.floating-notepad {
    position: relative;
    z-index: 10;
}

/* Dynamic Power Line Overlay */
/* Lottie Container */
.lottie-container {
    display: none;
}

/* =============================================
   Animations (Intersection Observer)
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   Responsive: Tablets+ (2×2 grid)
   ============================================= */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-terminal {
        padding: 4rem 3rem;
    }
}

/* =============================================
   Floating Notepad Component
   ============================================= */
.floating-notepad {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 360px;
    max-width: calc(100vw - 4rem);
    height: 460px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: var(--np-panel);
    border: 1px solid rgba(103, 128, 194, 0.15);
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-notepad.collapsed {
    height: 42px !important;
    width: 42px !important;
    /* Perfectly circular single-button state */
    border-radius: 21px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(4, 1, 46, 0.3) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

/* Blue/Purple Soapy Glow Effect */
.floating-notepad.has-glow {
    box-shadow: 0 0 40px rgba(103, 128, 194, 0.4),
        inset 0 0 20px rgba(162, 0, 255, 0.2);
    border-color: rgba(103, 128, 194, 0.6);
}

/* Hide ALL controls except the toggle eye when collapsed */
.floating-notepad.collapsed .notepad-btn:not(.toggle-btn) {
    display: none;
}

/* Hide body and footer entirely when collapsed */
.floating-notepad.collapsed .notepad-body,
.floating-notepad.collapsed .notepad-footer {
    display: none;
}


/* Slim down the header in collapsed mode and center the single button */
.floating-notepad.collapsed .notepad-header {
    height: 42px;
    padding: 0;
    border-bottom: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.notepad-header {
    padding: 0.6rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    background: transparent;
    border-bottom: 1px solid rgba(103, 128, 194, 0.1);
    gap: 0.4rem;
    height: 50px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.notepad-header .header-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.notepad-body {
    flex: 1;
    background: rgba(0, 4, 10, 0.4);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background 0.3s ease;
}

.notepad-input-group {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(103, 128, 194, 0.1);
    flex: 1;
    /* Unit size */
    display: flex;
    align-items: center;
}

.notepad-message-group {
    flex: 3;
    /* 3x Unit size */
    display: flex;
    flex-direction: column;
    margin-top: 0.75rem;
}

.notepad-section-tag {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--np-text-dim);
    opacity: 0.8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.notepad-email-input,
.notepad-phone-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--np-accent);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    outline: none;
    letter-spacing: 0.05em;
}

.notepad-email-input::placeholder,
.notepad-phone-input::placeholder {
    color: var(--np-text-dim);
    opacity: 0.6;
}

.notepad-actions {
    margin-top: auto;
    padding-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.notepad-send-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.65rem 1.4rem;
    background: var(--accent-color);
    color: #02011a;
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(233, 253, 142, 0.2);
}

.notepad-send-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(233, 253, 142, 0.4);
    filter: brightness(1.05);
}

.notepad-send-btn:active {
    transform: scale(0.96);
}

.notepad-send-btn.success {
    background: var(--accent-color) !important;
    color: #02011a !important;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.gallery-dropdown-btn {
    transition: transform 0.3s ease;
}

.gallery-dropdown-btn.active svg {
    transform: rotate(180deg);
}

.notepad-send-btn:hover svg {
    transform: translate(2px, -2px) scale(1.1);
}

.notepad-body textarea {
    width: 100%;
    flex: 1;
    background: transparent;
    border: none;
    color: var(--np-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    resize: none;
    outline: none;
    padding: 0;
}

.notepad-body textarea::placeholder {
    color: var(--np-text-dim);
    opacity: 0.5;
}

.music-toggle.playing svg {
    animation: vinylSpin 3s linear infinite;
    color: #F5B910;
}

@keyframes vinylSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.notepad-footer {
    padding: 0.4rem 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: var(--np-panel-soft);
    min-height: 28px;
    flex-shrink: 0;
    border-top: 1px solid var(--np-line);
    transition: background 0.3s ease;
}

/* Notepad control buttons */
.notepad-btn {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--np-btn-color);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    opacity: 0.7;
}

.notepad-btn:hover {
    color: #e9fd8e;
    opacity: 1;
    transform: translateY(-1px);
    /* Subtle hover outline */
    border-color: rgba(103, 128, 194, 0.3);
}

/* "Enabled" state with glowing outlines */
.notepad-btn.active-mode {
    border-color: #e9fd8e !important;
    box-shadow: 0 0 10px rgba(233, 253, 142, 0.4);
    opacity: 1;
    color: #e9fd8e;
}

.notepad-btn.clear:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}

.notepad-btn.copy:hover {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.4);
}

.notepad-btn.copy.copied {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.5);
}

.notepad-btn.minimize-btn:hover {
    background: rgba(99, 102, 241, 0.12);
    color: var(--np-accent);
    border-color: color-mix(in srgb, var(--np-accent) 60%, transparent);
}

/* Theme Toggle icon handling */
.theme-toggle svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-toggle:hover svg {
    transform: scale(1.15) rotate(15deg);
}

@keyframes atomPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.5);
    }
}

/* Resize handles — all 4 corners */
.gt-resizer {
    position: absolute;
    width: 18px;
    height: 18px;
    z-index: 1001;
}

.gt-nw {
    top: 0;
    left: 0;
    cursor: nwse-resize;
}

.gt-ne {
    top: 0;
    right: 0;
    cursor: nesw-resize;
}

.gt-sw {
    bottom: 0;
    left: 0;
    cursor: nesw-resize;
}

.gt-se {
    bottom: 0;
    right: 0;
    cursor: nwse-resize;
}

@keyframes textShimmer {
    0% {
        background-position: 200% center;
    }

    20% {
        background-position: -200% center;
    }

    100% {
        background-position: -200% center;
    }
}

@keyframes ambientOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Base style cleaning */
::selection {
    background: var(--accent-color);
    color: #fff;
}



@keyframes ambientOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* =============================================
   BIOLUMINESCENT MODE (GLOW)
   ============================================= */
body.bg-glow {
    --glow-main: #6780c2;
    --glow-secondary: #e9fd8e;
    --glow-fade: rgba(103, 128, 194, 0.3);
    --particle-color: var(--glow-main);
    --accent-glow: var(--glow-fade);
    background: radial-gradient(circle at 50% 50%, #000814 0%, #050505 100%);
    transition: background 0.8s ease;
}

/* Fiery Red Glow for Light Theme */
body[data-theme="light"].bg-glow {
    --glow-main: #ff2200;
    --glow-secondary: #ff8866;
    --glow-fade: rgba(255, 34, 0, 0.3);
    background: radial-gradient(circle at 50% 50%, #fff5f2 0%, #f5f5f7 100%);
}

body.bg-glow .hero-title {
    color: var(--glow-main);
    text-shadow: 0 0 25px var(--glow-fade);
    opacity: 0.9;
    transition: all 0.8s ease;
}

body.bg-glow .hero-logo-text {
    color: var(--glow-main);
    opacity: 0.9;
    transition: all 0.8s ease;
}

body.bg-glow .hero-subtitle {
    color: var(--glow-secondary);
    opacity: 0.7;
    transition: all 0.8s ease;
}

/* Removed glow theme styling for hero-cta */

body.bg-glow .nav-logo-svg {
    filter: none !important;
    opacity: 1 !important;
}

body.bg-glow .nav-logo-svg path,
body.bg-glow .nav-logo-svg line,
body.bg-glow .nav-logo-svg circle {
    stroke: var(--glow-main) !important;
    filter: drop-shadow(0 0 6px var(--glow-main));
    stroke-width: 1.8;
    opacity: 1 !important;
}

body.bg-glow .nav-logo-svg circle[r="1.5"] {
    fill: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    opacity: 1 !important;
}

body.bg-glow .glass-nav {
    border-bottom-color: var(--glow-fade);
    box-shadow: 0 4px 30px color-mix(in srgb, var(--glow-main) 5%, transparent);
}

body.bg-glow #menuToggle span {
    background-color: var(--glow-main);
    transition: background-color 0.8s ease;
}

/* Compress notepad to 3 buttons when fully minimized */
.floating-notepad.collapsed .notepad-btn.copy,
.floating-notepad.collapsed .notepad-btn.clear,
.floating-notepad.collapsed .notepad-btn.minimize-btn {
    display: none !important;
}

/* =========================================
   Detailing Pricing & Promo Cards
   ========================================= */

.price-display,
.promo-display {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
}

.glass-card {
    background: color-mix(in srgb, var(--text-primary) 5%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid color-mix(in srgb, var(--text-primary) 15%, transparent);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

body[data-theme="light"] .glass-card {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.4);
}

.price-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    min-width: 240px;
    position: relative;
    overflow: hidden;
}

.price-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top left, color-mix(in srgb, var(--text-primary) 10%, transparent), transparent 70%);
    pointer-events: none;
}

.price-tag:hover,
.promo-tag:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.price-label {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.promo-tag {
    padding: clamp(1.5rem, 6vw, 3rem);
    text-align: left;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.85); /* Strong black base */
    border: 4px solid #F5B910;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: kenteGlow 4s infinite;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.promo-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #00A35B, #F5B910, #D4212D); /* Flag stripe */
}

@keyframes kenteGlow {
    0% {
        box-shadow: 0 0 25px rgba(245, 185, 16, 0.6), inset 0 0 15px rgba(245, 185, 16, 0.3);
        border-color: #F5B910;
    }
    33% {
        box-shadow: 0 0 35px rgba(0, 163, 91, 0.6), inset 0 0 15px rgba(0, 163, 91, 0.3);
        border-color: #00A35B;
    }
    66% {
        box-shadow: 0 0 25px rgba(212, 33, 45, 0.6), inset 0 0 15px rgba(212, 33, 45, 0.3);
        border-color: #D4212D;
    }
    100% {
        box-shadow: 0 0 25px rgba(245, 185, 16, 0.6), inset 0 0 15px rgba(245, 185, 16, 0.3);
        border-color: #F5B910;
    }
}

.promo-tag h4 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #00A35B; /* Vibrant Green */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid #F5B910; /* Gold underline now */
    padding-bottom: 0.8rem;
    line-height: 1.2;
}

.promo-tag p,
.promo-tag li {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    font-weight: 600;
    line-height: 1.6;
    color: #00A35B; /* Vibrant Green */
    margin-bottom: 1.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.promo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    display: flex;
    justify-content: space-between;
}

.highlight {
    color: #00A35B; /* Vibrant Green */
    font-weight: 800;
    text-transform: uppercase;
}

body[data-theme="light"] .highlight {
    color: #9c8a66;
}

@keyframes diamondShine {
    0% {
        background-position: 200% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes randomGlints {

    0%,
    100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
        top: 5%;
        left: 10%;
    }

    5% {
        opacity: 1;
        transform: scale(1.6) rotate(90deg);
    }

    10% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }

    25% {
        opacity: 0;
        top: 35%;
        left: 80%;
    }

    30% {
        opacity: 1;
        transform: scale(1.2) rotate(45deg);
    }

    35% {
        opacity: 0;
        transform: scale(0) rotate(90deg);
    }

    50% {
        opacity: 0;
        top: 65%;
        left: 20%;
    }

    55% {
        opacity: 1;
        transform: scale(1.8) rotate(-45deg);
    }

    60% {
        opacity: 0;
        transform: scale(0) rotate(-90deg);
    }

    75% {
        opacity: 0;
        top: 15%;
        left: 60%;
    }

    80% {
        opacity: 1;
        transform: scale(1.4) rotate(120deg);
    }

    85% {
        opacity: 0;
        transform: scale(0) rotate(240deg);
    }
}


/* Footer Glow Mode */
body.bg-glow footer {
    border-top-color: var(--glow-fade);
    box-shadow: 0 -10px 40px color-mix(in srgb, var(--glow-main) 8%, transparent);
    transition: all 0.8s ease;
}

body.bg-glow .footer-logo-img {
    filter: none;
    opacity: 1 !important;
}

body.bg-glow .footer-logo span {
    text-shadow: 0 0 10px rgba(103, 128, 194, 0.4);
}


/* Intensified Footer Car Icon Glow */
body.bg-glow .footer-logo-img path,
body.bg-glow .footer-logo-img line,
body.bg-glow .footer-logo-img circle {
    stroke: var(--glow-main) !important;
    filter: drop-shadow(0 0 6px var(--glow-main));
    stroke-width: 1.5px;
    opacity: 0.9 !important;
}

body.bg-glow .footer-logo-img circle[r="1.5"] {
    fill: #ffffff !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}


/* Gallery Section Styles */
.gallery-section {
    padding: 10rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.gallery-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Gallery Dropdown & Expanded Grid */
.gallery-dropdown-wrap {
    margin-top: 1.5rem;
    position: relative;
    display: inline-block;
}

.gallery-dropdown-btn {
    background: transparent;
    border: 1px solid #F5B910;
    box-shadow: 
        0 0 18px rgba(245, 185, 16, 0.25),
        inset 0 0 12px rgba(245, 185, 16, 0.07);
    color: #F5B910;
    padding: 0.85rem 2.4rem;
    border-radius: 2px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5; /* Half faded as requested */
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.gallery-dropdown-btn:hover,
.gallery-dropdown-btn.active {
    opacity: 1;
    background: rgba(245, 185, 16, 0.1);
    box-shadow: 
        0 0 30px rgba(245, 185, 16, 0.5),
        inset 0 0 20px rgba(245, 185, 16, 0.15);
    transform: translateY(-2px);
    color: #F5B910;
    border-color: #F5B910;
}

.gallery-dropdown-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-dropdown-btn:hover::before {
    opacity: 1;
    animation: liquid-swirl 3s linear infinite;
}

.gallery-dropdown-btn.active svg {
    transform: rotate(180deg);
}

.gallery-dropdown-btn svg {
    transition: transform 0.3s ease;
}

.gallery-dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 200px;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gallery-dropdown-content.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-20px);
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 0.8rem 1.2rem;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--bg-color);
}

.gallery-grid.expanded-only {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease;
}

.gallery-grid.expanded-only:not(.hidden) {
    max-height: 10000px; /* High enough to contain all photos */
}

.preview-grid.hidden {
    display: none;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 138, 102, 0.05), rgba(242, 232, 213, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9c8a66;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    font-weight: 300;
    border: 1px solid rgba(156, 138, 102, 0.1);
}

/* Testimonials Styles */
.testimonials-section {
    padding: 10rem 2rem;
    background: radial-gradient(circle at center, rgba(132, 167, 251, 0.05) 0%, transparent 70%);
}

.testimonial-slider {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.testimonial-card {
    padding: clamp(2rem, 5vw, 3rem);
    text-align: left;
    position: relative;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.85); /* Matches promo-tag base */
    border: 4px solid #F5B910;
    overflow: hidden;
    animation: kenteGlow 4s infinite; /* Same vibrant animation */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #00A35B, #F5B910, #D4212D); /* Flag stripe */
    z-index: 2;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.testimonial-text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-family: var(--font-heading);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #00A35B; /* Vibrant Green */
    position: relative;
    z-index: 1;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-size: 8rem;
    color: rgba(245, 185, 16, 0.2); /* Faded Gold */
    font-family: serif;
    z-index: -1;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #F5B910; /* Gold */
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
}

/* Special Logo Glyphs in Title */
.hero-title .special-a,
.hero-title .special-c,
.hero-title .special-i {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    vertical-align: middle;
    background: currentColor;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin: 0 -0.1em;
    position: relative;
    /* Ensure the gradient shine still applies */
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.special-a {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L90 90 L10 90 Z M50 65 A 6 6 0 1 1 49.9 65 Z' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 L90 90 L10 90 Z M50 65 A 6 6 0 1 1 49.9 65 Z' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.special-c {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M85 25 A 40 40 0 1 0 85 75 M80 75 L80 85 L90 85 L90 75 Z' fill='none' stroke='black' stroke-width='14'/%3E%3Crect x='78' y='72' width='14' height='14' fill='black'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M85 25 A 40 40 0 1 0 85 75 M80 75 L80 85 L90 85 L90 75 Z' fill='none' stroke='black' stroke-width='14'/%3E%3Crect x='78' y='72' width='14' height='14' fill='black'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.special-i {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='42' y='25' width='16' height='75'/%3E%3Ccircle cx='50' cy='10' r='8'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='42' y='25' width='16' height='75'/%3E%3Ccircle cx='50' cy='10' r='8'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

/* Nav Theme Toggle Styling */
.nav-theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
    z-index: 1000;
}

.nav-theme-toggle:hover {
    transform: scale(1.2);
    color: #F5B910;
}

.nav-theme-toggle svg {
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.1));
}

/* Nav Music Controls — grouped pair, ghost transparent by default */
.nav-music-group {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 10px;
    opacity: 0.25;
    transition: opacity 0.4s ease;
}

.nav-music-group:hover {
    opacity: 0.75;
}

.nav-music-group:has(.playing) {
    opacity: 0.6;
}

.nav-music-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, color 0.25s ease;
    z-index: 1000;
}

.nav-music-toggle:hover {
    transform: scale(1.15);
    color: #F5B910;
}

.nav-music-toggle.playing {
    color: #F5B910;
}

.nav-music-toggle.playing svg {
    animation: vinylSpin 3s linear infinite;
}

@media (max-width: 768px) {
    .nav-theme-toggle {
        margin-right: 10px;
        padding: 5px;
    }
}

/* Menu Theme Toggle Styling */
.menu-theme-item {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.menu-theme-toggle:hover {
    background: rgba(245, 185, 16, 0.15);
    border-color: #F5B910;
    transform: translateY(-3px);
}

.theme-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.theme-icon-wrap {
    color: #F5B910;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.menu-theme-toggle:hover .theme-icon-wrap {
    transform: rotate(15deg) scale(1.2);
}

body[data-theme="light"] .menu-theme-toggle {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body[data-theme="light"] .menu-theme-toggle:hover {
    background: rgba(0, 163, 91, 0.1);
    border-color: #00A35B;
}
