/* 
   ANTI-GRAVITY DESIGN SYSTEM 2.0 (PREMIUM)
   Dr. Solomon Akwue 
   
   IMAGE CONTAINER OPTIMIZATION (v2.1)
   ====================================
   
   This system optimizes image containers to display images in full aspect ratio
   without unwanted cropping or distortion.
   
   KEY CHANGES:
   • Base <img> elements now use object-fit: contain (was: cover)
   • All image containers properly center and preserve aspect ratios
   • Consistent use of object-position: center across all media
   • Utility classes for different image container sizes and types
   
   CORE PRINCIPLES:
   • object-fit: contain → Preserves full image aspect ratio (default)
   • object-fit: cover → Use only for intentional cropping (hero backgrounds)
   • All containers use display: flex for proper centering
   • Min-height constraints ensure proper rendering on all viewports
   
   UTILITY CLASSES:
   • .u-img-fit → Apply object-fit: contain
   • .u-img-cover → Apply object-fit: cover
   • .img-container → Flexible image container with aspect ratio
   • .img-container-sm → 4:3 aspect ratio (compatible content)
   • .img-container-md → 16:9 aspect ratio (standard media)
   • .img-container-lg → 21:9 aspect ratio (panoramic)
   • .img-container-square → 1:1 aspect ratio
   • .img-container-portrait → 3:4 aspect ratio
   
   USAGE EXAMPLES:
   <div class="img-container img-container-md">
     <img src="image.jpg" class="u-img-fit" alt="...">
   </div>
*/

:root {
    /* Core Brand Tones - Executive Authority (Obsidian & Silver) */
    --color-bg-deep: #0a0a0c;
    --color-bg-surface: #121216;
    --color-bg-floating: rgba(26, 26, 31, 0.8);
    --color-bg-light: #f8fafc;

    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-text-dark: #020617;

    /* Accent System - Strategic Brilliance */
    --color-accent-primary: #3b82f6;
    --color-accent-primary-bright: #60a5fa;
    --color-accent-secondary: #94a3b8;
    --color-accent-secondary-bright: #cbd5e1;
    --color-accent-gold: #fbbf24;

    /* Elevation & Depth */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

    /* Premium Finishes */
    --glass-bg: rgba(18, 18, 22, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient-authority: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);

    /* Functional */
    --color-border-subtle: rgba(255, 255, 255, 0.05);
    --color-border-bright: rgba(255, 255, 255, 0.1);
    --color-glass: var(--glass-bg);
    --color-glass-strong: rgba(10, 10, 12, 0.95);

    /* Typography Scale */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;

    /* Spacing Grid (8px) - Responsive Scale */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-12: clamp(4rem, 10vw, 6rem);
    --space-16: clamp(6rem, 15vw, 8rem);
    --space-20: clamp(8rem, 20vw, 10rem);

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 700ms cubic-bezier(0.4, 0, 0.2, 1);
    --ease-premium: cubic-bezier(0.23, 1, 0.32, 1);

    /* Aspect Ratios */
    --u-aspect-4-3: 75%;
    --u-aspect-16-9: 56.25%;
    --u-aspect-square: 100%;
    --u-aspect-4-5: 125%;
    --u-aspect-3-4: 133.33%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: default;
    /* Custom cursor implementation later if needed, default for now */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

/* --- VISUAL AUTHORITY SYSTEM --- */
img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    object-position: center;
    max-width: 100%;
}

.bg-cover {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-bg-deep);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.5) 0%, rgba(2, 6, 23, 0.9) 100%);
    z-index: 1;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.7);
    z-index: 1;
}

.img-frame {
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 1px solid var(--color-border-subtle);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Default frame ratio (only if no utility is present) */
.img-frame:not([class*="u-aspect-"]) {
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .img-frame {
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: 200px !important;
    }
}

.img-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-slow);
}

.img-frame:hover img {
    transform: scale(1.05);
}

.v-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Aspect Ratio Support for containers */
.v-image-container[class*="u-aspect-"],
.img-frame[class*="u-aspect-"] {
    display: block;
    width: 100%;
    position: relative;
    padding-bottom: 0;
}

