/* ===== VARIABLES ===== */
:root {
  --primary-color: #184928;
  --secondary-color: #f58634;
  --accent-color: #4CAF50;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --text-light: #6c757d;
  --white: #fff;
  --black: #000;
  --font-primary: 'Open Sans', sans-serif;
  --font-secondary: 'Amiri', serif;
  --transition: all .3s ease;
  --box-shadow: 0 5px 15px rgba(0,0,0,.1);
  --border-radius: 8px;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  background-image: url('../images/arabesque.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-color);
  font-family: var(--font-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Overlay to darken or soften background */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 300, 0.9);  /* Light soft overlay */
  z-index: -1;
}


a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem;  }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-subtitle {
  text-align: center;
  color: orange;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.text-center {
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: orange;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #e02a64;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* ===== HEADER STYLES ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 70%, var(--secondary-color) 100%);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header.scrolled {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-color) 70%, var(--secondary-color) 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1001;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.logo-text {
  font-family: 'Amiri', serif;
  font-size: 1.0rem;
  font-weight: 700;
  color: orange;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-item {
  position: relative;
  padding: 10px 0;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  padding: 8px 12px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--white);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  width: 100%;
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-icon {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: var(--border-radius);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
  transform: translateY(15px);
  z-index: 100;
  border-top: 3px solid var(--secondary-color);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.dropdown-menu li {
  padding: 8px 0;
  margin: 0 15px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;
  color: var(--text-color);
  transition: var(--transition);
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.95rem;
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
  color: var(--primary-color);
  background-color: rgba(24,73,40,0.05);
  padding-left: 20px;
}

/* CTA Button */
.cta-button .btn {
  margin-left: 15px;
  padding: 10px 22px;
  font-size: 0.95rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(24,73,40,0.3);
}

.cta-button .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,73,40,0.4);
}

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
}

.bar {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
  left: 0;
}

.bar:nth-child(1) { top: 0; }
.bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
.bar:nth-child(3) { bottom: 0; }

.hamburger.active .bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active .bar:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ===== HERO SECTION ===== */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  margin-top: 40px;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  color: orange;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(48,77,37,.476);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,.3);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.carousel-controls {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 20px;
}

.control {
  background-color: rgba(255,255,255,.2);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.control:hover {
  background-color: var(--secondary-color);
}

.indicators {
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.5);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 80px 0;
  background-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(11, 11, 11, 0.545);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.258);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background-color: var(--secondary-color);
  transform: rotateY(180deg);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* ===== COURSES SECTION ===== */
.courses-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.course-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.447);
}

