.top_container {
    color: #fff;
    text-align: center;
    padding: 70px;
    max-width: 800px;
    margin: auto;
}

.top_badge {
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 40px;
    font-weight: bold;
    gap: 10px; /* Adds space between the logo and text */
}

.top_logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.top_title {
    font-size: 3em;
    margin: 20px 0;
}

.top_description {
    margin: 0 auto;
    max-width: 700px;
    color: #eeeeee;
    margin-bottom: 30px;
    font-size: 1rem;
}

.top_button_container {
    text-decoration: none;
    display: flex;
    justify-content: center;
}

.top_button {
    margin: 0px;
    background: linear-gradient(90deg, #f3e3c3, #eec063);
    color: #000;
    font-size: 1rem;
    padding: 12px 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 180, 0, 0.3);
    display: inline-block;
    text-align: center;
}

.top_button:hover {
  background: linear-gradient(90deg, #eec063, #f3e3c3);
  transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 180, 0, 0.5);
}

.top_button_container a {
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top_title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .top_container {
        max-width: 80%;
        padding: 30px;
    }
    .top_title {
        font-size: 2em;
    }
    .top_description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .top_container {
        max-width: 80%;
        padding: 20px;
    }
    .top_title {
        font-size: 1.5em;
    }
    .top_description {
        font-size: 0.9em;
    }
    .top_button {
        padding: 10px 20px;
    }
    .top_badge {
        font-size: 18px;
        padding: 5px 10px;
    }
    .top_logo {
        width: 40px;
        height: 40px;
    }
}

.course-container {
    max-width: 1100px;
    width: 100%;
    margin: 0px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
    padding-bottom: 50px;
    justify-items: center; /* Center items horizontally */
    align-items: center;   /* Center items vertically */
}


/* COURSE CARD STYLES */
.course-card {
    background-color: #111;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
}

.course-card h2 {
    font-size: 32px;
    color: #eec063;
}

.course-card h3 {
    color: #eec063;
    font-size: 20px;
    margin: 10px 0;
    font-weight: 600;
}

.course-card p {
    font-size: 14px;
    color: #fff;
}

.course-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 1024px) {
    .course-container {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .course-container {
        width: 80%;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .course-container {
        width: 80%;
        grid-template-columns: 1fr;
    }
}
.testimun_name-section {
    background-color: #0a0a0a;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .testimun_name-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    overflow: hidden;
    margin: 0 auto;
  }
  
  .testimun_name-slider {
    display: flex;
    overflow: hidden;
  }
  
  .testimun_name-wrapper {
    display: flex;
    gap: 80px;
    animation: testimonial-scroll 40s linear infinite;
  }
  
  @keyframes testimonial-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  .testimun_name-logo {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    max-width: 300px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
  }
  
  .testimun_name-title {
    font-size: 22px;
    font-weight: bold;
    color: #eec063;
    white-space: nowrap;
  }
  
  .testimun_name-text {
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    white-space: normal;
  }
  
  .testimun_name-container::before,
  .testimun_name-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
  
  .testimun_name-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0));
  }
  
  .testimun_name-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 10, 10, 1), rgba(10, 10, 10, 0));
  }
  
  /* Responsive Tweaks */
  @media (max-width: 1024px) {
    .testimun_name-container {
      width: 80%;
    }
    .testimun_name-logo {
      min-width: 260px;
    }
    .testimun_name-title {
      font-size: 20px;
    }
    .testimun_name-text {
      font-size: 15px;
    }
  }
  
  @media (max-width: 768px) {
    .testimun_name-container {
      width: 80%;
    }
    .testimun_name-logo {
      min-width: 240px;
    }
    .testimun_name-title {
      font-size: 18px;
    }
    .testimun_name-text {
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .testimun_name-container {
      width: 80%;
    }
    .testimun_name-logo {
      min-width: 220px;
    }
    .testimun_name-title {
      font-size: 16px;
    }
    .testimun_name-text {
      font-size: 13px;
    }
  }
  
  .gallery-wrapper {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.gallery-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 3 / 2;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: 0 0 10px #0002, 0 20px 40px -20px #0004;
  overflow: hidden;
  border-radius: 12px;
}

/* Foreground images */
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: floatImg 12s ease-in-out infinite alternate;
  z-index: 1;
}

