/* =========================================
   FITNESS NEPAL
   PREMIUM FITNESS WEBSITE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================
   VARIABLES
========================================= */

:root {
    --lime: #c8ff00;
    --black: #080808;
    --dark: #101010;
    --gray: #999;
    --border: rgba(255, 255, 255, .12);
}


/* =========================================
   LOADER
========================================= */

.loader {
    position: fixed;
    inset: 0;
    background: #080808;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    transition: .8s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: "Bebas Neue";
    font-size: 42px;
    letter-spacing: 3px;
}

.loader-logo span {
    color: var(--lime);
}

.loader-line {
    width: 120px;
    height: 2px;
    background: var(--lime);
    margin-top: 20px;

    animation: loader 1.2s infinite;
}

@keyframes loader {
    0% {
        transform: scaleX(0);
    }

    50% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 1000;

    transition: .4s ease;
}

.navbar.scrolled {
    height: 72px;
    background: rgba(8, 8, 8, .85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: "Bebas Neue";
    font-size: 28px;
    letter-spacing: 2px;
}

.logo span {
    color: var(--lime);
}

.nav-links {
    display: flex;
    gap: 34px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aaa;

    position: relative;

    transition: .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--lime);

    transition: .3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-join {
    border: 1px solid var(--lime);
    color: var(--lime);

    padding: 13px 22px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

    transition: .3s;
}

.nav-join:hover {
    background: var(--lime);
    color: #000;
}


/* MENU */

.menu {
    display: none;

    background: none;
    border: none;

    width: 35px;

    cursor: pointer;
}

.menu span {
    display: block;

    height: 2px;
    background: white;

    margin: 7px 0;

    transition: .3s;
}


/* =========================================
   HERO
========================================= */

.hero {
    height: 100vh;
    min-height: 700px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: -5%;

    background-image:
        url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2200&q=90");

    background-size: cover;
    background-position: center;

    transform: scale(1.05);

    animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.12);
    }

    to {
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .94) 0%,
            rgba(0, 0, 0, .68) 42%,
            rgba(0, 0, 0, .2) 100%),
        linear-gradient(0deg,
            #080808 0%,
            transparent 40%);
}

.hero-grid {
    position: absolute;
    inset: 0;

    opacity: .08;

    background-image:
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(90deg, #fff 1px, transparent 1px);

    background-size: 80px 80px;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 88%);

    margin-left: 8%;
}

.hero-label,
.eyebrow {
    color: var(--lime);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 25px;
}

.hero-label span {
    width: 35px;
    height: 2px;
    background: var(--lime);
}

.hero-title {
    font-family: "Bebas Neue";

    font-size: clamp(90px, 13vw, 190px);

    line-height: .78;
    letter-spacing: -2px;

    margin-bottom: 35px;
}

.hero-title strong {
    display: block;

    color: var(--lime);

    font-weight: 400;

    -webkit-text-stroke: 1px var(--lime);
    color: transparent;
}

.hero-text {
    color: #ccc;

    max-width: 500px;

    line-height: 1.8;
    font-size: 16px;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 25px;

    padding: 18px 25px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    transition: .35s;
}

.btn-primary {
    background: var(--lime);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(200, 255, 0, .18);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, .4);
}

.btn-outline:hover {
    background: white;
    color: #000;
}

