/* Base CSS Variables - Premium Luxury Themes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --bg-deep: #0b0b0b;  /* Deep Matte Black */
    --bg-darker: #121212;
    --bg-card: #181818;  /* Charcoal Grey */
    --bg-input: rgba(255, 255, 255, 0.03);
    
    --border-glass: rgba(212, 175, 55, 0.15); /* Thin gold hint */
    --border-subtle: rgba(255, 255, 255, 0.06);
    
    --accent: #d4af37; /* Elegant Metallic Gold */
    --accent-dim: rgba(212, 175, 55, 0.2);
    --accent-glow: 0 5px 20px rgba(212, 175, 55, 0.2); 
    
    --text-main: #f5f5f5; /* Soft Warm White */
    --text-muted: #9e9e9e; /* Adjusted for better contrast readability */
    
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --radius-full: 9999px;
    
    --shadow: 0 15px 40px -10px rgba(0,0,0,0.9);
    --shadow-soft: 0 5px 15px rgba(0,0,0,0.5);
    --shadow-ambient: 0 20px 50px rgba(0,0,0,0.7);
    --shadow-top: 0 -5px 25px rgba(0,0,0,0.9);
}

/* Resets & Globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7; /* Increased for readability */
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.5px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Classes */
.text-accent { color: var(--accent); }
.text-main { color: var(--text-main); }
.text-muted { color: var(--text-muted); }
.text-dark { color: #000; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-md { font-size: 1.125rem; }
.text-lg { font-size: 1.25rem; }
.text-xl { font-size: 1.5rem; }
.text-2xl { font-size: 2rem; }
.text-3xl { font-size: 2.5rem; }
.text-4xl { font-size: 3.5rem; line-height: 1.1; }
.font-body { font-family: var(--font-body); }
.font-head { font-family: var(--font-head); }
.font-light { font-weight: 300; }
.font-bold { font-weight: 600; }
.uppercase { text-transform: uppercase; letter-spacing: 2px; }
.letter-spacing { letter-spacing: 2px; }
.italic { font-style: italic; }
.text-center { text-align: center; }

/* Utilities & Spacing */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Enhancing section spacing to feel more premium and breathable */
.section { padding: 8rem 0; }
.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 4rem; padding-bottom: 4rem; }
.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.m-2 { margin: 1rem; }
.mt-n3 { margin-top: -1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.bg-darker { background-color: var(--bg-darker); }
.bg-black { background-color: var(--bg-deep); }
.bg-accent { background-color: var(--accent); color: #0b0b0b; }
.bg-input { background-color: var(--bg-input); }

.border-glass { border: 1px solid var(--border-glass); }
.border-subtle { border: 1px solid var(--border-subtle); }
.border-accent { border: 1px solid var(--accent); }
.border-top { border-top: 1px solid var(--border-subtle); }
.border-bottom { border-bottom: 1px solid var(--border-subtle); }
.border-bottom-subtle { border-bottom: 1px solid var(--border-subtle); }
.border-right-subtle { border-right: 1px solid var(--border-subtle); }

.radius-sm { border-radius: var(--radius-sm); }
.radius-md { border-radius: var(--radius-md); }
.radius-lg { border-radius: var(--radius-lg); }
.radius-pill { border-radius: var(--radius-pill); }
.radius-full { border-radius: var(--radius-full); }
.circle { border-radius: 50%; display: flex; align-items: center; justify-content: center; background: center / cover; }

.shadow { box-shadow: var(--shadow); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-ambient { box-shadow: var(--shadow-ambient); }
.shadow-top { box-shadow: var(--shadow-top); }
.shadow-glow { box-shadow: var(--accent-glow); }

.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-5 { gap: 3rem; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-grow { flex-grow: 1; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }
.h-250 { height: 250px; }
.h-300 { height: 300px; }
.h-400 { height: 400px; }
.max-w-md { max-width: 500px; }
.d-inline-block { display: inline-block; }
.block { display: block; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; top: 0; z-index: 100; }

.top-0 { top: 0; }
.left-0 { left: 0; }
.bottom-0 { bottom: 0; }
.bottom-5 { bottom: 1.25rem; }
.right-5 { right: 1.25rem; }
.left-50 { left: 50%; }
.translate-middle-x { transform: translateX(-50%); }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-max { z-index: 1000; }

.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

/* Micro-Aesthetics: Advanced Luxury Features */

/* 1. Deep Glassmorphism */
.glass {
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.9);
    border-color: rgba(212, 175, 55, 0.4); 
}

/* Dividers */
.section-divider {
    width: 60%;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}
.divider-short {
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.glow-text { color: var(--accent); }
.text-glow-white { text-shadow: none; color: #fff; }

.transition-all { transition: all 0.5s ease; }
.hover-accent:hover { color: var(--accent); }
.hover-scale { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.hover-scale:hover { transform: scale(1.03); }

.hover-zoom {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s ease;
}
.hover-zoom:hover { transform: scale(1.02); }

.position-bottom-right { position: absolute; bottom: 0; right: 0; }
.line-height-lg { line-height: 1.8; }

/* Buttons & Inputs - Premium Enhanced */
.btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: var(--radius-pill); /* Using pill shape for premium feel */
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-large {
    padding: 16px 42px;
}
.btn-primary {
    background: linear-gradient(45deg, #b8860b, #d4af37, #b8860b);
    background-size: 200% auto;
    color: #0b0b0b;
    border: none;
    font-weight: 600;
}
.btn-primary:hover {
    background-position: right center;
    color: #000;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.05);
    border-color: var(--text-main);
    transform: translateY(-2px);
}
.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(212, 175, 55, 0.5);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(212, 175, 55, 0.05);
}

.input-field {
    outline: none;
    color: var(--text-main);
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-subtle);
    border-radius: 0;
    padding: 14px 10px;
    transition: border-color 0.4s ease;
}
.input-field:focus {
    border-color: var(--accent);
}
.input-field::placeholder { color: var(--text-muted); font-weight: 300; }

/* Layout Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.grid-4-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.container-flex {
    display: flex;
    flex-direction: row;
}
.flex-half { width: 50%; }

/* Navbar - Luxury Glass Enhancements */
.navbar {
    padding: 18px 5%; /* Maintained vertical padding 16px-20px */
    background: linear-gradient(to bottom, rgba(8,8,8,0.9) 0%, rgba(11,11,11,0.5) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* subtle edge */
    transition: padding 0.4s ease, background 0.4s ease;
    align-items: center;
}
.navbar.scrolled {
    padding: 12px 5%; /* Compact scroll footprint */
    background: rgba(8, 8, 8, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.logo { 
    display: flex; 
    align-items: center; 
    height: 100%; 
    transition: opacity 0.3s; 
    flex: 1; 
    justify-content: flex-start; 
}
.logo:hover { opacity: 0.8; }

/* Display original logo image without color inversion */
.nav-logo-img { 
    height: 60px; /* Stronger brand presence */
    width: auto; 
    object-fit: contain; 
}

.footer-logo-img { 
    height: 80px; 
    width: auto; 
    object-fit: contain; 
    opacity: 0.9; 
    transition: opacity 0.3s, transform 0.3s ease; 
}
.footer-logo-img:hover { opacity: 1; transform: scale(1.05); }

/* Tighter structured nav balance */
.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
}
.action.hidden-mobile {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links .nav-link {
    position: relative;
    padding-bottom: 5px;
    color: var(--text-muted);
}
.nav-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.nav-links .nav-link:hover, .nav-links .nav-link.active {
    color: var(--text-main);
}
.nav-links .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 0; /* Forced 0 so it locks under the navbar touching the immediate screen top */
    background-color: var(--bg-deep);
    background-attachment: scroll; 
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(11,11,11,0.85) 0%, rgba(11,11,11,0.4) 40%, rgba(11,11,11,0.95) 100%);
    z-index: 1;
}

/* Cinematic Intro Sequence Animations */
.hero-intro-nav {
    opacity: 0;
    transform: translateY(-20px);
    animation: introFadeDown 1.5s cubic-bezier(0.16, 1, 0.3, 1) 3s forwards;
}
.hero-intro-title {
    opacity: 0;
    transform: translateY(30px);
    animation: introFadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 3.5s forwards;
}
.hero-intro-sub {
    opacity: 0;
    transform: translateY(20px);
    animation: introFadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 4s forwards;
}
.hero-intro-cta {
    opacity: 0;
    transform: scale(0.95);
    animation: introScaleIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) 4.5s forwards;
}

@keyframes introFadeDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes introFadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes introScaleIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 3rem;
}
.massive-headline { font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -2px; margin-bottom: 1.5rem; }
.subheadline { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300; color: #e0e0e0; letter-spacing: 2px; text-transform: uppercase; }

/* Trust Bar */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 1rem; }
.trust-stat h3 { font-size: 2.2rem; color: var(--accent); margin-bottom: 0.5rem; font-weight: 300; font-family: var(--font-head); }
.trust-stat p { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* Gradients */
.overlay-gradient-left {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(90deg, rgba(8,8,8,0.9) 0%, transparent 100%);
}
.bg-gradient-radial { background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%); }
.pattern-bg {
    background-color: var(--bg-darker);
}

/* Gallery & Lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/5;
    border: 1px solid rgba(255,255,255,0.05);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.gallery-item:hover {
    border-color: var(--accent);
}

.gallery-item::before {
    content: '⊕ Enlarge';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
}
.gallery-item:hover::before { opacity: 1; }

.vignette-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 40%, rgba(11,11,11,0.9) 100%);
    pointer-events: none;
    z-index: 1;
    transition: background 0.5s ease;
}
.gallery-item:hover.vignette-overlay::after {
    background: radial-gradient(circle, rgba(0,0,0,0.0) 40%, rgba(11,11,11,0.9) 100%);
}

/* Premium Centered Slider Gallery */
.gallery-section {
    padding: 80px 0; /* 80px section padding */
}
.gallery-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.gallery-carousel-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px; /* Space to avoid edge touching anytime */
}
.gallery-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 20px;
    /* Container itself handles scrolling the width 100% cards */
}
.gallery-scroll-container::-webkit-scrollbar { display: none; }

/* 1100px Fixed Height Showcase Card */
.gallery-card {
    flex: 0 0 100%; /* Shows 1 full image isolated */
    height: 420px; /* Cinematic ratio height */
    position: relative;
    border-radius: 18px; /* Premium card feel */
    overflow: hidden;
    scroll-snap-align: center;
    cursor: pointer;
    background: #000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05); /* Subtle dim edge */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* soft shadow */
}
.gallery-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(11,11,11,0.6) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* JS-Driven Active Logic / Hover Setup */
.gallery-card.active {
    /* Retaining active state strictly for semantic JS but eliminating wild scale jumps */
    z-index: 5;
}
.gallery-card:hover {
    transform: scale(1.02); /* Slight interior container bump */
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.25); /* Gold shadow */
    border-color: rgba(212, 175, 55, 0.4);
}
.gallery-card:hover .gallery-img {
    transform: scale(1.03); /* Subtle image zoom on hover */
}

/* Luxury Controls */
.gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px; height: 45px;
    border-radius: 50%;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4); /* Gold ring */
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
    transition: all 0.3s;
}
.gallery-control:hover { background: rgba(212, 175, 55, 0.2); transform: translateY(-50%) scale(1.1); }
.gallery-control.prev { left: -10px; }
.gallery-control.next { right: -10px; }

