<style>
/* =========================================
   THE "MODERN GLASS" DESIGN SYSTEM
   ========================================= */

.glass-hero {
    position: relative;
    height: 100vh; /* Full Height */
    width: 100%;
    
    /* BACKGROUND IMAGE */
    background: url('../images/gym_banner.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* 1. SOFT OVERLAY (Elegant Dark) */
.glass-overlay {
    position: absolute;
    inset: 0;
    /* Soft gradient from top-black to bottom-black, clear in middle */
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.4), rgba(0,0,0,0.9));
    z-index: 1;
}

/* 2. FLOATING GLASS BUBBLES */
.floating-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.glass-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* THE GLASS EFFECT */
    background: rgba(255, 255, 255, 0.05); /* Very transparent */
    backdrop-filter: blur(10px); /* Blurs the background behind it */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    border-radius: 50%; /* Circle */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    
    color: rgba(255, 255, 255, 0.8);
    animation: floatSmooth 6s ease-in-out infinite;
}

/* Specific Bubble Sizes & Positions */
.b1 {
    width: 120px; height: 120px;
    top: 20%; left: 15%;
    font-size: 3rem;
    animation-delay: 0s;
}

.b2 {
    width: 80px; height: 80px;
    top: 25%; right: 20%;
    font-size: 2rem;
    animation-delay: 2s;
    color: #ff4d4d; /* Subtle red tint for heart */
}

.b3 {
    width: 100px; height: 100px;
    bottom: 25%; left: 20%;
    font-size: 2.5rem;
    animation-delay: 1s;
}

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

/* =========================================
   3. HERO SECTION (FIXED ALIGNMENT)
   ========================================= */
.glass-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('../images/gym_banner.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    
    /* FLEXBOX CENTERING MAGIC */
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    justify-content: center; /* Centers vertically */
    align-items: center;     /* Centers horizontally */
    text-align: center;      /* Forces text to center */
    
    overflow: hidden;
    padding-top: 80px; /* CRITICAL: Pushes content down so it doesn't hit the Logo */
}

/* Background Overlay */
.glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

/* Content Wrapper - Forces everything to the middle */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
    
    /* DOUBLE CHECK CENTERING */
    display: flex;
    flex-direction: column;
    align-items: center; 
}

/* Floating Bubbles - Moved further out to avoid text collision */
.floating-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.glass-bubble {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    color: rgba(255, 255, 255, 0.8);
    animation: floatSmooth 6s ease-in-out infinite;
}

/* FIX: Moved icons closer to edges so they don't block text */
.b1 { 
    width: 100px; height: 100px; 
    top: 25%; left: 5%; /* Moved to edge */
    font-size: 2.5rem; 
    animation-delay: 0s; 
}

.b2 { 
    width: 70px; height: 70px; 
    top: 30%; right: 5%; /* Moved to edge */
    font-size: 1.8rem; 
    animation-delay: 2s; 
    color: #ff4d4d; 
}

.b3 { 
    width: 90px; height: 90px; 
    bottom: 15%; left: 10%; 
    font-size: 2.2rem; 
    animation-delay: 1s; 
}

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

/* Text Styling */
.pill-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px; border-radius: 50px;
    font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase;
    color: #fff; margin-bottom: 30px; 
    backdrop-filter: blur(10px);
}

.dot {
    width: 8px; height: 8px; background: #4ade80;
    border-radius: 50%; box-shadow: 0 0 10px #4ade80;
}

.glass-hero h1 {
    font-size: clamp(3rem, 6vw, 6rem); /* Big responsive text */
    font-weight: 800; 
    line-height: 1.1; 
    color: white;
    margin-bottom: 20px; 
    text-transform: uppercase;
    width: 100%; /* Ensures text aligns relative to full width */
}

.highlight-text {
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.glass-hero p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: #ddd; 
    margin-bottom: 40px; 
    font-weight: 400; 
    line-height: 1.6;
    max-width: 600px; /* Prevents paragraph from getting too wide */
}

/* Buttons */
.btn-wrapper { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    align-items: center;
    flex-wrap: wrap; /* Allows stacking on tiny screens */
}

.modern-btn {
    padding: 18px 45px; background: white; color: black;
    border: none; border-radius: 50px; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: 0.3s; box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.modern-btn:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(255, 255, 255, 0.5); }

