  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
}

.about-hero {
  padding: 80px 5%;
  background: #1b1b1b;
  color: #fff;
}

body.light-mode .about-hero {
  background: #f3f3f3;
  color: #000;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text {
  flex: 1;
  min-width: 320px;
}

.hero-text h1 {
  font-size: 50px;
  margin-bottom: 20px;
  color: #e0a730;
}

body.light-mode .hero-text h1 {
  color: #204180;
}

.hero-text span {
  font-weight: 700;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
 
}

.hero-btn {
  padding: 12px 28px;
  background: #e0a730;
  color: #000;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  transform: scale(1.05);
}

body.light-mode .hero-btn {
  background: #204180;
  color: #fff;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  text-align: center;
}

.hero-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* VERTICAL TEXT */
.vertical-text {
  position: absolute;
  top: 25%;
  right: -50px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 24px;
  color: #e0a730;
  font-weight: bold;
}

body.light-mode .vertical-text {
  color: #204180;
}

/* Responsive */
@media(max-width: 900px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-text h1 { font-size: 35px; }
  .hero-text p { font-size: 17px; }
  .vertical-text { display: none; }
  .hero-buttons {
    justify-content: center;
  }
}

@media(max-width: 600px) {
  .hero-text h1 { font-size: 30px; }
  .hero-text p { font-size: 14px; }
  .hero-btn { font-size: 16px; padding: 10px 22px;  }
}
/* HERO IMAGE FLIP ON HOVER */
.hero-image img{
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.hero-image img:hover {
  transform: rotateY(40deg) rotateX(-30deg) scale(1.02);
}


/* .............our story............ */
.our-story {
  padding: 80px 5%;
  background: #1d1d1d;
  color: #fff;
}

body.light-mode .our-story {
  background: #f9f9f9;
  color: #000;
}

.story-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* IMAGE */
.story-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.story-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* DIVIDER */
.story-divider {
  width: 2px;
  background: #e0a730;
  height: 300px;
}

body.light-mode .story-divider {
  background: #204180;
}

/* TEXT */
.story-text {
  flex: 1;
  min-width: 300px;
}

.story-text h2 {
  font-size: 38px;
  color: #e0a730;
  margin-bottom: 20px;
}

body.light-mode .story-text h2 {
  color: #204180;
}

.story-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

body.dark-mode .story-text p {
  color: #ddd;
}

.story-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  font-size: 18px;
  background: #e0a730;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.story-btn:hover {
  background: #c08c22;
}

body.light-mode .story-btn {
  background: #204180;
  color: #fff;
}

body.light-mode .story-btn:hover {
  background: #163260;
}

/* Responsive */
@media(max-width: 900px) {
  .story-container {
    flex-direction: column;
    text-align: center;
  }
  .story-divider {
    width: 50px;
    height: 2px;
    margin: 20px auto;
  }
  .story-text h2 { font-size: 32px; }
  .story-text p { font-size: 16px; }
  .story-image img { max-width: 350px; }
}

@media(max-width: 600px) {
  .story-text h2 { font-size: 28px; }
  .story-text p { font-size: 14px; }
  .story-btn { font-size: 16px; padding: 10px 20px; }
  .story-image img { max-width: 300px; }
}



/* .................our mission .................... */

.mission-vision {
  padding: 80px 5%;
  text-align: center;
  background: #1b1b1b;
  color: #fff;
}

body.light-mode .mission-vision {
  background: #f9f9f9;
  color: #000;
}

.mv-title {
  font-size: 38px;
  margin-bottom: 50px;
  color: #e0a730;
}

body.light-mode .mv-title {
  color: #204180;
}

.mv-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Cards */
.mv-card {
  background: #1d1d1d;
  padding: 30px;
  border-radius: 12px;
  width: 350px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  text-align: center;
  opacity: 0; /* for GSAP animation */
  transform: translateY(40px); /* initial position */
}