/* Motion Progress Bar */
.gallery-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}
.gallery-progress-fill {
    height: 100%;
    width: 0%; /* JS injected */
    background: linear-gradient(90deg, #b8860b, #d4af37);
    transition: width 0.4s ease;
}

.lightbox-modal {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000;
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
    align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lightbox-modal.active { display: flex; opacity: 1; }
.lightbox-content {
    max-width: 90%; max-height: 90%;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 60px rgba(0,0,0,0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transform: scale(0.95);
    transition: transform 0.4s ease;
}
.lightbox-modal.active .lightbox-content { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 30px; right: 40px;
    font-size: 3rem; color: #fff; cursor: pointer; line-height: 1;
    transition: color 0.3s ease;
}
.lightbox-close:hover { color: var(--accent); }

/* Trainers */
.trainer-img {
    width: 100%; 
    height: 380px; 
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: top center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.4s ease;
}
.trainer-card:hover .trainer-img {
    border-color: var(--accent);
}

/* Testimonials */
.section-testimonials {
    background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08) 0%, var(--bg-deep) 70%);
}

.marquee-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden; /* No scrollbar or fade masking on desktop */
    padding: 2rem 0;
}

.marquee-track {
    display: flex;
    gap: 2rem; /* Clean symmetrical gap */
    width: max-content;
    padding-left: 2rem;
    padding-right: 2rem;
    animation: marquee 110s linear infinite; /* Smooth infinite CSS loop */
    will-change: transform;
}
.marquee-container.dir-reverse .marquee-track {
    animation-direction: reverse;
}
.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } /* Accurate loop math: 50% shift minus half gap */
}

