body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}
.blue-text {
    color: #ffffff;
}
.strong {
    font-size: 20px;
    margin: 0 0 12px 0;
    font-weight: normal;
}
p {
    font-size: 14px;
    margin: 0 0 30px 0;
    line-height: 1.5;
}
.button {
    background-color: #ffffff;
    color: #60addf;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
}
.button:hover {
    background-color: #cfcfcf;
    transform: scale(1.05);
    translate: transform 0.5s ease-in-out;
}
.button2 {
    background-color: #60addf00;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;

}
.button2:hover {
    background-color: #ffffff;
    color: #60addf;
    transform: scale(1.05);
    translate: transform 0.5s ease-in-out;

}

/* Hero section */
.hero ul {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    max-width: 670px;
}  
.hero ul li {
    list-style: none;

} 
.hero ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    text-transform: uppercase;

}
.hero ul li a:hover {
    color: #60addf;
}
.hero button {
    background-color: #60addf;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 4px;
    font-family: Helvetica, Arial, sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
}
.hero button:hover {
    background-color: #482924;
    transform: scale(1.05);
}
.hero navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.hero navbar img{
    height: 40px;
}
.hero {
color: white;
    padding: 0 100px;
    position: relative;
}
.hero main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: calc(100vh - 80px);
    max-width: 600px;
}
.hero main h1 {
    font-size: 40px;
    margin: 0 0 20px 0;
}



/* Why section */
.why {
    padding: 140px 180px 140px 180px;
    background: #111111;
    color: white;
    display: flex;
}
.why .left{
    width: 40%;
}
.why .right{
    width: 60%;
    list-style: none;
    margin-top: 10px;
}
.why .right li {
    display: block;
    list-style-type: none;
    margin-bottom: 50px;
}
.why .right span {
    display: block;
    margin: 12px 0 0 0;
}
.why i{
    color: #60addf;
}

/* Services section */
.show{
    display: flex;
}
.services {
    display: grid;
    padding: 140px 100px 50px 100px;
    background: #ffffff;
    color: #111111;
    text-align: center;
    position: relative;
    grid-template-columns: 1fr 1fr 1fr;

}
.services span {
    font-size: 12rem; /* Taille du texte */
    color: transparent; /* Rendre le texte transparent */
    -webkit-text-stroke: 1px #60addf; /* Bordure bleue autour du texte */
    text-align: center; /* Centrer le texte */
    white-space: nowrap; /* Empêche le retour à la ligne */
    margin: 0;
    font-weight: bold;
    letter-spacing: -12px;
    font-family: Arial, Helvetica, sans-serif;
    
}

.services .title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%,-60%);
    background: transparent;
    padding: 0 20px;

}
.services .service {
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 80%;
    flex-direction: column;
    margin: 0 auto;
    text-align: left;
    align-items: center;
    color: #111111;
    padding: 20px;
    margin-bottom: 30px;
    justify-content: space-between;

}
.services .service .img {
    width: 100%;
    height: 290px;
    background: url('../images/hero-bg.JPG') no-repeat center;
    background-size: cover;
    margin-bottom: 15px;
}
.services .service p {
    color: #404040;
}
.services .service button {
      background-color: #60addf;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 600;
    width: 100%;

}
.services .service button:hover {
    background-color: #007ACC;
    transform: scale(1.05);
    translate: transform 0.5s ease-in-out;

}

/* Offers section */
.offers {
    padding: 140px 50px;
    background: #111111;
    color: #ffffff;
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;

}
.offers .offer{
    border: 1px solid #bfbfbf84;
    border-radius: 5px;
    width: 80%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    color: #BFBFBF;
    padding: 20px;
    margin-bottom: 30px;
    justify-content: space-between;
}
.offer li {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    width: 100%;
    font-size: 12px;
}   
.offer ul{
    padding: 0;
    margin: 20px 0 0 0;
}
.offers .offer button {
      background-color: #60addf;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    width: 100%;
    border-radius: 4px;

}
.offers .offer button:hover {
    background-color: #007ACC;
    transform: scale(1.05);
}

/* Trainers */

