header {
  background-image: url(/images/MLNB\ ACADEMY.jpg);
  background-color: #fff;
  color: #333;
  padding: 20px 0;
  text-align: center;
  position: sticky;
  top: 0;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: #7ecaf1;
}

/* General Styles */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #7ecaf1;
  color: #333;
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
}

/* Header Styles */
#logo {
  max-height: 150px;
  max-width: 500px;
  margin-right: 20px;
}

/* Section Styles */
section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

section p,
section ul {
  font-size: 1.2em;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
}

/* Services Section */
#services img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.services-grid img {
  flex: 1 1 calc(50% - 20px);
}

/* Home Section */
.banner {
  margin-top: 20px;
}

.banner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Slideshow Container */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 10px; /* Optional for rounded corners */
}

/* Slide Images */
.mySlides img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  max-height: 500px; /* Set a max height */
  object-fit: cover; /* Ensure images cover the area without distortion */
}

/* Navigation Buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.next {
  right: 0;
  border-radius: 0 3px 3px 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Trainers Section */
.trainer {
  margin: 20px 0;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.trainer h3 {
  margin: 0 0 10px 0;
  font-size: 1.5em;
}

.trainer p {
  font-size: 1em;
}

/* Appointment Section */
#appointment a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ff6f61;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

#appointment a:hover {
  background-color: #e65b54;
}

#contact-info {
  font-weight: bold;
}
/* Vision/Mission Section*/

.image-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 20px;
}

.image-container img {
  width: 30%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
}

footer p {
  margin: 10px 0;
}

footer a img {
  width: 40px;
  height: 40px;
  margin: 0 5px;
  transition: transform 0.3s ease;
}

footer a img:hover {
  transform: scale(1.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  #logo {
    max-height: 100px;
    max-width: 200px;
  }

  header h1 {
    font-size: 1.8em;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    padding: 10px 15px;
  }

  section {
    padding: 20px 10px;
  }

  section h2 {
    font-size: 1.5em;
  }

  section p,
  section ul {
    font-size: 1em;
  }

  .services-grid img {
    flex: 1 1 100%;
  }

  .image-container img {
    width: 100%;
  }

  footer a img {
    width: 30px;
    height: 30px;
  }
}
