:root {
    --gold: #D4AF37;
    --gold-light: #ECC070;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --gold-glow-strong: rgba(212, 175, 55, 0.6);
    --black: #080808;
    --darker: #050505;
    --bg-dark: #000000;
    --obsidian: #121214;
    --text-muted: #8E8E93;
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(212, 175, 55, 0.12);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Syne', sans-serif;
}

html {
    scroll-padding-top: 80px;
}

html,
body {
    
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.loader-line {
    width: 150px;
    height: 3px;
    background: rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #bf953f, #fcf6ba);
    animation: loadingBar 1.5s infinite linear;
}

@keyframes pulseLogo {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes loadingBar {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.gold-gradient-text {
    background: linear-gradient(135deg, #af8f2c 0%, #d4af37 25%, #f2d287 50%, #d4af37 75%, #8a6d3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease-out, background 0.3s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

/* Ambient Glow Orbs - Optimized */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    animation: pulseGlow 8s infinite alternate ease-in-out;
    will-change: transform, opacity;
}


.glow-orb-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    top: -10%;
    left: -5%;
}

.glow-orb-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation-delay: -4s;
}

.glow-orb-3 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2s;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.4);
    border-radius: 0;
    /* Luxury often uses sharp lines */
}

/* Float & Counter Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.text-foreground {
    color: #ffffff;
}

body {
    background-color: var(--black);
    color: #ffffff;
    font-family: var(--font-sans);
    line-height: 1.7;
    
}

/* Optimized Fixed Background Hack */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        url("https://www.transparenttextures.com/patterns/black-paper.png");
    background-attachment: scroll;
    /* Use scroll with fixed container for performance */
    z-index: -1;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    /* Syne looks better slightly tighter */
    font-weight: 800;
}

