@tailwind base;
@tailwind components;
@tailwind utilities;


:root {
    --primary-color: #ebc214;
    --primary-color-hover: #d4ad0f;
    --secondary-color: #1f1f1f;
    --light-color: #ffffff;
    --dark-color: #131313;
    --text-color: #333;
    --header-color: #c2c8d8;
    --text-secondary: #666;
    --bg-base: #f8f9fa;
    --transition-speed: 0.3s;
    --font-family: "Poppins", sans-serif;
    --gradient-1: linear-gradient(135deg, rgba(235,193,20,1) 0%, rgba(212,173,15,1) 50%, rgba(190,140,10,1) 100%);
    --gradient-2: linear-gradient(135deg, rgba(31,31,31,1) 0%, rgba(50,50,50,1) 50%, rgba(70,70,70,1) 100%);
  }

  .bg-primary {
  background-color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-primary:hover {
  background-color: var(--primary-color-hover) !important;
  border-color: var(--primary-color-hover) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.badge.bg-primary {
  background-color: var(--primary-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

  /* Empêcher tout débordement horizontal */
  body {
    overflow-x: hidden;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-base);
  }

  /***************************************************
   * GLOBAL RESETS & BASICS
   ***************************************************/
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
  }

  li {
    list-style: none;
  }

  .section-title h2 {
    color: var(--header-color);
  }

  /***************************************************
   * NAVBAR
   ***************************************************/
  .navbar {
    background-color: var(--bg-base);
    color: var(--text-color);
    transition: background-color 0.5s ease;
  }

  .navbar-logo {
    border-radius: 50%;
  }

  .navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }

  .navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

  .navbar-nav .nav-link {
    color: var(--text-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 1.5rem;
    font-weight: 500;
  }

  .navbar-nav .nav-link:hover {
    color: var(--primary-color-hover) !important;
  }

  /***************************************************
   * HERO SECTION (Parallax with background-attachment)
   ***************************************************/
  #hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    overflow: hidden;
  }

  #hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; 
    overflow: hidden;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1;
  }

  .btn-hero {
    background-color: transparent;         /* Transparent background */
    border: 2px solid var(--primary-color);  /* Primary color border */
    color: var(--primary-color);             /* Text in primary color */
    padding: 0.9rem 2rem;                    /* Maintain your existing padding */
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    max-width: 300px;
  }
  
  /* Optional: Change appearance on hover */
  .btn-hero:hover {
    background-color: var(--primary-color);  /* Fill background on hover */
    color: var(--dark-color);                /* Change text color for contrast */
    transform: scale(1.06);                  /* Slight scaling effect */
  }
  

  /* Désactiver background-attachment: fixed; sur les petits écrans */
  @media (min-width: 769px) {
    #hero {
      background-attachment: fixed;
    }
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    animation: fadeIn 1.3s ease-in-out forwards;
    opacity: 0;
  }

  .hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
    letter-spacing: 1px;
    word-wrap: break-word;
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /***************************************************
   * ABOUT SECTION
   ***************************************************/
  #about {
    padding: 5rem 1rem;
    background: var(--light-color);
  }

  #about .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  #about .section-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    font-weight: 700;
  }

  #about .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .about-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
  }

  .about-image,
  .about-text {
    flex: 1 1 400px;
    max-width: 500px;
  }

  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  }

  .about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
  }

  .about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
    color: var(--text-color);
  }

  .btn-about {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-speed);
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 200px;
  }

  .btn-about:hover {
    background-color: var(--dark-color);
    color: var(--primary-color-hover);
    transform: translateY(-2px);
  }

/* =====================================
CERTIFICATES SECTION STYLING (Updated)
===================================== */
#certificates {
padding: 5rem 1rem;
background: var(--bg-base); 
}

#certificates .certificate-group .row {
display: flex;
flex-wrap: wrap;
justify-content: space-between; /* Distribute items evenly */
}

#certificates .section-title {
text-align: center;
margin-bottom: 3rem;
}

#certificates .section-title h2 {
font-size: 2.6rem;
text-transform: uppercase;
font-weight: 700;
letter-spacing: 1px;
margin-bottom: 1rem;
color: var(--header-color);
}

#certificates .section-title p {
max-width: 700px;
margin: 0 auto;
color: var(--text-secondary);
font-size: 1rem;
}


#certificates .certificate-card img,
#certificates .certificate-card img {
max-height: 250px;          /* Bigger base size for groups 1 and 3 */
object-fit: cover;
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}


