@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --header-height: 3.5rem;
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: rgb(0, 0, 0);
    --first-color-lighten: rgb(242, 246, 253);
    --title-color: hsl(0, 0%, 0%);
    --text-color: rgb(101, 110, 129);
    --body-color: rgb(236, 240, 245);
}



/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Poppins;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

ul {
    list-style: none;
}


a {
    text-decoration: none !important;
}


.testimonial_container {
    max-width: 1460px;
    margin-inline: 1.5rem;
}



.header {
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    background-color: var(--body-color);
    z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
}

.nav__toggle {
    position: relative;
    width: 35px;
    height: 35px;
    margin-left: 95%;
    margin-top: -45px;
}

.nav__toggle-menu,
.nav__toggle-close {
    font-size: 1.25rem;
    color: var(--title-color);
    position: absolute;
    display: grid;
    place-items: center;
    inset: 0;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.4s;
    justify-content: center;
}

.nav__toggle-close {
    opacity: 0;
}

@media screen and (max-width: 1118px) {
    .nav__menu {
        background-color: var(--body-color);
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        padding-block: 1.5rem 4rem;
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
        margin-right: 20px;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0.5rem;
    }

    .nav__menu::-webkit-scrollbar-thumb {
        background-color: hsl(220, 12%, 70%);
    }
}

.nav__link {
    color: var(--title-color);
    font-weight: bold;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    font-size: 1rem;
    transition: 0.2s;
}

.chat__link{
    color: var(--title-color);
    font-weight: bold;
    height: fit-content;
    margin-top: 20px;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid black;
    border-radius: 10px;
    transition: 0.3s all linear;
    
}

.chat__link:hover{
    background-color: black;
    color: white;
    transition: 0.2s linear;
}

.nav__link:hover {
    cursor: pointer;
    transform: scale(1.05);
    transition: 0.2s all linear;
}

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
    z-index: 999;
}

/* Show icon */
.show-icon .nav__toggle-menu {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
    opacity: 1;
    transform: rotate(90deg);
}


/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
    .dropdown__group {
        padding-left: 1.5rem;
    }
}

/* For large devices */
@media screen and (min-width: 1118px) {

    /* Nav */
    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
        column-gap: 3rem;
        height: 100%;
    }

    .nav li {
        display: flex;
    }

    .nav__link {
        padding: 0;
    }

    .nav__link:hover {
        background-color: initial;
    }

    
}

@media screen and (min-width: 1152px) {
    .container {
        margin-inline: auto;
    }
}

/* BUTTONS */

.button-86 {
    all: unset;
    width: auto;
    height: 30px;
    font-size: 16px;
    border: none;
    position: relative;
    color: #f0f0f0;
    cursor: pointer;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    z-index: 998;
}

.button-86::after,
.button-86::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -99999;
    transition: all .4s;
}

.button-86::before {
    transform: translate(0%, 0%);
    width: 100%;
    height: 100%;
    background: #28282d;
    border-radius: 10px;
}

.button-86::after {
    transform: translate(10px, 10px);
    width: 35px;
    height: 35px;
    background: #ffffff15;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50px;
}

.button-86:hover::before {
    transform: translate(5%, 20%);
    width: 110%;
    height: 110%;
}

.button-86:hover::after {
    border-radius: 10px;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
}

.button-86:active::after {
    transition: 0s;
    transform: translate(0, 5%);
}

@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

/* TESTIMONIAL */

.testimonials__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.yoga__grid {
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.yoga__grid .cardw {
   
    display: grid;
    gap: 1rem;
    background-color: var(--extra-light);
    border-radius: 10px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: white;
}

.article__grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.article__grid .cardw {
    padding: 0%;
    display: grid;
    gap: 1rem;
    background-color: var(--extra-light);
    border-radius: 10px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: white;
    transition: 0.3s all linear;
}

.cardw {
    padding: 1rem;
    display: grid;
    gap: 1rem;
    background-color: var(--extra-light);
    border-radius: 10px;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: white;
    transition: 0.3s all linear;
}

.cardl {
    padding: 2rem;
    display: grid;
    gap: 1rem;
    background-color: var(--extra-light);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
    background-color: white;
    transition: 0.3s all linear;
}

.card .name:hover {
    color: var(--primary-color);
}

.diet__grid{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.diet__grid .cardf {
    padding: 1rem;
    display: grid;
    gap: 1rem;
    background-color: var(--extra-light);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    cursor: pointer;
    background-color: white;
    transition: 0.3s all linear;
}

@media (width < 900px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .yoga__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (width < 600px) {
    .testimonials__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .yoga__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
}




.scroll {
    white-space: nowrap;
    margin: 0 2em;
}

.scroll div {
    display: flex;
    gap: 2em;
}

.scroll p {
    font-size: 5em;
    color: rgb(0, 0, 0);
    font-weight: bold;
    margin-bottom: 0;
    line-height: 10px;
}

.RightToLeft {
    animation: RightToLeft 10s infinite linear;
}

@keyframes RightToLeft {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-50%);
    }
}

.LeftToRight {
    animation: LeftToRight 10s infinite linear;
}

@keyframes LeftToRight {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0%);
    }
}


#testimonial4 .carousel-inner .item {
    transition: transform 0.6s ease-in-out;
    display: none;
}
#testimonial4 .carousel-inner .item.active {
    display: block;
}

/* ------testimonial  close-------*/

