html, body {
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fff;
}



/* footer */

.ms-footer {
  background-color: #1b1b1b;
  color: #d3d3d3;
  font-family: 'Segoe UI', sans-serif;
  padding: 40px 20px 10px;
  position: relative;
  margin-top: auto;
}

.ms-footer-container {
  max-width: 1200px;
  margin: auto;
}

.ms-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid #333;
  padding-bottom: 30px;
}

.ms-footer-col {
  flex: 1 1 200px;
}

.ms-footer-col h4 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

.ms-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ms-footer-col ul li {
  margin-bottom: 8px;
}

.ms-footer-col ul li a {
  color: #d3d3d3;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.ms-footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.ms-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 13px;
}

.language-select {
  color: #aaa;
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 999;
}

#backToTopBtn:hover {
  background-color: #fff;
  color: #000;
}

/* Responsive */
@media (max-width: 768px) {
  .ms-footer-links {
    flex-direction: column;
  }

  .ms-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* header */
header {
    max-width: 1200px; 
    margin: auto;   
    background-color: #ffff;
    width: 100%;
    display: flex;
    justify-content: space-between;
   /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    text-align: center;
    align-items: center;
    padding: 5px 5px;    
    position: relative;    
}
.logo img {
    height: 90px;
}

/* navigation menu */
.menu {
    position: relative;
    display: inline-block;
}

.menu ul {
    position: relative;
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}
.menu ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: rgb(87, 87, 87);
    font-weight: 500;    
    padding: 10px 12px;
    border-radius: 10px;    
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.menu ul li a:hover {    
    color: #ffff;
    background-color: orangered;     
}
.menu ul li a.active {
     
    background-color: orangered;
    color: #ffff;
    
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
}







@media screen and (max-width: 768px){
    .logo img {
        height: 60px;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: white;
        border: 1px solid #ccc;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        border-radius: 5px;        
        z-index: 1000;   
        width: 100%;
        text-align: center;
    }
    .menu ul {
        flex-direction: column;
        gap: 15px;
    }
    .menu ul li {
        padding: 10px;
    }
    .menu ul li:hover {
        background-color: #f0f0f0;
    }
    .hamburger {
        display: block;
    }
    .menu.active {
        display: flex;
    }
}
.msg{
    width: 100%;
    color:white;
    background-color:red;
}



/* Avatar & User Menu */
.avatar {
    display: flex;
    align-items: center;    
}
.avatar ul {
    list-style: none;
}
.avatar ul li a {
    text-decoration: none;
    color: white;
    background-color:orangered;
    padding: 10px 12px;
    border-radius: 10px;   
}
.avatar ul li a:hover {
    background-color: orange;
}
.avatar ul li a.active {
    background-color: orange;
}

/* user info avatar dropdown */
.user-menu {
    position: relative;
    display: inline-block;
    cursor: pointer;
    
    
}
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.user-info:hover {
    background-color: #f0f0f0;
}

.user-icon {
    font-size: 20px;
    color: #444;
}

.dropdown-arrow {
    font-size: 30px;
    color: #666;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    width: 150px;
    z-index: 1000;  
    padding: 0; 
}
.dropdown-menu li {
    list-style: none;
    padding: 5px;
    text-align: center;
}
.dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
}
.dropdown-menu li:hover {
    background-color: #f0f0f0;
}









.section {
    text-align: center;
    padding: 20px 10px;
    max-width: 1200px;    
    margin: auto;
    border-radius: 10px;
    
    
}
.features {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
    
}

.feature-box {
    flex: 1;
    min-width: 300px;    
    background-color: #ffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.feature-box h3 {
    margin-top: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.feature-box p {
    font-size: 16px;
    color: #666;
    padding: 10px;
}

.hero-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: orangered;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: darkorange;
}

/* about us section on home page*/
.about-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

/* LEFT: 60% width */
.about-left {
    flex: 0 0 40%;
    max-width: 40%;
    
}



/* RIGHT: 40% width */
.about-right {
    flex: 0 0 60%;
    max-width: 60%;
}

.about-right h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Carousel */
.carousel-container {
    overflow: hidden;
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 10px;
}

.carousel-track {
  display: flex;
  width: max-content; /* let content define width */
  animation: scroll-left 30s linear infinite;
}

.carousel-track img {
  height: 400px;
  width: auto; /* or fixed like 300px */
  object-fit: contain;
  margin-right: 10px;
  border-radius: 10px;
  flex-shrink: 0;
}





/* Animation */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* You duplicate exactly the same images */
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-left,
    .about-right {
        max-width: 100%;
        flex: 100%;
    }
    
    .carousel-track {
        display: flex;
        width: max-content; /* let content define width */
    }

    .carousel-track img {
        height: 220px;
        width: auto; /* or fixed like 300px */
        
    }

    .carousel-container {
        height: 220px;
        width: 100%;
    }
}




/* Coach Dropdown Styling */
#coachSelect {
  width: 250px;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;   /* Light background */
  color: #000;              /* Dark text */
  margin: 10px 0;
  outline: none;
  appearance: none; /* Optional: removes native arrow on some browsers */
}

#coachSelect option {
  background-color: #fff;
  color: #000;
  padding: 8px;
  font-size: 15px;
}