/* Base height: 0 only for specific fixed ratios */
.v-image-container[class*="u-aspect-"]:not(.u-aspect-auto),
.img-frame[class*="u-aspect-"]:not(.u-aspect-auto) {
    height: 0;
}

.u-aspect-auto {
    height: auto !important;
    padding-bottom: 0 !important;
}

.v-image-container img,
.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: var(--transition-slow);
}

.v-image-container[class*="u-aspect-"]:not(.u-aspect-auto) img,
.img-frame[class*="u-aspect-"]:not(.u-aspect-auto) img {
    position: absolute;
    top: 0;
    left: 0;
}

.u-aspect-contain img {
    object-fit: contain !important;
}

@media (max-width: 768px) {
    .v-image-container:not([class*="u-aspect-"]) {
        aspect-ratio: auto !important;
    }

    /* Only reset height for non-ratio containers; u-aspect containers use modern aspect-ratio */
    .v-image-container:not([class*="u-aspect-"]) {
        height: auto !important;
        min-height: 150px !important;
    }

    /* For containers WITH an aspect ratio class, switch from padding-bottom hack to modern aspect-ratio */
    .v-image-container[class*="u-aspect-"]:not(.u-aspect-auto) {
        height: auto !important;
        padding-bottom: 0 !important;
    }

    .v-image-container.u-aspect-4-5 {
        aspect-ratio: 4 / 5 !important;
    }

    .v-image-container.u-aspect-3-4 {
        aspect-ratio: 3 / 4 !important;
    }

    .v-image-container.u-aspect-4-3 {
        aspect-ratio: 4 / 3 !important;
    }

    .v-image-container.u-aspect-16-9 {
        aspect-ratio: 16 / 9 !important;
    }

    .v-image-container.u-aspect-square {
        aspect-ratio: 1 / 1 !important;
    }

    /* For aspect-ratio containers, images must fill via cover (not the global height:auto) */
    .v-image-container[class*="u-aspect-"]:not(.u-aspect-auto) img {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

.v-fit-cover {
    object-fit: cover !important;
}

.v-fit-contain {
    object-fit: contain !important;
}


.door-card-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.25;
    transition: transform 1.2s var(--ease-antigravity), opacity 0.4s ease;
}

.door-card:hover .door-card-bg {
    transform: scale(1.1);
    opacity: 0.5;
}

/* --- MOOD FILTERS --- */
.img-strategic {
    filter: contrast(1.05) brightness(0.95) saturate(0.95);
}

.img-tactical {
    filter: contrast(1.15) saturate(1.1);
}

.img-purpose {
    filter: contrast(1.05) sepia(0.05);
}

.img-authority {
    filter: contrast(1.1) brightness(0.9) saturate(1);
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.animate-zoom {
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes heroSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered hero line-by-line slide-in from left */
.hero-anim-1,
.hero-anim-2,
.hero-anim-3,
.hero-anim-4 {
    opacity: 0;
    animation: heroSlideIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-anim-1 {
    animation-delay: 0.15s;
}

.hero-anim-2 {
    animation-delay: 0.4s;
}

.hero-anim-3 {
    animation-delay: 0.65s;
}

.hero-anim-4 {
    animation-delay: 0.9s;
}

/* --- HERO HEADLINE CYCLING TEXT --- */
.v-hero-headline {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    font-family: var(--font-heading);
    color: #ffffff;
}

.hero-cycle-wrap {
    display: block;
    position: relative;
    height: 1.4em;
    overflow: hidden;
}

.cycle-item {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    color: var(--color-accent-primary-bright);
    white-space: normal;
    animation: cycleWord 12s ease-in-out infinite;
    line-height: 1.2;
}

.cycle-item.c1 {
    animation-delay: 1s;
}

.cycle-item.c2 {
    animation-delay: 4s;
}

.cycle-item.c3 {
    animation-delay: 7s;
}

.cycle-item.c4 {
    animation-delay: 10s;
}

@keyframes cycleWord {

    0%,
    100% {
        opacity: 0;
        transform: translateY(12px);
    }

    8%,
    30% {
        opacity: 1;
        transform: translateY(0);
    }

    38%,
    100% {
        opacity: 0;
        transform: translateY(-12px);
    }
}

#booking-cta .card-glass {
    grid-template-columns: 1fr 1fr;
}

body.v-body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-normal {
    letter-spacing: 0em;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.tracking-wider {
    letter-spacing: 0.2em;
}

.tracking-widest {
    letter-spacing: 0.3em;
}

.v-display-1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 650px;
    line-height: 1.6;
}

.v-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--color-accent-primary-bright);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    border-radius: 2px;
}

.u-aspect-4-3 {
    padding-bottom: var(--u-aspect-4-3);
}

.u-aspect-16-9 {
    padding-bottom: var(--u-aspect-16-9);
}

.u-aspect-square {
    padding-bottom: var(--u-aspect-square);
}

.u-aspect-4-5 {
    padding-bottom: var(--u-aspect-4-5);
}

.u-aspect-3-4 {
    padding-bottom: var(--u-aspect-3-4);
}

.text-gold {
    color: var(--color-accent-primary);
}

.text-blue {
    color: var(--color-accent-primary-bright);
}

.text-silver {
    color: var(--color-accent-secondary);
}

.text-white {
    color: #ffffff;
}

.text-dark {
    color: var(--color-text-primary);
}

.text-muted {
    color: var(--color-text-muted);
}

/* Massive Outline Text */
.text-outline-bg {
    position: absolute;
    font-size: 15vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(15, 23, 42, 0.05);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    font-family: var(--font-body);
    text-transform: uppercase;
    line-height: 0.8;
}

/* --- UTILITIES & LAYOUT --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-4);
    position: relative;
    z-index: 2;
}

.u-section-padding {
    padding: var(--space-12) 0;
}

.v-section {
    position: relative;
    padding: var(--space-12) 0;
    overflow: hidden;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .u-section-padding,
    .v-section {
        padding: var(--space-8) 0;
    }
}

section {
    position: relative;
}

/* --- ANIMATIONS --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 10px var(--color-glow-primary);
    }

    50% {
        box-shadow: 0 0 25px var(--color-glow-primary);
    }
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    /* transition handled in JS/CSS combination or via class trigger */
}