.link-btn {
    background: transparent; color: white; border: none; font-size: 1rem;
    cursor: pointer; border-bottom: 1px solid transparent; transition: 0.3s;
    display: flex; align-items: center; gap: 10px; padding: 10px;
}
.link-btn:hover { gap: 15px; border-bottom: 1px solid white; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .glass-hero { padding-top: 100px; } /* More space on mobile */
    .b1 { top: 15%; left: 2%; opacity: 0.3; } /* Faint icons on mobile */
    .b2 { top: 20%; right: 2%; opacity: 0.3; }
    .b3 { bottom: 10%; left: 5%; opacity: 0.3; }
    .glass-hero h1 { font-size: 3rem; }
}

/* 4. BUTTONS */
.btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.modern-btn {
    padding: 15px 40px;
    background: white;
    color: black;
    border: none;
    border-radius: 50px; /* Fully rounded pill shape */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.link-btn {
    background: transparent;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-btn:hover {
    border-bottom: 1px solid white;
    gap: 15px; /* Arrow moves slightly */
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .glass-hero { background-attachment: scroll; } /* Fix mobile parallax jitter */
    
    /* Make bubbles smaller and pushed back on mobile */
    .b1 { width: 80px; height: 80px; top: 15%; left: 5%; opacity: 0.5; }
    .b2 { width: 60px; height: 60px; top: 18%; right: 5%; opacity: 0.5; }
    .b3 { width: 70px; height: 70px; bottom: 15%; left: 10%; opacity: 0.5; }
    
    .btn-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .modern-btn { width: 100%; max-width: 250px; }
}
        /* --- 1. MODERN VARIABLES --- */
        :root {
            --primary: #ff3b3b;
            --primary-glow: rgba(255, 59, 59, 0.5);
            --dark: #050505;
            --dark-glass: rgba(20, 20, 20, 0.7);
            --text: #ffffff;
            --text-gray: #b3b3b3;
            --glass-border: 1px solid rgba(255, 255, 255, 0.1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body { 
            background-color: var(--dark); 
            background-image: radial-gradient(circle at 50% 50%, #1a0505 0%, #000000 100%);
            color: var(--text); 
            font-family: 'Montserrat', sans-serif; 
            overflow-x: hidden; 
            width: 100%;
        }

        h1, h2, h3, .btn-nav, .level-btn, .price { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; }
        
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        html { scroll-behavior: smooth; }

        /* --- 2. DYNAMIC HEADER --- */
        header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 20px 5%; 
            position: fixed; width: 100%; top: 0; z-index: 1000;
            transition: 0.4s ease;
        }

        header.scrolled {
            background: rgba(0, 0, 0, 0.95);
            padding: 15px 5%;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logo { font-size: 2rem; font-weight: 700; color: white; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
        .logo span { color: var(--primary); text-shadow: 0 0 15px var(--primary); }

        nav ul { display: flex; gap: 30px; align-items: center; }
        nav a { font-weight: 600; font-size: 0.9rem; position: relative; }
        nav a::after {
            content: ''; position: absolute; width: 0; height: 2px;
            bottom: -5px; left: 0; background: var(--primary); transition: 0.3s;
        }
        nav a:hover::after { width: 100%; }

        .join-btn {
            background: transparent; border: 2px solid var(--primary); color: var(--primary);
            padding: 8px 25px; font-weight: bold; cursor: pointer; transition: 0.3s;
            box-shadow: 0 0 10px transparent;
        }
        .join-btn:hover { 
            background: var(--primary); color: white; 
            box-shadow: 0 0 20px var(--primary-glow); 
            transform: translateY(-2px);
        }


        /* --- 4. GLASSMORPHISM CARDS --- */
        section { 
            padding: 100px 5%; 
            position: relative; 
            overflow: hidden; 
        }
        
        .section-title { text-align: center; font-size: 3rem; margin-bottom: 60px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); width: 100%; }
        .section-title span { color: var(--primary); }
        .section-title::after {
            content: ''; display: block; width: 60px; height: 4px; background: var(--primary);
            margin: 10px auto 0; border-radius: 2px;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: var(--glass-border);
            padding: 30px; border-radius: 15px;
            transition: 0.4s;
        }
        .glass-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.07);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            border-color: var(--primary);
        }

/* --- FIXED SECTION TITLE ALIGNMENT --- */
        .section-title {
            text-align: center;
            font-size: 3rem;
            margin-bottom: 50px;
            position: relative;
            display: block; /* Changed from inline-block to block */
            width: 100%;    /* Takes full width to center text properly */
            left: auto;     /* Reset positioning */
            transform: none; /* Remove shift */
        }

        .section-title span { color: var(--primary); }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--primary);
            margin: 10px auto 0; /* 'auto' centers the underline */
            border-radius: 2px;
        }

        /* --- SERVICES SLIDER (Animation Kept Same) --- */
        .slider-container {
            height: 300px;
            margin: auto;
            position: relative;
            width: 100%;
            display: grid;
            place-items: center;
            overflow: hidden;
        }

        .slider-container::before,
        .slider-container::after {
            background: linear-gradient(to right, var(--dark) 0%, transparent 100%);
            content: "";
            height: 100%;
            position: absolute;
            width: 100px;
            z-index: 2;
            pointer-events: none;
        }
        .slider-container::before { left: 0; top: 0; }
        .slider-container::after { right: 0; top: 0; transform: rotateZ(180deg); }

        .slide-track {
            display: flex;
            width: calc(250px * 12);
            animation: scroll 25s linear infinite;
        }
        .slide-track:hover { animation-play-state: paused; }
        
        @keyframes scroll { 
            0% { transform: translateX(0); } 
            100% { transform: translateX(calc(-250px * 6)); } 
        }

        .slide { 
            height: 280px; 
            width: 230px; 
            display: flex; 
            align-items: center; 
            padding: 10px; 
            perspective: 100px; 
        }
        
        .service-card-small {
            width: 100%; 
            height: 100%; 
            border-radius: 15px; 
            overflow: hidden;
            position: relative; 
            transition: 0.3s; 
            border: 1px solid rgba(255,255,255,0.1); 
            background: #000;
        }

        .service-card-small img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            opacity: 0.7; 
            transition: 0.3s; 
        }

        .service-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;
            text-align: center;
            padding: 20px;
            padding-bottom: 30px;
        }

        .service-overlay i { 
            color: var(--primary); 
            font-size: 2rem; 
            margin-bottom: 10px;
            transition: 0.3s;
        }

        .service-overlay h4 { 
            font-family: 'Oswald', sans-serif; 
            font-size: 1.4rem; 
            color: white; 
            margin: 0;
            letter-spacing: 1px;
            text-transform: uppercase;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        .service-card-small:hover { 
            transform: scale(1.05); 
            border-color: var(--primary); 
            box-shadow: 0 0 20px var(--primary-glow); 
        }
        .service-card-small:hover img { opacity: 0.4; }
        .service-card-small:hover .service-overlay i { transform: translateY(-5px); color: white; }
        .service-card-small:hover .service-overlay h4 { color: var(--primary); }
        
        /* --- 6. SCHEDULE SECTION --- */
        .level-controls { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap;

    /* 1. Push buttons DOWN (Fixes touching the red line) */
    margin-top: 30px; 

    /* 2. Pull grid UP (Fixes empty space at bottom) */
    margin-bottom: 10px; 
}
        
        .level-btn {
            padding: 15px 40px; font-size: 1.2rem; background: transparent; 
            border: 1px solid #333; color: #666; cursor: pointer; border-radius: 5px;
            transition: 0.4s; position: relative; overflow: hidden;
        }
        
        .level-btn.active[data-level="beginner"] { background: #2ecc71; color: black; border-color: #2ecc71; box-shadow: 0 0 20px rgba(46, 204, 113, 0.4); }
        .level-btn.active[data-level="intermediate"] { background: #f39c12; color: black; border-color: #f39c12; box-shadow: 0 0 20px rgba(243, 156, 18, 0.4); }
        .level-btn.active[data-level="pro"] { background: #ff3b3b; color: white; border-color: #ff3b3b; box-shadow: 0 0 20px rgba(255, 59, 59, 0.4); }
        .level-btn:hover { transform: translateY(-3px); }

        /* OPTIMIZED GRID: Using 280px ensures it fits better on small phones */
        .schedule-grid { display: none; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; animation: fadeIn 0.6s ease; }
        .schedule-grid.active { display: grid; }

        .day-card {
            background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 25px; border-radius: 10px; transition: 0.3s;
        }
        .day-card:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-5px); border-color: var(--primary); }
        .day-title { font-size: 1.2rem; font-weight: bold; color: var(--primary); margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; display:flex; justify-content:space-between; }
        .workout-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ccc; font-size: 0.9rem; display: flex; justify-content: space-between; }

        /* --- 7. GENERAL LAYOUTS --- */
.tools-container, .pricing-container, .grid-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 30px; 
    justify-content: center; 
    
    /* ADDED THIS: Pushes the cards down away from the red line */
    margin-top: 50px; 
}
        /* OPTIMIZED CARDS: max-width allows shrinking on mobile */
        .tool-card { width: 100%; max-width: 450px; }
        .plan-card { width: 100%; max-width: 360px; text-align: center; position: relative; overflow: hidden; }
        
        input, select { width: 100%; padding: 15px; background: rgba(0,0,0,0.3); border: 1px solid #333; color: white; border-radius: 8px; margin-bottom: 15px; }
        .trainer-img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid transparent; background: linear-gradient(black, black), linear-gradient(var(--primary), #333); background-origin: border-box; background-clip: content-box, border-box; margin-bottom: 20px; }

        .plan-card.popular::before { content: 'BEST VALUE'; position: absolute; top: 15px; right: -30px; background: var(--primary); width: 120px; font-size: 0.7rem; font-weight: bold; transform: rotate(45deg); padding: 5px 0; }
        .price { font-size: 3.5rem; font-weight: 700; margin: 20px 0; }
        .features li { padding: 12px 0; color: #b3b3b3; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .features li i { color: var(--primary); margin-right: 10px; }

       /* --- GALLERY SECTION --- */
.gallery-section {
    padding: 80px 5%;
    background: #050505;
}

/* HEADER ALIGNMENT FIX */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center; /* This forces perfect centering */
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.title-separator {
    width: 80px;
    height: 4px;
    background: #ff3b3b;
    margin: 15px 0; /* Space above and below line */
    border-radius: 2px;
}

.section-subtitle {
    color: #888;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* THE GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* THE CARD (New Design) */
.gallery-card {
    position: relative;
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #222; /* Subtle border */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* IMAGE STYLING */
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.8); /* Slightly dark by default so text pops */
}

/* HOVER EFFECT: Zoom Image & Brighten */
.gallery-card:hover img {
    transform: scale(1.1);
    filter: brightness(1); /* Brighten up on hover */
}

/* OVERLAY (Visible by Default) */
.card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.5), transparent);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: 0.3s;
}