.trainers {
    padding: 140px 100px 50px 100px;
    background: #ffffff;
    color: #111111;
    text-align: center;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;

}

.trainers span {
    font-size: 12rem; /* Taille du texte */
    color: transparent; /* Rendre le texte transparent */
    -webkit-text-stroke: 1px #60addf; /* Bordure bleue autour du texte */
    text-align: center; /* Centrer le texte */
    white-space: nowrap; /* Empêche le retour à la ligne */
    margin: 0;
    font-weight: bold;
    letter-spacing: -12px;
    font-family: Arial, Helvetica, sans-serif;
    
}
.trainers .title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%,-60%);
    background: transparent;
    padding: 0 20px;

}
.trainers button {
    background-color: #60addf00;
    color: #60addf;
    border: 2px solid #60addf;
    padding: 10px 20px;
    font-size: 14px;
    font-family: Helvetica, Arial, sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    width: 90%;
    border-radius: 4px;


}
.trainers button:hover {
    background-color: #007ACC;
    color: #ffffff;
    translate: transform 0.5s ease-in-out;

    transform: scale(1.05);
}
.shape1 {
  width: 250px;
  height: 250px;
  background: lightgray;
  border-radius: 0 80% 0 80% ;
  margin: auto;
}
.shape2 {
  width: 250px;
  height: 250px;
  background: lightgray;
  border-radius: 50% 50% 0 50% ;
  margin: auto;
}
.shape3 {
  width: 250px;
  height: 250px;
  background: lightgray;
  border-radius: 0 50% 50% 50% ;
  margin: auto;
}
.shape4 {
  width: 250px;
  height: 250px;
  background: lightgray;
  border-radius: 50% 50% 0 0 ;
  margin: auto;
}
.hero .mobile {
    display: none;
    /* position: relative; */
}
.services .carousel {
    display: none;
}
    footer {
         padding: 50px 100px
    }
