/* ================= RESET & GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #282829;
    color: #e4e4ed; /*text color*/
    line-height: 1.6;
} 

/* ================= AUTH PAGES (LOGIN / SIGNUP) ================= */
.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.auth-box {
    background: #060608;
    padding: 30px;
    border-radius: 12px;
    width: 300px;
    box-shadow: 0 0 20px #38bdf8;
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 15px;
}

.auth-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    border: none;
}

.auth-box button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #38bdf8;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.auth-box p {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

/* ================= DASHBOARD ================= */
.dash-header1 {
    background: #d4d5d7;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0f172a;
}

.dash-header1 button {
    padding: 6px 14px;
    background: #38bdf8;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.tracker {
    padding: 20px;
}

.tracker input {
    padding: 10px;
    width: 100%;
    max-width: 300px;
    margin-right: 10px;
}

.tracker button {
    padding: 10px 15px;
    background: #38bdf8;
    border: none;
    border-radius: 6px;
    font-weight: bold;
}

.tracker ul {
    margin-top: 10px;
    list-style: none;
}

/* ================= HEADER & NAVBAR ================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(2, 3, 6, 0.95); /*head color*/
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 30px;
    z-index: 1000;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
}

.logo span {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: #d0d3da; /*nav text color*/
    text-decoration: burlywood;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* Navbar buttons */
.btn-small {
    padding: 6px 14px;
    border-radius: 20px;
    background: #38bdf8;
    color: #020617 !important;
    font-weight: bold;
}

.btn-small.outline {
    background: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8 !important;
}

/* Mobile menu icon */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/* ================= HERO SECTION ================= */
.hero {
    
    min-height: 90vh;
     background: url(../imagesgym/background.jpg) no-repeat center center/cover;
    padding: 140px 10% 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 16px;
    animation: fadeUp 1s ease;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 28px;
    color: #080e22;
    animation: fadeUp 1.3s ease;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeUp 1.6s ease;
}

/* Main buttons */
.btn.inline {
    background: #dee1ed;
    border: 2px solid #38bdf8;
    color: #01131b;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn.outline {
    background: #f8f9fc;
    border: 2px solid #77a2b8;
    color: #021016;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
}

/* ================= SECTIONS ================= */
.section {
    padding: 80px 10%;
    text-align: center;
}

.section h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.section p {
    max-width: 700px;
    margin: auto;
    color: #cbd5f5;
}

/* ================= PROGRAM CARDS ================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: #18181b;                /*card bg*/
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e8e9e9;
    transition: transform 0.4s, box-shadow 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.25);
}
/* ================= HERO SECTION2 ================= */
.join_us {
    
    min-height: 90vh;
     background: url(../imagesgym/program-muscle.jpg) no-repeat center center/cover;
    padding: flexible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 16px;
    animation: fadeUp 1s ease;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 28px;
    color: #cbd5f5;
    animation: fadeUp 1.3s ease;
}


/* ================= CTA ================= */
.cta {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #020617;
    padding: 70px 10%;
    text-align: center;
}

/* ================= FOOTER ================= */
.footer {
    background: #757474;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #030304;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 64px;
        right: 0;
        width: 100%;
        background: #020617;
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .auth-box {
        width: 90%;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}