.font-serif {
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.font-sans {
    font-family: var(--font-sans);
}

.fw-black {
    font-weight: 900;
}

.text-gold {
    color: var(--gold) !important;
}

p.text-secondary,
ul.text-secondary {
    min-height: 30px;
    font-size: 1.1rem;
    margin-bottom: 10px !important;
    margin-top: 10px !important;

}

.text-secondary {
    color: var(--text-muted) !important;
}

.tracking-widest {
    letter-spacing: 4px;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    background-color: transparent;
}

.navbar.bg-black {
    background-color: rgba(0, 0, 0, 0.9) !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.nav-link {
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin: 0 10px;
}

.navbar-brand {
    font-size: 1.5rem;

}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #af8f2c 0%, #d4af37 50%, #8a6d3b 100%);
    background-size: 200% 200%;
    color: #000 !important;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-position: 0% 50%;
    padding: 16px 40px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
}


.btn-gold:hover {
    background-position: 100% 50%;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-outline-light {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(5px);
    font-family: var(--font-sans);
    letter-spacing: 2px;
    font-size: 0.85rem;
    padding: 16px 40px;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: #000 !important;
    transform: translateY(-5px);
    border-color: #fff;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 177.78vh;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.hero-section {
    min-height: 100vh;
    /* Static fallback handled via background-image */
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%), url('../img/bg/hero-bg-1.png');
    background-size: cover;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

@media (max-width: 991px) {
    .video-background {
        display: none;
    }
}

.italic {
    font-style: italic;
}

section {
    padding: 120px 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    pointer-events: none;
}

/* Stats Section Texture */
.stats-section {
    position: relative;
    background-color: #060606;
    /* Intricate hexagonal dark-gold pattern */
    background-image:
        linear-gradient(30deg, rgba(10, 10, 10, 0.8) 12%, transparent 12.5%, transparent 87%, rgba(10, 10, 10, 0.8) 87.5%, rgba(10, 10, 10, 0.8)),
        linear-gradient(150deg, rgba(10, 10, 10, 0.8) 12%, transparent 12.5%, transparent 87%, rgba(10, 10, 10, 0.8) 87.5%, rgba(10, 10, 10, 0.8)),
        linear-gradient(30deg, rgba(10, 10, 10, 0.8) 12%, transparent 12.5%, transparent 87%, rgba(10, 10, 10, 0.8) 87.5%, rgba(10, 10, 10, 0.8)),
        linear-gradient(150deg, rgba(10, 10, 10, 0.8) 12%, transparent 12.5%, transparent 87%, rgba(10, 10, 10, 0.8) 87.5%, rgba(10, 10, 10, 0.8)),
        linear-gradient(60deg, rgba(255, 215, 0, 0.03) 25%, transparent 25.5%, transparent 75%, rgba(255, 215, 0, 0.03) 75%, rgba(255, 215, 0, 0.03)),
        linear-gradient(60deg, rgba(255, 215, 0, 0.03) 25%, transparent 25.5%, transparent 75%, rgba(255, 215, 0, 0.03) 75%, rgba(255, 215, 0, 0.03));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

.stats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent, rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

/* Sections */
.bg-darker {
    background-color: #030303;
    /* Rich diagonal mesh pattern */
    background-image:
        linear-gradient(45deg, rgba(255, 215, 0, 0.03) 25%, transparent 25%, transparent 75%, rgba(255, 215, 0, 0.03) 75%, rgba(255, 215, 0, 0.03)),
        linear-gradient(45deg, rgba(255, 215, 0, 0.03) 25%, transparent 25%, transparent 75%, rgba(255, 215, 0, 0.03) 75%, rgba(255, 215, 0, 0.03)),
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    background-position: 0 0, 20px 20px, 0 0;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9);
}

.protocols-section {
    position: relative;
    background-color: #000000;
    /* Clean micro-grid for protocols */
    background-image:
        radial-gradient(circle at 100% 100%, rgba(255, 215, 0, 0.06) 0, transparent 40%),
        radial-gradient(circle at 0% 0%, rgba(255, 215, 0, 0.06) 0, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 15.5V13H0v-2h15v-2h2v4h15v2H17v2.5h-2zM0 15h2v15H0V15zm30 0h-2v15h2V15z' fill='%23ffd700' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    /* Removed background-attachment: fixed; as it causes severe scroll lag */
}

.border-gold-subtle {
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.border-gold {
    border: 4px solid transparent !important;
    background: linear-gradient(var(--black), var(--black)) padding-box,
        linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c) border-box;
    border-radius: 8px;
}

/* Video Section */
.video-theatrical-frame {
    position: relative;
    padding: 15px;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.video-theatrical-frame .ratio {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.frame-accent {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
    z-index: 2;
}

.frame-accent-tr {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.frame-accent-bl {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

/* Staggered Layout */
@media (min-width: 992px) {
    .staggered-up {
        margin-top: -50px !important;
        transition: margin-top 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
}

/* Cards */
.stat-card {
    background: var(--obsidian);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    /* Hardware acceleration to prevent scroll lag with blur */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.testimonial-card,
.service-card {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0;
    background: var(--obsidian) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border) !important;
    position: relative;
    padding: 2.5rem !important;
    /* Hardware acceleration to prevent scroll lag with blur */
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.testimonial-card {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.testimonial-card p.text-secondary {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 10px;
    margin-bottom: 0;
}

/* Custom Scrollbar for Testimonials */
.testimonial-card p.text-secondary::-webkit-scrollbar {
    width: 3px;
}

.testimonial-card p.text-secondary::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.05);
}

.testimonial-card p.text-secondary::-webkit-scrollbar-thumb {
    background: var(--gold);
}

.service-card {
    min-height: 465px;
}

.testimonial-card:hover,
.service-card:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

/* Team Section */
.team-card {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0;
    overflow: hidden;
    background: var(--obsidian);
    border: 1px solid var(--glass-border);
}

.team-card:hover {
    transform: translateY(-15px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.team-img {
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(0.8) contrast(1.2);
}

.team-card:hover .team-img {
    transform: scale(1.05);
    filter: grayscale(0) contrast(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.testimonial-img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 215, 0, 0.5);
    margin-bottom: 20px;
}

/* Gallery */
.gallery-img {
    transition: all 0.5s ease;
    filter: grayscale(0.5);
    cursor: pointer;
}

.gallery-img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* CTA Section */
.cta-banner {
    background: url('../img/bg/gym_atmosphere_1_1772817606121.png');
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Footer */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-links a i {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

/* Owl Carousel Dots */
.owl-stage {
    margin-top: 50px
}

.owl-theme .owl-dots .owl-dot span {
    background: rgba(212, 175, 55, 0.2) !important;
    border-radius: 0 !important;
    width: 30px !important;
    height: 2px !important;
    transition: all 0.3s ease !important;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: var(--gold) !important;
    width: 50px !important;
}

/* Footer Improvements */
.footer {
    background-color: var(--black);
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .display-1 {
        font-size: 3.2rem;
        line-height: 1.1;
    }

    .display-4 {
        font-size: 2.2rem;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 60px;
        text-align: center;
    }

    .stats-section .col-6 {
        padding-bottom: 2rem;
    }

    .stat-card {
        padding: 1rem 0.5rem !important;
    }

    .stat-card h2 {
        font-size: 1.2rem;
    }

    .stat-card p {
        font-size: 0.65rem;
        margin-bottom: 0;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 575px) {
    .display-1 {
        font-size: 2.8rem;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .testimonial-img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .container,
.stats-section,
.protocols-section,
.transformations-section {
    animation: fadeIn 1.2s ease-out forwards;
}

/* Custom Hamburger Menu */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    padding: 0;
    z-index: 10001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger-menu:hover span:nth-child(2) {
    width: 70%;
}

.hamburger-menu:hover span:nth-child(3) {
    width: 40%;
}

/* Sidebar Menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--glass-border);
    z-index: 10000;
    transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.5);
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    margin-bottom: 80px;
}

.close-sidebar {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    padding: 0;
    line-height: 1;
    transition: all 0.4s ease;
}

.close-sidebar:hover {
    transform: rotate(90deg);
    color: var(--gold) !important;
}

.sidebar-nav {
    flex-grow: 1;
}

.sidebar-nav .nav-item {
    margin-bottom: 35px;
    overflow: hidden;
}

.sidebar-nav .nav-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 3px;
    display: block;
    transition: all 0.4s ease;
    text-transform: uppercase;
    position: relative;
    padding-left: 0;
}

.sidebar-nav .nav-link:hover {
    color: var(--gold);
    padding-left: 15px;
}

.sidebar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.sidebar-nav .nav-link:hover::before {
    width: 100%;
}

.sidebar-footer .social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.sidebar-footer .social-links a:hover {
    color: var(--gold) !important;
    transform: translateY(-5px);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hover-gold:hover {
    color: var(--gold) !important;
}

@media (max-width: 575px) {
    .sidebar-menu {
        width: 100%;
        padding: 40px 30px;
    }

    .sidebar-nav .nav-link {
        font-size: 2rem;
    }
}

/* Golden Video Frame */
.video-frame-container {
    max-width: 900px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.golden-video-frame {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(191, 149, 63, 0.3);
    transition: all 0.5s ease;
}

.golden-video-frame:hover {
    transform: scale(1.02);
    box-shadow: 0 0 70px rgba(191, 149, 63, 0.5);
}

.golden-video-frame .ratio {
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

.pointer-events-auto {
    pointer-events: auto !important;
}

@media (max-width: 767px) {
    .video-frame-container {
        max-width: 100%;
    }
}

/* Mantras Marquee */
.mantras-marquee {
    white-space: nowrap;
    position: relative;
    z-index: 5;
}

.marquee-content {
    display: inline-block;
    animation: scroll-marquee 40s linear infinite;
    padding-left: 100%;
}

@keyframes scroll-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.mantra {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.dot {
    font-size: 1.5rem;
    margin: 0 10px;
}

/* Training Hub */
.program-card {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease, background 0.6s ease, border-color 0.4s ease;
    border: 1px solid var(--glass-border);
    background: rgba(10, 10, 10, 0.4);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.card-peek {
    padding: 3.5rem 3rem 2rem 3rem;
}

/* The Grid trick for animating to auto height */
.card-reveal-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-reveal-inner {
    overflow: hidden;
}

.card-reveal-content {
    padding: 0 3rem 3rem 3rem;
}

/* Content slide-down reveal effect */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card:hover {
    transform: translateY(-12px);
    border-color: var(--gold);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.15);
    background: rgba(20, 20, 20, 0.9);
}

.program-card:hover .card-reveal-wrapper {
    grid-template-rows: 1fr;
}

.program-card:hover .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.program-card:hover .reveal-delay-1 {
    transition-delay: 0.2s;
}

.program-card:hover .reveal-delay-2 {
    transition-delay: 0.4s;
}

.program-card:hover .reveal-delay-3 {
    transition-delay: 0.6s;
}

.program-icon i {
    transition: all 0.4s ease;
}

.program-card:hover .program-icon i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--gold));
}

/* Quote Section */
.quote-section {
    background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.quote-section h2 {
    position: relative;
    z-index: 2;
}

.quote-section .bi-quote {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    font-size: 15rem;
}

/* About Page Specific Styles */
.about-hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.bio-img-wrapper .border-gold-glow {
    border: 1px solid var(--gold-subtle);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.experience-badge {
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.transform-translate-middle {
    transform: translate(20px, 20px);
}

.max-width-600 {
    max-width: 600px;
}

.max-width-700 {
    max-width: 700px;
}

.bg-darker {
    background-color: #050505;
}

.border-gold-subtle {
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.experience-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.experience-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.philosophy-grid .glass-panel {
    border-left: 3px solid var(--gold);
}

@media (max-width: 991px) {
    .about-hero-section {
        text-align: center;
        padding-top: 120px;
    }

    .about-hero-section .max-width-600 {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Floating Book a Call Button (Restructured for Animations) */
.fixed-book-btn-wrapper {
    position: fixed;
    left: 40px;
    bottom: 40px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fixed-book-btn-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Attention Ripple - Now outside the button's overflow */
.fixed-book-btn-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 35px;
    /* Center of the initial 70px circle */
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

.fixed-book-btn-wrapper.active:not(:hover)::before {
    animation: attentionRipple 3s infinite;
}

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

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

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

.fixed-book-btn {
    width: 70px;
    height: 70px;
    border-radius: 50% !important;
    transition: width 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
        border-radius 0.5s ease,
        background-color 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 22px !important;
    overflow: hidden;
    white-space: nowrap;
    background: rgba(10, 10, 10, 0.9) !important;
    text-decoration: none !important;
}

.fixed-book-btn i {
    font-size: 1.5rem;
    min-width: 26px;
    color: var(--gold);
}

.fixed-book-btn .btn-text {
    opacity: 0;
    max-width: 0;
    display: inline-block;
    transition: all 0.4s ease;
    color: var(--gold);
    font-weight: 800;
    letter-spacing: 1px;
    overflow: hidden;
}

.fixed-book-btn:hover {
    width: 240px;
    border-radius: 40px !important;
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--gold-glow-strong);
}

.fixed-book-btn:hover .btn-text {
    opacity: 1;
    max-width: 150px;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .fixed-book-btn-wrapper {
        left: 20px;
        bottom: 20px;
    }

    .fixed-book-btn {
        width: 60px;
        height: 60px;
        padding: 0 18px !important;
    }

    .fixed-book-btn-wrapper::before {
        width: 60px;
        height: 60px;
        left: 30px;
    }

    .fixed-book-btn i {
        font-size: 1.2rem;
        min-width: 22px;
    }

    .fixed-book-btn:hover {
        width: 200px;
    }
}

.fixed-book-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--gold-glow-strong);
    color: white !important;
}

@media (max-width: 768px) {
    .fixed-book-btn {
        right: 20px;
        bottom: 20px;
        padding: 12px 25px !important;
        font-size: 0.8rem !important;
        letter-spacing: 1px;
    }
}

/* Performance Layer Optimizations */
.glow-orb {
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.fixed-book-btn-wrapper,
.fixed-book-btn {
    will-change: transform, opacity;
    transform: translateZ(0);
}

.navbar.glass-panel {
    will-change: transform, background-color;
    transform: translateZ(0);
}

/* Reduce composite layer complexity for smoother scrolling */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimization for mobile scroll performance */
@media (max-width: 991px) {
    .glow-orb {
        display: none;
        /* Disable heavy blurs on mobile for better FPS */
    }

    .glass-panel {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(10, 10, 10, 0.95);
    }
}
/* Audio Toggle Button */
.audio-toggle-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.audio-toggle-btn:hover {
    background: var(--gold);
    color: #000;
}