.hero-stat {
    position: absolute;

    right: 7%;
    bottom: 12%;

    z-index: 2;

    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-stat strong {
    font-family: "Bebas Neue";
    font-size: 70px;
    color: var(--lime);
}

.hero-stat div {
    display: flex;
    flex-direction: column;

    font-size: 9px;
    letter-spacing: 2px;
}

.hero-scroll {
    position: absolute;

    left: 8%;
    bottom: 35px;

    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 9px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 80px;
    height: 1px;
    background: white;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 130px 8%;
    position: relative;
}

.section-number {
    color: #555;

    font-size: 10px;
    letter-spacing: 2px;

    margin-bottom: 70px;
}

.section-heading {
    margin-bottom: 70px;
}

.section-heading h2,
.trainer-heading h2,
.contact-info h2 {
    font-family: "Bebas Neue";

    font-size: clamp(65px, 8vw, 120px);

    line-height: .85;

    margin-top: 15px;
}

.section-heading h2 span,
.trainer-heading h2 span,
.contact-info h2 span {
    color: var(--lime);
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: #0a0a0a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;

    gap: 10%;

    align-items: center;
}

.about-image {
    height: 650px;

    position: relative;

    overflow: hidden;
}

.about-image img {
    height: 100%;
    object-fit: cover;

    filter: grayscale(20%);

    transition: 1s;
}

.about-image:hover img {
    transform: scale(1.06);
}

.image-tag {
    position: absolute;

    right: 0;
    bottom: 0;

    background: var(--lime);
    color: #000;

    padding: 15px 25px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.about-content h2 {
    font-family: "Bebas Neue";

    font-size: clamp(60px, 7vw, 100px);

    line-height: .85;

    margin: 20px 0 35px;
}

.about-content h2 span {
    display: block;
    color: var(--lime);
}

.about-content>p:not(.eyebrow) {
    color: #999;

    line-height: 1.8;

    max-width: 500px;

    margin-bottom: 20px;
}

.text-link {
    display: inline-block;

    color: white;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;

    margin-top: 20px;

    border-bottom: 1px solid var(--lime);

    padding-bottom: 8px;
}


/* =========================================
   STATS
========================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    padding: 65px 30px;

    text-align: center;

    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;

    font-family: "Bebas Neue";

    color: var(--lime);

    font-size: 75px;
}

.stat span {
    color: #777;

    font-size: 10px;
    letter-spacing: 2px;
}


/* =========================================
   PROGRAMS
========================================= */

.program-list {
    border-top: 1px solid var(--border);
}

.program {
    min-height: 170px;

    display: grid;
    grid-template-columns: 80px 180px 1fr 70px;

    align-items: center;

    gap: 30px;

    border-bottom: 1px solid var(--border);

    padding: 25px 0;

    transition: .5s;
}

.program:hover {
    padding-left: 25px;
    padding-right: 25px;

    background: #101010;
}

.program-number {
    color: #555;

    font-size: 11px;
}

.program-image {
    height: 120px;
    overflow: hidden;
}

.program-image img {
    height: 100%;
    object-fit: cover;

    transition: .6s;
}

.program:hover img {
    transform: scale(1.08);
}

.program-info h3 {
    font-family: "Bebas Neue";

    font-size: 45px;

    margin-bottom: 8px;
}

.program-info p {
    color: #777;

    max-width: 500px;

    font-size: 13px;
    line-height: 1.6;
}

.program-arrow {
    color: var(--lime);

    font-size: 30px;

    transition: .4s;
}

.program:hover .program-arrow {
    transform: translate(8px, -8px);
}


/* =========================================
   TRAINERS
========================================= */

.trainer-heading {
    margin-bottom: 70px;
}

.trainer-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.trainer-image {
    height: 520px;
    overflow: hidden;
}

.trainer-image img {
    height: 100%;
    object-fit: cover;

    filter: grayscale(100%);

    transition: .7s;
}

.trainer:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.trainer-info {
    padding-top: 20px;
}

.trainer-info span {
    color: var(--lime);

    font-size: 9px;
    letter-spacing: 2px;
}

.trainer-info h3 {
    font-family: "Bebas Neue";

    font-size: 35px;

    margin-top: 5px;
}


/* =========================================
   PRICING
========================================= */

.pricing {
    background: #0a0a0a;
}

.pricing-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.price-card {
    border: 1px solid var(--border);

    padding: 45px;

    position: relative;

    transition: .4s;
}

.price-card:hover {
    transform: translateY(-8px);
    border-color: #555;
}

.price-card.featured {
    border-color: var(--lime);
}

.popular {
    position: absolute;

    top: 0;
    right: 0;

    background: var(--lime);
    color: #000;

    padding: 9px 14px;

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.price-label {
    color: #777;

    font-size: 10px;
    letter-spacing: 2px;
}

.price-card h3 {
    font-family: "Bebas Neue";

    font-size: 55px;

    margin: 20px 0 35px;
}

.price-card h3 small {
    color: #666;

    font-family: "Inter";

    font-size: 9px;

    letter-spacing: 1px;
}

.price-card ul {
    list-style: none;

    margin-bottom: 40px;
}

.price-card li {
    color: #999;

    font-size: 12px;

    padding: 12px 0;

    border-bottom: 1px solid var(--border);
}

.price-button {
    display: block;

    border: 1px solid #555;

    padding: 17px;

    text-align: center;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    transition: .3s;
}

.price-card.featured .price-button,
.price-button:hover {
    background: var(--lime);
    color: #000;
    border-color: var(--lime);
}


/* =========================================
   CTA
========================================= */

.cta {
    min-height: 700px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;
}

.cta-image {
    position: absolute;
    inset: 0;

    background:
        url("https://images.unsplash.com/photo-1571019613914-85f342c55b0f?auto=format&fit=crop&w=2200&q=90") center/cover;

    filter: grayscale(100%);

    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(0, 0, 0, .72),
            rgba(0, 0, 0, .92));
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-family: "Bebas Neue";

    font-size: clamp(100px, 15vw, 220px);

    line-height: .75;

    margin: 25px 0 30px;
}

.cta h2 span {
    display: block;

    color: var(--lime);
}

.cta p:not(.eyebrow) {
    color: #bbb;
    margin-bottom: 30px;
}


/* =========================================
   CONTACT
========================================= */

.contact-grid {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 10%;
}

.contact-info h2 {
    margin: 20px 0 30px;
}

.contact-info>p:not(.eyebrow) {
    color: #888;

    max-width: 450px;

    line-height: 1.8;
}

.contact-details {
    margin-top: 45px;
}

.contact-details div {
    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}

.contact-details span {
    display: block;

    color: #666;

    font-size: 9px;
    letter-spacing: 2px;

    margin-bottom: 7px;
}

.contact-details strong {
    font-size: 13px;
}


/* FORM */

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.input-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;

    background: #101010;

    border: 1px solid var(--border);

    color: white;

    padding: 18px;

    outline: none;

    resize: vertical;

    transition: .3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--lime);
}

