  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
}

/* MAIN SLIDER WRAPPER */
.hero-slider {
  position: relative;
  height: 70vh;
  width: 100%;
  overflow: hidden;
}

/* EACH SLIDE */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* dark overlay to improve text contrast */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45));
  z-index: 0;
}

/* TEXT CONTENT */
.slide-content {
  position: absolute;
  left: 8%;
  top: 10%;
  transform: translateY(-50%);
  color: white;
  max-width: 680px;
  padding: 12px;
  z-index: 2; /* above overlay */
  animation: fadeInUp 1.2s ease forwards;
}

.slide-content h1 {
  font-size: 50px;
  line-height: 1.05;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.45);
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 20px;
  line-height: 1.5;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.45);
}

/* ANIMATION */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* NAVIGATION BUTTONS */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Responsive adjustments for hero */
@media(max-width: 1024px){
  .slide-content { left: 6%; max-width: 520px; padding-right: 10px; }
  .slide-content h1 { font-size: 36px; }
  .slide-content p { font-size: 16px; }
  .hero-slider { height: 50vh; }
}

@media(max-width: 768px){
  .slide-content { left: 5%; top: 40%; transform: translateY(-40%); max-width: 90%; }
  .slide-content h1 { font-size: 26px; }
  .slide-content p { font-size: 15px; }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 25px;
    top: 42%;
  }
  .hero-slider { height: 40vh; }
}

@media(max-width: 420px){
  .slide-content { top: 35%; transform: translateY(-35%); }
  .slide-content h1 { font-size: 20px; }
  .slide-content p { font-size: 14px; }
  .hero-slider { height: 36vh; }
}