.is-visible {
    animation: revealUp 1s var(--ease-antigravity) forwards;
}

/* --- COMPONENT: CANVAS LAYER --- */
.canvas-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* --- STORE & RESOURCES --- */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border-subtle);
    overflow: hidden;
    transition: all 0.4s var(--ease-antigravity);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-authority);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

@media (max-width: 768px) {
    .product-img-wrapper {
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: 200px !important;
    }
}

.product-img-wrapper img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.8s var(--ease-antigravity);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 5;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--color-accent-gold);
    color: var(--color-accent-gold);
    background: rgba(10, 22, 37, 0.9);
}

.status-coming_soon {
    border-color: var(--color-accent-primary-bright);
    color: var(--color-accent-primary-bright);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 20, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-details {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: white;
    flex-grow: 1;
}

.product-price {
    font-family: var(--font-mono);
    color: var(--color-accent-gold);
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- GLOBAL IMAGE OPTIMIZATIONS --- */
.cta-full-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.u-img-responsive {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.u-aspect-16-9 {
    aspect-ratio: 16 / 9;
}

.u-aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.u-aspect-1-1 {
    aspect-ratio: 1 / 1;
}

@media (max-width: 768px) {

    .u-aspect-16-9,
    .u-aspect-4-3,
    .u-aspect-1-1 {
        aspect-ratio: auto !important;
    }
}

/* --- OPTIMIZED IMAGE CONTAINER UTILITIES --- */
/* Image fit utilities for consistent aspect ratio preservation */
.u-img-fit {
    object-fit: contain;
    object-position: center;
}

.u-img-cover {
    object-fit: cover;
    object-position: center;
}

.u-img-scale {
    object-fit: scale-down;
    object-position: center;
}

/* Balanced image containers with proper aspect ratios */
.img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container-sm {
    aspect-ratio: 4 / 3;
}

.img-container-md {
    aspect-ratio: 16 / 9;
}

.img-container-lg {
    aspect-ratio: 21 / 9;
}

.img-container-square {
    aspect-ratio: 1 / 1;
}

.img-container-portrait {
    aspect-ratio: 3 / 4;
}

.img-container-landscape {
    aspect-ratio: 16 / 10;
}

.img-container img,
.img-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Responsive image container padding adjustments */
@media (max-width: 768px) {

    .img-container,
    .img-container-sm,
    .img-container-md,
    .img-container-lg,
    .img-container-portrait,
    .img-container-square,
    .img-container-landscape {
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: 150px !important;
    }

    .img-container img,
    .img-container video {
        height: auto !important;
        width: 100% !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {

    .img-container-sm,
    .img-container-md,
    .img-container-lg {
        aspect-ratio: 16 / 9;
    }

    .img-container-sm,
    .img-container-md,
    .img-container-lg,
    .img-container-portrait {
        min-height: 200px;
    }

    .img-container-square {
        min-height: 150px;
    }
}


/* --- EXECUTIVE NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-slow);
    border-bottom: 1px solid transparent;
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    background: var(--color-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 80px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

/* Push body content below the fixed header (~90px total header height) */
body.v-body {
    padding-top: 100px;
}

/* Hero sections should start where the header ends */
.v-hero,
.u-section-hero {
    margin-top: 0;
    padding-top: 0;
}

/* Inner pages with .u-page-offset need no extra offset since body already has padding */
.u-page-offset {
    padding-top: 0 !important;
}

.header-container-stacked {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-actions-wrapper {
    display: contents;
    /* Allows children to be grid items of container */
}

.logo {
    padding: 0;
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: 35px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(8%) sepia(30%) saturate(6000%) hue-rotate(224deg) brightness(95%) contrast(97%);
    /* Matches deep navy #161454 */
    transition: var(--transition-base);
    display: block;
}

.main-header.scrolled .logo-img {
    height: 30px;
}

.v-footer .logo-img {
    height: 60px;
    margin-bottom: 2rem;
}

/* Desktop Navigation Centered */
.desktop-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-evenly;
}

.nav-link-vusi {
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: var(--transition-base);
    position: relative;
    opacity: 0.7;
}

.nav-link-vusi::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-primary-bright);
    transition: var(--transition-base);
}

.nav-link-vusi:hover::after,
.nav-link-vusi.active::after {
    width: 100%;
}

.nav-link-vusi:hover {
    color: var(--color-accent-primary-bright);
}



/* Actions Positioned on Right */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dropdown Logic */
.nav-dropdown {
    position: relative;
    padding-bottom: 5px;
    /* Bridge gap for hover */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(10px);
    min-width: 220px;
    padding: 1rem 0;
    list-style: none;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    border-radius: 4px;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background: var(--color-bg-deep);
    color: var(--color-accent-primary-bright);
}


.btn-vusi-navbar {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-accent-primary);
    color: #ffffff;
    background: var(--color-accent-primary);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    transition: var(--transition-base);
}

.btn-vusi-navbar:hover {
    background: var(--color-accent-primary-bright);
    border-color: var(--color-accent-primary-bright);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.btn-vusi-navbar-alt {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-vusi-navbar-alt:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

/* --- HERO DARK NAV OVERRIDES --- */
.main-header.hero-dark:not(.scrolled) .nav-link-vusi {
    color: rgba(255, 255, 255, 0.9);
}

.main-header.hero-dark:not(.scrolled) .nav-link-vusi::after {
    background: #ffffff;
}

.main-header.hero-dark:not(.scrolled) .nav-link-vusi:hover {
    color: #ffffff;
}

.main-header.hero-dark:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
}

.main-header.hero-dark:not(.scrolled) .btn-vusi-navbar {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.main-header.hero-dark:not(.scrolled) .btn-vusi-navbar:hover {
    background: #ffffff;
    color: var(--color-text-primary);
}

.main-header.hero-dark:not(.scrolled) .mobile-toggle .bar {
    background: #ffffff;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-base);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-bg-deep);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: var(--transition-slow);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
}

.mobile-nav-link {
    display: block;
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--color-accent-gold);
}

.mobile-nav-item-dropdown {
    width: 100%;
}

.mobile-dropdown-toggle {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.mobile-dropdown-list {
    list-style: none;
    padding: 0 0 1.5rem 0;
    display: none;
    background: rgba(0, 0, 0, 0.1);
}

.mobile-dropdown-list li a {
    display: block;
    padding: 0.8rem;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    text-transform: uppercase;
}

.mobile-nav-item-dropdown.active .mobile-dropdown-list {
    display: block;
}

.mobile-nav-item-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(45deg);
}


@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-actions {
        gap: 1rem;
    }

    .btn-vusi-outline {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
    }
}

/* --- COMPONENT: HERO SECTION --- */
.u-section-hero {
    height: 55vh;
    /* Optimized for compact flow */
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #050b14;
    margin-top: 0;
}

/* Gradient Mask for seamless blend */
.u-section-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--color-bg-deep));
    z-index: 5;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: -20px;
    background-image: inherit;
    /* This will be set inline in home.php */
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.25);
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Full image visible */
    object-position: right center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s var(--ease-smooth), transform 15s linear;
    filter: brightness(0.9) grayscale(0.2) contrast(1.1);
    z-index: 2;
    position: relative;
}