/* TEXT STYLING */
.card-overlay h3 {
    font-family: 'Oswald', sans-serif;
    color: white;
    font-size: 1.4rem;
    margin: 0;
    transition: 0.3s;
    /* Keeps title visible always */
}

.card-overlay p {
    color: #ff3b3b; /* Red accent */
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
    
    /* Reveal Animation Logic */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* HOVER INTERACTION */
.gallery-card:hover .card-overlay {
    padding-bottom: 35px; /* Lifts text up slightly */
    background: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0.2));
}

.gallery-card:hover h3 {
    color: #fff;
    transform: translateY(-5px);
}

.gallery-card:hover p {
    max-height: 50px; /* Slides down */
    opacity: 1; /* Fades in */
}

/* LIGHTBOX */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}
.lightbox img {
    max-width: 90%; max-height: 80vh;
    border: 2px solid #333; border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.9);
}
.close-btn {
    position: absolute; top: 20px; right: 30px;
    color: white; font-size: 40px; cursor: pointer;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-card { height: 260px; }
    
    /* On mobile, show everything always */
    .card-overlay p {
        max-height: 50px; opacity: 1;
    }
}

/* --- INFINITE MARQUEE SECTION (FIXED) --- */
.marquee-section {
    padding: 60px 0;
    background: #000;
    overflow: hidden; /* Hides the scrollbar */
    position: relative;
    border-top: 1px solid #111;
}

