:root{
    --primary-color:rgb(24, 88, 109);
    --primary-color-variant:rgb(147, 204, 223);
    --white-color:#ffff;


    --box-shadow-3: 0 1rem 1rem rgba(0, 0, 0, 0.6);
    --box-shadow-2: 0 1rem 1rem rgba(0, 0, 0, 0.5);
    --transition: all 300ms ease;

    --container-lg: 82%;
    --container-md: 90%;

}


/* ==========GENERAL STYLING=========== */

*{
    margin: 0;
    padding: 0;
    outline: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    

}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar{
    width: 0.5rem;
    background: rgb(229,165, 93, 0.2);
}

::-webkit-scrollbar-thumb{
    width: 100%;
    background: var(--color-primary-variant);
    border-radius: 0.25rem;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family:sans-serif;
    line-height: 1.7;
    user-select: none;
    overflow-x: hidden;
    /* background: var(--primary-color); */
    
}
.container{
    width: var(--container-lg);
    margin: 0 auto;
    /* display: grid;
    grid-template-columns: 14rem auto 23rem;
    gap: 2rem; */
}
img{
    display: block;
    width: 100%;
}
h1, h2, h3, h4, h5 {
    line-height: 1.2;
}
h1{
    font-weight: 700;
    font-size: 1.8rem;
    font-family:sans-serif;
}
h2{
    font-size: 1.4rem;
    font-family:sans-serif;

    
}
h3{
    font-size: 0.9rem;
}
a{
    
    font-family: sans-serif ;
    transition: var(--transition);
}
a:hover{
    color: var(--secondary-color);
    transition: var(--transition);

}
b{
    font-weight: bolder;
    font-size: 1rem;
    color: rgb(0, 0, 10);
    font-family: sans-serif;
}
button{
    outline-style: none;
}

/*----=------------- NAVBAR STYLING ----------------- */
nav{
    height: calc(16px * 5);
    width: 100vw;
    display: grid;
    place-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    box-shadow: var(--box-shadow-3);
    background: var(--primary-color);
    color: white;

}
.nav_container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav_toggle-btn{
    display: none;
}
.nav_logo{
    width: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.nav_links{
    display: flex;
    gap: 4.5rem;
    
}
.nav_links a{
    color: var(--white-color);
}
.nav_socials{
   display: flex;
   gap: 1rem;

}
.nav_socials a{
    width: 1.5rem;
    height: 1.5rem;
    aspect-ratio: 1/1;
    display: grid;
    border-radius: 0.5rem;
    background: var(--primary-color-variant);
    color: black;
    place-items: center;
}
.nav_socials a:hover{
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
    
}

.window-scrolled{
    background: var(--white-color);
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.7);
}
.window-scrolled a{
    color: black;
}
.window-scrolled span{
    color: black;
}  