body.light-mode .mv-card {
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mv-icon {
  font-size: 50px;
  color: #e0a730;
  margin-bottom: 15px;
}

body.light-mode .mv-icon {
  color: #204180;
}

.mv-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.mv-card p {
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive */
@media(max-width: 900px) {
  .mv-container {
    flex-direction: column;
    align-items: center;
  }
  .mv-card { width: 80%; }
}

@media(max-width: 600px) {
  .mv-title { font-size: 32px; }
  .mv-card h3 { font-size: 20px; }
  .mv-card p { font-size: 14px; }
}



/* .........last ................ */
/* QUOTE SECTION */
.quote {
  padding: 80px 8%;
  text-align: center;
  background: #141414;
  color: #fff;
}

body.light-mode .quote {
  background: #f4f4f4;
  color: #000;
}

.quote h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #e0a730;
}

body.light-mode .quote h2 {
  color: #204180;
}

.quote p {
  font-size: 18px;
  opacity: 0.85;
}

/* CTA DIAGONAL SECTION */
.cta-diag {
  position: relative;
  padding: 90px 8%;
  background: linear-gradient(135deg, #e0a730 0%, #c58a22 100%);
  color: #fff;
  clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
}

body.light-mode .cta-diag {
  background: linear-gradient(135deg, #204180, #12305e);
}

.cta-diag-content {
  text-align: center;
}

.cta-diag h3 {
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: 700;
}

/* CTA Button Container */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.small-btn {
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Primary Button */
.btn-primary {
  background: #000;
  color: #fff;
}

.btn-primary:hover {
  background: #222;
}

/* Outline Button */
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* Light Mode Fix for Outline */
body.light-mode .btn-outline {
  border-color: #fff;
}

/* Responsive */
@media(max-width: 768px) {
  .quote h2 { font-size: 28px; }
  .quote p { font-size: 16px; }

  .cta-diag h3 { font-size: 26px; }
  .small-btn { font-size: 16px; padding: 10px 20px; }
}


/* .................COURSES LISTING SECTION.................... */
.courses-listing {
  padding: 80px 5%;
  background: #1b1b1b;
  color: #fff;
}

body.light-mode .courses-listing {
  background: #f9f9f9;
  color: #000;
}

.courses-container {
  max-width: 1200px;
  margin: 0 auto;
}

.courses-heading {
  font-size: 42px;
  color: #e0a730;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

body.light-mode .courses-heading {
  color: #204180;
}

.courses-intro {
  font-size: 18px;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.course-card {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  border-left: 4px solid #e0a730;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease forwards;
}

body.light-mode .course-card {
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-left-color: #204180;
}

.course-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #e0a730;
}

body.light-mode .course-card h3 {
  color: #204180;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(224, 167, 48, 0.2);
}

body.light-mode .course-card:hover {
  box-shadow: 0 10px 30px rgba(32, 65, 128, 0.2);
}

/* Staggered Animation */
.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }
.course-card:nth-child(5) { animation-delay: 0.5s; }
.course-card:nth-child(6) { animation-delay: 0.6s; }
.course-card:nth-child(7) { animation-delay: 0.7s; }
.course-card:nth-child(8) { animation-delay: 0.8s; }
.course-card:nth-child(9) { animation-delay: 0.9s; }
.course-card:nth-child(10) { animation-delay: 1s; }

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.courses-closing {
  font-size: 17px;
  text-align: center;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  padding: 20px;
  background: rgba(224, 167, 48, 0.1);
  border-radius: 8px;
  border-left: 4px solid #e0a730;
}

body.light-mode .courses-closing {
  background: rgba(32, 65, 128, 0.05);
  border-left-color: #204180;
}

/* Responsive */
@media(max-width: 900px) {
  .courses-heading { font-size: 36px; }
  .course-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media(max-width: 600px) {
  .courses-heading { font-size: 28px; }
  .courses-intro { font-size: 16px; }
  .courses-closing { font-size: 15px; }
  .course-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .course-card {
    padding: 20px;
  }
  .course-card h3 { font-size: 16px; }
}