/* CONTAINER: Handles the Fade Effect & Spacing */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* crucial fix */
    
    /* FIX: Pushes the cards down from the red header line */
    margin-top: 50px; 

    /* Fade Effect on sides */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* THE TRACK: The moving strip */
.marquee-track {
    display: flex;
    width: max-content; /* Ensures it stretches to fit all cards */
    gap: 20px;
    animation: scroll 35s linear infinite; /* Smooth speed */
}

/* PAUSE ANIMATION ON HOVER */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* CARD DESIGN */
.review-card-small {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 12px;
    width: 320px; /* Fixed width prevents squashing */
    flex-shrink: 0; /* CRITICAL: Prevents cards from shrinking */
    transition: 0.3s;
}

.review-card-small:hover {
    border-color: #ff3b3b;
    background: #151515;
    transform: translateY(-2px);
}

.review-card-small .stars {
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: #ffb700;
}

.review-card-small p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 15px;
}

.review-card-small .user {
    color: #ff3b3b;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ANIMATION LOGIC */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Moves exactly half way */
}
        
/* =========================================
   8. ENGAGING FOOTER (FINAL FIXED)
   ========================================= */

footer {
    background: #050505;
    padding: 80px 5% 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

/* Top Red Gradient Line */
footer::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 50px;
}