.hero-slide.active .hero-bg-img {
    opacity: 1;
    transform: scale(1);
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text-block {
    max-width: 850px;
    width: 100%;
    position: relative;
    z-index: 20;
}

.hero-content-group {
    transition: opacity 1s ease, transform 1s ease;
    opacity: 0;
    transform: translateY(30px);
    display: none;
}

.hero-content-group.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.hero-title-large {
    font-size: clamp(1.3rem, 3vw, 2.0rem);
    line-height: 1.0;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 20px rgba(15, 23, 42, 0.1);
}

.section-title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.u-page-offset {
    padding-top: var(--space-20);
}

/* --- COMPONENT: CARDS & GLASSMORPHISM --- */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.card-glass:hover {
    background: var(--color-glass-strong);
    border-color: var(--color-accent-primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-glass-hover-border {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid var(--color-accent-primary);
    opacity: 0;
    transition: var(--transition-base);
}

.card-glass:hover .card-glass-hover-border {
    opacity: 0.2;
}

/* Section Backgrounds */
.v-section-light {
    background: var(--color-bg-light);
}

.v-section-deep {
    background: var(--color-bg-deep);
}

.v-section-surface {
    background: var(--color-bg-surface);
}

.v-section-overlay {
    background: var(--gradient-soft);
}

/* --- LAYOUT: MASONRY / BROKEN GRID --- */
.grid-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.masonry-item:nth-child(2) {
    margin-top: 4rem;
}

.masonry-item:nth-child(3) {
    margin-top: 8rem;
}

@media(max-width: 900px) {
    .grid-masonry {
        grid-template-columns: 1fr;
    }

    .masonry-item:nth-child(n) {
        margin-top: 0;
    }
}

/* --- COMPONENT: BUTTONS --- */
.btn-vusi-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    background: var(--color-accent-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    border: 1px solid var(--color-accent-primary);
    transition: var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-vusi-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent-primary-bright);
    transition: var(--transition-base);
    z-index: -1;
}

.btn-vusi-primary:hover {
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-vusi-primary:hover::before {
    left: 0;
}

.btn-vusi-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    background: transparent;
    color: var(--color-accent-primary);
    border: 1px solid var(--color-accent-primary);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    transition: var(--transition-base);
    text-align: center;
}

.btn-vusi-outline:hover {
    background: var(--color-accent-primary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-vusi-ghost {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    transition: var(--transition-base);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.btn-vusi-ghost:hover {
    color: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    transform: translateX(10px);
}

.btn-magnetic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    background: var(--color-accent-secondary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    border: 1px solid var(--color-accent-secondary);
    transition: var(--transition-base);
    text-align: center;
}

.btn-magnetic:hover {
    background: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.btn-vusi-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-accent-primary-bright);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    transition: var(--transition-base);
}

.btn-vusi-link:hover {
    gap: 1.25rem;
}

/* --- PREMIUM FOOTER --- */
.v-footer {
    background: #000;
    border-top: 1px solid var(--color-border-subtle);
    padding: var(--space-16) 0 var(--space-4);
}

.v-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.v-footer-brand .logo-img {
    height: 45px;
    filter: brightness(0) invert(1);
    margin-bottom: 2rem;
}

.v-footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 320px;
    margin-bottom: 2rem;
}

.v-social-links a {
    color: var(--color-text-muted);
    font-size: 1.5rem;
    transition: var(--transition-base);
    margin-right: 1.5rem;
}

.v-social-links a:hover {
    color: var(--color-accent-primary-bright);
    transform: translateY(-3px);
}

.v-footer-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-accent-primary-bright);
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    margin-bottom: 2rem;
}

.v-footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-base);
    display: block;
    padding: 0.5rem 0;
}