/* Certificate Card Swiper Adjustments */
.certificate-card {
  background-color: var(--light-color);
  border: none;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  max-width: 280px; /* Force max width to keep slides uniform if you like */
  margin: 0 auto;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.certificate-card img {
  max-height: 250px;
  width: auto;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}


.certificate-card h5 {
  font-size: 1rem;
  margin-top: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-color);
  padding: 0 0.5rem; 
}

/* Swiper Pagination & Navigation Colors */
.swiper-certificates-group1-pagination,
.swiper-certificates-group2-pagination,
.swiper-certificates-group3-pagination {
  margin-top: 1rem;
}

.swiper-certificates-group1-button-prev,
.swiper-certificates-group1-button-next,
.swiper-certificates-group2-button-prev,
.swiper-certificates-group2-button-next,
.swiper-certificates-group3-button-prev,
.swiper-certificates-group3-button-next {
  color: var(--primary-color);
}

  /***************************************************
   * SERVICES SECTION
   ***************************************************/
  #services {
    padding: 5rem 1rem;
    background: #f3f3f3;
  }

  #services .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  #services .section-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
  }

  #services .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .services-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
  }

  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 2rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  @media (max-width: 576px) {
    .service-card {
      flex: 1 1 100%;
      max-width: 100%;
      padding: 1rem;
    }
  }
  
  
  @media (max-width: 768px) {
    .services-cards {
      grid-template-columns: 1fr;
    }
  }

  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  .service-card i {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
  }

  .service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-color);
  }

  .service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
  }

  .btn-learn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 1rem auto 0;
  }


/***************************************************
* GALLERY SECTION (Using Swiper)
***************************************************/
#gallery {
padding: 5rem 1rem;
background: var(--light-color);
}

#gallery .section-title {
text-align: center;
margin-bottom: 3rem;
}

#gallery .section-title h2 {
font-size: 2.6rem;
text-transform: uppercase;
font-weight: 700;
margin-bottom: 1rem;
}

#gallery .section-title p {
max-width: 700px;
margin: 0 auto;
color: var(--text-secondary);
font-size: 1rem;
}

.swiper-gallery {
padding: 2rem 0;
}

.swiper-gallery .swiper-slide {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}