.header{
    background-image: url(assets/images/fitG.jpg);
    background-size: cover;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
.header .overlay{
    background: #171819;
    width: 100%;
    height: 100%;
    opacity: 0.78;
}
.header_text{
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    text-align: center;
    justify-content: center;
}
.header_text p{
    color: white;
    font-size: 1.3rem;
    font-family: cursive;
    font-style: italic;
    margin-bottom: 1rem;
}
.header_text h2{
    color: whitesmoke;
    font-size: 3rem;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 500;
}
.header_btn{
    margin-top: 2rem;
    position: relative;
}
.simple_btn{
    font-size: 1.3rem;
    cursor: pointer;
    color: whitesmoke;
    padding: 0.9rem 1.6rem;

}
.simple_btn:hover{
    border: 1px solid;
    background: var(--primary-color);
    color: whitesmoke;
    border-radius: 6px;
    transition:all 300ms ease;

}
.border_btn{
    font-size: 1.3rem;
    color: var(--primary-color-variant);
    cursor: pointer;
    font-weight: 500;
    border: 1px solid;
    border-radius: 5px;
    padding: 0.9rem 1.6rem;  
    box-shadow: var(--box-shadow-3);  
}
.border_btn:hover{
    background: var(--primary-color-variant);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    
}


/*----MEMBERSHIP -----*/
.membership{
    width: 60%;
    margin: 0 auto;


}
.about{
    display: grid;
    grid-template-columns: 56% 46%;
    gap: 1%;
    
}
.about .left{
    margin-top: 7rem;
    width: 70%;
}
.about .left h4{
    padding-top: 2rem;
    font-size:1.2rem ;
}
.about .left p{
    padding: 0.9rem 0;
    font-size: 1.2rem;
    color: grey;
    margin-bottom: 1rem;

}
.about .left a{
    font-size: 1.1rem;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    display: grid;
    width: 280px;
    text-align: center;
    font-weight: 500;
    border-radius: 5px;
    padding: 0.9rem 0.5rem;  
    box-shadow: var(--box-shadow-2);   
}
.about .left a:hover{
    transform: translateY(-10px);
}
.about .right{
    margin-top: 9rem;
    border-left: 2px solid;
    margin-right: 4rem;
    padding-left: 6rem;
}
.about .right .time{
    padding-top: 1rem;
    font-family: cursive;
}
.about .right .time small{
    font-size: 0.9rem;
    color: grey;
    font-weight: bolder;

}

.wed{
    padding-top: 2rem;
}

.we{
    display: grid;
    grid-template-columns: 40% 55%;
    gap: 5%;
    margin-top: 8rem;
    
}
.we .info p{
    padding-top: 2rem;
    font-size: 1.2rem;
}

.trainers .gallery-item {
    box-sizing:border-box;
    background: wheat;
    border-radius: 10px;
    box-shadow: var(--box-shadow-2);
    min-height: 300px;
    transition: var(--transition);
}
  
.trainers .gallery-item .gallery-img {
    width: 100%;
    height: 300px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
}
  
.trainers .gallery-item h3 {
    font-size: 15px;
    color: var(--color-primary-variant);
   
}

.gallery-slider {
    overflow: hidden;
}

.profile{
    display: flex;
    justify-content: space-between;
}
.profile .name{
    padding: 25px 14px;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
   

}
.profile .name h3{
    font-size: 1.2rem;
}
.profile .name h5{
    padding-top: 5px;
    color: rgb(73, 71, 71);
    font-family: serif;
}
.profile .socials{
    display: flex;
    flex-direction: column;
    padding: 20px 14px;

   
}
.profile .socials a{
    color: var(--primary-color);
    /* background: var(--primary-color-variant); */
    font-size: 1.4rem;
}
.profile .socials a:hover{
    transform: translateY(-5px);
}
.swiper-slide{
    border: 0.5rem solid var(--primary-color);
    border-radius: 20px;
    height: fit-content;
    transition: var(--transition);
    

}

.swiper-pagination {
  margin-top: 29px;
  position: relative;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color:var(--primary-color-variant);
  opacity: 1;
  border: 1px solid var(--black-color);
}

.swiper-pagination .swiper-pagination-bullet-active {
  background-color:var(--primary-color);
}


.sessions{
    margin-top: 7rem;
}

.sessions p{
    text-align: center;
    font-size: 1.2rem;
    color: rgb(73, 71, 71);

}
.sessions h1{
    text-align: center;
    margin-bottom: 3rem;
}

.training{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 9rem;
}
.training article{
    background: wheat;
    border-radius: 20px;
    box-shadow: var(--box-shadow-3);
}
.training article img{
    border-radius: 10px 10px 0 0;
}
.training .class_info{
    padding: 20px 14px;
    position: relative;
}
.training .class_info h5, span{
    padding-top: 18px;
    color: rgb(73, 71, 71);
    font-family: sans-serif;


}
.training .class_info .price{
    position: absolute;
    top: 7%;
    right: 6%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 1.6rem;
    background: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    display: flex;
}



/*----=------------- Appointments STYLING ----------------- */

.appointments_container{
    display: grid;
    grid-template-columns: 47% 47%;
    gap: 6%;
    margin-bottom: 4rem;
}
.appointments_container h2, p{
    width: 100%!important;
}
.appointment_info{
    margin-top: 4rem;
}
.appointments_container article{
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info_icon{
    background: var(--primary-color-variant);
    padding: 0.8rem;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    
}

form{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form_group label{
    font-size: 1rem;
    margin-bottom: 0.4rem;
    display: inline-block;
    font-weight: 600;
}
.form_group input, textarea, select{
    background: rgb(226, 212, 187);
    padding: 0.85rem 1rem;
    display: block;
    width: 100%;
    border-radius: 0.4rem;
    resize: none;
    font-family: cursive;
    appearance: none;
}
.btn{
    width: 150px;
    padding: 12px;
    background: var(--primary-color-variant);
    border: none;
    border-radius: 5px;
    color: rgb(4, 4, 43)!important;
    
}
/*----=------------- Footer STYLING ----------------- */
footer{
    background: var(--primary-color);
    color: var(--white-color);
    padding-top: 5rem;
    margin-top: 5rem;
}
footer .container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    font-size: 0.9rem;
}
footer .container a{
    color: wheat;
    transition: var(--transition);
}
footer .container a:hover{
    color: var(--white-color);
}
footer .container article{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
footer .container article > div{
    display: flex;
    color: var(--white-color);
    align-items: center;
    gap: 0.7rem;
    
}
footer .container article span{
    color: var(--white-color);
    align-items: center;
    text-align: center;
}
footer .container article > h3 {
    color: var(--white-color);
}
.footer_socials{
    font-size: 1.2rem;
    transition: var(--transition);
}
.footer_socials i:hover{
    font-size: 1.5rem;
    
    
}
.footer_logo{
    width: 8rem;
   
}
.copyright{
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid ;
}
.copyright span{
    color: var(--white-color);
}




@media screen and (max-width:1024px){
    .container{
        width: var(--container-md);
    }
    .nav_toggle-btn{
        display: inline-block;
        color: white;
        background: transparent!important;
        font-size: 2.4rem;
        cursor: pointer;
        text-align: center;

    }
    #nav_toggle-close{
        display: none;
    }
    button i{
        background: transparent!important;
    }
    
    .nav_logo{
        margin-left: 3rem;
    }
    
    .nav_links{
        position: absolute;
        top: 5rem;
        right: 5%;
        flex-direction: column;
        gap: 0;
        display: none; 
        perspective: 400px;
    }
    .nav_socials{
        display: none;        
    }
    .nav_links li{
        height: 5rem;
        box-shadow: -3rem 3rem 2rem rgba(0, 0, 0, 0.6);
        animation: navAnimation 600ms ease forwards;
        transform: rotateX(90deg);
        opacity: 0;
        transform-origin: top;
        
        

    }
    .nav_links li:nth-child(2) {
        animation-delay: 200ms;
    }
    .nav_links li:nth-child(3) {
        animation-delay: 400ms;
    }
    .nav_links li:nth-child(4) {
        animation-delay: 600ms;
    }

    @keyframes navAnimation {
        to{
            transform: rotateX(0);
            opacity: 1;
        }
        
    }
    .nav_links li a{
        background: var(--primary-color);
        height: 100%;
        width:100%;
        display: flex;
        align-items: center;
        padding: 1rem 5rem 1rem 3rem;
        border-top: 1px solid var(--primary-color-variant);
        border-radius: 6px;
    }
    .header{
        background-image: url(assets/images/smallG.jpg);
        width: 100%;
        height: 100vh;
        z-index: -1;
    }
    .membership{
        width: var(--container-lg);
        margin: 0 auto;
    
    
    }
    
    .about .left a{
        font-size: 0.9rem;
        background: var(--primary-color);
        color: var(--white-color);
        cursor: pointer;
        display: grid;
        width: 250px;
        text-align: center;
        font-weight: 500;
        border-radius: 5px;
        padding: 0.9rem 0.5rem;  
        box-shadow: var(--box-shadow-2);   
    }
    .about .right{
        margin-top: 9rem;
        border-left: 2px solid;
        margin-right: 4rem;
        padding-left: 4rem;
    }
    .about .right .time{
        padding-top: 1rem;
        font-family: sans-serif;
    }
    .about .right .time small{
        font-size: 1rem;
        color: grey;
        font-weight: bolder;
    
    }
    .training{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-bottom: 9rem;
    
}


/*---- Small Screen ---*/
@media screen and (max-width: 600px) {
    .container{
        width: var(--container-md);
    }

    h1, h2 {
        font-size: 2rem;
        line-height: 1.1;

    }
    .header{
        background-image: url(assets/images/smallG.jpg);
        width: 100%;
        height: 100vh;
        z-index: -1;
    }
    .header_text p{
        color: white;
        font-size: 1rem;
        font-family: cursive;
        font-style: italic;
        margin-bottom: 1rem;
    }
    .header_text h2{
        color: whitesmoke;
        font-size: 2rem;
        width: 100%;
        font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-weight: 500;
    }
    .header_btn{
        margin-top: 2rem;
        position: relative;
    }
    .simple_btn{
        display: none;
    
    }
    .simple_btn:hover{
        border: 1px solid;
        background: var(--primary-color);
        color: whitesmoke;
        border-radius: 6px;
        transition:all 300ms ease;
    
    }
    .border_btn{
        font-size: 1rem;
        color: var(--primary-color-variant);
        cursor: pointer;
        font-weight: 500;
        border: 1px solid;
        border-radius: 5px;
        padding: 0.4rem 0.3rem;  
        box-shadow: var(--box-shadow-3);  
    }
    .border_btn:hover{
        background: var(--primary-color-variant);
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
        
    }
    .membership{
        width: var(--container-md);
    }
    
    .about{
        display: grid;
        grid-template-columns: 1fr;
        gap:1rem;
    }
    .about .left{
        margin-top: 7rem;
        width: 100%;
        text-align: center;
        
        
    }
    .about .left h4{
        padding-top: 2rem;
        font-size:1.2rem ;
    }
    .about .left p{
        padding: 0.9rem 0;
        font-size: 1.2rem;
        color: grey;
        margin-bottom: 1rem;
    }
    .about .left a{
        font-size: 0.9rem;
        background: var(--primary-color);
        color: var(--white-color);
        cursor: pointer;
        width: 70%;
        text-align: center;
        justify-content: center;
        font-weight: 500;
        border-radius: 5px;
        margin-left: 50px;
        padding: 8px 12px!important;  
        box-shadow: var(--box-shadow-2);   
    }
    
    .about .right{
        position: relative;
        width: 100%;
        margin-top: 1rem;
        border-left: none;
        padding-left: 0;
        text-align: center;
    }
    .we{
        display: grid;
        
        gap: 5%;
        margin-top: 6rem;
           
    }
    .we .info p{
        padding-top: 1rem;
        display: none;
        font-size: 1rem;
    }
    .para2{
        display: inline-block!important;
    }
    .training{
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 9rem;
    }
    .training .class_info h2{
        font-size: 23px;
    }
    .training .class_info .price{
        position: absolute;
        top: 7%;
        right: 6%;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 1rem;
        background: var(--primary-color);
        color: var(--white-color);
        cursor: pointer;
        align-items: center;
        justify-content: center;
        display: flex;
    }
    .training .class_info .price h2{
        font-size: 18px;
    }
    .appointments_container{
        display: grid;
        grid-template-columns: 1fr;
        gap: 1%;
        margin-bottom: 4rem;
    }
    footer .container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        font-size: 0.9rem;
    }
   
   
   
}