.course-image-1 {
     max-width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.course-content {
  padding: 20px;
}

.course-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.course-content p {
  margin-bottom: 20px;
  color: var(--text-light);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.testimonial-cards-container {
  display: flex;
  transition: transform .5s ease;
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  padding: 1.5rem;
  box-sizing: border-box;
  transition: all .3s ease;
  opacity: 0;
  transform: scale(.9);
  position: absolute;
  top: 0;
  left: 0;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.testimonial-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
  position: relative;
  margin-bottom: 1.5rem;
}

.quote-icon {
  color: var(--secondary-color);
  opacity: .3;
  font-size: 3rem;
  position: absolute;
  top: 10px;
  left: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: #555;
  position: relative;
  z-index: 1;
  padding-left: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  font-family: 'Amiri', serif;
  color: var(--primary-color);
  margin-bottom: .3rem;
}

.author-info span {
  color: #666;
  font-size: .9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.control {
  background: var(--primary-color);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
}

.control:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.indicators {
  display: flex;
  gap: .8rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all .3s ease;
}

.indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(30,86,49,.9), rgba(30,86,49,.9)), url('../images/cta-og.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-content p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-about {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,.1);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  text-align: center;
}

.copyright {
  margin-bottom: 10px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-legal a {
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 20px;
  width: 30px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 70%;
    height: calc(100vh - 80px);
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 20px;
    transition: var(--transition);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  /* Hide dropdown menu by default on mobile */
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none; /* hide initially */
    padding: 0;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    transform: none; /* no animation needed on mobile */
  }

  /* Show only when active */
  .dropdown-menu.active {
    display: block;
  }

  /* Optional: rotate icon when open */
  .dropdown-toggle.open .dropdown-icon {
    transform: rotate(180deg);
  }
  
  .cta-button {
    margin-top: 20px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 500px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .carousel-controls {
    bottom: 30px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero-section {
  background: linear-gradient(rgba(30,86,49,.8), rgba(30,86,49,.8)), url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  color: #fff;
  text-align: center;
}

.about-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}

.breadcrumbs {
  font-size: 1.1rem;
}

.breadcrumbs a {
  color: #fff;
  opacity: .8;
}

.breadcrumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumbs span {
  color: var(--secondary-color);
  font-weight: 600;
}

.mission-section {
  padding: 80px 0;
  background-color: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mission-content h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.mission-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
}

.stat-item h3 {
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--text-light);
  font-size: .9rem;
}

.values-section {
  padding: 80px 0;
  background-color: transparent;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
  transition: var(--transition);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.value-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.methodology-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.methodology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.methodology-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.methodology-content h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.methodology-steps {
  margin-top: 30px;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 5px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* CEO Section */
.ceo-section {
  padding: 80px 0;
  background-color: #fff;
}

.ceo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.ceo-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.ceo-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.ceo-title {
  display: block;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.ceo-bio p {
  margin-bottom: 15px;
}

.ceo-quote {
  background-color: var(--light-color);
  padding: 25px;
  border-radius: var(--border-radius);
  margin: 25px 0;
  position: relative;
}

.ceo-quote i:first-child {
  position: absolute;
  top: 10px;
  left: 15px;
  color: var(--secondary-color);
  opacity: .3;
  font-size: 2rem;
}

.ceo-quote i:last-child {
  position: absolute;
  bottom: 10px;
  right: 15px;
  color: var(--secondary-color);
  opacity: .3;
  font-size: 2rem;
}

.ceo-quote p {
  font-style: italic;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.ceo-credentials {
  margin-top: 30px;
}

.ceo-credentials h4 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.ceo-credentials ul {
  list-style: none;
}

.ceo-credentials li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.ceo-credentials i {
  color: var(--secondary-color);
  margin-right: 10px;
  margin-top: 3px;
  min-width: 20px;
}

.ceo-social {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.ceo-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.ceo-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
  transition: all 1s ease-out;
}

/* About Page Media Queries */
@media (max-width: 992px) {
  .mission-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mission-image,
  .methodology-image {
    order: -1;
  }
  
  .ceo-grid {
    grid-template-columns: 1fr;
  }
  
  .ceo-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-hero-content h1 {
    font-size: 2.2rem;
  }
  
  .mission-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .teachers-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .mission-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .step {
    flex-direction: column;
    gap: 10px;
  }
}
/* ===== COURSES PAGE SPECIFIC STYLES ===== */

/* Hero Section */
.courses-hero-section {
  background: linear-gradient(rgba(30,86,49,.8), rgba(30,86,49,.8)), url('../images/courses-hero.jpg');
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.courses-hero-content h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.breadcrumbs a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Intro Section */
.courses-intro-section {
  padding: 80px 0;
  background-color: transparent;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.intro-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.intro-features {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}

.feature-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.intro-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.intro-image img {
  transition: var(--transition);
   border-radius: var(--border-radius);
}

/* Main Courses Section */
.main-courses-section {
  padding: 80px 0;
  background-color: transparent;
}

.course-category {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 50px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.course-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.course-category h3 {
  color: white;
}
.category-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.category-icon i {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.category-content {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
}

.course-image {
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
   border-radius: var(--border-radius);
  display: block;
}

.course-category:hover .course-image img {
  transform: scale(1.03);
}

.course-details {
  padding: 30px;
}

.course-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin: 20px 0;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.feature i {
  color: var(--secondary-color);
}

.learning-points {
  margin: 20px 0;
}

.learning-points li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.learning-points i {
  color: var(--secondary-color);
  margin-top: 3px;
}

.course-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

/* Comparison Section */
.comparison-section {
  padding: 80px 0;
  background-color: var(--white);
}

.comparison-table {
  overflow-x: auto;
  margin-top: 30px;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(24, 73, 40, 0.9), rgba(24, 73, 40, 0.9)), 
              url('../images/cta-og.webp') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
/* ✅ FIXED: Ensure .course-category adapts height */
.course-category {
  display: flex;
  flex-direction: column;
  height: auto; /* Remove fixed height */
  overflow: visible; /* Ensure content isn't hidden */
}

/* ✅ FIXED: Ensure .course-details expands */
.course-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  overflow: visible;
}

/* ✅ Optional: Debug outline – remove after testing */
.course-category,
.category-content,
.course-details {
  outline: none; /* Change to '1px dashed red' for debugging */
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-features {
    grid-template-columns: 1fr 1fr;
  }

  .course-features {
    grid-template-columns: 1fr 1fr;
  }

  .category-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .courses-hero-content h1 {
    font-size: 3.5rem;
  }

  .intro-features {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .category-content {
    display: flex;
  }

  .course-image,
  .course-details {
    width: 50%;
    height: 100%;
  }

  .course-image img {
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 3px;
}

.btn, .course-category, .feature-item {
  transition: var(--transition);
}

/* Print styles */
@media print {
  .courses-hero-section, .cta-section {
    background: none !important;
    color: var(--text-color) !important;
    padding: 20px 0 !important;
  }

  .btn, .category-header {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-page {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
}

.breadcrumb {
  padding: 1rem 0;
  background-color: #f8f9fa;
  margin-bottom: 2rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .9rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 .5rem;
  color: #6c757d;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color .3s ease;
}

.breadcrumb a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.breadcrumb [aria-current=page] {
  color: #6c757d;
  font-weight: 600;
}

.contact-hero {
  background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url('../images/contact-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-hero h1 {
  font-family: 'Amiri', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: orange;
}

.contact-hero .subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-section {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.contact-form-section h2 {
  font-family: 'Amiri', serif;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-form-section p {
  margin-bottom: 2rem;
  color: #6c757d;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: .5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(30,86,49,.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.g-recaptcha {
  margin: 1rem 0;
}

.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.contact-info h2 {
  font-family: 'Amiri', serif;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}

.info-card:last-child {
  border-bottom: none;
}

.info-card i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  color: var(--primary-color);
}

.info-card p,
.info-card address {
  margin: .3rem 0;
  color: #555;
  font-style: normal;
}

.info-card a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color .3s ease;
}

.info-card a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.social-links {
  margin-top: 2rem;
}

.social-links h3 {
  font-family: 'Amiri', serif;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  transition: background-color .3s ease, transform .3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.faq-section {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.faq-section h2 {
  font-family: 'Amiri', serif;
  color: var(--primary-color);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border: none;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s ease;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-question i {
  transition: transform .3s ease;
}

.faq-question[aria-expanded=true] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding: 0 0 1.5rem;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Contact Page Media Queries */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-hero .subtitle {
    font-size: 1rem;
  }
  
  .contact-form-section,
  .contact-info {
    padding: 1.5rem;
  }
  
  .info-card {
    padding: 1rem 0;
  }
}

@media (max-width: 576px) {
  .breadcrumb {
    font-size: .8rem;
  }
  
  .contact-hero {
    padding: 2.5rem 0;
  }
  
  .contact-form-section h2,
  .contact-info h2 {
    font-size: 1.5rem;
  }
  
  .faq-section h2 {
    font-size: 1.7rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }
}

/* ===== PRICING PAGE STYLES ===== */
.pricing-page {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
}

.breadcrumb {
  padding: 1rem 0;
  background-color: #f8f9fa;
  margin-bottom: 2rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  font-size: .9rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 .5rem;
  color: #6c757d;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color .3s ease;
}

.breadcrumb a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.breadcrumb [aria-current=page] {
  color: #6c757d;
  font-weight: 600;
}

.pricing-hero {
  background: linear-gradient(rgba(30,86,49,.8), rgba(30,86,49,.8)), url('../images/pricing-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-hero h1 {
  color: orange;
  font-family: 'Amiri', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pricing-hero .subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.plan-card.featured {
  border: 2px solid var(--secondary-color);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background-color: var(--secondary-color);
  color: #fff;
  padding: .3rem 2rem;
  font-size: .8rem;
  font-weight: 600;
  transform: rotate(45deg);
  width: 120px;
  text-align: center;
}

.plan-header {
  padding: 1.5rem;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}

.plan-header h3 {
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  margin-bottom: .5rem;
}

.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .3rem;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.period {
  font-size: .9rem;
  opacity: .9;
}

.plan-features {
  padding: 1.5rem;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.plan-features i {
  color: var(--secondary-color);
  margin-top: .2rem;
}

.plan-cta {
  padding: 0 1.5rem 1.5rem;
  text-align: center;
}

.value-proposition {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,.05);
  text-align: center;
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(30,86,49,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.value-card h3 {
  font-family: 'Amiri', serif;
  color: var(--primary-color);
  margin-bottom: .5rem;
}

.pricing-testimonials {
  padding: 3rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.testimonial-content {
  position: relative;
  margin-bottom: 1rem;
}

.quote-icon {
  color: var(--secondary-color);
  opacity: .3;
  font-size: 2rem;
  position: absolute;
  top: -10px;
  left: -5px;
}

.testimonial-content p {
  padding-left: 2rem;
  font-style: italic;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-family: 'Amiri', serif;
  color: var(--primary-color);
  margin-bottom: .2rem;
}

.author-info span {
  font-size: .9rem;
  color: #6c757d;
}

.pricing-cta {
  background: linear-gradient(rgba(30,86,49,.9), rgba(30,86,49,.9)), url('../images/cta-og.webp');
  background-size: cover;
  background-position: center;
  color: #d8bb16;
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pricing-faq {
  padding: 3rem 0;
  background-color: #f8f9fa;
}

.faq-grid {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  background: #fff;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: #fff;
  border: none;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s ease;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-question i {
  transition: transform .3s ease;
}

.faq-question[aria-expanded=true] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding: 0 0 1.5rem;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }

  .mission-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mission-image,
  .methodology-image {
    order: -1;
  }
  
  .ceo-grid {
    grid-template-columns: 1fr;
  }
  
  .intro-grid,
  .category-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 70%;
    height: calc(100vh - 80px);
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    gap: 20px;
    transition: var(--transition);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    padding: 0;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-toggle.open .dropdown-icon {
    transform: rotate(180deg);
  }

  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .about-hero-content h1 {
    font-size: 2.2rem;
  }
  
  .mission-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .teachers-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .courses-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .intro-content h2 {
    font-size: 2rem;
  }
  
  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 15px;
  }
  
  .category-header h3 {
    font-size: 1.5rem;
  }
  
  .course-cta {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 450px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .carousel-controls {
    bottom: 30px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
  
  .mission-stats,
  .teachers-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .step {
    flex-direction: column;
    gap: 10px;
  }
  
  .courses-hero-content h1 {
    font-size: 2rem;
  }
  
  .intro-features {
    grid-template-columns: 1fr;
  }
  
  .category-content {
    padding: 20px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px;
    font-size: .9rem;
  }
  
  .social-sharing {
    justify-content: center;
  }
  
  .hero-section-class h1 {
    font-size: 1.3rem;
  }
  
  .legend {
    gap: 10px;
    font-size: 0.9rem;
  }
  
  select {
    max-width: 100%;
  }
  
  .btn-book, 
  .btn-join {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
}
/* Trust Badges Section Styles */
.trust-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 40px 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.trust-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.trust-item span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .trust-badges {
        gap: 20px;
    }
    
    .trust-item {
        min-width: 160px;
        padding: 15px;
    }
    
    .trust-item img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .trust-section {
        padding: 40px 0;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .trust-item {
        width: 80%;
        max-width: 250px;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 15px 20px;
    }
    
    .trust-item img {
        margin-bottom: 0;
        margin-right: 15px;
        width: 50px;
        height: 50px;
    }
}