.testimonial{
    text-align: center;
    padding: 85px 50px 45px 70px;
    margin: 70px 15px 35px;
    background: #f9f9f9;
    box-shadow: 8px 4px 0 0 #5b5d60;
    position: relative;
}
.testimonial .pic{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    
    margin: 0 auto;
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
}
.testimonial .pic img{
    width: 100%;
    height: auto;
}
.testimonial .description{
    font-size: 15px;
    color: #757575;
    line-height: 27px;
    margin-bottom: 20px;
    position: relative;
}
.testimonial .description:before{
    content: "\f10d";
    font-family: "FontAwesome";
    font-size: 32px;
    color: #383b3d;
    position: absolute;
    top: -15px;
    left: -35px;
}
.testimonial .testimonial-profile{
    position: relative;
    margin: 20px 0 10px 0;
}
.testimonial .testimonial-profile:after{
    content: "";
    width: 50px;
    height: 2px;
    background: #0d0e0e;
    margin: 0 auto;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
}
.testimonial .title{
    display: inline-block;
    font-size: 18px;
    color: #3a3b44;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.testimonial .post{
    display: inline-block;
    font-size: 15px;
    color: #757575;
    text-transform: capitalize;
}
.owl-theme .owl-controls{
    margin-top: 10px;
}
.owl-theme .owl-controls .owl-page span{
    background: #5e5f5f;
    opacity: 1;
    transition: all 0.4s ease 0s;
}
.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
    background: #77a9dd;
}
.owl-theme .owl-controls .owl-page.active span{
    width: 22px;
    height: 12px;
}

/* All Fit Club Component Styles - DARK REFINED */
.afc-hero-wrapper {
    width: 100%;
    padding: 100px 20px;
    background-color: #0f1115; /* Deep dark charcoal */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.afc-hero-container {
    max-width: 850px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.afc-hero-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 4px; /* More angular/modern */
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.afc-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    font-weight: 600 !important; /* Reduced from 900 for a cleaner look */
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin: 0 0 24px 0 !important;
    letter-spacing: -0.5px;
}

.afc-hero-accent {
    color: #3b82f6; /* Solid professional blue */
    font-weight: 700;
}

.afc-hero-text {
    font-size: 1.1rem !important;
    color: #9ca3af !important;
    max-width: 600px;
    margin: 0 auto 40px auto !important;
    line-height: 1.8 !important;
    font-weight: 400;
}

.afc-hero-btn {
    display: inline-block;
    background: #3b82f6;
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.afc-hero-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    text-decoration: none !important;
}

/* Sublte Background Glow */
.afc-hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 40%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

@media (max-width: 600px) {
    .afc-hero-wrapper {
        padding: 80px 15px;
    }
}

/* =========================================
   10. POPUP MODAL & FORM STYLES
   ========================================= */
.tribe-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(5px);
    display: none; /* JS will change this to flex when button is clicked */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.tribe-modal-content {
    background: var(--card-bg, #1E293B); 
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-muted, #94A3B8);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--text-main, #fff);
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--text-main, #fff);
}

.modal-title span {
    color: var(--brand-green, #25D366);
}

.modal-desc {
    color: var(--text-muted, #94A3B8);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Form Layout */
.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    min-width: 0; /* Prevents overflow */
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 6px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    box-sizing: border-box; /* Keeps padding inside the box */
    background: #0F172A; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green, #25D366);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2);
}

.btn-submit-form {
    width: 100%;
    background: var(--brand-green, #25D366);
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-submit-form:hover {
    background: var(--brand-green-hover, #1EBE5D);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Custom Scrollbar for Modal */
.tribe-modal-content::-webkit-scrollbar { width: 6px; }
.tribe-modal-content::-webkit-scrollbar-track { background: transparent; }
.tribe-modal-content::-webkit-scrollbar-thumb { background: #334155; border-radius: 10px; }

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .tribe-modal-content {
        padding: 30px 20px;
    }
}

/* =========================================
   HOME PAGE PROMO SECTION (DARK & MODERN)
   ========================================= */
.trek-promo-section {
    background-color: var(--accent-dark); /* Keeps the outer background dark */
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
}

.trek-promo-container {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split screen 50/50 */
    background: #111111; /* Slightly lighter dark for the card */
    border-radius: 0px; /* Sharp edges for a modern, brutalist touch */
    border: 1px solid #222222;
    overflow: hidden;
    transition: transform 0.4s ease;
}

/* Subtle lift on hover */
.trek-promo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* -- Content Styling -- */
.trek-promo-content {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.promo-tag {
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #aaaaaa;
    margin-bottom: 1.5rem;
    border: 1px solid #333333;
    padding: 0.5rem 1.2rem;
    border-radius: 50px; /* Pill shape for the tag */
}

.promo-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.promo-description {
    font-family: var(--font-body);
    color: #999999;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 400px;
}

/* -- Promo Button -- */
.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #000000;
    font-family: var(--font-subheading);
    font-weight: 600;
    padding: 1rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
}

.btn-promo:hover {
    background-color: transparent;
    color: #ffffff;
    gap: 1rem; /* Arrow smoothly pushes to the right on hover */
}

/* -- Image Area -- */
.trek-promo-visual {
    /* Using a stunning, high-contrast mountain image */
    background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    min-height: 400px;
    filter: grayscale(100%); /* Keeps it strictly black and white initially */
    transition: filter 0.6s ease;
}

/* The color reveal effect when the user hovers over the card */
.trek-promo-container:hover .trek-promo-visual {
    filter: grayscale(0%);
}

/* =========================================
   MOBILE RESPONSIVENESS (PROMO SECTION)
   ========================================= */
@media (max-width: 900px) {
    .trek-promo-container {
        grid-template-columns: 1fr; /* Stacks the grid on smaller screens */
    }
    
    .trek-promo-content {
        padding: 4rem 2rem;
    }
    
    .trek-promo-visual {
        min-height: 350px;
        order: -1; /* Moves the image to the top on mobile */
    }
    
    .promo-description {
        max-width: 100%;
    }
}