/* --- LOGO STYLES --- */
.footer-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem !important;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}
.footer-logo span { color: var(--primary); }

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
    letter-spacing: 1px;
}

.footer-bio {
    color: #888;
    line-height: 1.8;
    margin: 20px 0;
    font-size: 0.95rem;
    max-width: 320px;
}

/* --- LINKS --- */
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #bbb;
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* --- SOCIAL ICONS --- */
.social-icons { 
    display: flex; 
    gap: 20px; 
    margin-top: 25px; 
}
.social-icons a {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.05);
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-3px);
}

/* --- CONTACT INFO --- */
.contact-row {
    display: flex; align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px; color: #bbb; font-size: 0.95rem;
}
.contact-row i { 
    color: var(--primary); 
    font-size: 1.1rem; 
    margin-top: 3px; 
}

/* =========================================
   BOTTOM BAR (GRID FIX)
   ========================================= */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 25px 0;
    margin-top: 20px;
    width: 100%;
    
    /* GRID LAYOUT: Left (Auto width) - Space - Right (Auto width) */
    display: grid;
    grid-template-columns: auto 1fr auto; 
    align-items: center;
}

/* 1. LEFT SIDE: Copyright */
.copyright { 
    color: #666; 
    font-size: 0.85rem; 
    margin: 0;
    text-align: left;
    white-space: nowrap; /* Forces single line */
    grid-column: 1; /* First column */
}

/* 2. MIDDLE SPACER (Invisible) */
/* This empty column naturally pushes the next item to the end */

/* 3. RIGHT SIDE: Developer Badge */
.dev-credit-wrapper {
    grid-column: 3; /* Last column */
    display: flex;
    justify-content: flex-end; /* Align content to right */
    width: 100%;
}

/* GLOWING BUTTON DESIGN (Kept same) */
.dev-glow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px; 
    font-size: 0.75rem; 
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--primary);
    border-radius: 30px;
    background: transparent;
    box-shadow: 0 0 8px rgba(255, 59, 59, 0.2);
    transition: all 0.3s ease;
}
.dev-glow-link i { font-size: 0.9rem; color: var(--primary); }
.dev-glow-link:hover {
    background: rgba(255, 59, 59, 0.1);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--primary), inset 0 0 10px var(--primary);
}


/* =========================================
   MOBILE RESPONSIVENESS (STACKING)
   ========================================= */
@media (max-width: 768px) {
    .footer-bottom { 
        /* FIXED: Changed from column-reverse to column */
        /* This keeps Copyright (Top) and Developer Logo (Bottom) */
        display: flex;
        flex-direction: column; 
        gap: 20px;
        text-align: center;
    }

    .copyright { 
        text-align: center; 
        white-space: normal; 
    }
    
    .dev-credit-wrapper { 
        justify-content: center; 
    }
}


/* =========================================
   9. FAQ / COMMON QUESTIONS STYLES
   ========================================= */
.faq-container { max-width: 800px; margin: 0 auto; }

details { 
    background: transparent; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    margin-bottom: 0; 
    transition: 0.3s ease; 
}
details:last-child { border-bottom: none; }

summary { 
    padding: 25px 10px; 
    cursor: pointer; 
    font-family: 'Oswald', sans-serif; 
    font-size: 1.2rem; 
    letter-spacing: 1px; 
    color: #fff; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    list-style: none; 
    transition: color 0.3s; 
}
summary::-webkit-details-marker { display: none; }

summary::after { 
    content: '+'; 
    font-size: 1.5rem; 
    color: #666; 
    font-weight: 300; 
    transition: 0.3s; 
}

details:hover summary { color: var(--primary); }
details:hover summary::after { color: white; }