.v-footer-links a:hover {
    color: #ffffff;
    transform: translateX(10px);
}

.v-footer-email {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    transition: var(--transition-base);
    letter-spacing: 0.05em;
}

.v-footer-email:hover {
    color: var(--color-accent-primary-bright);
}

.v-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-2);
    border-top: 1px solid var(--color-border-subtle);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: 0.6rem;
}

@media (max-width: 1024px) {
    .v-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    .v-footer-grid {
        grid-template-columns: 1fr;
    }

    .v-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- COMPONENT: IDENTITY & SERVICE CARDS --- */
.v-card-service {
    background: var(--color-bg-surface);
    padding: var(--space-8);
    border: 1px solid var(--color-border-subtle);
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.v-card-service:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-xl);
}

/* Identity Card Variant (Image-focused) */
.v-card-identity {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-border-subtle);
    transition: var(--transition-base);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.v-card-identity:hover {
    transform: translateY(-12px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.v-card-identity-content {
    padding: var(--space-10) var(--space-8);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.v-card-identity .sys-id {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    opacity: 0.6;
}

.v-card-identity h3 {
    font-size: 1.6rem;
    margin-top: 0.5rem;
}

.v-card-identity p {
    margin: 1.5rem 0 2rem;
    flex-grow: 1;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.v-card-identity .v-image {
    transition: var(--transition-slow);
}

.v-card-identity:hover .v-image {
    transform: scale(1.08);
}

.v-card-icon {
    font-size: 2.5rem;
    color: var(--color-accent-primary);
    transition: var(--transition-base);
}

.v-card-service:hover .v-card-icon {
    transform: scale(1.1);
    color: var(--color-accent-secondary);
}

.v-card-service h3 {
    font-size: 1.5rem;
    color: var(--color-text-primary);
}

.v-card-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-primary);
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.v-card-link:hover {
    gap: 1rem;
    color: var(--color-accent-primary-bright);
}

/* --- COMPONENT: IMAGE WRAPPERS --- */
.v-image-wrapper {
    position: relative;
    z-index: 1;
}

.v-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    object-position: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    display: block;
    background: var(--color-bg-deep);
    padding: 1rem;
}

.v-image-wrapper:hover .v-image {
    transform: scale(1.02);
}

.v-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent-primary);
    z-index: -1;
    opacity: 0.2;
    transition: var(--transition-base);
}