/* ...........................about section.......................... */
.about-section {
  padding: 70px 5%;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* LEFT TEXT */
.about-text {
  flex: 1;
  min-width: 320px;
}

.about-text h2 {
  font-size: 38px;
  margin-bottom: 20px;
  color: #e0a730;
}

body.light-mode .about-text h2 {
  color: #204180;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

body.dark-mode .about-text p {
  color: #ddd;
}

/* BUTTON */
.about-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  font-size: 18px;
  background: #e0a730;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.about-btn:hover {
  background: #c08c22;
}

body.light-mode .about-btn {
  background: #204180;
}

body.light-mode .about-btn:hover {
  background: #163260;
}

/* RIGHT IMAGE */
.about-image {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
@media(max-width: 900px) {
  .about-container {
    flex: grid;
    justify-content: center;
  }
  .about-text h2 {
    font-size: 32px;
  }
  .about-text p {
    font-size: 16px;
  }
  .about-image img {
    max-width: 365px;
  }
}



/*..................................... course section css ....................... */
.courses-section {
  padding: 70px 5%;
  text-align: center;
}

.courses-title {
  font-size: 38px;
  margin-bottom: 40px;
  color: #e0a730;
}

body.light-mode .courses-title {
  color: #204180;
}

.courses-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  background: #1d1d1d;
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  min-height: 250px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  opacity: 0; /* for GSAP */
  transform: translateY(40px); /* initial GSAP position */
}

body.light-mode .course-card {
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.course-icon {
  font-size: 45px;
  color: #e0a730;
  margin-bottom: 15px;
}

body.light-mode .course-icon {
  color: #204180;
}

.course-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive */
@media(max-width: 900px) {
  .courses-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  .courses-container {
    grid-template-columns: 1fr;
  }
}



/* ........................why us ??..................... */
/* Section Base */
.why-section {
  padding: 70px 5%;
  text-align: center;
}

/* Title */
.why-title {
  font-size: 38px;
  margin-bottom: 40px;
  color: #e0a730;
}

body.light-mode .why-title {
  color: #204180;
}

.why-title span {
  color: inherit;
  font-weight: 700;
}

/* Grid Layout */
.why-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* Cards */
.why-card {
  background: #1d1d1d;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
  cursor: pointer;
  min-height: 200px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  opacity: 0; 
  transform: translateY(40px);
}

body.light-mode .why-card {
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Hover */
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Icons */
.why-icon {
  font-size: 45px;
  color: #e0a730;
  margin-bottom: 15px;
}

body.light-mode .why-icon {
  color: #204180;
}

.why-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive */
@media(max-width: 900px) {
  .why-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 600px) {
  .why-container {
    grid-template-columns: 1fr;
  }
}



/*................... gallery section .............. */

.gallery-section {
  padding: 70px 5%;
  text-align: center;
}

.gallery-title {
  font-size: 38px;
  margin-bottom: 30px;
  color: #e0a730;
}
body.light-mode .gallery-title { color: #204180; }

/* HORIZONTAL SCROLL GALLERY */
.horizontal-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* show multiple items in one line */
.gallery-img {
  flex: 0 0 auto;           /* crucial: don't shrink, fixed basis by width */
  width: 260px;             /* adjust as needed */
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transform: translateX(0); /* reset */
  opacity: 0;               /* initial hidden state for GSAP */
}

/* image style */
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.gallery-img:hover img { transform: scale(1.06); }

/* scrollbar styling (optional) */
.horizontal-gallery::-webkit-scrollbar { height: 8px; }
.horizontal-gallery::-webkit-scrollbar-thumb {
  background: #e0a730; border-radius: 4px;
}

body.light-mode .horizontal-gallery::-webkit-scrollbar-thumb {
  background: #204180;
}

/* Responsive: smaller items on mobile */
@media (max-width: 900px) {
  .gallery-img { width: 220px; height: 150px; }
}
@media (max-width: 600px) {
  .gallery-img { width: 180px; height: 130px; }
}




/* ................................. */
.testimonials-section {
  padding: 80px 5%;
  text-align: center;
}

.testimonials-title {
  font-size: 38px;
  margin-bottom: 40px;
  color: #e0a730;
}

body.light-mode .testimonials-title {
  color: #204180;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.testimonial-card {
  background: #1d1d1d;
  padding: 30px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(40px);
  transition: 0.3s;
}

body.light-mode .testimonial-card {
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

/* Image */
.t-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Stars */
.stars {
  color: #e0a730;
  font-size: 18px;
  margin-bottom: 10px;
}

body.light-mode .stars {
  color: #204180;
}

/* Responsive */
@media(max-width: 900px) {
  .testimonials-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media(max-width: 600px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }



}




/* ..........................cta................ */
.cta-section {
  padding: 80px 5%;
  background: #1b1b1b;
  text-align: center;
}

body.light-mode .cta-section {
  background: #f3f3f3;
}

.cta-content h2 {
  font-size: 40px;
  color: #e0a730;
  margin-bottom: 15px;
}

body.light-mode .cta-content h2 {
  color: #204180;
}

.cta-content p {
  font-size: 18px;
  color: #dcdcdc;
  margin-bottom: 30px;
}

body.light-mode .cta-content p {
  color: #333;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 12px 28px;
  background: #e0a730;
  color: #000;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

body.light-mode .cta-btn {
  background: #204180;
  color: #fff;
}

.cta-btn:hover {
  transform: scale(1.05);
}


/* ========================
   GOOGLE MAP SECTION STYLES
   ======================== */

.map-section {
  padding: 70px 5%;
  background: transparent;
  position: relative;
}

body.light-mode .map-section {
  background: transparent;
}

/* Map Title */
.map-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #e0a730;
  text-align: center;
}

body.light-mode .map-title {
  color: #204180;
}

.map-subtitle {
  font-size: 16px;
  text-align: center;
  color: #999;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

body.light-mode .map-subtitle {
  color: #666;
}

/* Map Container */
.map-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Map Wrapper */
.map-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* Map Embed */
.map-embed {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: 500px;
}

.google-map {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* Info Cards Container */
.map-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Info Card */
.info-card {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid #e0a730;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(20px);
}

body.light-mode .info-card {
  background: white;
  border-left-color: #204180;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(224, 167, 48, 0.2);
}

body.light-mode .info-card:hover {
  box-shadow: 0 10px 25px rgba(32, 65, 128, 0.2);
}

/* Info Icon */
.info-icon {
  font-size: 32px;
  color: #e0a730;
  margin-bottom: 15px;
  display: block;
}

body.light-mode .info-icon {
  color: #204180;
}

/* Info Card Heading */
.info-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ddd;
}

body.light-mode .info-card h3 {
  color: #333;
}

/* Info Card Paragraph */
.info-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #bbb;
  margin: 5px 0;
}

body.light-mode .info-card p {
  color: #666;
}

/* Info Card Links */
.info-card a {
  color: #e0a730;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.info-card a:hover {
  color: #fff;
}

body.light-mode .info-card a {
  color: #204180;
}

body.light-mode .info-card a:hover {
  color: #0d1f3c;
}

/* Map CTA */
.map-cta {
  text-align: center;
}

.directions-btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(135deg, #e0a730 0%, #d4932a 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #e0a730;
  cursor: pointer;
}

.directions-btn:hover {
  background: transparent;
  color: #e0a730;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(224, 167, 48, 0.3);
}

body.light-mode .directions-btn {
  background: linear-gradient(135deg, #204180 0%, #152f5f 100%);
  border-color: #204180;
}

body.light-mode .directions-btn:hover {
  background: transparent;
  color: #204180;
  box-shadow: 0 8px 20px rgba(32, 65, 128, 0.3);
}

.directions-btn i {
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .map-wrapper {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .map-embed {
    height: 400px;
  }

  .map-info {
    grid-template-columns: repeat(2, 1fr);
    flex-direction: row;
    gap: 15px;
  }
}

@media (max-width: 900px) {
  .map-title {
    font-size: 32px;
  }

  .map-section {
    padding: 50px 5%;
  }

  .map-embed {
    height: 350px;
  }

  .map-info {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .map-title {
    font-size: 26px;
  }

  .map-subtitle {
    font-size: 14px;
  }

  .map-section {
    padding: 40px 5%;
  }

  .map-embed {
    height: 300px;
  }

  .map-info {
    gap: 12px;
  }

  .info-card {
    padding: 15px;
  }

  .info-card h3 {
    font-size: 16px;
  }

  .info-card p {
    font-size: 13px;
  }

  .directions-btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* ========================
   FAQ SECTION STYLES
   ======================== */

.faq-section {
  padding: 70px 5%;
  background: transparent;
  position: relative;
}

body.dark-mode .faq-section {
  background: transparent;
}

body.light-mode .faq-section {
  background: transparent;
}

/* FAQ Title */
.faq-title {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #e0a730;
  text-align: center;
}

body.light-mode .faq-title {
  color: #204180;
}

.faq-subtitle {
  font-size: 16px;
  text-align: center;
  color: #999;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

body.light-mode .faq-subtitle {
  color: #666;
}

/* FAQ Container */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 40px;
}

/* FAQ Item */
.faq-item {
  border: 2px solid #333;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #1a1a1a;
}

body.light-mode .faq-item {
  border: 2px solid #e0e0e0;
  background: white;
}

.faq-item:hover {
  border-color: #e0a730;
  box-shadow: 0 5px 20px rgba(224, 167, 48, 0.15);
}

body.light-mode .faq-item:hover {
  border-color: #204180;
  box-shadow: 0 5px 20px rgba(32, 65, 128, 0.15);
}

/* FAQ Question (Header) */
.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  background: #222;
  user-select: none;
}

body.light-mode .faq-question {
  background: #f5f5f5;
}

.faq-question:hover {
  background: #2a2a2a;
}

body.light-mode .faq-question:hover {
  background: #e8e8e8;
}

.faq-question.active {
  background: #e0a730;
}

body.light-mode .faq-question.active {
  background: #204180;
}

/* FAQ Question Text */
.faq-text {
  font-size: 16px;
  font-weight: 600;
  color: #ddd;
}

.faq-question.active .faq-text {
  color: white;
}

body.light-mode .faq-text {
  color: #333;
}

body.light-mode .faq-question.active .faq-text {
  color: white;
}

/* FAQ Icon (Plus/Minus) */
.faq-icon {
  font-size: 24px;
  font-weight: bold;
  color: #e0a730;
  transition: transform 0.3s ease;
  min-width: 30px;
  text-align: right;
}

.faq-question.active .faq-icon {
  color: white;
  transform: rotate(45deg);
}

body.light-mode .faq-icon {
  color: #204180;
}

body.light-mode .faq-question.active .faq-icon {
  color: white;
}

/* FAQ Answer (Content) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #1a1a1a;
}

body.light-mode .faq-answer {
  background: white;
}

.faq-answer.active {
  max-height: 500px;
}

.faq-answer p {
  padding: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #ccc;
  margin: 0;
}

body.light-mode .faq-answer p {
  color: #555;
}

/* FAQ CTA */
.faq-cta {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgba(224, 167, 48, 0.1) 0%, rgba(224, 167, 48, 0.05) 100%);
  border-radius: 10px;
  margin-top: 50px;
}

body.light-mode .faq-cta {
  background: linear-gradient(135deg, rgba(32, 65, 128, 0.1) 0%, rgba(32, 65, 128, 0.05) 100%);
}

.faq-cta p {
  font-size: 18px;
  font-weight: 600;
  color: #ddd;
  margin-bottom: 15px;
}

body.light-mode .faq-cta p {
  color: #333;
}

.faq-contact-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #e0a730;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #e0a730;
}

.faq-contact-btn:hover {
  background: transparent;
  color: #e0a730;
  transform: scale(1.05);
}

body.light-mode .faq-contact-btn {
  background: #204180;
  border-color: #204180;
  color: white;
}

body.light-mode .faq-contact-btn:hover {
  background: transparent;
  color: #204180;
}

/* Responsive */
@media (max-width: 900px) {
  .faq-title {
    font-size: 32px;
  }

  .faq-section {
    padding: 50px 5%;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-text {
    font-size: 15px;
  }

  .faq-answer p {
    padding: 15px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .faq-title {
    font-size: 26px;
  }

  .faq-subtitle {
    font-size: 14px;
  }

  .faq-section {
    padding: 40px 5%;
  }

  .faq-question {
    padding: 12px;
  }

  .faq-text {
    font-size: 14px;
  }

  .faq-icon {
    font-size: 20px;
  }

  .faq-answer p {
    padding: 12px;
    font-size: 13px;
  }

  .faq-cta {
    padding: 25px 15px;
  }

  .faq-contact-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}


/* ========================
   SCHEMA VISUAL HELPERS
   (small helpers for accessibility / debug)
   ======================== */

/* Visually hidden utility (screen-reader only) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Optional small badge for schema presence (hidden by default) */
.schema-badge {
  display: inline-block;
  padding: 6px 8px;
  background: rgba(224,167,48,0.95);
  color: #fff;
  font-size: 12px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

@media (prefers-reduced-motion: reduce) {
  .schema-badge { transition: none !important; }
}
