




/* ==========================================================================
   TITAN FITNESS CLUB - CORE UTILITIES & ROOT VARIABLES
   ========================================================================== */

:root {
    --cls-black: #000000;
    --cls-charcoal: #111827;
    --cls-neon-green: #22c55e;
    --cls-dark-green: #16a34a;
    --cls-white: #ffffff;
    --cls-gray-400: #9ca3af;
    --cls-gray-800: #1f2937;

    --cls-glass-bg: rgba(17, 24, 39, 0.65);
    --cls-glass-border: rgba(255, 255, 255, 0.08);

    --font-primary: "Plus Jakarta Sans", sans-serif;

    --shadow-premium:
        0 20px 40px rgba(0,0,0,0.5),
        0 1px 3px rgba(255,255,255,0.05);

    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    --container-width: 1280px;
    --section-spacing: 120px;
    --border-radius: 24px;
}

/* Global Reset */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML */

html {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* BODY */

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;

    background: var(--cls-black);
    color: var(--cls-white);

    font-family: var(--font-primary);
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Images */

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Links */

a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */

button {
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

/* Inputs */

input,
textarea,
select {
    font: inherit;
}

/* Lists */

ul,
ol {
    list-style: none;
}




/* ==========================================================================
   BASE STRUCTURAL UTILITIES
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 24px;
}

.max-width-md {
    width: 100%;
    max-width: 768px;
    margin-inline: auto;
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(
        135deg,
        var(--cls-white) 0%,
        var(--cls-neon-green) 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.display-flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Utilities */

@media (max-width: 992px) {

    .container {
        padding-inline: 20px;
    }

    .section-padding {
        padding: 100px 0;
    }
}

@media (max-width: 768px) {

    .container {
        padding-inline: 16px;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {

    .section-padding {
        padding: 70px 0;
    }
}


/* ==========================================================================
   GRID SYSTEM
   ========================================================================== */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.bg-charcoal {
    background-color: var(--cls-charcoal);
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM
   ========================================================================== */

h1,
h2,
h3,
h4 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-subtitle {
    display: inline-block;
    margin-bottom: 12px;

    color: var(--cls-neon-green);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 42px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-desc {
    max-width: 640px;
    margin-bottom: 40px;

    color: var(--cls-gray-400);
    font-size: 18px;
    line-height: 1.8;
}

/* ==========================================================================
   GLASS CARD SYSTEM
   ========================================================================== */

.glass-card {
    position: relative;
    overflow: hidden;

    background: var(--cls-glass-bg);
    border: 1px solid var(--cls-glass-border);
    border-radius: 16px;

    padding: 40px;

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: var(--shadow-premium);

    transition:
        transform .4s var(--transition-smooth),
        border-color .4s var(--transition-smooth),
        box-shadow .4s var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 197, 94, 0.35);

    box-shadow:
        0 24px 50px rgba(0,0,0,.55),
        0 0 25px rgba(34,197,94,.08);
}

/* ==========================================================================
   RESPONSIVE GRID
   ========================================================================== */

@media (max-width: 1024px) {

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .glass-card {
        padding: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-desc {
        font-size: 16px;
    }
}

@media (max-width: 480px) {

    .glass-card {
        padding: 24px;
        border-radius: 14px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .section-title {
        font-size: 28px;
    }
}


/* ===================================================================
   PREMIUM BUTTON SYSTEM
   =================================================================== */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:16px 36px;

    font-family:var(--font-primary);
    font-size:15px;
    font-weight:700;

    text-transform:uppercase;
    letter-spacing:0.05em;

    text-decoration:none;

    border:none;
    outline:none;

    border-radius:10px;

    cursor:pointer;

    transition:
    transform .3s var(--transition-smooth),
    background-color .3s var(--transition-smooth),
    color .3s var(--transition-smooth),
    border-color .3s var(--transition-smooth),
    box-shadow .3s var(--transition-smooth);

    white-space:nowrap;
}

.btn:focus-visible{
    outline:2px solid var(--cls-neon-green);
    outline-offset:3px;
}

/* Primary Button */

.btn-primary{
    background:var(--cls-neon-green);
    color:var(--cls-black);

    box-shadow:
    0 4px 20px rgba(34,197,94,.30);
}

.btn-primary:hover{
    background:var(--cls-dark-green);
    color:var(--cls-white);

    transform:translateY(-3px);

    box-shadow:
    0 8px 28px rgba(34,197,94,.45);
}

/* Secondary Button */

.btn-secondary{
    background:transparent;
    color:var(--cls-white);

    border:1px solid rgba(255,255,255,.18);
}

.btn-secondary:hover{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.40);

    transform:translateY(-3px);
}

/* Full Width Button */

.btn-full{
    width:100%;
}

/* Mobile */

@media (max-width:768px){

    .btn{
        width:100%;
        padding:15px 22px;
        font-size:14px;
    }

}


/* ==========================================================================
   PRELOADER + SCROLL PROGRESS
   ========================================================================== */

.preloader{
    position:fixed;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--cls-black);
    z-index:9999;
    transition:opacity .5s ease, visibility .5s ease;
}

.preloader.fade-out{
    opacity:0;
    visibility:hidden;
}

.loader-content{
    width:200px;
    text-align:center;
}

.loader-logo{
    font-size:32px;
    font-weight:900;
    letter-spacing:.1em;
    color:var(--cls-white);
}

.loader-bar{
    width:100%;
    height:2px;
    margin-top:16px;
    background:var(--cls-gray-800);
    border-radius:2px;
    overflow:hidden;
    position:relative;
}

.loader-bar span{
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:0;
    background:var(--cls-neon-green);
    animation:load-run 1.8s infinite;
}

@keyframes load-run{
    0%{
        width:0;
        left:0;
    }
    50%{
        width:100%;
        left:0;
    }
    100%{
        width:0;
        left:100%;
    }
}

.scroll-progress{
    position:fixed;
    top:0;
    left:0;
    width:0;
    height:3px;
    background:var(--cls-neon-green);
    z-index:1001;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    padding:28px 0;

    background:transparent;
    border-bottom:1px solid transparent;

    transition:
    padding .4s var(--transition-smooth),
    background-color .4s var(--transition-smooth),
    border-color .4s var(--transition-smooth);
}

.navbar.sticky{
    padding:16px 0;

    background:rgba(0,0,0,.88);

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    border-color:var(--cls-glass-border);
}

.nav-container{
    max-width:1280px;
    margin:auto;
    padding:0 24px;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.nav-logo{
    color:var(--cls-white);
    text-decoration:none;

    font-size:24px;
    font-weight:900;
    letter-spacing:.05em;
}

.nav-logo span{
    color:var(--cls-neon-green);
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:32px;
}

.nav-link{
    position:relative;

    color:var(--cls-gray-400);
    text-decoration:none;

    font-size:14px;
    font-weight:600;

    text-transform:uppercase;
    letter-spacing:.05em;

    transition:color .3s ease;
}

.nav-link:hover,
.nav-link.active{
    color:var(--cls-white);
}

.nav-link::after{
    content:"";

    position:absolute;
    left:0;
    bottom:-6px;

    width:0;
    height:2px;

    background:var(--cls-neon-green);

    transition:width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after{
    width:100%;
}

.nav-cta{
    padding:10px 24px;
    font-size:13px;
    margin-left:12px;
}

.nav-toggle{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
}

.nav-toggle .bar{
    display:block;
    width:24px;
    height:2px;
    margin:5px auto;

    background:var(--cls-white);

    transition:.3s ease;
}




/* Hero Base layout */
.hero-section{
    position: relative;
    min-height: 100svh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10;
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -1; transform: scale(1.05); animation: zoom-bg 20s infinite alternate linear; }
@keyframes zoom-bg { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-container { display: grid; grid-template-columns: 1fr; gap: 24px; position: relative; z-index: 2; margin-top: 60px; }
.hero-content { max-width: 780px; }
.hero-badge {
    background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--cls-neon-green); font-size: 12px; font-weight: 700; padding: 6px 16px;
    border-radius: 100px; letter-spacing: 0.2em; display: inline-block; margin-bottom: 24px;
}
.hero-content h1 { font-size: 64px; line-height: 1.05; margin-bottom: 24px; }
.hero-content p { font-size: 18px; color: var(--cls-gray-400); margin-bottom: 40px; max-width: 580px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 48px; border-top: 1px solid var(--cls-glass-border); padding-top: 40px; width: max-content; }
.stat-card h3 { font-size: 36px; color: var(--cls-white); line-height: 1; margin-bottom: 4px; }
.stat-card h3::after { content: '+'; color: var(--cls-neon-green); }
.stat-card p { color: var(--cls-gray-400); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; cursor: pointer; }
.mouse { width: 26px; height: 42px; border: 2px solid var(--cls-gray-400); border-radius: 50px; position: relative; }
.mouse span { display: block; width: 4px; height: 8px; background: var(--cls-neon-green); border-radius: 4px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scroll-dot 1.5s infinite var(--transition-smooth); }
@keyframes scroll-dot { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* ==========================================================================
   COMPONENTS SPECIFIC STYLES (ABOUT, SERVICES, MEMBERSHIPS)
   ========================================================================== */





/* ===================================================================
   MEMBERSHIP / PRICING SECTION FINAL FIX
   =================================================================== */

.pricing-section{
    position:relative;
    overflow:hidden;
}

.toggle-container{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin-top:20px;
    margin-bottom:60px;
    flex-wrap:wrap;
}

.toggle-label{
    font-size:15px;
    font-weight:600;
    color:var(--cls-gray-400);
    transition:.3s ease;
}

.toggle-label.active{
    color:var(--cls-white);
}

.pricing-toggle-btn{
    width:56px;
    height:28px;
    border:none;
    border-radius:100px;
    background:var(--cls-gray-800);
    position:relative;
    cursor:pointer;
}

.pricing-toggle-btn::before{
    content:"";
    position:absolute;
    top:4px;
    left:4px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:#fff;
    transition:.3s ease;
}

.pricing-toggle-btn.active{
    background:var(--cls-neon-green);
}

.pricing-toggle-btn.active::before{
    transform:translateX(28px);
    background:#000;
}

/* Cards */

.pricing-card{
    position:relative;

    display:flex;
    flex-direction:column;

    height:100%;

    min-height:700px;

    border:1px solid var(--cls-glass-border);

    transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;

    overflow:hidden;
}

.pricing-card:hover{
    transform:translateY(-10px);
}

.pricing-card.featured{
    border:2px solid var(--cls-neon-green);

    background:
    linear-gradient(
    180deg,
    rgba(34,197,94,.08) 0%,
    rgba(17,24,39,.70) 100%
    );

    transform:scale(1.03);
}

.pricing-card.featured:hover{
    transform:scale(1.03) translateY(-10px);
}

.card-badge{
    position:absolute;
    top:18px;
    right:18px;

    background:var(--cls-neon-green);
    color:var(--cls-black);

    padding:6px 14px;

    border-radius:999px;

    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
}

.card-badge-placeholder{
    height:32px;
}

/* Title */

.pricing-card h3{
    font-size:24px;
    margin-bottom:20px;
}

/* Price */

.price-container{
    display:flex;
    align-items:flex-end;
    gap:4px;

    margin-bottom:32px;
}

.price-container .currency{
    font-size:24px;
    font-weight:700;
    line-height:1;
}

.price-container .price{
    font-size:56px;
    font-weight:900;
    line-height:1;
    letter-spacing:-2px;
}

.price-container .cycle{
    color:var(--cls-gray-400);
    font-size:15px;
    margin-bottom:8px;
}

/* Features */

.pricing-features{
    list-style:none;

    display:flex;
    flex-direction:column;
    gap:18px;

    flex:1;

    margin-bottom:36px;
}

.pricing-features li{
    display:flex;
    align-items:flex-start;

    gap:12px;

    font-size:15px;
    line-height:1.6;
}

.pricing-features li i{
    color:var(--cls-neon-green);
    margin-top:4px;
    flex-shrink:0;
}

.pricing-features li.disabled{
    opacity:.55;
    color:var(--cls-gray-400);
}

.pricing-features li.disabled i{
    color:var(--cls-gray-400);
}

/* Button */

.pricing-card .btn{
    margin-top:auto;
}

/* Tablet */

@media (max-width:991px){

    .grid-3{
        grid-template-columns:1fr;
    }

    .pricing-card{
        min-height:auto;
    }

    .pricing-card.featured{
        transform:none;
    }

    .pricing-card.featured:hover{
        transform:translateY(-10px);
    }
}

/* Mobile */

@media (max-width:768px){

    .price-container .price{
        font-size:46px;
    }

    .pricing-card{
        padding:30px;
    }

    .card-badge{
        position:static;
        display:inline-block;
        margin-bottom:20px;
    }

    .card-badge-placeholder{
        display:none;
    }
}


/* ==================================================================
   SERVICES SECTION - PREMIUM FIX
   ================================================================== */

.services-section {
    position: relative;
}

.service-card{
    position: relative;
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-premium);
    background: var(--cls-charcoal);
    transition: transform .4s var(--transition-smooth);
}

.service-card:hover{
    transform: translateY(-10px);
}

.service-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition: transform .8s var(--transition-smooth);
}

.service-card:hover img{
    transform: scale(1.12);
}

.service-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:30px;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.95) 10%,
        rgba(0,0,0,.55) 50%,
        rgba(0,0,0,.10) 100%
    );
    transition: all .4s ease;
}

.service-card:hover .service-overlay{
    background:linear-gradient(
        to top,
        rgba(0,0,0,.98) 20%,
        rgba(0,0,0,.70) 65%,
        rgba(0,0,0,.15) 100%
    );
}

.service-overlay h3{
    font-size:22px;
    color:var(--cls-white);
    margin-bottom:10px;
    transform:translateY(12px);
    transition:all .4s var(--transition-smooth);
}

.service-overlay p{
    font-size:14px;
    line-height:1.7;
    color:var(--cls-gray-400);
    opacity:0;
    transform:translateY(20px);
    transition:all .4s var(--transition-smooth);
}

.service-card:hover .service-overlay h3{
    transform:translateY(0);
}

.service-card:hover .service-overlay p{
    opacity:1;
    transform:translateY(0);
}

/* Responsive */

@media (max-width: 1200px){
    .grid-4{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width: 768px){

    .grid-4{
        grid-template-columns:1fr;
    }

    .service-card{
        height:340px;
    }

    .service-overlay{
        padding:24px;
    }

    .service-overlay h3{
        font-size:20px;
    }

    .service-overlay p{
        opacity:1;
        transform:none;
    }
}


/* ==========================================================================
   TRAINERS & METRIC ANALYSIS ARCHITECTURE (BMI CODES)
   ========================================================================== */
.trainer-card { border-radius: 16px; overflow: hidden; background: var(--cls-charcoal); box-shadow: var(--shadow-premium); }
.trainer-img { position: relative; height: 380px; width: 100%; overflow: hidden; }
.trainer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.trainer-socials {
    position: absolute; bottom: 20px; left: 50%; transform: translate(-50%, 20px);
    display: flex; gap: 12px; opacity: 0; transition: transform 0.4s var(--transition-smooth), opacity 0.4s var(--transition-smooth);
    z-index: 2;
}
.trainer-socials a {
    width: 44px; height: 44px; border-radius: 50%; background: var(--cls-black); color: var(--cls-white);
    display: flex; align-items: center; justify-content: center; text-decoration: none;
    border: 1px solid var(--cls-glass-border); transition: all 0.3s ease;
}
.trainer-socials a:hover { background: var(--cls-neon-green); color: var(--cls-black); border-color: var(--cls-neon-green); }
.trainer-card:hover .trainer-img img { transform: scale(1.05); }
.trainer-card:hover .trainer-socials { transform: translate(-50%, 0); opacity: 1; }
.trainer-info { padding: 32px; border: 1px solid var(--cls-glass-border); border-top: none; border-radius: 0 0 16px 16px; }
.trainer-info h3 { font-size: 22px; margin-bottom: 4px; }
.trainer-info .specialization { color: var(--cls-neon-green); font-size: 14px; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 12px; }
.trainer-info .experience { font-size: 14px; margin-bottom: 6px; }
.trainer-info .cert { font-size: 13px; color: var(--cls-gray-400); display: block; }

/* BMI Calculation elements */
.bmi-form { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group label { font-size: 14px; font-weight: 600; text-transform: uppercase; color: var(--cls-gray-400); }
.input-group input, .input-group select, .input-group textarea {
    background-color: var(--cls-black); border: 1px solid var(--cls-glass-border);
    padding: 16px; border-radius: 8px; font-family: var(--font-primary); font-size: 15px;
    color: var(--cls-white); transition: border-color 0.3s ease; width: 100%;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { outline: none; border-color: var(--cls-neon-green); }

.result-display-card { width: 100%; max-width: 400px; border-color: var(--cls-glass-border); }
.result-display-card h3 { font-size: 20px; margin-bottom: 24px; }
.bmi-score-circle {
    width: 140px; height: 140px; border-radius: 50%; border: 4px solid var(--cls-gray-800);
    margin: 0 auto 24px; display: flex; align-items: center; justify-content: center;
    font-size: 36px; font-weight: 800; transition: border-color 0.4s ease;
}
.bmi-category { font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.bmi-feedback { font-size: 14px; color: var(--cls-gray-400); }



/* ==========================================================================
   SUCCESS TIMELINES, EXPERIMENTAL MASONRY & SYSTEM LIGHTBOX
   ========================================================================== */
.transform-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 32px; margin-bottom: 24px; }
.transform-images { display: flex; gap: 12px; }
.tf-img-box { position: relative; flex: 1; border-radius: 8px; overflow: hidden; height: 260px; }
.tf-img-box img { width: 100%; height: 100%; object-fit: cover; }
.tf-label { position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,0.7); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }
.tf-label.highlight { background: var(--cls-neon-green); color: var(--cls-black); font-weight: 800; }
.transform-details { display: flex; flex-direction: column; justify-content: center; }
.rating-stars { color: #f59e0b; margin-bottom: 12px; font-size: 14px; }
.transform-details h3 { font-size: 18px; margin-bottom: 12px; text-transform: none; line-height: 1.4; }
.testimonial-text { color: var(--cls-gray-400); font-size: 14px; margin-bottom: 16px; font-style: italic; }
.client-name { font-size: 14px; font-weight: 700; color: var(--cls-neon-green); }

/* Masonry Structural System */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 240px; gap: 20px; grid-auto-flow: dense;
}
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-hover-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--cls-white); opacity: 0; transition: opacity 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-hover-overlay { opacity: 1; }
.gallery-item.item-w2 { grid-column: span 2; }
.gallery-item.item-h2 { grid-row: span 2; }

/* Video Multi-media node block link background alignment */
.video-section { padding: 160px 0; background-size: cover; background-position: center; position: relative; text-align: center; }
.video-section::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.video-section .container { position: relative; z-index: 2; }
.video-section h2 { font-size: 38px; margin-top: 24px; margin-bottom: 12px; }
.video-section p { color: var(--cls-gray-400); font-size: 16px; }
.play-btn {
    width: 80px; height: 80px; border-radius: 50%; background: var(--cls-neon-green); color: var(--cls-black);
    border: none; font-size: 24px; display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; position: relative; transition: transform 0.3s ease, background-color 0.3s ease;
}
.play-btn i { margin-left: 4px; }
.play-btn:hover { transform: scale(1.08); background-color: var(--cls-white); }
.play-btn::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--cls-neon-green);
    animation: pulse-ring 2s infinite linear;
}
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   TIMETABLES, FAQ ACCORDIONS, AND CONTACT CONVERSIONS
   ========================================================================== */
.table-responsive { width: 100%; overflow-x: auto; border-radius: 12px; border: 1px solid var(--cls-glass-border); }
.timetable-ui { width: 100%; border-collapse: collapse; background: var(--cls-charcoal); text-align: left; min-width: 700px; }
.timetable-ui th { background: var(--cls-gray-800); color: var(--cls-white); padding: 20px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.05em; border-bottom: 2px solid var(--cls-black); }
.timetable-ui td { padding: 24px; border-bottom: 1px solid var(--cls-glass-border); border-right: 1px solid var(--cls-glass-border); vertical-align: top; transition: background 0.3s ease; }
.timetable-ui tr:last-child td { border-bottom: none; }
.timetable-ui td:last-child { border-right: none; }
.timetable-ui tbody tr:hover { background-color: rgba(255,255,255,0.01); }
.time-slot { font-weight: 700; color: var(--cls-neon-green); font-size: 14px; background: rgba(0,0,0,0.1); width: 200px; }
.timetable-ui td strong { font-size: 16px; display: block; margin-bottom: 4px; color: var(--cls-white); }
.trainer-tag { font-size: 12px; color: var(--cls-neon-green); font-weight: 600; text-transform: uppercase; }
.rest-day { color: var(--cls-gray-400); font-style: italic; opacity: 0.6; vertical-align: middle !important; }

/* Accordion Engine Components */
.accordion-item { border-bottom: 1px solid var(--cls-glass-border); margin-bottom: 12px; }
.accordion-header {
    width: 100%; background: none; border: none; padding: 24px 0; text-align: left;
    color: var(--cls-white); font-family: var(--font-primary); font-size: 18px; font-weight: 700;
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.accordion-header i { font-size: 14px; color: var(--cls-neon-green); transition: transform 0.3s ease; }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--transition-smooth); }
.accordion-body p { color: var(--cls-gray-400); font-size: 15px; padding-bottom: 24px; line-height: 1.6; }