.v-image-accent-left {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent-primary);
    z-index: -1;
    opacity: 0.2;
    transition: var(--transition-base);
}

.v-image-wrapper:hover .v-image-accent,
.v-image-wrapper:hover .v-image-accent-left {
    transform: translate(10px, 10px);
    opacity: 0.4;
}

/* --- COMPONENT: STATS & DATA --- */
.v-stats-section {
    padding: var(--space-12) 0;
    background: var(--color-accent-primary);
    color: #ffffff;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-plus {
    font-size: 2rem;
    color: var(--color-accent-secondary);
    margin-left: 0.25rem;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

/* --- COMPONENT: LISTS --- */
.v-list-check {
    list-style: none;
    display: grid;
    gap: 1.25rem;
}

.v-list-check li {
    display: flex;
    align-items: start;
    gap: 1rem;
    color: var(--color-text-secondary);
}

.v-list-check i {
    color: var(--color-accent-primary);
    margin-top: 0.25rem;
}

/* --- COMPONENT: MEDIA GRID --- */
.v-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.v-media-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.v-media-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-slow);
    display: block;
}

.v-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 20, 84, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.v-media-item:hover .v-media-overlay {
    opacity: 1;
    transform: translateY(0);
}

.v-media-item:hover img {
    transform: scale(1.1);
}