/* Card Styling */
.review-card {
    /* Desktop default: 380px ensures exactly ~3-4 cards visible per row on 1080p+ */
    width: 380px;
    white-space: normal;
    flex-shrink: 0;
    padding: 2.5rem;
    text-align: left;
    border: 1px solid rgba(212, 175, 55, 0.15); /* Golden accent border */
    border-radius: var(--radius-lg); 
    background: rgba(18, 18, 18, 0.5); /* Dark translucent background */
    backdrop-filter: blur(12px); /* Subtle glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3); /* Soft shadow */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1200px) {
    .review-card { width: 420px; }
}

@media (min-width: 769px) {
    /* Soft scale hover animation strictly on Desktop */
    .review-card:hover {
        transform: translateY(-12px) scale(1.03);
        border-color: rgba(212, 175, 55, 0.8);
        background: rgba(28, 28, 28, 0.85);
        box-shadow: 0 25px 60px rgba(212, 175, 55, 0.25);
        z-index: 10;
        position: relative;
    }
}

/* Tablet Media Query (2 Cards horizontally) */
@media (max-width: 991px) and (min-width: 769px) {
    .review-card {
        width: 350px;
    }
}

/* Typography Improvements */
.review-stars {
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.6); /* Slightly glowing gold */
}
.review-text {
    font-size: 1.05rem; /* Better readability */
    line-height: 1.8; /* Increased line height */
    color: rgba(255, 255, 255, 0.9); /* Soft white */
    margin-bottom: 2.5rem;
    font-weight: 300;
    flex-grow: 1;
}
.review-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle line */
    padding-top: 1.25rem;
    transition: border-color 0.4s ease;
}
.review-card:hover .review-footer {
    border-color: rgba(212, 175, 55, 0.3);
}
.review-author {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent); /* Bold gold accent */
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.review-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    font-weight: 300;
}