.swiper-gallery .swiper-slide img {
width: 100%;
max-width: 500px; /* Optional: Adjust max width as per design */
aspect-ratio: 16 / 9; /* Maintain a specific aspect ratio */
height: auto; /* Ensures proportional scaling */
border-radius: 8px;
cursor: pointer;
object-fit:contain;
transition: transform var(--transition-speed);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.swiper-gallery .swiper-slide img:hover {
transform: scale(1.06);
}

/* Styles spécifiques pour la pagination et les boutons Swiper Gallery */
.swiper-gallery-pagination {
margin-top: 1rem;
}

.swiper-gallery-button-prev,
.swiper-gallery-button-next {
color: var(--primary-color);
}


  /***************************************************
   * PRICING SECTION
   ***************************************************/
  #pricing {
    padding: 5rem 1rem;
    background: #f3f3f3;
  }

  #pricing .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  #pricing .section-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    font-weight: 700;
  }

  #pricing .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  #pricing .section-title .price {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: 600;
  }

  .pricing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
  }

  .pricing-card {
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    text-align: center;
    padding: 2rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .pricing-card:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .pricing-card-highlight {
    transform: scale(1.05);
    z-index: 1;
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  /* Réinitialisation de la mise en évidence lorsque n'importe quelle carte est survolée */
  .pricing-card:hover ~ .pricing-card-highlight {
    transform: scale(1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }

  .pricing-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-color);
  }

  .pricing-card .price {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: 600;
  }

  .pricing-card .price span {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 4px;
  }

  .pricing-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1rem 0;
    flex-grow: 1;
  }

  .pricing-card ul li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding-left: 1.5rem;
    position: relative;
  }

  .btn-pricing {
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-size: small;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    margin-top: 1rem;
    display: block;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-pricing:hover {
    background-color: var(--primary-color-hover);
    transform: scale(1.05);
  }

  .feature-included::before {
    content: "✔";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
  }

  /* X Mark for Excluded Features */
  .feature-excluded::before {
    content: "✘";
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
  }

  /***************************************************
   * TRAINER SECTION
   ***************************************************/
  #trainer {
    padding: 5rem 1rem;
    background: var(--light-color);
  }

  #trainer .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  #trainer .section-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  #trainer .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .trainer-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
  }

  .trainer-image,
  .trainer-info {
    flex: 1 1 400px;
    max-width: 500px;
  }

  .trainer-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  }

  .trainer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-color);
  }

  .trainer-info p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .social-links a {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.3rem;
    transition: color var(--transition-speed);
  }

  .social-links a:hover {
    color: var(--primary-color);
  }

  /***************************************************
   * TESTIMONIALS SECTION (Swiper)
   ***************************************************/
  #testimonials {
    padding: 5rem 1rem;
    background: #f3f3f3;
  }

  #testimonials .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  #testimonials .section-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  #testimonials .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .swiper-testimonials {
    padding: 2rem 0;
  }

  .swiper-testimonials .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .swiper-slide-testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 450px;
    margin: 0 auto;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    width: 100%;
  }

  .swiper-slide-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
  }

  .swiper-slide-testimonial .profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .swiper-slide-testimonial h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-color);
  }

  .swiper-slide-testimonial p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
  }

  /* Styles spécifiques pour la pagination et les boutons Swiper Testimonials */
  .swiper-testimonials-pagination {
    margin-top: 1rem;
  }

  .swiper-testimonials-button-prev,
  .swiper-testimonials-button-next {
    color: var(--primary-color);
  }

  /***************************************************
   * BLOGS SECTION
   ***************************************************/
  #blogs {
    padding: 5rem 1rem;
    background: var(--light-color);
  }

  #blogs .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  #blogs .section-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  #blogs .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }

  .blog-item {
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
  }

  .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  .blog-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .blog-content {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .blog-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
  }

  .blog-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex-grow: 1;
  }

  .btn-read-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: background-color var(--transition-speed);
    text-align: center;
  }

  .btn-read-more:hover {
    background-color: var(--primary-color-hover);
  }

  @media (max-width: 576px) {
    .blogs-grid {
      grid-template-columns: 1fr;
    }
  }

  /***************************************************
   * FAQ SECTION
   ***************************************************/
  #faq {
    padding: 5rem 1rem;
    background: var(--light-color);
  }

  #faq .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  #faq .section-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  #faq .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .accordion-button {
    background-color: #f3f3f3 !important;
    color: var(--text-color);
  }

  .accordion-button:focus {
    box-shadow: none;
  }

  .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #fff7d1 !important;
  }

  /***************************************************
   * NEWSLETTER SECTION
   ***************************************************/
  #newsletter {
    padding: 4rem 1rem;
    background: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
  }

  #newsletter h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
  }

  #newsletter p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
  }

  .newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
  }

  .newsletter-form input[type="email"] {
    flex: 1 1 auto;
    padding: 0.8rem;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .newsletter-form button {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    width: 100%;
    max-width: 150px;
  }

  .newsletter-form button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
  }

  /***************************************************
   * CONTACT SECTION
   ***************************************************/
  #contact {
    padding: 5rem 1rem;
    background: #f3f3f3;
  }

  #contact .section-title {
    text-align: center;
    margin-bottom: 3rem;
  }

  #contact .section-title h2 {
    font-size: 2.6rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  #contact .section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 2rem;
  }

  .contact-form .form-control {
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1rem;
  }

  .btn-contact {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 1rem auto 0;
  }

  .btn-contact:hover {
    background-color: var(--dark-color);
    color: var(--primary-color-hover);
    transform: translateY(-2px);
  }

/* WhatsApp Button Styling */
.btn-whatsapp {
background-color: #128C7E; 
color: #fff;
border: none;
border-radius: 50px;
padding: 0.8rem 1.5rem;
font-weight: 600;
text-transform: uppercase;
font-size: 1rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
width: 100%;
max-width: 250px;
margin: 1rem auto 0;
text-decoration: none;
transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp i {
font-size: 1.5rem;  /* Icon size */
}

.btn-whatsapp:hover {
background-color: #1ebe5d;  /* Darker green on hover */
transform: translateY(-2px);
}


  /***************************************************
   * SCROLL TO TOP BUTTON
   ***************************************************/
  #scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.8rem 1rem;
    border-radius: 50%;
    display: none;
    transition: all var(--transition-speed);
  }

  #scrollTopBtn:hover {
    background-color: var(--primary-color-hover);
  }

  /***************************************************
   * FOOTER
   ***************************************************/
  footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    text-align: center;
    padding: 1.5rem 0;
  }

  footer p {
    margin: 0;
    font-weight: 500;
  }

  .custom-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  /***************************************************
   * RESPONSIVE MEDIA QUERIES
   ***************************************************/
  @media (max-width: 992px) {
    .hero-title {
      font-size: 2.3rem;
    }
    .hero-subtitle {
      font-size: 1rem;
    }
  }

  @media (max-width: 768px) {
    .about-wrapper,
    .trainer-profile {
      flex-direction: column;
    }
    .services-cards,
    .pricing-cards {
      grid-template-columns: 1fr !important;
      flex-direction: column;
    }
    .service-card,
    .feature-item,
    .stat-item,
    .pricing-card {
      margin: 1rem auto;
      max-width: 90%;
    }

  }

  @media (max-width: 576px) {
    .navbar-brand {
      font-size: 1.3rem;
    }
    .hero-title {
      font-size: 1.9rem;
    }
    .hero-subtitle {
      font-size: 0.9rem;
    }
    .btn-hero {
      font-size: 0.85rem;
    }
  }