.media-cat {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent-secondary);
    margin-bottom: 0.5rem;
}

.v-media-item h4 {
    color: #ffffff;
    font-size: 1.25rem;
}

.timeline-orbital {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 4rem 1fr;
    gap: 0;
    margin-bottom: 0;
}

.timeline-left {
    text-align: right;
    padding-right: 2rem;
    padding-bottom: 4rem;
}

.timeline-center {
    position: relative;
    display: flex;
    justify-content: center;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--color-accent-primary-bright), transparent);
    opacity: 0.3;
}

.timeline-node {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-accent-primary-bright);
    border-radius: 50%;
    background: var(--color-bg-deep);
    z-index: 2;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-node {
    background: var(--color-accent-primary-bright);
    box-shadow: 0 0 20px var(--color-accent-primary-bright);
}

.timeline-right {
    padding-left: 2rem;
    padding-bottom: 4rem;
}

.timeline-year {
    font-family: var(--font-mono);
    color: var(--color-accent-primary-bright);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

@media(max-width: 768px) {
    .timeline-item {
        grid-template-columns: 3rem 1fr;
    }

    .timeline-left {
        display: none;
    }

    /* Hide left content on mobile or restyle */
    .timeline-center {
        justify-content: flex-start;
    }

    .timeline-right {
        text-align: left;
    }
}

/* --- FORMS --- */
input,
textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-subtle);
    padding: 1rem;
    color: white;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