/* Carousel Progress Indicator */
.carousel-progress-wrapper {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08); /* Faint rail */
    border-radius: var(--radius-pill);
    margin: 3rem auto 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.carousel-progress-bar {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, #b8860b, #d4af37, #b8860b);
    border-radius: var(--radius-pill);
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    animation: progressBounce 6s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes progressBounce {
    0% { left: 0%; transform: translateX(0); }
    50% { left: 100%; transform: translateX(-100%); }
    100% { left: 0%; transform: translateX(0); }
}

/* Philosophy & Transformation Section */
.section-transformation {
    background-color: var(--bg-deep);
}
.about-bg-glow { 
    position: absolute; top:0; left:0; width:100%; height:100%; 
    background: radial-gradient(circle at right, rgba(212, 175, 55, 0.05) 0%, transparent 60%); 
    z-index: 0; pointer-events: none; 
}
.about-spotlight { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    width: 120%; height: 120%; 
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%); 
    z-index: -1; filter: blur(30px); 
}
.about-img-main {
    width: 85%; 
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
    transition: transform 0.6s ease;
}
.about-img-main:hover {
    transform: scale(1.02);
}
.about-img-secondary {
    width: 260px;
    height: 320px;
    background-size: cover;
    background-position: center;
    bottom: -40px;
    right: -20px;
    z-index: 3;
    border: 4px solid var(--bg-darker);
    transition: transform 0.6s ease;
}
.about-img-secondary:hover {
    transform: translateY(-10px) scale(1.05);
}
.border-gradient {
    position: relative;
}
.border-gradient::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, transparent 50%, rgba(212, 175, 55, 0.2) 100%);
    z-index: -1;
    border-radius: calc(var(--radius-md) + 2px);
}
.feature-list { padding: 0; list-style: none; }
.feature-list li {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-main);
    display: flex;
    align-items: center;
}
.feature-list .icon { font-size: 1rem; text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
.line-height-sm { line-height: 1.2; }
.mr-2 { margin-right: 0.75rem; }
.tracking-brand { letter-spacing: 3px; }

/* Button Pulse Glow */
.btn-glow-pulse {
    position: relative;
    z-index: 1;
    overflow: visible;
}
.btn-glow-pulse::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.8);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-glow-pulse:hover::after {
    animation: goldPulse 1.5s infinite;
}
@keyframes goldPulse {
    0% { transform: scale(1); opacity: 0.8; border-width: 2px; }
    100% { transform: scale(1.15, 1.4); opacity: 0; border-width: 1px; }
}

/* Experience Section Grid & Effects */
.experience-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}
.experience-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2rem;
}
.experience-card {
    border-radius: 20px;
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Soft border */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Soft shadow depth */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1; /* For hover over siblings */
}
.experience-card:hover {
    transform: translateY(-8px) scale(1.03); /* Hover animation: scale 1.03 */
    border-color: rgba(212, 175, 55, 0.5); /* golden border glow */
    background: rgba(28, 28, 28, 0.8);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.2); 
    z-index: 10;
}
.icon-svg-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08); /* Very soft gold backplate */
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.4s ease, background 0.4s ease;
    display: flex; align-items: center; justify-content: center;
}
.experience-card:hover .icon-svg-wrapper {
    background: rgba(212, 175, 55, 0.18);
    transform: scale(1.1);
}