/* Form field alignments */
.contact-detail-items { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.detail-item { display: flex; gap: 20px; align-items: flex-start; }
.detail-item i { font-size: 24px; color: var(--cls-neon-green); margin-top: 4px; }
.detail-item h4 { font-size: 16px; margin-bottom: 4px; }
.detail-item p { color: var(--cls-gray-400); font-size: 14px; }

.contact-form-pane { border-color: var(--cls-glass-border); }
.input-row { margin-bottom: 20px; }
.input-row:last-of-type { margin-bottom: 32px; }
.error-msg { color: #ef4444; font-size: 12px; margin-top: 6px; display: none; }
.input-group.invalid input { border-color: #ef4444; }
.input-group.invalid .error-msg { display: block; }

.map-container { margin-top: 60px; border-radius: 16px; overflow: hidden; border: 1px solid var(--cls-glass-border); box-shadow: var(--shadow-premium); line-height: 0; }

/* ==========================================================================
   FOOTER INTERFACE ARCHITECTURES & GLOBAL LIGHTBOX STYLES
   ========================================================================== */
.footer-ui { background-color: var(--cls-black); border-top: 1px solid var(--cls-glass-border); padding-top: 80px; }
.footer-logo { font-size: 24px; font-weight: 900; color: var(--cls-white); text-decoration: none; letter-spacing: 0.05em; display: inline-block; margin-bottom: 20px; }
.footer-logo span { color: var(--cls-neon-green); }
.footer-brand-column p { color: var(--cls-gray-400); font-size: 14px; margin-bottom: 24px; }
.social-row { display: flex; gap: 12px; }
.social-row a {
    width: 40px; height: 40px; border-radius: 8px; background: var(--cls-charcoal); color: var(--cls-white);
    display: flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--cls-glass-border); transition: all 0.3s ease;
}
.social-row a:hover { background: var(--cls-neon-green); color: var(--cls-black); border-color: var(--cls-neon-green); transform: translateY(-2px); }

.footer-links-column h3, .footer-news-column h3 { font-size: 16px; margin-bottom: 24px; letter-spacing: 0.05em; }
.footer-links-column ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links-column ul a { color: var(--cls-gray-400); text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
.footer-links-column ul a:hover { color: var(--cls-neon-green); }

.footer-news-column p { color: var(--cls-gray-400); font-size: 14px; margin-bottom: 20px; }
.news-form { display: flex; gap: 8px; position: relative; }
.news-form input { background-color: var(--cls-charcoal); border: 1px solid var(--cls-glass-border); padding: 14px 16px; border-radius: 8px; font-family: var(--font-primary); color: var(--cls-white); font-size: 14px; width: 100%; padding-right: 54px; }
.news-form input:focus { outline: none; border-color: var(--cls-neon-green); }
.news-form button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px; background: var(--cls-neon-green); color: var(--cls-black); border: none; border-radius: 6px; cursor: pointer; transition: background 0.3s ease; }
.news-form button:hover { background-color: var(--cls-dark-green); color: var(--cls-white); }

.footer-bottom { margin-top: 60px; padding: 32px 0; border-top: 1px solid var(--cls-glass-border); }
.footer-bottom p { color: var(--cls-gray-400); font-size: 13px; }

/* Back to Top floating system */
.back-to-top-btn {
    position: fixed; bottom: 40px; right: 40px; width: 50px; height: 50px; border-radius: 8px;
    background: var(--cls-neon-green); color: var(--cls-black); border: none; font-size: 18px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0;
    visibility: hidden; transform: translateY(10px); z-index: 99; transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.back-to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top-btn:hover { background: var(--cls-white); transform: translateY(-3px); }

/* System Native Lightbox Modals */
.lightbox-modal {
    position: fixed; inset: 0; background-color: rgba(0,0,0,0.95); z-index: 1100;
    opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; padding: 24px;
}
.lightbox-modal.active { opacity: 1; visibility: visible; }
.lightbox-modal img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; transform: scale(0.95); transition: transform 0.4s var(--transition-smooth); }
.lightbox-modal.active img { transform: scale(1); }
.lightbox-close { position: absolute; top: 40px; right: 40px; background: none; border: none; color: var(--cls-white); font-size: 44px; cursor: pointer; transition: color 0.3s ease; }
.lightbox-close:hover { color: var(--cls-neon-green); }

/* System Video Modal Player */
.video-modal { position: fixed; inset: 0; z-index: 1100; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; padding: 24px; }
.video-modal.active { opacity: 1; visibility: visible; }
.video-modal-overlay { position: absolute; inset: 0; background-color: rgba(0,0,0,0.9); }
.video-modal-content { position: relative; width: 100%; max-width: 900px; background: var(--cls-black); border-radius: 16px; overflow: hidden; border: 1px solid var(--cls-glass-border); z-index: 2; transform: scale(0.95); transition: transform 0.4s var(--transition-smooth); }
.video-modal.active .video-modal-content { transform: scale(1); }
.video-modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--cls-white); font-size: 32px; cursor: pointer; z-index: 10; transition: color 0.3s ease; }
.video-modal-close:hover { color: var(--cls-neon-green); }
.video-ratio-box { position: relative; width: 100%; padding-top: 56.25%; /* 16:9 Aspect Ratio */ }
.video-ratio-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   SCROLL REVEAL STRUCTURAL RULES
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS (MOBILE FIRST DEVIATIONS)
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 52px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.item-w2, .gallery-item.item-h2 { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
    .section-padding { padding: 80px 0; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 40px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-stats { margin: 0 auto; gap: 24px; }
    .about-images { margin-bottom: 40px; padding-bottom: 40px; }
    .transform-card { grid-template-columns: 1fr; }
    
    /* Navigation node responsive conversion */
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh;
        background-color: rgba(10, 10, 10, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; align-items: flex-start; padding: 100px 40px; transition: right 0.4s var(--transition-smooth);
        border-left: 1px solid var(--cls-glass-border); gap: 28px;
    }
    .nav-menu.active { right: 0; }
    .nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active .bar:nth-child(2) { opacity: 0; }
    .nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-cta { margin-left: 0; width: 100%; }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 38px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { flex-direction: column; gap: 20px; text-align: center; width: 100%; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .pricing-card { padding: 30px 20px; }
}






/* ==========================================
   TITAN FITNESS MOBILE FINAL FIX
   ========================================== */

/* Hero iPhone Fix */
.hero-section{
    min-height:100svh;
    height:auto;
    padding-top:120px;
    padding-bottom:80px;
}

/* Pricing Layout Fix */
.pricing-section{
    overflow:hidden;
}

.pricing-section .grid-3{
    align-items:stretch;
}

.pricing-card{
    display:flex;
    flex-direction:column;
    height:auto !important;
    min-height:720px;
}

.pricing-card h3{
    word-break:break-word;
}

.price-container{
    flex-wrap:wrap;
}

.pricing-features{
    flex:1;
    margin-bottom:30px;
}

.pricing-features li{
    display:flex;
    align-items:flex-start;
    gap:12px;
    line-height:1.6;
}

.pricing-features li i{
    margin-top:4px;
    flex-shrink:0;
}

.pricing-card .btn{
    margin-top:auto;
}

/* Prevent text overflow */
.glass-card{
    overflow:hidden;
}
img{
    max-width:100%;
    height:auto;
    display:block;
}
iframe{
    max-width:100%;
}

.grid-2,
.grid-3,
.grid-4{
    display:grid;
    gap:24px;
}

.grid-2{
    grid-template-columns:repeat(2,1fr);
}

.grid-3{
    grid-template-columns:repeat(3,1fr);
}

.grid-4{
    grid-template-columns:repeat(4,1fr);
}
@media (max-width:992px){

    .grid-2,
    .grid-3,
    .grid-4{
        grid-template-columns:1fr;
    }

}
.nav-menu{
    display:flex;
    gap:20px;
}


@media (max-width:992px){

    .nav-menu{
        position:fixed;
        top:80px;
        left:-100%;
        width:100%;
        flex-direction:column;
    }

    .nav-menu.active{
        left:0;
    }

}

.hero-content h1{
    font-size:clamp(2rem,5vw,5rem);
    line-height:1.1;
}

.hero-content p{
    max-width:700px;
}
.container{
    width:min(1200px,90%);
    margin:auto;
}

@media (max-width:768px){

    .hero-container,
    .about-section .grid-2,
    .contact-section .grid-2,
    .bmi-section .grid-2{
        grid-template-columns:1fr;
    }

    .section-title{
        font-size:2rem;
    }

    .hero-stats{
        flex-direction:column;
    }

    .pricing-card,
    .trainer-card,
    .service-card{
        width:100%;
    }

}


@media (max-width:768px){

    .hero-container{
        display:flex;
        flex-direction:column;
        gap:30px;
    }

    .hero-stats{
        position:relative !important;
        bottom:auto !important;
        top:auto !important;
        left:auto !important;
        right:auto !important;

        display:grid;
        grid-template-columns:1fr;
        gap:15px;

        margin-top:20px;
    }

}


.pricing-card{
    height:auto;
    min-height:auto;
}

.pricing-features{
    flex-grow:0;
}

.price-container{
    flex-wrap:wrap;
}

.price-container .price{
    font-size:clamp(2.5rem,8vw,4rem);
}

@media (max-width:768px){

    .container{
        width:100%;
        padding-left:16px;
        padding-right:16px;
    }

    .section-padding{
        padding:60px 0;
    }

    .glass-card{
        padding:24px;
    }

    .pricing-card{
        width:100%;
        margin-bottom:20px;
    }

    .card-badge{
        left:20px;
    }

    .hero-stats{
        width:100%;
        display:grid;
        grid-template-columns:1fr;
    }

}


/* Mobile Fix */
@media(max-width:768px){

    .pricing-section .grid-3{
        display:grid;
        grid-template-columns:1fr;
        gap:30px;
    }

    .pricing-card{
        min-height:auto;
        padding:28px 22px;
    }

    .price-container .price{
        font-size:56px;
        line-height:1;
    }

    .pricing-features{
        gap:14px;
    }

    .pricing-features li{
        font-size:15px;
    }

    .card-badge{
        left:20px;
        top:-12px;
    }
}

/* Small Mobile */
@media(max-width:480px){

    .container{
        width:100%;
        padding-left:16px;
        padding-right:16px;
    }

    .pricing-card{
        width:100%;
        max-width:100%;
        min-width:0;
    }

    .price-container{
        gap:4px;
    }

    .price-container .currency{
        font-size:22px;
    }

    .price-container .price{
        font-size:48px;
    }

    .price-container .cycle{
        font-size:14px;
    }

    .pricing-features li{
        font-size:14px;
        line-height:1.5;
    }

    .btn-full{
        width:100%;
    }
}

/* iPhone Safari Fix */
html,
body{
    overflow-x:hidden;
    max-width:100%;
}

section,
.container,
.grid-2,
.grid-3,
.grid-4{
    max-width:100%;
}





