*{
    font-family: "koulen";
}

h1{
    /*font-size: 104px;*/
    font-size: clamp(40px, 10vw, 80px);
    line-height: 0.8846;
    max-width: 700px;
    PADDING: 35PX;
    background-color: rgba(0, 0, 0, 0.5);
}



h2 {
    /*font-size: 80px;*/
    font-size: clamp(32px, 10vw, 50px);
    line-height: 0.85;
}

h3 {
    font-size: clamp(24px, 10vw, 40px);
    line-height: 40px;
}

h4 {
    font-size: clamp(16px, 5vw, 32px);
    /*font-size: 32px;*/
    /* line-height: 30px; */
}

h5{
    font-size: clamp(16px, 10vw, 24px);
}

h6{
    font-size: 16px;
}

p{
    font-family: "Poppins";
    font-size: 18px;
    line-height: 1.5;
    color: #424242;
}



/* hero */

section .hero {
    border-radius: 32px;
    position: relative;
}

.btn-primary { 
    background-color: #E07E27;
    border: 1px solid#E07E27;
    padding: 24px 32px;
}
.btn-primary:hover { 
    background-color: #ffffff;
    border: 1px solid#cf7526;
    color: #E07E27;
    padding: 24px 32px;
}
.btn-outline-secondary { 
    border: 1px solid#ffffff;
    color: white;
    padding: 24px 32px;
}
.btn-outline-secondary:hover { 
    background-color: #E07E27;
    border: 1px solid#E07E27;
    padding: 24px 32px;
    
}


.bg-body-tertiary {
   
    background-color: rgb(255 255 255 / 0%) !important;
}


/* Nav */
a.nav-link{
    color: white;
}

a.nav-link:hover{
    color: #E07E27;
}

.navbar {
    margin: 8px 40px 0px 40px;
}

.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    justify-content: space-between;
}

@media(max-width:990px){
    .navbar-expand-lg .navbar-collapse{
        flex-direction: row-reverse;
    }
}

/* General styles for the navigation links */
.navbar-nav .nav-link {
    position: relative;
    padding: 5px 10px;
    color: white; /* Adjust color as needed */
    text-decoration: none;
  }
  
  /* Underline effect */
  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #f57c00; /* Adjust to match the orange color from the image */
    transition: width 0.3s ease-in-out;
  }
  
  /* Hover state */
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link:focus::after {
    width: 100%;
  }
  
  /* Active state */
  .navbar-nav .nav-link.active::after {
    width: 100%;
  }

  .navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: white;
  }

  .navbar-nav {
    display: flex;
    flex-direction: row;
}