/* --- WHATSAPP WIDGET --- */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.4s var(--ease-antigravity);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-label {
    background: rgba(10, 22, 37, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    border: 1px solid var(--color-border-subtle);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s var(--ease-antigravity);
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-widget:hover .whatsapp-button {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-widget:hover .whatsapp-label {
    opacity: 1;
    transform: translateX(0);
}

@media(max-width: 768px) {
    .whatsapp-label {
        display: none;
    }

    .whatsapp-widget {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
}

/* --- COMPREHENSIVE MOBILE OPTIMIZATION --- */

@media(max-width: 900px) {
    body {
        text-align: left;
        /* Keep default alignment, only center specific items */
    }

    .hero-content-wrapper {
        justify-content: center;
    }

    .hero-text-block {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 1.5rem;
    }

    .section-title {
        text-align: center;
    }

    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: var(--space-8);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-4);
    }

    .v-stats-section .grid-4 {
        grid-template-columns: 1fr 1fr !important;
    }

    .v-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .whatsapp-widget {
        bottom: 2rem;
        right: 2rem;
        transform: none;
    }

    .v-media-grid {
        grid-template-columns: 1fr !important;
    }

    .order-mobile-1 {
        order: 1 !important;
    }

    .order-mobile-2 {
        order: 2 !important;
    }
}

/* Mobile Hero Content refinement */
@media(max-width: 768px) {
    .v-hero-headline {
        font-size: clamp(2.2rem, 10vw, 3.5rem) !important;
    }

    .v-hero-subtitle {
        font-size: 1rem !important;
        margin: 1.5rem auto !important;
        max-width: 100%;
        text-align: center !important;
    }

    .v-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-vusi-primary,
    .btn-magnetic,
    .btn-vusi-outline {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .v-section {
        padding: var(--space-8) 0;
    }

    .stat-number {
        font-size: 3rem !important;
    }
}

/* Base Autoscroll Animation (Optional for continuous marquee) */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container {
    overflow: hidden;
    user-select: none;
    display: flex;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 2rem;
    padding: 2rem 0;
    animation: marquee 120s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}


@media(max-width: 600px) {
    .container {
        padding: 0 1.5rem;
    }

    .card-glass {
        padding: 2rem;
    }

    .btn-magnetic {
        width: 100%;
        padding: 1rem;
    }

    /* Ensure images in content don't overflow */
    img,
    video {
        max-width: 100%;
        height: auto;
    }

    .editorial-header {
        text-align: center;
    }

    .decorative-line {
        margin: 2rem auto;
    }
}

@media(max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-title-large {
        font-size: clamp(2rem, 10vw, 3.5rem) !important;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    }

    .page-title {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }

    .text-outline-bg {
        font-size: 20vw;
    }
}

/* Mobile Container & Spacing */
@media(max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 2rem 0;
    }

    .u-section-padding {
        padding: 2rem 0;
    }

    .u-section-hero {
        min-height: 500px;
        height: 70vh;
    }

    .u-page-offset {
        padding-top: 5rem !important;
    }
}

/* Mobile Cards & Glassmorphism */
@media(max-width: 768px) {
    .card-glass {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .card-admin {
        padding: 1.5rem;
    }
}

/* Mobile Footer */
@media(max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .mega-footer {
        padding-top: 2.5rem;
    }

    .footer-brand h2 {
        font-size: 1.75rem;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

/* Mobile Buttons */
@media(max-width: 768px) {
    .btn-magnetic {
        padding: 1rem 2rem;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
    }

    .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

/* Mobile Forms */
@media(max-width: 768px) {

    input,
    textarea,
    select {
        padding: 0.875rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }
}

/* Mobile Tables */
@media(max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    th,
    td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Mobile Hero Content */
@media(max-width: 768px) {
    .hero-text-block {
        max-width: 100%;
    }

    .hero-content-wrapper {
        padding: 0 1rem;
    }
}

/* Mobile Gallery Grid */
@media(max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
        gap: 1rem !important;
    }

    .gallery-item {
        aspect-ratio: 1 / 1;
    }
}

/* Mobile Blog Layout */
@media(max-width: 768px) {
    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }

    .article-body h3 {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .article-body blockquote {
        font-size: 1.15rem;
        padding-left: 1rem;
        margin: 2rem 0;
    }
}

/* --- FINAL MOBILE REFINEMENTS --- */
@media(max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .v-section,
    .u-section-padding {
        padding: 4rem 0 !important;
    }

    .u-section-hero {
        height: auto !important;
        min-height: 60vh !important;
        padding: 8rem 0 4rem !important;
    }

    .hero-title-large,
    .page-title,
    .v-hero-headline {
        font-size: clamp(2.2rem, 10vw, 3.5rem) !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        text-align: center !important;
    }

    .card-glass {
        padding: 2rem 1.5rem !important;
    }

    .btn-magnetic,
    .btn-vusi-primary,
    .btn-vusi-outline {
        width: 100%;
        text-align: center;
    }

    /* Form scaling for iOS */
    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Landscape Mobile Optimization */
@media(max-width: 768px) {
    .v-card-identity-content {
        padding: 2.5rem 1.5rem !important;
    }

    .v-card-identity h3 {
        font-size: 1.4rem;
    }
}

/* --- STRATEGIC CONSULTATION --- */
.v-section-consultation {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, var(--color-bg-deep) 0%, rgba(2, 6, 23, 1) 100%);
    border-top: 1px solid var(--color-border-subtle);
}

.mini-booking-form {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
}

.v-input-minimal {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border-subtle);
    color: var(--color-text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    transition: var(--transition-base);
    border-radius: 0;
}

.v-input-minimal:focus {
    padding-left: 1rem;
    border-bottom-color: var(--color-accent-blue);
    outline: none;
    background: rgba(255, 255, 255, 0.02);
}

.consultation-value {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border: 1px solid var(--color-border-subtle);
    width: fit-content;
}

.value-price {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent-blue);
}

.value-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.2em;
}

.form-footer-note {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--color-text-muted);
    text-align: center;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .v-section-consultation .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mini-booking-form {
        padding: 2rem;
    }

    .consultation-value {
        width: 100%;
        justify-content: center;
    }
}