/* CSS Variables for Color Scheme */
:root {
    --primary: #14532d;
    --secondary: #22c55e;
    --accent: #eab308;
    --background: #ffffff;
    --background-alt: #fafaf5;
    --text-dark: #1e293b;
    --text-muted: #6b7280;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    line-height: 1.3;
    word-wrap: break-word;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
    word-wrap: break-word;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
}

/* ----------- Top Bar ----------- */
.top-bar {
  background: #0f3e21;
  color: white;
  font-size: 0.95rem;
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000; /* Always on top */
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

.flag-icon {
  width: 24px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
}

.phone {
  margin-right: 15px;
  color: #fff;
  font-weight: 600;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social {
  color: white;
  font-size: 1rem;
  transition: color 0.3s;
}

.social:hover {
  color: #ffd700;
}

.btn-top {
  background: #ffd700;
  color: #14532d;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-top:hover {
  background: #f7c600;
}

/* Mobile Responsive - Top Bar */
@media (max-width: 768px) {
  .top-bar-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .top-right {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ----------- Header ----------- */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;

}

/* Header fixed below Top Bar */
header {
  background-color: #14532d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 48px; /* directly below top-bar */
  left: 0;
  width: 100%;
  z-index: 1500; /* below top-bar */
}

/* Header container */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 55px;
  width: auto;
  max-width: 100%;
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a i {
  font-size: 1.1rem;
  color: #eab308;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #eab308;
}

.nav-menu a:hover i {
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #ffd700;
  z-index: 1600;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Mobile Menu ---------- */
@media (max-width: 768px) {
  /* Adjust header and nav for mobile */
  header {
    top: 70px; /* below top bar */
  }

 body:not(.home) {
  padding-top: calc(70px + 80px);
}


  .nav-menu {
    flex-direction: column;
    position: fixed;
    top: 70px; /* same as header top */
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: #14532d;
    text-align: center;
    padding-top: 80px;
    transition: right 0.3s ease;
    z-index: 1400;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .nav-menu a {
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
  }

  .hamburger {
    display: block;
  }

  .nav-menu.active::before {
    content: '';
    position: fixed;
    top: 70px;
    right: 80%;
    width: 20%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
}

/* Hero Section */
.hero {
    background: linear-gradient(
        rgba(20, 83, 45, 0.5),
        rgba(20, 83, 45, 0.5)
    ), url('heroh.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    min-height: 100vh; /* full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .btn {
    background-color: #14532d;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    margin: 0 10px;
    min-width: 180px;
    display: inline-block;
}

.hero .btn:hover {
    background-color: #166534;
}

.hero .btn-outline {
    background: transparent;
    border: 2px solid white;
}

.hero .btn-outline:hover {
    background: white;
    color: #14532d;
}



/* 3 step */
/* Learn Quran Section */
.learn-quran {
  background: var(--background-alt);
  text-align: center;
  padding: 100px 20px;
  color: var(--text-dark);
}

/* 🔹 Bismillah Image — 3x Bigger */
.bismillah-img {
  width: 900px;          /* 180px × 3 = 540px, par large screens ke liye thoda aur boost */
  max-width: 90vw;       /* Taake mobile ya small screen pe overflow na ho */
  height: auto;
  margin-bottom: 40px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Adjustment */
@media (max-width: 1024px) {
  .bismillah-img {
    width: 600px;
  }
}

@media (max-width: 768px) {
  .bismillah-img {
    width: 400px;
  }
}

@media (max-width: 480px) {
  .bismillah-img {
    width: 280px;
  }
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Steps */
.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.step {
  background: var(--background);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: var(--secondary);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.step h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

/* Enroll Button */
.btn-enroll {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 35px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}



/* About Section */
.about {
    background-color: var(--background-alt);
}

.mission-vision-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.mission-section, .vision-section {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-text, .vision-text {
    flex: 1;
}

.mission-image, .vision-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-image img, .vision-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.mission-image:hover img, .vision-image:hover img {
    transform: scale(1.05);
}

.about-details {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.detail-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.detail-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.detail-card h4 i {
    margin-right: 10px;
    color: var(--accent);
    font-size: 1.5rem;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.course-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.course-content li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-choose {
  background: var(--background);
  text-align: center;
  padding: 100px 20px;
}

.why-choose .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 50px;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 70px;
}

.stat {
  background: var(--background-alt);
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.stat p {
  font-size: 1.1rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Programs */
.programs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
}

.program {
  background: var(--background-alt);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  max-width: 220px;
  transition: all 0.3s ease;
}

.program:hover {
  transform: translateY(-8px);
  background: var(--secondary);
  color: white;
}

.program i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.program:hover i {
  color: white;
}

.program h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.program p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.program:hover p {
  color: white;
}

/* Button */
.btn-book {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 35px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-book:hover {
  background: var(--secondary);
}

/* Teachers Section */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.teacher-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-image {
    height: 250px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-info {
    padding: 20px;
}

.teacher-info h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.teacher-title {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Pricing Plans Section */
.pricing-plans {
    background-color: var(--background-alt);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: white;
    padding: 0.5rem 2rem;
    font-weight: 600;
    transform: rotate(45deg);
    font-size: 0.9rem;
    z-index: 1;
}

.pricing-header {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: white;
}

.price-container {
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.original-price {
    text-decoration: line-through;
    font-size: 1.3rem;
    opacity: 0.7;
    margin-right: 0.5rem;
}

.discount-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.pricing-features i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.pricing-features .fa-check {
    color: var(--secondary);
}

.pricing-features .fa-times {
    color: #e74c3c;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.pricing-button:hover {
    background: var(--secondary);
}

.featured .pricing-button {
    background: var(--accent);
}

.featured .pricing-button:hover {
    background: #d69c06;
}

/* Savings Calculator */
.savings-calculator {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 4rem auto;
    max-width: 800px;
}

.calculator-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.6rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.calculator-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: 8px;
}

.calculator-item h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.calculator-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.calculator-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.3s ease;
}

.testimonial {
    min-width: 100%;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: var(--secondary);
}

/* Contact Section */
.contact {
    background-color: var(--background-alt);
    padding: 5rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

#contact-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
}

#contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 3rem;
    padding: 0 2rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

#contact-info-title {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

#contact-info-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
    margin-bottom: 2.5rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-details li i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details li span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

/* Footer */
footer {
    background: #14532d;
    color: #ccc;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links li i {
    margin-right: 8px;
    color: #ffd700;
    width: 16px;
    text-align: center;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
}

/* Social Links */
.footer-col .social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.footer-col .social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    background: #ffd700;
    color: #222;
    transform: translateY(-3px);
}

/* Copyright */
.copyright {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    border-top: 1px solid #444;
    padding-top: 1.5rem;
}

.copyright-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.copyright-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
}

.copyright-links a:hover {
    color: #ffd700;
}

.codigency {
    color: #ffd700;
    font-weight: bold;
    text-decoration: none;
}

/* Footer Logo */
.footer-logo {
    max-width: 180px;
    margin-bottom: 1rem;
    display: block;
    height: auto;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    font-size: 28px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.4s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-button:hover {
    background-color: #20b954;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-button i {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover i {
    transform: scale(1.1);
}

/* Pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========== MOBILE RESPONSIVE FIXES ========== */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .mission-section, .vision-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .vision-section {
        flex-direction: column-reverse;
    }
    
    .mission-image, .vision-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .popular-badge {
        right: -25px;
        padding: 0.4rem 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 120px 0 60px;
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .hero .btn {
        display: block;
        width: 200px;
        margin: 10px auto;
    }
    
    .about-details {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .detail-card {
        padding: 20px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature {
        padding: 25px 15px;
    }
    
    .teachers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-header {
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .savings-calculator {
        padding: 2rem;
        margin: 3rem auto;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 1rem;
    }
    
    #contact-title {
        font-size: 1.8rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    .contact-details li {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .contact-details li i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col .social-links {
        justify-content: center;
    }
    
    .copyright-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .whatsapp-button {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .mission-vision-container {
        gap: 40px;
    }
    
    .mission-text, .vision-text {
        text-align: center;
    }
    
    .pricing-header {
        padding: 1.5rem 1rem;
    }
    
    .pricing-features {
        padding: 1.5rem;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.8rem;
    }
    
    .footer-logo {
        max-width: 150px;
    }
}

/* Fix for text overflow */
.text-overflow-fix {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for long words */
.long-word-fix {
    word-break: break-word;
}

/* Mobile menu overlay fix */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-menu-overlay.active {
    display: block;
}

























        /*about Section */
        #about-hero {
            background: linear-gradient(
                rgba(20, 83, 45, 0.4),
                rgba(20, 83, 45, 0.4)
            ), url('6.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            padding: 12rem 0 6rem;
            text-align: center;
            margin-top: -80px;
            animation: fadeIn 1.5s ease-out;
        }
        
        #about-hero h1 {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            margin-bottom: 1.5rem;
            animation: slideInDown 1s ease-out 0.3s both;
        }
        
        #about-hero p {
            font-size: clamp(1rem, 2.5vw, 1.3rem);
            max-width: 800px;
            margin: 0 auto;
            animation: slideInUp 1s ease-out 0.6s both;
        }
        
        /* Section Styles */
        section {
            padding: 4rem 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .section-title h2 {
            font-size: clamp(2rem, 4vw, 2.5rem);
            position: relative;
            display: inline-block;
            padding-bottom: 1rem;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background-color: var(--accent);
        }
        
        .section-title p {
            max-width: 700px;
            margin: 1.5rem auto 0;
            color: var(--text-muted);
        }
        
        /* Mission Section */
        #mission {
            background-color: var(--background-alt);
        }
        
        .mission-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: center;
        }
        
        @media (min-width: 768px) {
            .mission-content {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        .mission-image {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            opacity: 0;
            transform: translateX(-50px);
            animation: slideInLeft 1s ease-out 0.3s forwards;
        }
        
        .mission-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }
        
        .mission-image:hover img {
            transform: scale(1.05);
        }
        
        .mission-text {
            opacity: 0;
            transform: translateX(50px);
            animation: slideInRight 1s ease-out 0.3s forwards;
        }
        
        .mission-text h3 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            margin-bottom: 1.5rem;
            color: var(--primary);
        }
        
        .mission-text p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }
        
        /* Values Section */
        #values {
            padding: 4rem 0;
        }
        
        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .value-card {
            background: white;
            padding: 2rem 1.5rem;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out forwards;
        }
        
        .value-card:nth-child(1) {
            animation-delay: 0.2s;
        }
        
        .value-card:nth-child(2) {
            animation-delay: 0.4s;
        }
        
        .value-card:nth-child(3) {
            animation-delay: 0.6s;
        }
        
        .value-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        }
        
        .value-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 1.8rem;
        }
        
        .value-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }
        
        /* Teachers Section */
        #teachers {
            background-color: var(--background-alt);
        }
        
        .teachers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }
        
        .teacher-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out forwards;
        }
        
        .teacher-card:nth-child(1) {
            animation-delay: 0.2s;
        }
        
        .teacher-card:nth-child(2) {
            animation-delay: 0.4s;
        }
        
        .teacher-card:nth-child(3) {
            animation-delay: 0.6s;
        }
        
        .teacher-card:hover {
            transform: translateY(-10px);
        }
        
        .teacher-image {
            height: 250px;
            overflow: hidden;
        }
        
        @media (min-width: 768px) {
            .teacher-image {
                height: 300px;
            }
        }
        
        .teacher-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .teacher-card:hover .teacher-image img {
            transform: scale(1.1);
        }
        
        .teacher-info {
            padding: 1.5rem;
        }
        
        .teacher-info h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--primary);
        }
        
        .teacher-role {
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        /* History Section */
        #history {
            padding: 4rem 0;
        }
        
        .history-timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .history-timeline::before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 4px;
            background: var(--secondary);
        }
        
        @media (min-width: 768px) {
            .history-timeline::before {
                left: 50%;
                transform: translateX(-50%);
            }
        }
        
        .timeline-item {
            position: relative;
            margin-bottom: 3rem;
            width: 100%;
            padding-left: 60px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease-out forwards;
        }
        
        .timeline-item:nth-child(1) {
            animation-delay: 0.2s;
        }
        
        .timeline-item:nth-child(2) {
            animation-delay: 0.4s;
        }
        
        .timeline-item:nth-child(3) {
            animation-delay: 0.6s;
        }
        
        .timeline-item:nth-child(4) {
            animation-delay: 0.8s;
        }
        
        .timeline-item:nth-child(5) {
            animation-delay: 1s;
        }
        
        @media (min-width: 768px) {
            .timeline-item {
                width: 50%;
                padding-left: 0;
            }
            
            .timeline-item:nth-child(odd) {
                left: 0;
                padding-right: 3rem;
                text-align: right;
            }
            
            .timeline-item:nth-child(even) {
                left: 50%;
                padding-left: 3rem;
            }
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 20px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--accent);
            z-index: 1;
        }
        
        @media (min-width: 768px) {
            .timeline-item::after {
                left: auto;
            }
            
            .timeline-item:nth-child(odd)::after {
                right: -10px;
            }
            
            .timeline-item:nth-child(even)::after {
                left: -10px;
            }
        }
        
        .timeline-content {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        .timeline-year {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
        
        /* CTA Section */
        #cta-section {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            text-align: center;
            padding: 4rem 0;
            opacity: 0;
            animation: fadeIn 1s ease-out 0.5s forwards;
        }
        
        #cta-section h2 {
            font-size: clamp(2rem, 4vw, 2.5rem);
            margin-bottom: 1.5rem;
        }
        
        #cta-section p {
            font-size: clamp(1rem, 2.5vw, 1.2rem);
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        
        .cta-button {
            display: inline-block;
            padding: 1rem 2rem;
            background-color: var(--accent);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }
        
        .cta-button:hover {
            background-color: #d69c06;
            transform: scale(1.05);
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }


/* Courses Page Styles */
/* Hero Section */
#courses-hero {
    background: linear-gradient(
        rgba(20, 83, 45, 0.4),
        rgba(20, 83, 45, 0.4)
    ), url('3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 12rem 0 6rem;
    text-align: center;
    margin-top: -80px;
    position: relative;
    overflow: hidden;
    animation: heroZoom 25s ease-in-out infinite;
}

@keyframes heroZoom {
    0%, 100% { background-size: 100%; }
    50% { background-size: 110%; }
}

#courses-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(20, 83, 45, 0.3), rgba(34, 197, 94, 0.2));
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

#courses-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: titleSlideDown 1s ease-out;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes titleSlideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#courses-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    animation: subtitleFadeIn 1s ease-out 0.3s both;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: expandWidth 1s ease-out 0.5s both;
    border-radius: 2px;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

.section-title p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: cardSlideUp 0.8s ease-out forwards;
}

.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; }

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.course-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-image::before {
    opacity: 1;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

.course-card:hover .course-image img {
    transform: scale(1.15);
    filter: brightness(1);
}

.course-content {
    padding: 2rem;
    position: relative;
}

.course-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: categoryPulse 2s ease-in-out infinite;
}

@keyframes categoryPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.course-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.course-card:hover .course-content h3 {
    color: var(--secondary);
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.course-card:hover .course-meta span {
    color: var(--primary);
}

.course-meta i {
    margin-right: 0.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.course-card:hover .course-meta i {
    transform: scale(1.2);
}

.course-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.course-card:hover .course-content p {
    color: var(--text-dark);
}

.course-features {
    margin-bottom: 2rem;
}

.course-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.6s ease-out forwards;
}

.course-features li:nth-child(1) { animation-delay: 0.4s; }
.course-features li:nth-child(2) { animation-delay: 0.5s; }
.course-features li:nth-child(3) { animation-delay: 0.6s; }
.course-features li:nth-child(4) { animation-delay: 0.7s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.course-features i {
    color: var(--secondary);
    margin-right: 0.8rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.course-features li:hover i {
    color: var(--accent);
    transform: scale(1.3) rotate(10deg);
}

.course-button {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.course-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.course-button:hover::before {
    left: 100%;
}

.course-button:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

/* Learning Path Section */
#learning-path {
    background: linear-gradient(135deg, var(--background-alt) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

#learning-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.02"><path fill="%2314532d" d="M50 0L100 50L50 100L0 50Z"/></svg>');
    animation: floatBackground 20s linear infinite;
}

@keyframes floatBackground {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.path-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.path-step {
    display: flex;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
}

.path-step:nth-child(1) { animation-delay: 0.1s; }
.path-step:nth-child(2) { animation-delay: 0.2s; }
.path-step:nth-child(3) { animation-delay: 0.3s; }
.path-step:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.path-step:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
    animation-name: slideInRight;
}

.path-icon {
    flex: 0 0 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.path-step:hover .path-icon {
    animation: iconSpin 0.6s ease;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

@keyframes iconSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.path-content {
    flex: 1;
}

.path-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.path-step:hover .path-content h3 {
    color: var(--secondary);
}

.path-content p {
    line-height: 1.7;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* Testimonials Section */
#testimonials {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--background-alt);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: height 0.4s ease;
}

.testimonial-card:hover::before {
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-text {
    color: var(--primary);
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    opacity: 0.3;
    line-height: 1;
    animation: quoteFloat 3s ease-in-out infinite;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author {
    color: var(--secondary);
}

.testimonial-course {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* CTA Section */
#cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

#cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><polygon points="50,0 100,50 50,100 0,50" fill="white"/></svg>');
    animation: ctaBackground 20s linear infinite;
}

@keyframes ctaBackground {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(-50px) rotate(360deg); }
}

#cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

#cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: ctaPulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.3);
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(234, 179, 8, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(234, 179, 8, 0.5);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
   
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(234, 179, 8, 0.4);
    background: #d69c06;
}

/* ========== MOBILE RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    
    .path-step {
        margin-bottom: 3rem;
    }
}

@media (max-width: 992px) {
    #courses-hero {
        padding: 10rem 0 5rem;
    }
    
    #courses-hero h1 {
        font-size: 3rem;
    }
    
    #courses-hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .path-step {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 2.5rem;
    }
    
    .path-icon {
        margin: 0 auto 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    #courses-hero {
        padding: 8rem 0 4rem;
        background-attachment: scroll;
        margin-top: 0;
    }
    
    #courses-hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    #courses-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .courses-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .course-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .course-content {
        padding: 1.5rem;
    }
    
    .course-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .path-container {
        padding: 0 1rem;
    }
    
    .path-step {
        margin-bottom: 2rem;
    }
    
    .path-icon {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    
    .path-content h3 {
        font-size: 1.3rem;
    }
    
    .testimonials-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    #cta-section {
        padding: 4rem 1rem;
    }
    
    #cta-section h2 {
        font-size: 2rem;
    }
    
    #cta-section p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    #courses-hero {
        padding: 7rem 0 3rem;
    }
    
    #courses-hero h1 {
        font-size: 2rem;
    }
    
    #courses-hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .course-card {
        border-radius: 12px;
    }
    
    .course-content {
        padding: 1.25rem;
    }
    
    .course-content h3 {
        font-size: 1.3rem;
    }
    
    .course-features li {
        font-size: 0.9rem;
    }
    
    .path-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .path-content h3 {
        font-size: 1.2rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-text::before {
        font-size: 3rem;
        top: -1rem;
        left: -0.5rem;
    }
    
    #cta-section {
        padding: 3rem 1rem;
    }
    
    #cta-section h2 {
        font-size: 1.7rem;
    }
    
    #cta-section p {
        font-size: 1rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    #courses-hero {
        animation: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .course-card:hover {
        transform: none;
    }
    
    .course-card:hover .course-image img {
        transform: none;
    }
    
    .path-step:hover .path-icon {
        animation: iconFloat 3s ease-in-out infinite;
    }
    
    .testimonial-card:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
        animation: ctaPulse 2s ease-in-out infinite;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary);
}




/* Pricing Page Styles */
/* Pricing Page Styles with Enhanced Animations */
/* Hero Section */
.pricing-hero {
    background: linear-gradient(
        rgba(20, 83, 45, 0.4),
        rgba(20, 83, 45, 0.4)
    ), url('4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 12rem 0 6rem;
    text-align: center;
   
    
    position: relative;
    overflow: hidden;
    animation: heroZoom 25s ease-in-out infinite;
}

@keyframes heroZoom {
    0%, 100% { background-size: 100%; }
    50% { background-size: 110%; }
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(20, 83, 45, 0.3), rgba(34, 197, 94, 0.2));
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.pricing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: titleSlideDown 1s ease-out;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes titleSlideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    animation: subtitleFadeIn 1s ease-out 0.3s both;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: expandWidth 1s ease-out 0.5s both;
    border-radius: 2px;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

.section-title p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* Pricing Plans */
.pricing-plans {
    background: linear-gradient(135deg, var(--background-alt) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.pricing-plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.02"><path fill="%2314532d" d="M50 0L100 50L50 100L0 50Z"/></svg>');
    animation: floatBackground 20s linear infinite;
}

@keyframes floatBackground {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: cardSlideUp 0.8s ease-out forwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--accent);
    animation: featuredPulse 2s ease-in-out infinite, cardSlideUp 0.8s ease-out forwards;
}

@keyframes featuredPulse {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.07); }
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: translateY(-15px) scale(1.07);
   
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: white;
    padding: 0.5rem 2rem;
    font-weight: 600;
    transform: rotate(45deg);
    font-size: 0.9rem;
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { background: var(--accent); }
    50% { background: #f59e0b; }
}

.pricing-header {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.pricing-card:hover .pricing-header::before {
    left: 100%;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
}

.price-container {
    position: relative;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    animation: priceGlow 3s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(255,255,255,0.5); }
    50% { text-shadow: 0 0 20px rgba(255,255,255,0.8); }
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.original-price {
    text-decoration: line-through;
    font-size: 1.5rem;
    opacity: 0.7;
    margin-right: 0.5rem;
    position: relative;
}

.discount-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.pricing-features {
    padding: 2rem;
    position: relative;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.6s ease-out forwards;
}

.pricing-features li:nth-child(1) { animation-delay: 0.1s; }
.pricing-features li:nth-child(2) { animation-delay: 0.2s; }
.pricing-features li:nth-child(3) { animation-delay: 0.3s; }
.pricing-features li:nth-child(4) { animation-delay: 0.4s; }
.pricing-features li:nth-child(5) { animation-delay: 0.5s; }
.pricing-features li:nth-child(6) { animation-delay: 0.6s; }
.pricing-features li:nth-child(7) { animation-delay: 0.7s; }
.pricing-features li:nth-child(8) { animation-delay: 0.8s; }
.pricing-features li:nth-child(9) { animation-delay: 0.9s; }

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pricing-features i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-features .fa-check {
    color: var(--secondary);
}

.pricing-features .fa-times {
    color: #ef4444;
}

.pricing-features li:hover i {
    transform: scale(1.3);
}

.pricing-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1s both;
}

.pricing-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.pricing-button:hover::before {
    left: 100%;
}

.pricing-button:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.featured .pricing-button {
    background: var(--accent);
    animation: featuredButton 2s ease-in-out infinite, fadeInUp 0.8s ease-out 1s both;
}

@keyframes featuredButton {
    0%, 100% { background: var(--accent); }
    50% { background: #f59e0b; }
}

.featured .pricing-button:hover {
    background: #d69c06;
  
}

/* Savings Calculator */
.savings-calculator {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 4rem auto;
    max-width: 800px;
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 0.8s ease-out 0.8s both;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.calculator-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.8rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.calculator-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-alt);
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.calculator-item:nth-child(1) { animation-delay: 1s; }
.calculator-item:nth-child(2) { animation-delay: 1.2s; }
.calculator-item:nth-child(3) { animation-delay: 1.4s; }

.calculator-item:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
}

.calculator-item:hover h4,
.calculator-item:hover .calculator-value,
.calculator-item:hover p {
    color: white;
}

.calculator-item h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.calculator-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    animation: pulse 2s infinite;
}

.calculator-item p {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

/* Value Comparison */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s both;
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.comparison-table th::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.comparison-table th:hover::before {
    left: 100%;
}

.comparison-table tr {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.6s ease-out forwards;
}

.comparison-table tr:nth-child(1) { animation-delay: 1.2s; }
.comparison-table tr:nth-child(2) { animation-delay: 1.3s; }
.comparison-table tr:nth-child(3) { animation-delay: 1.4s; }
.comparison-table tr:nth-child(4) { animation-delay: 1.5s; }
.comparison-table tr:nth-child(5) { animation-delay: 1.6s; }
.comparison-table tr:nth-child(6) { animation-delay: 1.7s; }
.comparison-table tr:nth-child(7) { animation-delay: 1.8s; }
.comparison-table tr:nth-child(8) { animation-delay: 1.9s; }
.comparison-table tr:nth-child(9) { animation-delay: 2s; }

.comparison-table tr:nth-child(even) {
    background: var(--background-alt);
}

.comparison-table tr:hover {
    background: rgba(20, 83, 45, 0.05);
    transform: scale(1.01);
}

.checkmark {
    color: var(--secondary);
    font-size: 1.2rem;
    animation: checkmarkPulse 2s ease-in-out infinite;
}

@keyframes checkmarkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.crossmark {
    color: #ef4444;
    font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--background-alt);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.2s; }
.faq-item:nth-child(2) { animation-delay: 0.4s; }
.faq-item:nth-child(3) { animation-delay: 0.6s; }
.faq-item:nth-child(4) { animation-delay: 0.8s; }
.faq-item:nth-child(5) { animation-delay: 1s; }

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: var(--background-alt);
    color: var(--secondary);
    padding-left: 2rem;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.faq-item.active .faq-question::after {
    width: 100%;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    opacity: 1;
}

.faq-toggle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Guarantee Section */
.guarantee {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 12px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    animation: zoomIn 0.8s ease-out 0.5s both;
}

.guarantee::before {
    content: '✓';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.guarantee h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.guarantee p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
}

/* CTA Section */
.cta-section {
    background: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(20,83,45,0.03)" points="0,1000 1000,0 1000,1000"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button:nth-child(2) {
    animation-delay: 0.8s;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button:hover {
    background-color: #d69c06;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px) scale(1.05);
}

/* ========== MOBILE RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
    .plans-container {
        gap: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 992px) {
    .pricing-hero {
        padding: 10rem 0 5rem;
    }
    
    .pricing-hero h1 {
        font-size: 3rem;
    }
    
    .pricing-hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-15px) scale(1.02);
    }
    
    .popular-badge {
        right: -25px;
        padding: 0.4rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
    
    .calculator-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 8rem 0 4rem;
        background-attachment: scroll;
    }
    
    .pricing-hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    .pricing-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .plans-container {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .pricing-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .pricing-header {
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .pricing-features {
        padding: 1.5rem;
    }
    
    .savings-calculator {
        padding: 2rem;
        margin: 3rem 1rem;
    }
    
    .calculator-title {
        font-size: 1.6rem;
    }
    
    .calculator-item {
        padding: 1.25rem;
    }
    
    .calculator-value {
        font-size: 1.8rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
        margin: 2rem 1rem 0;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.8rem;
    }
    
    .guarantee {
        padding: 3rem 1.5rem;
        margin: 3rem 1rem;
    }
    
    .guarantee h2 {
        font-size: 2rem;
    }
    
    .guarantee p {
        font-size: 1.1rem;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
    
    .cta-section {
        padding: 4rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pricing-hero {
        padding: 7rem 0 3rem;
    }
    
    .pricing-hero h1 {
        font-size: 2rem;
    }
    
    .pricing-hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .pricing-card {
        max-width: 100%;
    }
    
    .pricing-header {
        padding: 1.5rem 1rem;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2.2rem;
    }
    
    .original-price {
        font-size: 1.3rem;
    }
    
    .pricing-features {
        padding: 1.25rem 1rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
    }
    
    .pricing-button {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    .savings-calculator {
        padding: 1.5rem;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calculator-item {
        padding: 1rem;
    }
    
    .calculator-value {
        font-size: 1.6rem;
    }
    
    .guarantee {
        padding: 2rem 1rem;
    }
    
    .guarantee h2 {
        font-size: 1.8rem;
    }
    
    .guarantee p {
        font-size: 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .pricing-card:hover {
        transform: none;
    }
    
    .pricing-button:hover,
    .cta-button:hover {
        transform: none;
    }
    
    .faq-question:hover {
        background: transparent;
        padding-left: 1.5rem;
    }
    
    .calculator-item:hover {
        transform: none;
        background: var(--background-alt);
        color: inherit;
    }
    
    .calculator-item:hover h4,
    .calculator-item:hover .calculator-value,
    .calculator-item:hover p {
        color: inherit;
    }
}


/* Testimonials Page Styles */
/* Page Header */
.page-header {
    background: linear-gradient(
        rgba(20, 83, 45, 0.4),
        rgba(20, 83, 45, 0.4)
    ), url("5.jpg") center center/cover no-repeat;
    color: white;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -1rem;
    padding: 0;
    animation: headerZoom 20s ease-in-out infinite;
}

@keyframes headerZoom {
    0%, 100% { background-size: 100%; }
    50% { background-size: 110%; }
}

/* Dark overlay */
.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
    animation: overlayFade 3s ease-in-out;
}

@keyframes overlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    animation: titleSlideDown 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes titleSlideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    animation: subtitleFadeIn 1s ease-out 0.3s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes subtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-alt) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.02"><path fill="%2314532d" d="M50 0L100 50L50 100L0 50Z"/></svg>');
    animation: floatBackground 20s linear infinite;
}

@keyframes floatBackground {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    font-size: 2.5rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0.5rem auto;
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 80px; }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    position: relative;
    border-top: 4px solid var(--secondary);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: cardSlideUp 0.8s ease-out forwards;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    color: var(--background-alt);
    font-family: serif;
    line-height: 1;
    z-index: 0;
    opacity: 0.5;
    animation: quoteFloat 3s ease-in-out infinite;
}

@keyframes quoteFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-top-color: var(--accent);
}

.testimonial-card:hover::before {
    color: var(--accent);
    animation-duration: 1s;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-text {
    color: var(--primary);
}

.student-info {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.student-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-weight: bold;
    color: white;
    font-size: 1.8rem;
    border: 3px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.testimonial-card:hover .student-avatar {
    animation: avatarRotate 0.6s ease;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

@keyframes avatarRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.student-details h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .student-details h4 {
    color: var(--secondary);
}

.student-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.rating {
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 2px;
    animation: ratingTwinkle 2s ease-in-out infinite;
}

@keyframes ratingTwinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><circle cx="50" cy="50" r="40" fill="white"/></svg>');
    animation: statsBackground 15s linear infinite;
}

@keyframes statsBackground {
    0% { transform: translateX(0px) rotate(0deg); }
    100% { transform: translateX(-100px) rotate(180deg); }
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    margin: 1.5rem;
    padding: 1.5rem;
    opacity: 0;
    transform: scale(0.5);
    animation: statPopIn 0.6s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes statPopIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, white, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: numberCount 2s ease-out;
}

@keyframes numberCount {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--accent);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--background-alt) 0%, white 50%, var(--background-alt) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><polygon points="50,0 100,50 50,100 0,50" fill="%2314532d"/></svg>');
    animation: ctaBackground 25s linear infinite;
}

@keyframes ctaBackground {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(-50px) rotate(360deg); }
}

.cta-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: ctaPulse 2s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(34, 197, 94, 0.5);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ========== MOBILE RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 2.4rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .stats-container {
        gap: 1rem;
    }
    
    .stat-item {
        margin: 1rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        min-height: 35vh;
        margin-top: 0;
    }
    
    .page-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
    
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .student-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-right: 1rem;
    }
    
    .student-details h4 {
        font-size: 1.1rem;
    }
    
    .student-details p {
        font-size: 0.9rem;
    }
    
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .stat-item {
        margin: 0.5rem;
        padding: 1rem;
        width: 200px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-header {
        min-height: 30vh;
    }
    
    .page-title {
        font-size: 1.7rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
    
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
        top: 15px;
        right: 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .student-info {
        flex-direction: column;
        text-align: center;
    }
    
    .student-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .stats-section {
        padding: 2rem 0;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.7rem;
    }
    
    .cta-section p {
        font-size: 0.95rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .page-header {
        animation: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .testimonial-card:hover {
        transform: none;
    }
    
    .testimonial-card:hover::before {
        animation-duration: 3s;
    }
    
    .cta-button:hover {
        transform: none;
        animation: ctaPulse 2s ease-in-out infinite;
    }
    
    .stat-item:hover .stat-label {
        transform: none;
    }
}

/* Loading animation for cards */
.testimonial-card.loading {
    position: relative;
    overflow: hidden;
}

.testimonial-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loadingShine 1.5s infinite;
}

@keyframes loadingShine {
    0% { left: -100%; }
    100% { left: 100%; }
}





/* Contact Page Styles */
/* Hero Section */
.contact-hero {
    background: linear-gradient(
        rgba(20, 83, 45, 0.4),
        rgba(20, 83, 45, 0.4)
    ), url('2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 12rem 0 6rem;
    text-align: center;
   
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(20, 83, 45, 0.3), rgba(34, 197, 94, 0.2));
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.contact-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--accent);
    animation: expandWidth 1s ease-out 0.5s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100px; }
}

.section-title p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* Contact Methods */
.contact-methods {
    background-color: var(--background-alt);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.method-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.method-card:nth-child(1) { animation-delay: 0.2s; }
.method-card:nth-child(2) { animation-delay: 0.4s; }
.method-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.method-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.method-card:hover .method-icon::before {
    left: 100%;
}

.method-card:hover .method-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.method-card:hover h3 {
    color: var(--secondary);
}

.method-card p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.method-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.method-link:hover::before {
    left: 100%;
}

.method-link:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

/* Contact Form */
.contact-form-section {
    background: white;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-info {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.form-info p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.info-item:nth-child(1) { animation-delay: 0.5s; }
.info-item:nth-child(2) { animation-delay: 0.7s; }
.info-item:nth-child(3) { animation-delay: 0.9s; }

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--background-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.info-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.info-item:hover .info-content h4 {
    color: var(--secondary);
}

.contact-form {
    background: var(--background-alt);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.8s ease-out 0.3s both;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.form-group:nth-child(1) { animation-delay: 0.5s; }
.form-group:nth-child(2) { animation-delay: 0.6s; }
.form-group:nth-child(3) { animation-delay: 0.7s; }
.form-group:nth-child(4) { animation-delay: 0.8s; }
.form-group:nth-child(5) { animation-delay: 0.9s; }
.form-group:nth-child(6) { animation-delay: 1s; }
.form-group:nth-child(7) { animation-delay: 1.1s; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.1);
    transform: translateY(-2px);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
    transition: min-height 0.3s ease;
}

textarea.form-control:focus {
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* FAQ Section */
.faq-section {
    background-color: var(--background-alt);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.2s; }
.faq-item:nth-child(2) { animation-delay: 0.4s; }
.faq-item:nth-child(3) { animation-delay: 0.6s; }
.faq-item:nth-child(4) { animation-delay: 0.8s; }
.faq-item:nth-child(5) { animation-delay: 1s; }

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: var(--background-alt);
    color: var(--secondary);
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.faq-item.active .faq-question::after {
    width: 100%;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
    opacity: 1;
}

.faq-toggle {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Map Section */
.map-section {
    padding: 0;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.map-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0.95);
    animation: zoomIn 1s ease-out 0.5s both;
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(100%) brightness(95%);
    transition: all 0.4s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(105%) brightness(100%);
    transform: scale(1.02);
}

/* Overlay text on map */
.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(20,83,45,0.92);
    padding: 25px 35px;
    border-radius: 15px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s both;
}

.map-overlay i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--accent);
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.map-overlay h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 8px;
}

.map-overlay p {
    margin: 0;
    font-size: 1rem;
    color: #f9f9f9;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.cta-button:nth-child(2) {
    animation-delay: 0.8s;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button:hover {
    background-color: #d69c06;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px) scale(1.05);
}

/* ========== MOBILE RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
    .form-container {
        gap: 3rem;
    }
    
    .methods-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 10rem 0 5rem;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
    }
    
    .contact-hero p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .form-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-info {
        text-align: center;
    }
    
    .info-item {
        justify-content: center;
        text-align: left;
    }
    
    .map-overlay {
        padding: 20px 25px;
    }
    
    .map-overlay h3 {
        font-size: 1.4rem;
    }
    
    .map-overlay p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 8rem 0 4rem;
        background-attachment: scroll;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .method-card {
        padding: 2rem 1.5rem;
    }
    
    .method-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .form-container {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .map-section {
        height: 350px;
        margin: 0 1rem;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .map-overlay {
        padding: 15px 20px;
        width: 90%;
        max-width: 300px;
    }
    
    .map-overlay i {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .map-overlay h3 {
        font-size: 1.2rem;
    }
    
    .map-overlay p {
        font-size: 0.85rem;
    }
    
    .faq-container {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
    
    .cta-section {
        padding: 4rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 7rem 0 3rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .method-card {
        padding: 1.5rem 1rem;
    }
    
    .method-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-control {
        padding: 0.7rem 0.9rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    .map-section {
        height: 300px;
    }
    
    .map-overlay {
        padding: 12px 15px;
    }
    
    .map-overlay i {
        font-size: 2rem;
    }
    
    .map-overlay h3 {
        font-size: 1.1rem;
    }
    
    .map-overlay p {
        font-size: 0.8rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .method-card:hover {
        transform: none;
    }
    
    .method-link:hover,
    .submit-btn:hover,
    .cta-button:hover {
        transform: none;
    }
    
    .faq-question:hover {
        background: transparent;
    }
    
    .map-container:hover iframe {
        transform: none;
    }
}

/* JavaScript for FAQ functionality */
.faq-item {
    cursor: pointer;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Loading animation for form submission */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}



/* WhatsApp Floating Button */
.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: #fff;
  font-size: 28px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.4s ease;
  animation: pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-button:hover {
  background-color: #20b954;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:active {
  transform: scale(0.95);
}

.whatsapp-button i {
  font-size: 32px;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover i {
  transform: scale(1.1);
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-tooltip:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.whatsapp-button:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
  .whatsapp-button {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-button i {
    font-size: 28px;
  }
}







/* Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

/* Modal Box */
.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0px 5px 25px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close {
  color: #444;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #e74c3c;
}

/* Form Styles */
#admissionForm label {
  display: block;
  margin-top: 12px;
  font-weight: bold;
}

#admissionForm input,
#admissionForm select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#admissionForm button {
  margin-top: 15px;
  width: 100%;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}












   /* Privacy Policy Content */
        .privacy-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .privacy-header h1 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .privacy-header p {
            font-size: 1.1rem;
            color: var(--text);
            max-width: 700px;
            margin: 0 auto;
        }

        .privacy-content {
            background-color: var(--light);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            padding: 40px;
        }

        .policy-section {
            margin-bottom: 40px;
        }

        .policy-section h2 {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--accent);
        }

        .policy-section h3 {
            font-size: 1.3rem;
            color: var(--secondary);
            margin: 25px 0 15px;
        }

        .policy-section p {
            margin-bottom: 15px;
        }

        .policy-section ul {
            margin-left: 20px;
            margin-bottom: 20px;
        }

        .policy-section li {
            margin-bottom: 10px;
        }

        .highlight {
            background-color: rgba(86, 197, 182, 0.1);
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid var(--accent);
            margin: 20px 0;
        }

        .contact-info {
            background-color: rgba(21, 152, 149, 0.1);
            padding: 25px;
            border-radius: 8px;
            margin-top: 30px;
        }

        .contact-info h3 {
            color: var(--primary);
            margin-bottom: 15px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
            }

            nav ul {
                gap: 15px;
            }

            .privacy-header h1 {
                font-size: 2rem;
            }

            .privacy-content {
                padding: 25px;
            }

            .policy-section h2 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            nav ul {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .privacy-header h1 {
                font-size: 1.8rem;
            }

            .policy-section h2 {
                font-size: 1.3rem;
            }
        }


























            /* Terms Content */
        .terms-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .terms-header h1 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .terms-header p {
            font-size: 1.1rem;
            color: var(--text);
            max-width: 700px;
            margin: 0 auto;
        }

        .last-updated {
            background-color: var(--accent);
            color: var(--light);
            padding: 10px 20px;
            border-radius: 50px;
            display: inline-block;
            margin-top: 15px;
            font-weight: 600;
        }

        .terms-content {
            background-color: var(--light);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            padding: 40px;
        }

        .terms-section {
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid var(--border);
        }

        .terms-section:last-child {
            border-bottom: none;
        }

        .terms-section h2 {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .terms-section h2 i {
            color: var(--accent);
        }

        .terms-section h3 {
            font-size: 1.3rem;
            color: var(--secondary);
            margin: 25px 0 15px;
        }

        .terms-section p {
            margin-bottom: 15px;
        }

        .terms-section ul, .terms-section ol {
            margin-left: 25px;
            margin-bottom: 20px;
        }

        .terms-section li {
            margin-bottom: 10px;
        }

        .highlight-box {
            background-color: rgba(86, 197, 182, 0.1);
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid var(--accent);
            margin: 20px 0;
        }

        .warning-box {
            background-color: rgba(255, 193, 7, 0.1);
            padding: 20px;
            border-radius: 8px;
            border-left: 4px solid #ffc107;
            margin: 20px 0;
        }

        .contact-info {
            background-color: rgba(21, 152, 149, 0.1);
            padding: 25px;
            border-radius: 8px;
            margin-top: 30px;
        }

        .contact-info h3 {
            color: var(--primary);
            margin-bottom: 15px;
        }

        .table-container {
            overflow-x: auto;
            margin: 20px 0;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }

        th, td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }

        th {
            background-color: rgba(21, 152, 149, 0.1);
            color: var(--primary);
            font-weight: 600;
        }

        tr:hover {
            background-color: rgba(0, 0, 0, 0.02);
        }

       

        /* Responsive Design */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
            }

            nav ul {
                gap: 15px;
            }

            .terms-header h1 {
                font-size: 2rem;
            }

            .terms-content {
                padding: 25px;
            }

            .terms-section h2 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            nav ul {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .terms-header h1 {
                font-size: 1.8rem;
            }

            .terms-section h2 {
                font-size: 1.3rem;
            }
            
            .table-container {
                font-size: 0.9rem;
            }
        }























/* Modal background */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(20, 83, 45, 0.7); /* primary tint */
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

/* Modal content box */
.modal-content {
  background: var(--background);
  padding: 35px 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.4s ease-in-out;
  border-top: 5px solid var(--secondary);
}

/* Close button */
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted);
  transition: 0.2s;
}
.close:hover { color: var(--accent); }

/* Heading */
.modal-content h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Form styling */
#admissionForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#admissionForm label {
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 10px;
}
#admissionForm input,
#admissionForm select,
#admissionForm textarea {
  padding: 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  transition: 0.3s ease;
  background: var(--background-alt);
  color: var(--text-dark);
}
#admissionForm input:focus,
#admissionForm select:focus,
#admissionForm textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 5px rgba(34, 197, 94, 0.3);
}

/* Submit button */
.btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 8px;
}
.btn:hover {
  background: var(--secondary);
  color: var(--text-dark);
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}