/* Animations - Ultra Smooth */
.reveal { opacity: 0; visibility: hidden; }
.reveal.active { opacity: 1; visibility: visible; }
.fade-up { transform: translateY(40px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.active { transform: translateY(0); }
.fade-right { transform: translateX(-40px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-right.active { transform: translateX(0); }
.fade-left { transform: translateX(40px); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-left.active { transform: translateX(0); }
.fade-zoom { transform: scale(0.95); transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-zoom.active { transform: scale(1); }
.slide-down { animation: slideDown 0.8s ease forwards; }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Media Queries Stack Updates */
@media (max-width: 991px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .container-flex { flex-direction: column; }
    .flex-half { width: 100%; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .section { padding: 5rem 0; }
}

@media (max-width: 768px) {

    /* Mobile Layout Overrides - Single Column Stacks */
    .grid-3, .trust-grid, .experience-grid { grid-template-columns: 1fr; }
    
    /* Mobile Carousel Overrides */
    .gallery-carousel-wrapper { 
        padding: 0 5vw; /* Math: anti-edge touch */
    }
    .gallery-scroll-container {
        padding: 10px 0; /* Clear container */
        gap: 15px;
    }
    .gallery-card { 
        flex: 0 0 100%; 
        height: 240px; /* Reduce image height to around 240px */
        border-radius: 14px;
    }
    
    .hidden-mobile { display: none !important; }
    .hidden-desktop { display: flex !important; }
    .section { padding: 4rem 0; }
    body { padding-bottom: 75px; }
    
    .hero { min-height: 80vh; background-attachment: scroll; padding-top: 0; }
    .massive-headline { font-size: 2.2rem; }
    .subheadline { font-size: 0.85rem; }

    /* Center logo perfectly on mobile */
    .logo { justify-content: flex-start; padding-left: 0.5rem; }
    
    /* Mobile Contact Bar Enhancements */
    .mobile-contact-bar {
        z-index: 1000;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    }
    
    /* Adjust map & section layout */
    .flex-half.img-box { width: 100% !important; max-width: 100%; height: auto; }
    .flex-half.content-pad { width: 100% !important; padding-left: 0 !important; }
    .section-divider { width: 80%; }

    /* Mobile overrides for Philosophy layered images */
    .about-img-main { width: 100%; height: 350px; }
    .about-img-secondary { width: 180px; height: 220px; bottom: -20px; right: 0; border-width: 2px; }

    /* Mobile Swipe Override for Testimonial Marquees */
    .marquee-container {
        overflow-x: auto; /* Enable horizontal swipe on mobile */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .marquee-container::-webkit-scrollbar { display: none; }
    
    .marquee-track {
        animation: none !important; /* Kill CSS loop for native swipe */
        transform: none !important;
        padding-left: 0;
        padding-right: 0;
        gap: 1.5rem;
        width: auto;
    }
    
    .review-card {
        width: calc(100vw - 3rem); /* Center 1 full card exactly */
        scroll-snap-align: center;
    }

    /* Tagline & Floating Social Mobile Adjustments */
    .nav-tagline {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap;
    }

    /* Mobile Video Stack Showcase Override */
    .video-showcase-container {
        flex-direction: column !important;
        scroll-snap-type: none !important;
        overflow-x: hidden !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        gap: 1.5rem !important;
    }
    .showcase-video-card {
        width: 100% !important;
        max-width: 100% !important;
        height: 56.25vw !important; /* 16:9 Aspect Ratio based on viewport */
        min-height: 220px !important;
        border-radius: 12px !important;
        margin-bottom: 0 !important;
        scroll-snap-align: none !important;
    }
}

@media (min-width: 769px) {
    .hidden-desktop { display: none !important; }
}

/* Mobile Contact Bar Hover States */
.contact-bar-btn {
    opacity: 0.85;
}
.contact-bar-btn:active, .contact-bar-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.gold-glow-hover {
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
}
.contact-bar-btn:hover .gold-glow-hover,
.contact-bar-btn:active .gold-glow-hover {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8) !important;
    background: rgba(212, 175, 55, 0.25) !important;
    border-color: rgba(212, 175, 55, 1) !important;
}
.border-accent {
    border-color: rgba(212, 175, 55, 0.4) !important;
}
