:root {
    --dark-bg: #0a0a0a;
    --darker-bg: #111111;
    --gold: #D4AF37;
    --gold-dark: #b8941f;
    --gold-light: #e6c85a;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: transparent !important;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

/* Navigation */
.custom-navbar {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar-brand .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    position: relative;
}

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

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-bg) !important;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

    .btn-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
        color: var(--dark-bg);
    }

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .btn-outline-gold:hover {
        background: var(--gold);
        color: var(--dark-bg);
        transform: translateY(-2px);
    }

/* Hero Section */
.hero-section {
    height: 100vh;
    background: transparent !important;
    margin-top: -80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--gold), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

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

@keyframes float3D {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    }

    50% {
        transform: translateY(-20px) rotateX(0deg) rotateY(0deg);
    }

    75% {
        transform: translateY(-10px) rotateX(-5deg) rotateY(-5deg);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delayed {
    animation: fadeInUp 1s ease-out 0.5s both;
}

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

.floating-3d {
    animation: float3D 8s ease-in-out infinite;
}


/* ===== UPDATED MEMBERSHIP CARD STYLES ===== */

/* Remove gold glow from the card */
.elite-membership-card {
    width: 350px;
    height: 220px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(212, 175, 55, 0.3); /* Reduced opacity for border */
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Dark shadow instead of gold */
}

/* Remove gold shine animation */
.elite-membership-card::before {
    display: none; /* Remove the shiny gold animation */
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/gym-main.jpg') center/cover;
    opacity: 0.15; /* Slightly darker */
    filter: grayscale(30%); /* Add some grayscale for sophistication */
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 10, 10, 0.8), transparent);
}

/* Update member photo area */
.member-photo {
    width: 60px;
    height: 60px;
    background: transparent !important; /* Remove gradient background */
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.5); /* Gold border like step icons */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Add dumbbell icon inside the circle (alternative to logo) */
.member-photo::before {
    content: '\f44b'; /* FontAwesome dumbbell icon code */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--gold); /* Gold color like step icons */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ALTERNATIVE: Use the Elite logo */
/* If you prefer the logo instead of dumbbell, use this instead of the above: */
/*
.member-photo {
    background: url('images/elite-logo.png') center/contain no-repeat !important;
    background-color: transparent !important;
    border: 2px solid rgba(212, 175, 55, 0.5);
}
*/