/* Animation delays for effect */
.img-1 { animation-delay: 0s; }
.img-2 { animation-delay: 2s; }
.img-3 { animation-delay: 4s; }
.img-4 { animation-delay: 6s; }
.img-5 { animation-delay: 8s; }
.img-6 { animation-delay: 10s; }

/* Background image (blurred effect) */
.img-7 {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.15;
  animation: pulseZoom 16s ease-in-out infinite;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Floating animation */
@keyframes floatImg {
  0% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.05) translateY(-5px); }
  100% { transform: scale(1) translateY(0); }
}

/* Background zoom */
@keyframes pulseZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gallery-grid {
    max-width: 80%;
    aspect-ratio: 3 / 2.2;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    aspect-ratio: 2 / 2.5;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    max-width: 80%;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    aspect-ratio: auto;
    gap: 4px;
  }

  .img-7 {
    display: none; /* Hide background pulse on very small screens */
  }
}

/* MISSION SECTION */
.aboutinfo_mission {
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem 0rem;
  max-width: 1080px;
  margin: auto;
  gap: 2rem;
  box-sizing: border-box;
}

.aboutinfo_mission_text {
  flex: 1;
}
.aboutinfo_mission_text h2{
  color: #e8aa56;

}
.aboutinfo_mission_image {
  flex: 1;
}

.aboutinfo_mission_image img {
  width: 100%;
  border-radius: 10px;
}

/* VISION SECTION */
.aboutinfo_vision {
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
  gap: 2rem;
  box-sizing: border-box;
}

.aboutinfo_vision_image {
  flex: 1;
}

.aboutinfo_vision_text {
  flex: 1;
}
.aboutinfo_vision_text h2{
  color: #e8aa56;

}
.aboutinfo_vision_image img {
  width: 100%;
  border-radius: 10px;
}

/* HEADINGS AND TEXT */
.aboutinfo_mission_text h2,
.aboutinfo_vision_text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.aboutinfo_mission_text p,
.aboutinfo_vision_text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .aboutinfo_mission,
  .aboutinfo_vision {
    flex-direction: column;
    width: 80%;
    gap: 1.5rem; /* Reduce the gap between text and image */
  }

  /* Make the image come first, followed by text */
  .aboutinfo_mission_image {
    order: -1;
  }

  .aboutinfo_vision_image {
    order: -1;
  }

  .aboutinfo_mission_text,
  .aboutinfo_vision_text {
    text-align: center;
    flex: 0 0 auto; /* Prevent the text from stretching too much */
    width: 100%; /* Ensure text takes full width of the container */
  }

  .aboutinfo_mission_image,
  .aboutinfo_vision_image {
    flex: 0 0 auto; /* Prevent the image from stretching too much */
  }
}

@media (max-width: 768px) {
  .aboutinfo_mission,
  .aboutinfo_vision {
    padding: 3rem 1rem;
    gap: 1.5rem; /* Slightly reduce the gap */
  }

  .aboutinfo_mission_text h2,
  .aboutinfo_vision_text h2 {
    font-size: 1.75rem;
  }

  .aboutinfo_mission_text p,
  .aboutinfo_vision_text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .aboutinfo_mission,
  .aboutinfo_vision {
    padding: 2rem 1rem;
    gap: 1rem; /* Further reduce the gap */
  }

  .aboutinfo_mission_text h2,
  .aboutinfo_vision_text h2 {
    font-size: 1.5rem;
  }

  .aboutinfo_mission_text p,
  .aboutinfo_vision_text p {
    font-size: 0.9rem;
  }
}