/***************************************************
* BLOG SECTION
***************************************************/
  #blog {
      padding: 5rem 1rem;
      background: var(--light-color);
  }

  #blog .section-title {
      text-align: center;
      margin-bottom: 3rem;
  }

  #blog .section-title h2 {
      font-size: 2.6rem;
      text-transform: uppercase;
      margin-bottom: 1rem;
      font-weight: 700;
  }

  #blog .section-title p {
      max-width: 700px;
      margin: 0 auto;
      color: var(--text-secondary);
      font-size: 1rem;
  }

  .blog-content {
      max-width: 800px;
      margin: 0 auto;
      padding: 2rem;
  }

  .blog-content img {
      width: 100%;
      height: auto;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }

  .blog-content h3 {
      font-size: 2rem;
      margin-bottom: 1rem;
      color: var(--text-color);
  }

  .blog-content p {
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 1rem;
      color: var(--text-secondary);
  }

  .blog-content ul {
      list-style-type: disc;
      padding-left: 1.5rem;
      margin-bottom: 1rem;
  }

  .blog-content ul li {
      margin-bottom: 0.5rem;
  }

/* SERVICES SECTION personal training section */
.services-page .custom-services {
  padding: 5rem 1rem;
  background: var(--bg-base);
}

.services-page .custom-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.services-page .custom-section-title h2 {
  font-size: 2.6rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  color: var(--header-color);
}

.services-page .custom-services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

.services-page .custom-service-card {
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  max-width: 320px;
  text-align: center;
  padding: 2rem;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.services-page .custom-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.services-page .custom-service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-color);
}

.services-page .custom-service-card img {
  width: 100%;         
  height: 200px;     
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: transform var(--transition-speed);
  cursor: pointer;
}

.services-page .custom-service-card img:hover {
  transform: scale(1.06);
}

.services-page .custom-btn-read-more {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: background-color var(--transition-speed);
  text-align: center;
}

.services-page .custom-btn-read-more:hover {
  background-color: var(--primary-color-hover);
}

/* CONTACT SECTION */
.services-page .custom-contact {
  padding: 5rem 1rem;
  background: var(--bg-base);
}

.services-page .custom-contact .custom-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.services-page .custom-contact .custom-section-title h2 {
  font-size: 2.6rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  color: var(--header-color);
}

.services-page .custom-contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 2rem;
}

.services-page .custom-contact-form .form-control {
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 1rem;
}

.services-page .custom-btn-contact {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
  width: 100%;
  max-width: 200px;
  display: block;
  margin: 1rem auto 0;
}

.services-page .custom-btn-contact:hover {
  background-color: var(--dark-color);
  color: var(--primary-color-hover);
  transform: translateY(-2px);
}


/* -----------------------------
 WORKOUT PACKAGES SECTION
------------------------------ */
.services-page .custom-packages {
  padding: 5rem 1rem;
  background: var(--bg-base);
}

.services-page .custom-packages .custom-section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.services-page .custom-packages .custom-section-title h2 {
  font-size: 2.6rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--header-color);
}

.services-page .custom-packages .custom-section-title p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Elegant styling for the common features list */
.services-page .custom-packages .custom-features {
  list-style: none;
  padding: 0;
  margin: 1rem auto 2rem auto;
  max-width: 700px;
}

.services-page .custom-packages .custom-features li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-color);
}

.services-page .custom-packages .custom-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1;
}

/* Cards Container */
.services-page .custom-packages .custom-packages-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.services-page .custom-packages .custom-package-card h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.services-page .custom-packages .custom-package-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.services-page .custom-packages .custom-package-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

/* (Optional) Add check icons to package card items as well */
.services-page .custom-packages .custom-package-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-size: 1rem;
}

/* Hover effect for package cards */
.services-page .custom-packages .custom-package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Highlighted package card styling */
.services-page .custom-packages .custom-package-card.highlight {
  border: 2px solid var(--primary-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
  
/* Package Card Styling */
.services-page .custom-packages .custom-package-card {
  background-color: var(--light-color);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 350px;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* Learn More Button in Package Cards */
.services-page .custom-packages .custom-btn-learn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
  text-decoration: none;
  
  /* Push the button to the bottom of the flex container */
  margin-top: auto;
}

.services-page .custom-packages .custom-btn-learn:hover {
  background-color: var(--primary-color-hover);
  transform: translateY(-2px);
}