/* Update card header colors to match step icons */
.card-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-badge {
    background: rgba(212, 175, 55, 0.2); /* Subtle gold background */
    color: var(--gold); /* Gold text */
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Update member info */
.member-name {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.member-type {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.member-id {
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Update footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

.valid-text {
    color: var(--gold);
    font-weight: 600;
    opacity: 0.9;
}

.signature-space {
    color: var(--text-light);
    opacity: 0.6;
}

/* Remove floating 3D animation or make it subtle */
.floating-3d {
    animation: float 4s ease-in-out infinite; /* Simpler floating animation */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .elite-membership-card {
        width: 300px;
        height: 190px;
    }
    
    .member-photo {
        width: 50px;
        height: 50px;
    }
    
    .member-photo::before {
        font-size: 1.2rem;
    }
    
    .member-name {
        font-size: 1rem;
    }
    
    .card-logo {
        font-size: 1.3rem;
    }
}

/* Journey Steps */
.journey-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--text-light) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    border: 3px solid var(--gold-light);
}

.step-title {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

.step-arrow {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0 1rem;
}

/* New Membership Card Design */
.elite-membership-card {
    width: 350px;
    height: 220px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    margin: 0 auto;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/gym-main.jpg') center/cover;
    opacity: 0.2;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.05), transparent);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
}

.card-badge {
    background: var(--gold);
    color: var(--dark-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.member-photo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    border: 2px solid var(--text-light);
}

.member-info {
    flex: 1;
}

.member-name {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.member-type {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.member-id {
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.8;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

.valid-text {
    color: var(--gold);
    font-weight: 600;
}

.signature-space {
    color: var(--text-light);
    opacity: 0.6;
}

/* Welcome Text */
.welcome-text {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* About Section */
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.contact-info {
    padding: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

    .contact-item a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-item a:hover {
            color: var(--gold-light) !important;
        }

/* Footer */
.footer {
    background: var(--dark-bg) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--gold-light) !important;
}

/* === FIXED SOCIAL MEDIA UNDERSCORES === */
.social-icons a {
    text-decoration: none !important;
    border-bottom: none !important;
}

.social-icons a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer a {
    text-decoration: none !important;
}

.footer a:hover {
    text-decoration: none !important;
}
/* === END FIX === */

/* Logo Styles */
.logo-img {
    height: 40px;
    margin-right: 10px;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

/* Section Backgrounds */
.bg-dark {
    background: var(--dark-bg) !important;
}

.bg-transparent {
    background: transparent !important;
}

/* Contact info cards background */
.contact-info-card {
    background: var(--darker-bg) !important;
}

/* Hours card background */
.hours-card {
    background: var(--darker-bg) !important;
}

/* Membership plan cards */
.membership-plan {
    background: var(--darker-bg) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        margin-top: -70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .quote-text {
        font-size: 1.5rem;
    }

    .welcome-text {
        font-size: 2rem;
    }

    .cylinder-container {
        height: 300px;
    }

    .cylinder {
        width: 250px;
        height: 250px;
    }

    .cylinder-face {
        width: 160px;
        height: 250px;
    }

    .cylinder-front {
        transform: rotateY(0deg) translateZ(120px);
    }

    .cylinder-right {
        transform: rotateY(90deg) translateZ(120px);
    }

    .cylinder-back {
        transform: rotateY(180deg) translateZ(120px);
    }

    .cylinder-left {
        transform: rotateY(270deg) translateZ(120px);
    }

    .membership-card {
        width: 300px;
        height: 190px;
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .journey-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .elite-membership-card {
        width: 300px;
        height: 190px;
    }

    .card-content {
        padding: 15px;
    }

    .member-photo {
        width: 50px;
        height: 50px;
    }

    .member-name {
        font-size: 1rem;
    }

    .hero-section .btn {
        margin: 0.5rem 0.25rem;
        display: block;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }

        .hero-section .btn + .btn {
            margin-top: 1rem;
        }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-gold,
    .btn-outline-gold {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .cylinder-container {
        height: 250px;
    }

    .cylinder {
        width: 200px;
        height: 200px;
    }

    .cylinder-face {
        width: 130px;
        height: 200px;
    }

    .cylinder-front {
        transform: rotateY(0deg) translateZ(100px);
    }

    .cylinder-right {
        transform: rotateY(90deg) translateZ(100px);
    }

    .cylinder-back {
        transform: rotateY(180deg) translateZ(100px);
    }

    .cylinder-left {
        transform: rotateY(270deg) translateZ(100px);
    }

    .membership-card {
        width: 280px;
        height: 180px;
        padding: 15px;
    }

    .card-title {
        font-size: 1rem;
    }

    .member-name {
        font-size: 1rem;
    }
}

/* Fix membership card being cut off */
.membership-card-container {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.elite-membership-card {
    position: relative;
    z-index: 20;
}
/* FIX WHITE BACKGROUND WHEN SCROLLING PAST CONTENT */
html, body {
    background: #000000 !important;
    overflow-x: hidden;
}

/* Ensure no white space below footer */
body::after {
    display: none !important;
}

/* MOBILE FIXES */
@media (max-width: 768px) {
    /* Fix hero section on mobile */
    .hero-section {
        height: 80vh !important;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    /* Fix cylinder on mobile */
    .cylinder-container {
        height: 250px !important;
    }
    
    .cylinder {
        width: 200px !important;
        height: 200px !important;
    }
    
    .cylinder-face {
        width: 130px !important;
        height: 200px !important;
    }
    
    /* Fix membership cards on mobile */
    .membership-plan {
        margin-bottom: 1.5rem !important;
    }
    
    /* Fix buttons on mobile */
    .btn-gold, .btn-outline-gold {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
}

/* Video Carousel Styles */
.video-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.video-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.video-item {
    background: var(--darker-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.video-wrapper {
    position: relative;
    cursor: pointer;
}

.training-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
}

.play-overlay i {
    font-size: 3rem;
    color: var(--gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-wrapper.playing .play-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-caption {
    padding: 1.5rem;
    text-align: center;
    background: var(--dark-bg);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--dark-bg);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: var(--gold);
    transform: scale(1.1);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .video-carousel-container {
        padding: 0 20px;
    }
    
    .video-carousel {
        grid-template-columns: 1fr;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }
    
    .video-item {
        min-width: 85%;
        scroll-snap-align: center;
        margin: 0 10px;
    }
    
    .training-video {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-controls {
        display: none; /* Hide buttons on mobile - use swipe */
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .training-video {
        height: 200px;
    }
}


/* ===== ELITE CHATBOT STYLES - SOPHISTICATED DESIGN ===== */
#elite-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Poppins', sans-serif;
}

/* Toggle Button - Sophisticated Gold */
#chatbot-toggle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #C19A30, #8B6914); /* Darker, richer gold */
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050505;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(193, 154, 48, 0.4); /* Softer shadow */
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    border: 3px solid #050505;
}

#chatbot-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 40px rgba(193, 154, 48, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.05) rotate(5deg); }
    50% { transform: scale(1.08) rotate(0deg); }
    75% { transform: scale(1.05) rotate(-5deg); }
}

/* Chatbot Container - Refined */
#chatbot-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 85%;
    max-width: 400px;
    max-height: 700px;
    background: #0a0a0a;
    border: 2px solid #C19A30; /* Darker gold border */
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 10001;
}

/* Header - Lighter, Sophisticated */
.chatbot-header {
    background: linear-gradient(135deg, #D4AF37, #B8860B); /* Lighter gradient */
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #050505;
    border-radius: 22px 22px 0 0;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: #050505;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #050505;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #D4AF37;
}

.chatbot-info h6 {
    margin: 0;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.status-online {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 600;
}

#chatbot-close {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #050505;
    font-size: 1.8rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: auto;
}

#chatbot-close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

/* Messages Area */
#chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: linear-gradient(135deg, rgba(5,5,5,0.95), rgba(8,8,8,0.95));
}

.chat-message {
    max-width: 85%;
    padding: 16px 20px;
    border-radius: 20px;
    word-wrap: break-word;
    line-height: 1.5;
    animation: messageSlide 0.4s ease;
    margin-bottom: 5px;
    font-size: 1rem;
    position: relative;
}

@keyframes messageSlide {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.9);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

.bot-message {
    background: linear-gradient(135deg, rgba(193, 154, 48, 0.12), rgba(193, 154, 48, 0.08));
    color: #f8f9fa;
    border-bottom-left-radius: 8px;
    align-self: flex-start;
    border: 1px solid rgba(193, 154, 48, 0.2);
    backdrop-filter: blur(20px);
}

.user-message {
    background: linear-gradient(135deg, #C19A30, #D4AF37); /* Consistent gold */
    color: #050505;
    border-bottom-right-radius: 8px;
    align-self: flex-end;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(193, 154, 48, 0.25);
}

/* Quick Actions - CONSISTENT BUTTON STYLE */
#chatbot-actions {
    padding: 0 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
}

.quick-action {
    background: linear-gradient(135deg, rgba(193, 154, 48, 0.15), rgba(193, 154, 48, 0.1));
    border: 2px solid rgba(193, 154, 48, 0.4);
    color: #f8f9fa;
    padding: 14px 18px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.quick-action:hover {
    background: linear-gradient(135deg, rgba(193, 154, 48, 0.25), rgba(193, 154, 48, 0.2));
    border-color: #C19A30;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(193, 154, 48, 0.15);
}

/* Input Area - FIXED Telegram Style with proper spacing */
.chatbot-input {
    padding: 1rem 1.5rem;
    border-top: 2px solid rgba(193, 154, 48, 0.2);
    display: none;
    gap: 12px;
    align-items: center;
    background: #050505;
    border-radius: 0 0 22px 22px;
}

.chatbot-input.active {
    display: flex;
}

.input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

/* FIXED: Input field with proper right padding for send button */
#chatbot-input {
    width: 100%;
    padding: 16px 60px 16px 20px; /* More right padding for send button */
    border: 2px solid rgba(193, 154, 48, 0.3);
    border-radius: 25px;
    background: #0a0a0a;
    color: #f8f9fa;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't break layout */
}

#chatbot-input:focus {
    border-color: #C19A30;
    box-shadow: 0 0 0 3px rgba(193, 154, 48, 0.1);
}

/* FIXED: Send button with proper positioning */
#chatbot-send {
    position: absolute;
    right: 8px;
    background: #C19A30;
    color: #050505;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(193, 154, 48, 0.3);
}

#chatbot-send:hover {
    transform: scale(1.1);
    background: #D4AF37;
    box-shadow: 0 6px 20px rgba(193, 154, 48, 0.4);
}

#chatbot-send:active {
    transform: scale(0.95);
}

/* Summary Section - Consistent with button style */
.booking-summary {
    background: linear-gradient(135deg, rgba(193, 154, 48, 0.12), rgba(193, 154, 48, 0.08));
    border: 2px solid rgba(193, 154, 48, 0.3);
    border-radius: 18px;
    padding: 1.5rem;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(193, 154, 48, 0.1);
}

.summary-label {
    color: #adb5bd;
    font-weight: 500;
}

.summary-value {
    color: #C19A30; /* Consistent gold color */
    font-weight: 700;
}

/* Desktop Styles */
@media (min-width: 769px) {
    #chatbot-container {
        position: absolute;
        top: auto;
        left: auto;
        bottom: 90px;
        right: 0;
        transform: none;
        width: 420px;
        height: 650px;
    }
    
    /* Ensure input field has proper spacing on desktop */
    #chatbot-input {
        padding: 16px 60px 16px 20px;
    }
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    #chatbot-container {
        width: 92%;
        height: 80%;
        border-radius: 20px;
    }
    
    .chatbot-header {
        padding: 1rem 1.2rem;
        border-radius: 17px 17px 0 0;
    }
    
    .chatbot-input {
        padding: 0.8rem 1.2rem;
        border-radius: 0 0 17px 17px;
    }
    
    .chat-message {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
    
    .quick-action {
        padding: 12px 16px;
        min-height: 50px;
        font-size: 0.95rem;
    }
    
    /* Mobile input spacing */
    #chatbot-input {
        padding: 14px 55px 14px 16px;
    }
    
    #chatbot-send {
        width: 38px;
        height: 38px;
        right: 6px;
    }
}

/* Scrollbar Styling */
#chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

#chatbot-messages::-webkit-scrollbar-track {
    background: rgba(193, 154, 48, 0.1);
    border-radius: 10px;
}

#chatbot-messages::-webkit-scrollbar-thumb {
    background: #C19A30;
    border-radius: 10px;
}

#chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}
/* ===== END CHATBOT STYLES ===== */

/* ===== SPECIFIC MOBILE SPACING FIXES ===== */

/* DEFAULT SPACING */
.hero-section {
    padding-bottom: 1rem !important;
    margin-bottom: 0 !important;
}

.cylinder-section {
    margin-top: -2rem !important;
    padding-top: 0 !important;
}

.membership-invite {
    margin-top: -1rem !important;
    padding-top: 0 !important;
    padding-bottom: 1rem !important;
}

.journey-section {
    margin-top: -1rem !important;
    padding-top: 0 !important;
    padding-bottom: 1rem !important;
}

/* DESKTOP SPACING - More breathing room */
@media (min-width: 769px) {
    .cylinder-section {
        margin-top: 2rem !important;
        padding-top: 2rem !important;
    }
    
    .membership-invite {
        margin-top: 3rem !important;
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
    }
    
    .journey-section {
        margin-top: 3rem !important;
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
    }
    
    .hero-section {
        padding-bottom: 3rem !important;
    }
}

/* MOBILE SPECIFIC - CYLINDER CLOSER TO BUTTONS */
@media (max-width: 768px) {
    /* CYLINDER MUCH CLOSER TO HERO BUTTONS */
    .cylinder-section {
        margin-top: -5rem !important; /* Much closer to buttons */
        padding-top: 0 !important;
    }
    
    .hero-section {
        padding-bottom: 0rem !important;
        margin-bottom: -2rem !important; /* Pull buttons up */
    }
    
    /* JOURNEY STEPS - LESS VERTICAL SPACING */
    .journey-steps {
        flex-direction: column;
        gap: 0.5rem !important; /* Reduced from 1rem to 0.5rem */
        margin: 1rem auto !important; /* Reduced from 2rem */
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0.2rem 0 !important; /* Reduced spacing */
    }
    
    .step {
        min-width: 160px;
        padding: 0.5rem 0.3rem !important; /* Reduced padding */
        margin: 0.2rem 0 !important; /* Reduced margin */
    }
    
    .step-icon {
        width: 50px !important; /* Smaller on mobile */
        height: 50px !important;
        font-size: 1.3rem !important;
        margin: 0 auto 0.5rem !important; /* Reduced margin */
    }
    
    .step-title {
        font-size: 0.9rem;
        margin-bottom: 0.2rem !important; /* Reduced */
    }
    
    .step-desc {
        font-size: 0.75rem;
        line-height: 1.2 !important; /* Tighter */
    }
    
    /* KEEP OTHER SECTIONS CLOSE */
    .membership-invite {
        margin-top: -2rem !important;
    }
    
    .journey-section {
        margin-top: -2rem !important;
    }
}

/* COMPACT JOURNEY STEPS - Same for both */
.journey-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem !important;
    margin: 2rem auto !important;
    max-width: 1000px;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 140px;
    padding: 0.5rem !important;
}

/* LARGER STEP ICONS */
.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(193, 154, 48, 0.1);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 0.8rem;
    border: 2px solid rgba(193, 154, 48, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    background: rgba(193, 154, 48, 0.2);
    transform: scale(1.1);
    border-color: var(--gold);
}

.step-title {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    line-height: 1.2;
}

.step-desc {
    color: var(--text-light);
    font-size: 0.8rem;
    opacity: 0.8;
    line-height: 1.3;
}

.step-arrow {
    color: var(--gold);
    font-size: 1.2rem;
    margin: 0 0.3rem !important;
    opacity: 0.7;
}

/* FIX MEMBERSHIP CARD SECTION SPACING */
.membership-card-container {
    padding: 1rem 0 !important;
}

/* FIX WELCOME TEXT SECTION SPACING */
.welcome-text {
    margin: 1rem 0 !important;
}

/* REMOVE VIDEO GLOW COMPLETELY */
.video-item {
    box-shadow: none !important;
    border: 1px solid rgba(193, 154, 48, 0.2) !important;
    background: var(--darker-bg) !important;
}

.video-wrapper {
    box-shadow: none !important;
}

.training-video {
    box-shadow: none !important;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(193, 154, 48, 0.4) !important;
}


/* ===== CLEAN CHATBOT EDGE REDESIGN ===== */

/* Chatbot Container - Only Changing Edges */
#chatbot-container {
    border-radius: 20px !important;
    border: 2px solid #D4AF37 !important;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15) !important;
    overflow: hidden !important;
}