.brand{
    margin-right: 100px;
}
/* Responsive adjustment for font size */
@media (max-width: 1320px) {
    .services span, .trainers span {
        font-size: 10rem; /* Réduction de la taille du texte */
    }
}
/* Responsive adjustment for font size */
@media (max-width: 1120px) {
    .services span, .trainers span {
        font-size: 8rem; /* Réduction de la taille du texte */
    }
    .shape1, .shape2, .shape3, .shape4 {
        width: 200px;
        height: 200px;
    }
}
/* Responsive adjustment for font size */
@media (max-width: 1000px) {
    .services span, .trainers span {
        font-size: 10rem; /* Réduction de la taille du texte */
    }
    .hero .mobile {
    display: flex;
    }
    .hero ul {
    padding-left: 20px;
}
    .hero .desktop {
    display: none;
    }
     .services span, .trainers span {
        font-size: 8rem; /* Réduction de la taille du texte */
    }   
    .services {
        grid-template-columns: 1fr ;

    }
    .offers {

    grid-template-columns: 1fr 1fr;

    }
    .trainers {

        grid-template-columns: 1fr 1fr;

    }
    .trainer{
        padding-top: 50px;
    }
    .show{
        display: none;
    }
    .services{
        padding: 140px 20px 50px 20px;
    }
    
    .services .carousel {
    display: flex;
}
    .carousel .service{
        width: 90%;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    .carousel .service .img{
        height: 180px;
    }
    .trainer h3{
        margin: 10px 0 5px 0;
    }
    .trainer p{
        margin: 0px 0 5px 0;
    }
}
@media (max-width: 830px) {
    .services span, .trainers span {
        font-size: 5.1rem; /* Réduction de la taille du texte */
        letter-spacing: 0;
    }
        footer {
        padding: 30px; /* Réduit le padding pour les écrans mobiles */
    }

    footer .main {
        flex-direction: column; /* Passe en colonne */
        margin-bottom: 30px; /* Ajuste la marge inférieure */
    }

    footer .main > div {
        margin-right: 0; /* Supprime la marge droite des enfants */
        margin-bottom: 20px; /* Ajoute une marge inférieure pour espacer les sections */
    }

    footer .credit {
        text-align: center; /* Centre le texte pour les crédits */
    }
    .brand{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        text-align: center;

    }
    .offers {
            padding: 80px 20px;
    }
    .offers .offer{
        padding: 10px;
    }   
    .offers .offer li {
        font-size: 10px;
    }
    .offers .offer p{
        font-size: 12px;
        margin: 10px 0 20px 0; 
    }
    .why {
        flex-direction: column;
        padding: 80px 20px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .why .left, .why .right {
        width: 90%;
    }
    .why .right ul{
        padding: 50px 0 0 0;
        margin: 0;
    }
    .why .left h2{
        font-size: 20px;
        margin-bottom: 10px;
    }
    .why .right p{
        font-size: 14px;
        margin-bottom: 10px;
    }
    .button{
        width: 180px;
        margin-bottom: 10px;
    }
    .button2{
        width: 180px;
    }
}
@media (max-width: 610px) {
    .services span, .trainers span {
        font-size: 3.5rem; /* Réduction de la taille du texte */
        letter-spacing: 0;
    }
    .shape1, .shape2, .shape3, .shape4 {
        width: 150px;
        height: 150px;
    }
    .hero button{
        font-size: 12px;
        padding: 8px 16px;
    }
    .trainers .title, .services .title {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%,-75%);}
    .credit{
        display: none;
    }
    .trainers{
        padding: 60px 20px 50px 20px;
    }
    .hero{
        padding: 0 20px 0px 20px;
        height: fit-content;
    }
    .hero main h1{
        font-size: 24px;
        margin: 0 0 10px 0;
        text-align: center;
    }
    .hero main{
        height: fit-content;
        padding: 40px 0 20px 0px ;
        align-items: center;
        position: relative;
    }
    .hero main button{
        position: absolute;
        bottom: -40px;
        transform: translateY(50%);
    }
    .hero main button:hover{
        position: absolute;
        bottom: -40px;
        transform: translateY(50%);
    }
    .hero main p{
       display: none;
    }
    .services .title{
        padding: 0;
    }
    .services{
        padding: 70px 20px 50px 20px;
    }
}
@media (max-width: 400px) {
    .services span, .trainers span {
        font-size: 2.8rem; /* Réduction de la taille du texte */
        letter-spacing: 0;
    }
}

/* Carousel container */
.carousel {
    display: flex;
    overflow-x: auto; /* Active le défilement horizontal */
    scroll-snap-type: x mandatory; /* Active le snap au scroll */
    gap: 20px;
    padding: 20px;
    scroll-behavior: smooth; /* Rend le défilement fluide */
}

/* Carousel items */
.carousel-item {
    flex: 0 0 50%; /* Affiche deux éléments côte à côte */
    scroll-snap-align: center; /* Aligne les éléments au centre lors du scroll */
    text-align: center;
    transition: transform 0.5s ease-in-out;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Navigation buttons */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* Hide scrollbar */
.carousel::-webkit-scrollbar {
    display: none;
}

/* Mobile menu styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Cache le menu hors de l'écran */
    width: 100vw;
    height: 100vh;
    background: white;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out; /* Animation de glissement */
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #111;
    font-size: 18px;
    font-weight: bold;
}

/* Active state for the menu */
.mobile-menu.active {
    right: 0; /* Fait apparaître le menu */
}

/* Hide menu on desktop */
@media (min-width: 1000px) {
    .mobile-menu {
        display: none; /* Cache le menu en version desktop */
    }
}

/* Loading screen styles */
/* Loading screen styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1; /* Opacité initiale */
    transition: opacity 1s ease; /* Transition pour l'effet de fondu */
}

#loading-screen.hidden {
    opacity: 0; /* Réduit l'opacité à 0 pour le fondu */
    pointer-events: none; /* Désactive les interactions après le fondu */
}

#loading-logo {
    width: 150px;
    animation: breathing 3s infinite; /* Animation de respiration */
}

/* Breathing animation */
@keyframes breathing {
    0%, 100% {
        transform: scale(1); /* Taille normale */
    }
    50% {
        transform: scale(1.2); /* Zoom */
    }
}