details[open] summary { 
    color: var(--primary); 
    padding-bottom: 15px; 
}
details[open] summary::after { 
    content: '-'; 
    color: var(--primary); 
    font-size: 2rem; 
    line-height: 0.5; 
}

.faq-answer { 
    padding: 0 10px 30px 10px; 
    color: #b3b3b3; 
    line-height: 1.7; 
    font-size: 1rem; 
    opacity: 0; 
    animation: fadeIn 0.5s forwards; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(-5px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* =========================================
   9. FAQ / COMMON QUESTIONS STYLES
   ========================================= */
.faq-container { max-width: 800px; margin: 0 auto; }

details { 
    background: transparent; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    margin-bottom: 0; 
    transition: 0.3s ease; 
}
details:last-child { border-bottom: none; }

summary { 
    padding: 25px 10px; 
    cursor: pointer; 
    font-family: 'Oswald', sans-serif; 
    font-size: 1.2rem; 
    letter-spacing: 1px; 
    color: #fff; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    list-style: none; 
    transition: color 0.3s; 
}
summary::-webkit-details-marker { display: none; }

summary::after { 
    content: '+'; 
    font-size: 1.5rem; 
    color: #666; 
    font-weight: 300; 
    transition: 0.3s; 
}

details:hover summary { color: var(--primary); }
details:hover summary::after { color: white; }

details[open] summary { 
    color: var(--primary); 
    padding-bottom: 15px; 
}
details[open] summary::after { 
    content: '-'; 
    color: var(--primary); 
    font-size: 2rem; 
    line-height: 0.5; 
}

.faq-answer { 
    padding: 0 10px 30px 10px; 
    color: #b3b3b3; 
    line-height: 1.7; 
    font-size: 1rem; 
    opacity: 0; 
    animation: fadeIn 0.5s forwards; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(-5px); } 
    to { opacity: 1; transform: translateY(0); } 
}
        /* --- 9. MODALS --- */
        .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); backdrop-filter: blur(5px); overflow-y: auto; }
        .modal-content { background: #111; margin: 5% auto; padding: 40px; width: 90%; max-width: 500px; border-radius: 15px; border: 1px solid #333; text-align: center; position: relative; box-shadow: 0 0 50px rgba(255, 59, 59, 0.1); }
        .close-btn { position: absolute; top: 15px; right: 20px; color: #fff; font-size: 30px; cursor: pointer; }
        
        .qr-wrapper { background: white; padding: 10px; display: inline-block; margin: 20px 0; border-radius: 10px; width: 200px; height: 200px; }
        .qr-wrapper img { width: 100%; height: 100%; object-fit: contain; }

       /* --- 10. MOBILE OPTIMIZATIONS & ANIMATED MENU --- */
        .menu-toggle { display: none; font-size: 1.8rem; color: white; cursor: pointer; }
        
        @media (max-width: 768px) {
            section { padding: 60px 5%; }
            .hero h1 { font-size: 3rem; }
            .section-title { font-size: 2.5rem; }
            
            .menu-toggle { display: block; }
            
            nav ul {
                display: flex; /* Keep layout active */
                flex-direction: column;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: rgba(5, 5, 5, 0.95); /* Darker background */
                padding: 30px 0;
                border-bottom: 2px solid var(--primary);
                backdrop-filter: blur(15px);
                
                /* ANIMATION PROPERTIES */
                opacity: 0;
                visibility: hidden;
                transform: translateY(-20px); /* Start slightly higher */
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth easing */
                z-index: -1; /* Hide behind header when closed */
            }

            /* The Active State (When clicked) */
            nav ul.active {
                opacity: 1;
                visibility: visible;
                transform: translateY(0); /* Slide into place */
                z-index: 999;
            }
            
            nav ul li { margin: 15px 0; } /* Spacing for links */
            
            .level-btn { padding: 10px 25px; font-size: 1rem; }
            .level-controls { gap: 10px; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 2.5rem; }
            .cta-btn { padding: 12px 40px; font-size: 1rem; }
            .section-title { font-size: 2rem; }
            .price { font-size: 2.8rem; }
            .tools-container, .pricing-container, .grid-container { gap: 20px; }
            .modal-content { padding: 30px 20px; width: 95%; }
        }

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

/* LIGHTBOX STYLES */
.lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Dark background */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border: 2px solid #ff3b3b; /* Primary color border */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ff3b3b;
}

.lightbox-caption {
    color: #ccc;
    margin-top: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}
    </style>