/* Chatbot Toggle Button - Clean */
#chatbot-toggle {
    background: #D4AF37 !important;
    border: 2px solid #D4AF37 !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3) !important;
}

#chatbot-toggle i {
    color: #050505 !important;
}

/* Mobile Fullscreen - Clean */
@media (max-width: 768px) {
    #chatbot-container {
        border-radius: 0 !important;
        border: none !important;
        border-top: 3px solid #D4AF37 !important;
        box-shadow: none !important;
    }
}



/* ===== VIDEO FIXES - KEEP OVERLAY BUT MAKE IT WORK ===== */

/* Make overlay click-through but keep visible */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Lighter overlay (was 0.5) */
    display: flex !important; /* Keep it visible */
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none; /* THIS IS KEY: Makes it click-through */
}

.play-overlay i {
    font-size: 3rem;
    color: var(--gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    pointer-events: none; /* Also make icon click-through */
}

/* When video is playing, hide overlay */
.video-wrapper.playing .play-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Make video wrapper handle all clicks */
.video-wrapper {
    position: relative;
    cursor: pointer;
    display: block;
}

/* Ensure video is clickable */
.training-video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    background: #000;
    pointer-events: auto; /* Make sure video can be clicked */
}

/* Mobile video sizing */
@media (max-width: 768px) {
    .training-video {
        height: 200px;
    }
    
    .play-overlay i {
        font-size: 2.5rem; /* Slightly smaller on mobile */
    }
    
    /* Optimize for mobile touch */
    .video-wrapper {
        -webkit-tap-highlight-color: transparent; /* Remove blue tap highlight on mobile */
    }
    
    .video-wrapper:active {
        opacity: 0.9; /* Visual feedback when tapped */
    }
}

/* Fix for iOS - ensure videos play inline */
.training-video {
    -webkit-playsinline: true;
    playsinline: true;
}

/* Loading state */
.video-wrapper.loading .play-overlay i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