.contact-form select {
    color: #888;
}

.form-button {
    background: var(--lime);
    color: #000;

    border: none;

    padding: 18px;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;

    cursor: pointer;

    transition: .3s;
}

.form-button:hover {
    box-shadow: 0 15px 35px rgba(200, 255, 0, .15);
}

#formMessage {
    color: var(--lime);

    font-size: 12px;

    opacity: 0;

    transition: .4s;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #050505;

    padding: 70px 8% 30px;
}

.footer-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding-bottom: 50px;

    border-bottom: 1px solid var(--border);
}

.footer-logo {
    font-family: "Bebas Neue";

    font-size: 45px;

    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--lime);
}

.footer-top p {
    color: #555;

    font-size: 11px;
    letter-spacing: 3px;
}

.footer-bottom {
    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    color: #555;

    font-size: 9px;
    letter-spacing: 1px;
}


/* =========================================
   BACK TOP
========================================= */

.back-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 50px;
    height: 50px;

    border: 1px solid var(--lime);

    background: #080808;

    color: var(--lime);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   REVEAL ANIMATIONS
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(50px);

    transition:
        opacity 1s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   HERO ENTRANCE
========================================= */

.hero-label,
.hero-title,
.hero-text,
.hero-buttons,
.hero-stat,
.hero-scroll {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 1s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
}

.hero-title {
    transform: translateY(55px) scale(.97);
}

.hero-visible {
    opacity: 1 !important;

    transform:
        translateY(0) scale(1) !important;
}


/* =========================================
   PROGRAM ANIMATION
========================================= */

.program {
    opacity: 0;

    transform: translateX(-40px);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.16, 1, .3, 1),
        padding .4s ease,
        background .4s ease;
}

.program.active {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================
   BUTTON CLICK
========================================= */

.btn.clicked,
.price-button.clicked,
.form-button.clicked {
    transform: scale(.96) !important;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 900px) {

    .nav-links {
        position: fixed;

        top: 72px;
        left: 0;

        width: 100%;

        background: #080808;

        flex-direction: column;

        padding: 35px;

        gap: 25px;

        transform: translateY(-150%);

        transition: .5s;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-join {
        display: none;
    }

    .menu {
        display: block;
    }

    .hero-content {
        margin-left: 6%;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 500px;
    }

    .trainer-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .trainer-image {
        height: 600px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .program {
        grid-template-columns: 50px 120px 1fr 40px;
    }

}


@media(max-width: 600px) {

    .navbar {
        padding: 0 5%;
    }

    .hero {
        min-height: 650px;
    }

    .hero-title {
        font-size: 85px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero-stat {
        display: none;
    }

    .section {
        padding: 90px 6%;
    }

    .section-number {
        margin-bottom: 45px;
    }

    .program {
        grid-template-columns: 35px 1fr 35px;

        gap: 15px;
    }

    .program-image {
        height: 100px;
    }

    .program-info p {
        display: none;
    }

    .program-info h3 {
        font-size: 32px;
    }

    .program-number {
        font-size: 9px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 40px 10px;
    }

    .stat strong {
        font-size: 55px;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .footer-logo {
        font-size: 35px;
    }

}

/* =========================================
   FLOATING WHATSAPP BUTTON
========================================= */

.whatsapp-float {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 62px;
    height: 62px;

    background: #25D366;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    z-index: 999;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .35);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    animation: whatsappFloat 2.5s ease-in-out infinite;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;

    fill: white;

    position: relative;
    z-index: 2;
}

.whatsapp-float:hover {
    transform: scale(1.12);

    box-shadow:
        0 15px 40px rgba(37, 211, 102, .35);
}


/* PULSING RING */

.whatsapp-pulse {
    position: absolute;

    inset: 0;

    border-radius: 50%;

    border: 2px solid #25D366;

    animation: whatsappPulse 1.8s ease-out infinite;
}


@keyframes whatsappPulse {

    0% {
        transform: scale(1);
        opacity: .8;
    }

    70% {
        transform: scale(1.45);
        opacity: 0;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }

}


@keyframes whatsappFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

}


/* MOBILE */

@media(max-width:600px) {

    .whatsapp-float {
        width: 55px;
        height: 55px;

        right: 18px;
        bottom: 18px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }

}