.navbar-nav .nav-item {
    margin: 0 10px; /* Adjust as needed */
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-collapse {
    position: relative;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.w-100 {
    width: 100%;
}
  
/* nav */

.herosection {
    background-image: url('/Assets/heroimg.jpg');
    height: 94vh;
    width: auto;
    /*margin: 24px;*/
    margin: 0px;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    /*border-radius: 32px;*/
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.herocontent {
    height: fill;
    position: relative;
    margin: 0px 40px 40px 40px;
}

/* hero */

/* Services */
.services-wraper {
    margin: 32px 24px;
    padding: 80px 40px;
}
.services-wraper .card {
    border: none;
}

.services-content-wraper {
    /*gap: 24px;*/
    margin-top: 32px;
}

/* General styling */
.services-wraper {
    margin-top: 50px;
}

.card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 10px;
}
.card img{
    transition: transform 0.3s ease-in-out;
}

/* Make the <h3> title always visible */
/* .card-title {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    z-index: 1;
} */

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the top */
    padding: 16px;
    text-align: left; /* Align text to the left */
}

.card-text {
    font-size: 1rem;
    color: white;
    margin: 8px 0 16px 0;
}

.btn-outline-secondary {
    border: 1px solid#ffffff;
    color: white;
    padding: 24px 32px;
    width: 100%;
}

.btn-outline-secondary:hover {
    background-color: #E07E27;
    border: 1px solid#E07E27;
    padding: 24px 32px;
    width: 100%;
}

/* Hover effect */
.card:hover img {
    transform: scale(1.05);
}

.card:hover .card-img-overlay {
    opacity: 1;
}

@media(max-width: 990px){
 
    .card img {
        transform: scale(1.05);
    }
    
    .card .card-img-overlay {
        opacity: 1;
    }
}

/* Services */

/* Membership */
.membership-bgc {
    background-color: #171717;
    height: auto;
    width: auto;
    margin: 24px;
    padding: 80px 40px;
    border-radius: 32px;
    color: white;
}

@media(min-width:1100px){
    .membership-bgc {
        height: 80vh;
    }
}

.membership-bgc .h2 {
    height: 100%;
}

.membership-slider-wraper {
    height: fit-content;
}

.membership-card{
    background-color: white;
    color: #171717;
    padding: 32px;
    justify-content: space-between;
    border-radius: 8px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

@media(min-width:1100px){
    .membership-card{
        gap: 30px;
    }
}

.membership-card button{
    color: #171717;
    border: 1px solid#171717;
}

.membership-wraper .splide ul{
    align-items: end;
}

.hl{
    color: #E07E27;
}

/* Membership */

/* whyus */
.whyus-wraper{
    padding: 24px 32px;
}

.whyus {
 padding: 80px 40px;
}

@media(max-width:990px){
    .whyus {
        padding-block-end: 0px !important
    }
}

.whyusheading p {
    margin-bottom: 48px;
}

.points ul{
    list-style-type: none;
    padding: 0;
    gap: 8px;
}

.points li{
    display: flex;
    gap: 8px;
   
}
.points li h4{
    margin-top: 12px;
   
}

.fitnesspp {
    display: flex;
    justify-content: center;
}
/* whyus */


/* blog */
.smoke {
    background-image: url('/Assets/blogbg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.blog-content {
    margin-block: 48px;
}

@media(max-width:600px){
    .blog-content {
        flex-direction: column;   
    }
}

.blog-content .card {
    background-color: rgba(245, 222, 179, 0);
    border-radius: 0;
}
.blog-content .card-body {
    background-color: rgba(245, 222, 179, 0);
    padding: 0;
}

.card-img-top {
    border-radius: 8px;
}

.blog-wraper{
    position: relative;
    margin-top: 180px;
}

.bloghimg img{
   position: absolute;
   bottom: 0;
}
/* blog */

/* testimonial */

.testimonials-wraper{
    margin: 32px 24px;
    padding: 80px 40px;
}

.testimonial-content {
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    border: 1px solid black;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px;
}
.testimonial-card .user-name h5{
    margin-top: 10px;
    
}

.splide ul{
 /* gap: 24px; */
 display: flex;

}

/* testimonial */

footer {
    /*padding: 24px;*/
}

.footer {
    background-color: #171717;
    height: fit-content;
    width: auto;
    padding:40px;
    /*border-radius: 32px;*/
    color: white;
}

.footer-content {
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
    flex-wrap:wrap;
}
@media(max-width:1100px){
    .footer-content {
        flex-direction: column;  
    }
}

footer p {
   color: white;
}

.copyright p{
    margin-bottom: 0;
}

.custom-footer-link {
    font-family: "Poppins";
    font-size: 18px;
    line-height: 1.5;
    color: white;
    text-decoration: none;
}


/* Inner page */

.membership .herosection {
    background-image: url('/Assets/membership.jpg');
    height: 70vh;
    width: auto;
    margin: 24px;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
}
.groupclass .herosection {
    background-image: url('/Assets/groupclass.jpg');
    height: 70vh;
    width: auto;
    margin: 24px;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
}
.thegym .herosection {
    background-image: url('/Assets/thegym.jpg');
    height: 70vh;
    width: auto;
    margin: 24px;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
}
.contact .herosection {
    background-image: url('/Assets/contact.jpg');
    height: 70vh;
    width: auto;
    margin: 24px;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
}
.trainers .herosection {
    background-image: url('/Assets/trainers.jpg');
    height: 70vh;
    width: auto;
    margin: 24px;
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
}

.container-innerpage {
    margin: 0px 24px 0px 24px;
    padding: 48px 40px;
}

.inner-page-content {
    gap: 24px;
    margin-bottom: 100px;
    margin-top: 48px;
}

.innerpage-wraper .right-content {
    padding: 32px;
    background-color: #454545;
    color: white;
    border-radius: 8px;
    height: fit-content;
}
.innerpage-wraper .right-content ul{
    margin-top: 16px;
    margin-bottom: 32px;
}
.innerpage-wraper .right-content button {
    width: 100%;
}

.innerpage-wraper .right-content-img {
    color: #EC7C30;
    border-radius: 8px;
}
.innerpage-wraper .right-content-img button {
    width: 100%;
}

.classes {
    margin-top: 48px;
    gap: 32px;
}

.contact-social-media img{
   fill: #171717;
   color: #cf7526;
}
/* Inner Page */

/* form */

input,textarea {
    font-family: "Poppins";
    padding: 24px 16px;
}

form {
    margin-top: 16px;  
}
form  button{
    margin-top: 16px;  
}

.mb-3 input {
    padding: 12px 16px;
}

.wpcf7 .btn-primary {
    width: 100%;
}

.custom-link {
    text-decoration: none;
    color: #424242;
    font-family: Poppins, sans-serif;
    font-size: 18px;
    line-height: 1.5;
}
/* form */


/* trainers */
.trainers{
    gap: 24px;
    margin-bottom: 100px;
}

.trainer-card button img{
    width: fit-content;
}
.trainer-card img{
    width: 100%;
    position: relative;
}
.trainer-card {
    position: relative;
}

.trainerbaseinfo {
    position: absolute;
    bottom: 50%;
    left: 0;
    right: 0;
    color: white;
    z-index: 1;
    text-align: center;
}

.trainerinfo button:hover{
    background-color: white;
    color: #cf7526;
}

.trainerinfo {
    position: absolute;
    color: white;
    z-index: 2;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #cf7526;
    opacity: 0;
    justify-content: center;
    border-radius: 8px;
    padding: 80px;
    transition: 1s;
}

.trainer-card:hover .trainerinfo{
    padding: 80px;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    border-radius: 8px;
}

.maintrainerinfo{
    margin-bottom: 24px;
}
.maintrainerinfo p{
    text-transform: uppercase;
    color: white;

}

.custom-line {
    border: 0;
    height: 1px; 
    background-color: #ffffff; 
    width: 100%; 
    margin: 20px auto;
    opacity: 100%;
}

/* trainers */

/* history */

.right-side-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.right-content {
    margin-bottom: 20px; 
}

.right-image img {
    max-width: 100%;
    height: auto; 
}

.img-fluid {
    max-height: 700px; 
    width: 600px;
}

/* history */

.fitnesspp img{
    max-width: 100%;
}

@media(max-width: 1100px){
    .bloghimg{
        display: none;
    }
}
.splide{
    margin-bottom: 2rem;
}
.splide__pagination.splide__pagination{
    bottom: -2rem;
}
.splide__pagination.splide__pagination .splide__pagination__page{
    width: 2rem;
    height: 4px;
    margin-inline:0;
    border-radius: 0;
}
.splide__pagination.splide__pagination .splide__pagination__page.is-active{
    background-color: #E07E27;
}

.map-section iframe{
    max-width: 100%;
}

.right-image img{
    width: 100%;
    height:auto;
    object-fit:cover;
}
div:has(iframe[title*="YouTube"]):after{
    content:"";
    /*background-color: rgba(0,0,0,0.6);*/
    position: absolute;
    inset: 0;    
}

iframe[title*="YouTube"]{
    aspect-ratio: 16 / 9;
    width: auto;
    height: 125vh;
    object-position: bottom;
    margin-top: -5rem;
}

@media(max-width: 600px){
    iframe[title*="YouTube"]{
      /*aspect-ratio: 9/16;*/
      transform: translateX(-30%);
    }
}

.navbar-nav :is(.menu-item, button){
    font-size: 20px;
}

.hamburgerOverlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  max-height:100vh;
  z-index: -1;
  /* transition: background-color 300ms ease-in-out; */
}

.hamburgerOverlay[data-open="true"] {
  animation: openOverlay 0.3s forwards; /* Apply the animation */
  background-color: rgba(30, 30, 30, 0.8); /* Adjust the color to match mix(col.$darkGrey, transparent, 80%) */
}

.hamburgerOverlay[data-open="true"] nav {
  transform: translateX(0);
}


.hamburgerOverlay[data-open="false"] {
  animation: closeOverlay 0.3s forwards; /* Apply the animation */
  pointer-events: none;
}

.hamburgerOverlay[data-open="false"] nav {
  transform: translateX(-100%);
}

.hamburgerOverlay nav {
  position: absolute;
  opacity: 1;
  background-color: #171717;
  height: 100%;
  width: min(calc(400rem / 16), 100%); /* Equivalent to calc(300rem / 16) */
  transform: translateX(-100%);
  transition: transform 300ms ease-in-out;
}

.hamburgerOverlay nav .closeIcon {
    position: absolute;
    top:1rem;
    right:1rem;
}

.hamburgerOverlay nav button{
    margin: 0.75rem 1rem;
    width: calc(100% - 2.75*0.75rem);
}
.hamburgerOverlay nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display:grid;
}

.hamburgerOverlay img.logo{
    margin: 0.75rem 1rem;
    max-width: 200px;
    height: auto;
}

.hamburgerOverlay nav ul li {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(30, 30, 30, 0.3); /* Adjust the color to match mix(col.$darkGrey, transparent, 30%) */
  margin-inline: 0 !important;
}

/* Keyframes for Menu opening */
@keyframes openOverlay {
  0% {
    z-index: -100;
    background-color: rgba(30, 30, 30, 0); /* Adjust the color to match mix(col.$darkGrey, transparent, 0%) */
  }
  1% {
    z-index: 1; /* Set z-index after transition starts */
  }
  100% {
    background-color: rgba(30, 30, 30, 0.8); /* Adjust the color to match mix(col.$darkGrey, transparent, 80%) */
    z-index: 1;
  }
}

/* Keyframes for Menu closing */
@keyframes closeOverlay {
  0% {
    z-index: 1;
    background-color: rgba(30, 30, 30, 0.8); /* Adjust the color to match mix(col.$darkGrey, transparent, 80%) */
  }
  99% {
    z-index: 1; /* Keep z-index during most of the transition */
  }
  100% {
    z-index: -100; /* Change z-index at the very end */
    background-color: rgba(30, 30, 30, 0); /* Adjust the color to match mix(col.$darkGrey, transparent, 0%) */
  }
}
.container-fluid:has(.navbar-toggler){
    padding:0 !important;
}
.navbar-toggler{
    border: none !important;
    padding: 0 !important;
}
.hamburger {
    display: grid;
    height: 2rem;
    align-self: center;
}
.line {
    border-radius: 100vmax;
    display: block;
    height: 0.25rem;
    width: 2rem;
    background-color: #fff;
}

@media(max-width: 990px){
    #menu-header-menu-left, .navbar-nav:has(>#menu-header-menu-right){
        display: none !important;
    }
    .navbar-brand{
        position: relative;
        transform: unset;
        left: unset;
        margin-left: unset !important;
        margin-right: unset !important;
    }
    .navbar-brand img{
        max-width: 148px;
        height: auto;
    }
    [class*="-wraper"]{
        padding-inline: 0 !important;
    }
}
.custom-footer-link{
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
}

/*Gallery*/
.custom-link {
  display: block;
  text-align: center;
}
.card-title {
  display: flex;
  justify-content: center;
  margin-top: 10px; 
}

ul#membershipsplide-list li div {
    min-height: 200px;
}
