/* ===========================
   GLOBAL IMAN — PIXEL PERFECT STYLESHEET
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --green-dark: #074427;
  --green-mid: #1e7a44;
  --green-light: #e8f5ee;
  --green-pale: #FFFFFF;
  --gold: #D4A017;
  --text-dark: #1A1A2E;
  --text-mid: #4A5568;
  --text-light: #718096;
  --white: #ffffff;
  --border: #E2E8F0;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font-serif: 'Lora', 'Georgia', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(7, 68, 39, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 16px;
}

.arrow-right {
  font-size: 16px;
  font-weight: 400;
}

/* ===== SECTION HELPERS ===== */
.section-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.25;
}

.courses-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.title-line-left,
.title-line-right {
  height: 3px;
  width: 150px;
  background: #074427;
  opacity: 0.8;
  border-radius: 2px;
}

.title-line-left {
  background: linear-gradient(to right, transparent, #074427);
}

.title-line-right {
  background: linear-gradient(to left, transparent, #074427);
}

.courses-title-divider svg {
  width: 24px;
  height: 24px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 36px;
  height: 36px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
}

.logo-tagline {
  font-size: 10.5px;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover,
.nav-link.active {
  background: var(--green-light);
  color: var(--green-dark);
}

.nav-link.active {
  color: var(--green-dark);
}

.arrow {
  font-size: 10px;
  opacity: 0.7;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown li a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-select {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #CBD5E0;
  background: var(--white);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-select:hover {
  border-color: var(--green-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  background-image: url('images/hero_bg.jpg');
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
  padding-top: 135px;
  padding-bottom: 5px;
  min-height: 520px;
  overflow: visible;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  max-width: 580px;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid #E6E1D3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  font-size: 12.5px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 10px;
}

.badge-star {
  color: #E2A016;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--green-dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.hero-features-list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.feat-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.chk-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Image wrapper */
.hero-image-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-border-anim {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px dashed var(--green-dark);
  border-radius: 50%;
  animation: spin 15s linear infinite;
  z-index: 1;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-student-img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

/* Stats Card */
.stats-card-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 40px;
  margin-bottom: -48px;
}

.stats-card {
  background: var(--green-dark);
  border-radius: 16px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 16px 32px rgba(7, 68, 39, 0.15);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 36px;
  height: 36px;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* ===========================
   3 STEPS SECTION
   =========================== */
.steps-section {
  padding: 80px 0 60px;
  background: var(--white);
}

.steps-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  flex: 1;
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 6px 20px;
  text-align: left;
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
}

.step-card:hover {
  transform: translateY(-3px);
}

.step-num {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 32px;
  height: 32px;
  background: var(--green-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  z-index: 2;
}

.step-icon-wrap {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 90px;
  height: 90px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.step-icon-wrap svg {
  width: 40px;
  height: 40px;
}

.step-card h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.step-card p {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.step-arrow {
  font-size: 28px;
  color: var(--green-mid);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

font-weight: 300;
margin-top: 20px;
}

/* ===========================
   CLASSROOM SECTION
   =========================== */
.classroom-section {
  padding: 1rem 0 2rem 0;
  background: #FFFFFF;
}

.classroom-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}

.classroom-content {
  flex: 1;
  padding-right: 20px;
  padding-left: 40px;
}

.classroom-image {
  flex: 1.2;
  position: relative;
}

.classroom-image img {
  width: 100%;
  height: auto;
  display: block;
}

.classroom-content .sub-heading {
  font-size: 14px;
  font-weight: 700;
  color: #2D7A5D;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.classroom-content .main-heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #074427;
  margin-bottom: 15px;
  line-height: 1.2;
}

/* Mobile-only divider: hidden on desktop, shown on mobile */
.mobile-only-divider {
  display: none;
}

.classroom-content .description {
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 35px;
}

.features-grid-2col {
  display: flex;
  gap: 40px;
  margin-bottom: 35px;
}

.features-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  stroke: #2D7A5D;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: #074427;
  margin: 0 0 4px 0;
}

.feature-text p {
  font-size: 13.5px;
  color: #666666;
  margin: 0;
  line-height: 1.4;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  background-color: #074427;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.explore-btn:hover {
  opacity: 0.9;
  color: #FFFFFF;
}

/* ===========================
   COURSES SECTION
   =========================== */
.courses-section {
  padding: 1rem 0 2rem 0;
  background: #FFF2F5;
}

.courses-section .top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: #E8F5E9;
  border: 1px solid #c3e6cb;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.courses-section .top-badge .badge-icon {
  width: 16px;
  height: 16px;
}

.courses-section .courses-title {
  font-family: 'Eska', var(--font-serif);
  color: var(--green-dark);
  font-size: 2rem;
  font-weight: 700;
}

.courses-section .courses-title span {
  color: var(--green-mid);
}

.courses-header-center {
  text-align: center;
  margin-bottom: 40px;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: #e8f5ee;
  border: 1px solid #c3e6cb;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.badge-icon {
  width: 18px;
  height: 18px;
  stroke: var(--green-dark);
}

.courses-title {
  font-family: 'Eska', var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 8px;
  color: #111;
  margin-bottom: 0px;
}

.courses-subtitle {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0px;
}

.courses-container {
  max-width: 1450px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 1100px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.course-card {
  background: #f8f9f9;
  border-radius: 16px;
  padding: 0 0 15px 0;
  overflow: hidden;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.course-img-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
  padding: 10px 10% 0 10%;
}

.course-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.course-hex-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  background-color: transparent !important;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23074427" d="M50,4 C56.6,4 60.5,1.5 66.8,4.1 C73.1,6.7 75.2,12.7 80.5,17 C85.8,21.3 92.5,21.8 95.8,27.5 C99.1,33.2 96.6,39.6 98,46 C99.4,52.4 103,58 100.4,64.3 C97.8,70.6 91.8,72.7 87.5,78 C83.2,83.3 82.7,90 77,93.3 C71.3,96.6 64.9,94.1 58.5,95.5 C52.1,96.9 46.5,100.5 40.2,97.9 C33.9,95.3 31.8,89.3 26.5,85 C21.2,80.7 14.5,80.2 11.2,74.5 C7.9,68.8 10.4,62.4 9,56 C7.6,49.6 4,44 6.6,37.7 C9.2,31.4 15.2,29.3 19.5,24 C23.8,18.7 24.3,12 30,8.7 C35.7,5.4 42.1,7.9 48.5,6.5 C49,6.4 49.5,6.2 50,4 Z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  z-index: 10;
}

.course-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 15px;
  margin-bottom: 2px !important;
}

.course-card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 2px !important;
}

.card-line-left,
.card-line-right {
  height: 2px;
  width: 40px;
}

.card-line-left {
  background: linear-gradient(to right, transparent, rgba(7, 68, 39, 0.5));
}

.card-line-right {
  background: linear-gradient(to left, transparent, rgba(7, 68, 39, 0.5));
}

.course-card-divider .divider-dot {
  width: 8px;
  height: 8px;
  background-color: #074427;
  border-radius: 50%;
  flex-shrink: 0;
}

.course-card-desc {
  font-family: Arial, sans-serif;
  font-size: 13px !important;
  color: var(--text-mid);
  line-height: 1.5;
  margin: 15px !important;
  flex-grow: 1;
}

.course-card-icon svg {
  width: 30px;
  height: 30px;
  opacity: 0.9;
}

.courses-cta-wrap {
  text-align: center;
  margin-top: 50px;
}

.courses-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #074427;
  color: #fff;
  border-radius: 50px;
  padding: 15px 35px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.courses-cta:hover {
  background-color: #1e7a44;
  color: #fff;
}

/* ===========================
   TRUSTED SECTION
   =========================== */
.trusted-section {
  padding: 1rem 0 2rem 0;
  background: #FFFFFF;
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0 auto;
}

.trusted-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 24px;
  border-radius: 20px;
  /* background-color is handled by var(--card-bg) inline */
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trusted-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 6px 12px;
}

.trusted-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 15px;
  height: 100%;
}

.trusted-card-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.trusted-card-content p {
  font-size: 14px;
  color: #4a5568;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.details-btn {
  display: inline-block;
  background-color: #FFFFFF;
  color: #1a202c;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

.trusted-card-icon {
  width: 60px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.trusted-card-icon svg {
  max-width: 100%;
  height: auto;
}

/* CTA Banner inside trusted section */
.cta-banner-wrap {
  margin-top: 30px;
  width: 100%;
  max-width: 1100px;
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
.testimonials-section {
  padding: 1rem 0 2rem 0;
  background-color: #FAFAFA;
}

.testimonials-section .section-title {
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 1px;
}

.testimonials-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.nav-btn {
  background: #074427;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.testimonials-grid {
  display: flex;
  gap: 20px;
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testi-card {
  flex-shrink: 0;
  width: calc(33.333% - 13.333px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #f2f2f2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-user-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.testi-user-info p {
  font-size: 13px;
  color: #666666;
  margin-bottom: 4px;
}

.testi-stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
  font-size: 16px;
}

.testi-text {
  font-size: 14px;
  color: #555555;
  line-height: 1.6;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testi-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #2D7A5D;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testi-dots .dot.active {
  background: #074427;
  border-color: #074427;
}

/* ===========================
   FACULTY SECTION
   =========================== */
.faculty-section {
  padding: 1rem 0 2rem 0;
  background-color: #FFFFFF;
}

.faculty-slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.faculty-track {
  display: flex;
  gap: 24px;
  animation: slide-left 25s linear infinite;
}

.faculty-track:hover {
  animation-play-state: paused;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.faculty-card {
  background: var(--white);
  border: 1px solid #EBEBEB;
  border-radius: 12px;
  text-align: center;
  flex-shrink: 0;
  width: 220px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.faculty-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border: none;
  margin: 0;
}

.faculty-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faculty-card:hover .faculty-img-wrapper img {
  transform: scale(1.05);
}

.faculty-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 12px 20px 12px;
  background: #FFFFFF;
}

.faculty-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  margin: 0;
}

.faculty-info p {
  font-size: 13px;
  color: #666666;
  margin: 0;
}

/* ===========================
   WHY CHOOSE SECTION
   =========================== */
.why-choose-section {
  padding: 1rem 0 2rem 0;
  background: #F4F7F9;
}

.why-choose-section .section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 40px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  width: 100%;
}

.why-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: none;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.why-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: #F8F9FA;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon-wrapper svg {
  width: 32px;
  height: 32px;
  max-width: 100%;
  max-height: 100%;
}

.why-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  stroke: var(--green-dark);
}

.why-text {
  display: flex;
  flex-direction: column;
}

.why-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.why-text p {
  font-size: 14px;
  color: #555555;
  line-height: 1.4;
  margin: 0;
}

/* ===========================
   FOUNDER CTA SECTION
   =========================== */
.founder-cta-section {
  padding: 1rem 0 2rem 0;
  background: var(--white);
}

.founder-cta-box {
  position: relative;
  background: #EBF4F0;
  border-radius: 12px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 25px;
  overflow: hidden;
}

.founder-cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 250px;
  height: 250px;
  background: rgba(7, 68, 39, 0.04);
  border-radius: 50%;
}

.founder-cta-box::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 20%;
  width: 150px;
  height: 150px;
  background: rgba(7, 68, 39, 0.03);
  border-radius: 50%;
}

.founder-img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FFFFFF;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.founder-cta-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.founder-cta-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: #074427;
  margin-bottom: 6px;
  line-height: 1.3;
}

.founder-cta-content p {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 0;
}

.btn-founder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #074427;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s ease;
  border: none;
  cursor: pointer;
  z-index: 1;
}

.btn-founder:hover {
  background: #074427;
  opacity: 0.9;
  color: #FFFFFF;
}

/* ===========================
   APP SECTION
   =========================== */
.app-section {
  padding: 1rem 0 2rem 0;
  background-color: #F8FBF8;
  background-image: url('images/mobile_app_bg.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  overflow: hidden;
  position: relative;
}

.app-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.app-content {
  flex: 1;
  max-width: 550px;
  margin-right: 120px;
  position: relative;
  z-index: 2;
}

.app-section .section-badge-sm {
  display: inline-block;
  background: transparent;
  color: var(--green-dark);
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.app-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}

.app-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}

.app-features-list {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.app-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 500;
}

.app-features-list .check-icon {
  background: var(--green-mid);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.app-store-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  border: 1px solid #000000;
  color: #FFFFFF;
  border-radius: 8px;
  padding: 8px 16px;
  transition: opacity 0.2s;
  text-decoration: none;
}

.store-btn:hover {
  opacity: 0.85;
}

.store-btn svg {
  fill: #FFFFFF;
}

.store-btn>div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-label {
  font-size: 10px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}

.store-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.app-image {
  flex: 0 0 360px;
  position: relative;
}

.app-image img {
  max-width: 100%;
  height: auto;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #082917;
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.footer-about {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.contact-list li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social-icon svg {
  width: 16px;
  height: 16px;
}

.social-icon:hover {
  background: var(--green-mid);
  color: white;
}

.available-badge {
  background: #16a34a;
  color: white;
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
}

/* ===========================
   DEMO MODAL CSS
   =========================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 36px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748b;
  transition: var(--transition);
}

.modal-close:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.modal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.modal-content p {
  color: var(--text-mid);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.demo-form .form-group {
  margin-bottom: 16px;
}

.demo-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.demo-form input,
.demo-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: white;
  transition: var(--transition);
}

.demo-form input:focus,
.demo-form select:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(7, 68, 39, 0.08);
}

.demo-form .submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--green-dark);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
  font-family: var(--font-sans);
}

.demo-form .submit-btn:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 68, 39, 0.3);
}

/* ===========================
   BUTTON ANIMATIONS (CONTINUOUS)
   =========================== */
.demo-cta,
.explore-btn,
#btn-demo {
  position: relative;
  overflow: hidden !important;
  background: #074427 !important;
  color: #fff !important;
  border: none !important;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(7, 68, 39, 0.4) !important;
  animation: button-float-pulse 2.5s infinite ease-in-out !important;
}

.demo-cta:active,
.explore-btn:active,
#btn-demo:active {
  transform: scale(0.95);
}

.demo-cta:hover,
.explore-btn:hover,
#btn-demo:hover {
  box-shadow: 0 8px 25px rgba(7, 68, 39, 0.6) !important;
  transform: translateY(-2px);
}

.demo-cta .wave,
.explore-btn .wave,
#btn-demo .wave {
  position: absolute;
  top: -110%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 38%;
  animation: wave-move 5s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.demo-cta .wave:nth-of-type(2),
.explore-btn .wave:nth-of-type(2),
#btn-demo .wave:nth-of-type(2) {
  animation-duration: 8s;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 45%;
  animation-delay: -2s;
}

.demo-cta::after,
.explore-btn::after,
#btn-demo::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: scan 2.5s infinite linear;
  z-index: 3;
  pointer-events: none;
}

.demo-cta>*,
.explore-btn>*,
#btn-demo>*,
.btn-text {
  position: relative;
  z-index: 2;
}

@keyframes wave-move {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes scan {
  0% {
    left: -100%;
  }

  100% {
    left: 150%;
  }
}

@keyframes button-float-pulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(7, 68, 39, 0.4);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(7, 68, 39, 0.6);
  }

  100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(7, 68, 39, 0.4);
  }
}

/* Join Our Free Demo Button */
#btn-why-choose {
  position: relative;
  overflow: hidden;
  border: none;
  background: linear-gradient(270deg, #074427, #0a7040, #10b981, #074427);
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite, radarPulse 2s infinite, demoScale 2s infinite ease-in-out;
  color: #fff;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  margin-top: 30px;
}

#btn-why-choose:hover {
  animation: none;
  background: #074427;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(7, 68, 39, 0.6);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes radarPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(7, 68, 39, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(7, 68, 39, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(7, 68, 39, 0);
  }
}

@keyframes demoScale {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-section {
    background-size: contain;
  }
}

@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-image-wrapper {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }

  .hero-features-list {
    justify-content: center;
  }

  .hero-btns {
    justify-content: center;
  }

  .classroom-layout {
    flex-direction: column;
    text-align: center;
  }

  .classroom-content,
  .classroom-image {
    flex: 0 0 100%;
  }

  .classroom-image {
    margin-top: 30px;
  }

  .founder-cta-box {
    flex-direction: column;
    padding: 36px 30px;
    text-align: center;
  }

  .founder-cta-content h2 {
    font-size: 1.8rem;
  }

  .founder-cta-content p {
    margin-bottom: 10px;
  }

  .app-container {
    flex-direction: column;
    text-align: center;
  }

  .app-content {
    max-width: 100%;
    padding-left: 50px !important;
  }

  .app-features-list li {
    justify-content: center;
  }

  .app-store-btns {
    justify-content: center;
  }

  .app-image {
    flex: 0 0 auto;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 16px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }

  .nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .hamburger {
    display: flex;
  }

  .lang-select {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .stats-card-wrapper {
    margin-bottom: -30px;
  }

  .stats-card {
    flex-direction: column;
    gap: 16px;
    padding: 15px 20px;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .step-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-features-list {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .trusted-grid {
    grid-template-columns: 1fr;
  }
}

100% {
  left: 150%;
}
}


/* --- THE FIXED HYBRID BUTTON: WAVE + SCAN --- */
.demo-cta,
.explore-btn,
#btn-demo {
  position: relative;
  overflow: hidden !important;
  background: #074427 !important;
  color: #fff !important;
  border: none !important;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(7, 68, 39, 0.4) !important;
  transition: transform 0.2s ease !important;
  animation: button-float-pulse 2.5s infinite ease-in-out !important;
}

.demo-cta:active,
.explore-btn:active,
#btn-demo:active {
  transform: scale(0.95);
}

.demo-cta:hover,
.explore-btn:hover,
#btn-demo:hover {
  box-shadow: 0 8px 25px rgba(7, 68, 39, 0.6) !important;
  transform: translateY(-2px);
}

/* LIQUID WAVE EFFECT (Background) */
.demo-cta .wave,
.explore-btn .wave,
#btn-demo .wave {
  position: absolute;
  top: -110%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 38%;
  animation: wave-move 5s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.demo-cta .wave:nth-of-type(2),
.explore-btn .wave:nth-of-type(2),
#btn-demo .wave:nth-of-type(2) {
  animation-duration: 8s;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 45%;
  animation-delay: -2s;
}

/* INFINITE SCAN EFFECT (Foreground Overlay) */
.demo-cta::after,
.explore-btn::after,
#btn-demo::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: scan 2.5s infinite linear;
  z-index: 3;
  pointer-events: none;
}

/* Text Layer to stay above waves */
.demo-cta>*,
.explore-btn>*,
#btn-demo>*,
.btn-text {
  position: relative;
  z-index: 2;
}

@keyframes wave-move {
  0% {
    left: -100%;
  }

  100% {
    left: 150%;
  }
}



/* Hero Image with Border Animation */
.hero-image-wrapper {
  position: relative;
  width: 440px;
  height: 440px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-border-anim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px dashed var(--green-dark, #074427);
  border-radius: 50%;
  animation: spin 15s linear infinite;
  z-index: 1;
}

.hero-student-img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-image-wrapper {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }
}

/* Button Pulse Float Animation */
@keyframes button-float-pulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(7, 68, 39, 0.4);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(7, 68, 39, 0.6);
  }

  100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(7, 68, 39, 0.4);
  }
}

#btn-why-choose {
  position: relative;
  overflow: hidden;
  border: none;
  background: linear-gradient(270deg, #074427, #0a7040, #10b981, #074427);
  background-size: 300% 300%;
  animation: gradientShift 4s ease infinite, radarPulse 2s infinite, demoScale 2s infinite ease-in-out;
  color: #fff;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50px;
  margin-top: 30px;
}

#btn-why-choose:hover {
  animation: none;
  background: #074427;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(7, 68, 39, 0.6);
}



/* New Border Animation for Trial Button */
#btn-trial {
  position: relative;
  overflow: visible !important;
  background: var(--green-dark) !important;
  color: #fff !important;
  border: 2px solid var(--green-light) !important;
  border-radius: 8px !important;
  animation: none !important;
  transition: transform 0.2s ease;
}

#btn-trial:hover {
  transform: translateY(-2px);
}

/* Custom Steps Section Match Image */
.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 60px auto;
  flex-wrap: nowrap;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.step-circle-wrap {
  width: 90px;
  height: 90px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.step-svg-icon {
  width: 40px;
  height: 40px;
}

.step-number-badge {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 32px;
  height: 32px;
  background: #074427;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  z-index: 2;
}

.step-text-content {
  text-align: left;
}

.step-text-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #074427;
  margin: 0 0 6px 0;
}

.step-text-content p {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

.step-connector-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .step-connector-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
}

/* ============================================================
   MOBILE RESPONSIVE OVERRIDES (CUSTOMIZATIONS)
   ============================================================ */

.btn-text-mobile,
.mobile-hero-img-wrap {
  display: none;
}

@media (max-width: 768px) {

  /* 1. Header & Mobile Menu Toggle Fix */
  .header-inner {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .logo {
    flex: 0 0 auto !important;
  }

  .btn-text-full {
    display: none !important;
  }

  .btn-text-mobile {
    display: inline !important;
  }

  .header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin-left: auto !important;
  }

  #btn-demo,
  #btn-login {
    padding: 8px 16px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  #btn-demo svg {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border-top: 1px solid var(--border) !important;
    padding: 16px 20px !important;
    z-index: 1000 !important;
  }

  .nav.open {
    display: block !important;
  }

  .nav-list {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .nav-link {
    width: 100% !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
  }

  /* 2. Hero Section Adjustments (Hide old image, 2-col points, side-by-side buttons, new mobile image) */
  .hero {
    background-image: none !important;
    padding-top: 100px !important;
    padding-bottom: 20px !important;
    min-height: auto !important;
  }

  .hero::after,
  .hero::before {
    display: none !important;
  }

  .hero-image,
  .hero-image-wrapper,
  .hero-student-img,
  #hero-img {
    display: none !important;
  }

  .mobile-hero-img-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 18px auto 0 auto !important;
    text-align: center !important;
  }

  .mobile-hero-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    display: block !important;
    margin: 0 auto !important;
  }

  .hero-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .hero-content {
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }

  .hero-subtitle {
    font-size: 13.5px !important;
    margin-bottom: 18px !important;
  }

  .hero-features,
  .hero-features-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 12px !important;
    max-width: 360px !important;
    margin: 0 auto 20px auto !important;
    text-align: left !important;
  }

  .feature-badge,
  .feat-item {
    font-size: 12.5px !important;
    padding: 6px 10px !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-btns {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  .hero-btns .btn,
  #btn-explore {
    flex: 1 1 50% !important;
    padding: 10px 8px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  #btn-trial {
    flex: 1 1 57% !important;
    padding: 10px 6px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  #btn-chat {
    flex: 1 1 43% !important;
    padding: 10px 6px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  /* Stats Bar Side-by-Side on Mobile */
  .stats-card-wrapper {
    margin-top: 24px !important;
    margin-bottom: -20px !important;
  }

  .stats-card,
  .stats-inner {
    flex-direction: row !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 10px 4px !important;
    gap: 2px !important;
  }

  .stat-item {
    flex: 1 1 30% !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2px !important;
  }

  .stat-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .stat-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .stat-num {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .stat-label {
    font-size: 8px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .stat-divider {
    width: 1px !important;
    height: 28px !important;
    margin: 0 1px !important;
    background: rgba(255, 255, 255, 0.4) !important;
  }

  /* 3. Premium Courses We Provide (2 Cards Per Row on Mobile) */
  .courses-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .course-card {
    padding: 0 0 10px 0 !important;
    border-radius: 12px !important;
  }

  .course-img-wrapper {
    margin-bottom: 15px !important;
    padding: 6px 6% 0 6% !important;
  }

  .course-hex-badge {
    width: 32px !important;
    height: 32px !important;
    bottom: -14px !important;
    font-size: 12px !important;
  }

  .course-card-title {
    font-size: 13.5px !important;
    margin-top: 10px !important;
  }

  .course-card-desc {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin: 6px 6px !important;
  }

  .card-line-left,
  .card-line-right {
    width: 20px !important;
  }

  /* 4. Learn on the Go Section Mobile Adjustments */
  .app-section {
    padding: 24px 20px 24px 32px !important;
    background-size: cover !important;
    background-position: center !important;
    box-sizing: border-box !important;
  }

  .app-desc,
  .section-badge-sm {
    display: none !important;
  }

  .app-container,
  .app-inner {
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 0 10px 10px !important;
    margin: 0 !important;
  }

  .app-content {
    flex: 1 1 65% !important;
    max-width: 70% !important;
    padding-left: 50px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .app-title {
    font-size: 1.25rem !important;
    margin-bottom: 8px !important;
  }

  .app-features-list {
    margin-bottom: 10px !important;
  }

  .app-features-list li {
    font-size: 10.5px !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    margin-bottom: 3px !important;
  }

  .app-store-btns {
    justify-content: flex-start !important;
  }

  .store-btn {
    padding: 5px 10px !important;
  }

  .store-btn svg {
    width: 14px !important;
  }

  .store-label {
    font-size: 7.5px !important;
  }

  .store-name {
    font-size: 11px !important;
  }

  .why-grid {
    gap: 15px !important;
  }

  .why-card {
    padding: 10px !important;
    gap: 10px !important;
  }

  /* Classroom Section Mobile Adjustments */
  .classroom-section {
    padding: 24px 16px !important;
  }

  .classroom-image {
    display: none !important;
  }

  .classroom-layout {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .classroom-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    width: 100% !important;
  }

  .classroom-content .main-heading {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }

  .mobile-only-divider {
    display: flex !important;
    justify-content: center;
    margin-bottom: 16px;
  }

  .classroom-content .description {
    font-size: 13.5px !important;
    margin-bottom: 24px !important;
  }

  .features-grid-2col {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
    margin-bottom: 28px !important;
    text-align: left !important;
  }

  .features-col {
    gap: 16px !important;
  }

  .feature-item {
    gap: 10px !important;
  }

  .feature-text h4 {
    font-size: 13.5px !important;
  }

  .feature-text p {
    font-size: 11.5px !important;
  }

  /* 6. WHAT THEY SAY ABOUT US (Single Review Carousel on Mobile) */
  .testimonials-grid,
  .testimonials-slider {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 0 !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .testi-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: center !important;
    box-sizing: border-box !important;
  }
}

/* ============================================================
   CUSTOM JABARDAST ANIMATIONS (Pulse Aura & Magic Border)
   ============================================================ */

@keyframes rotate-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-aura {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* 1. Header Book a Demo (Pulse Aura) */
#btn-demo {
  position: relative;
  z-index: 1;
  overflow: visible !important;
  animation: none !important;
}

#btn-demo .wave {
  display: none !important;
}

#btn-demo::before, #btn-demo::after {
  content: '' !important;
  position: absolute !important;
  display: block !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: #074427 !important;
  border-radius: inherit !important;
  z-index: -1 !important;
  animation: pulse-aura 2s infinite !important;
  width: auto !important;
  height: auto !important;
}

#btn-demo::after {
  animation-delay: 1s !important;
}

/* 2. Hero Book Free Demo Classes (Magic Border) */
#btn-trial {
  position: relative;
  overflow: hidden !important;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  z-index: 1;
}

#btn-trial::before {
  content: '';
  position: absolute;
  width: 250%;
  height: 250%;
  top: -75%;
  left: -75%;
  background: conic-gradient(transparent, transparent, transparent, #2ecc71);
  animation: rotate-border 2s linear infinite;
  z-index: -2;
}

#btn-trial::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: var(--green-dark);
  border-radius: 6px;
  z-index: -1;
  width: auto !important;
  height: auto !important;
  animation: none !important;
}

#btn-trial span {
  position: relative;
  z-index: 1;
}
/* WordPress Menu Fallbacks */
.menu-item-has-children {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.sub-menu li a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

/* WordPress Mobile Submenu Toggle & Arrow Icon */
.menu-item-has-children > a::after {
  content: '\25BE'; /* Down arrow ? */
  margin-left: 6px;
  font-size: 0.9em;
  transition: transform 0.3s ease;
  display: inline-block;
  vertical-align: middle;
}

.menu-item-has-children.mobile-open > a::after,
.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

@media (max-width: 992px) {
  .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 15px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  
  .menu-item-has-children.mobile-open .sub-menu {
    display: block;
  }
}

/* Button Animation */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.7); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(212, 160, 23, 0); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); transform: scale(1); }
}
.pulse-button {
  animation: pulseGlow 2s infinite;
  transition: all 0.3s ease;
}
.pulse-button:hover {
  transform: translateY(-2px) scale(1.02);
  background: #b58712 !important;
}

/* ===========================
   BLOG & SINGLE POST STYLES
   =========================== */

/* Hero Headers */
.blog-hero, .single-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}
.blog-hero::after, .single-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: var(--white);
  border-radius: 40px 40px 0 0;
}
.blog-hero-inner, .single-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.blog-hero-title, .single-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin-bottom: 15px;
  line-height: 1.2;
}
.blog-hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Blog Grid */
.blog-content {
  padding: 40px 0 80px;
  background: var(--white);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.blog-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-cat {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.meta-date, .meta-author {
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-card-title a {
  color: var(--text-dark);
  transition: color 0.3s ease;
}
.blog-card-title a:hover {
  color: var(--green-mid);
}
.blog-card-excerpt {
  color: var(--text-mid);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 14px;
}
.blog-card-readmore span {
  margin-left: 5px;
  transition: transform 0.3s ease;
}
.blog-card-readmore:hover span {
  transform: translateX(5px);
}

/* Pagination */
.blog-pagination {
  text-align: center;
  margin-top: 40px;
}
.blog-pagination .nav-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--text-dark);
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

/* Single Post Specifics */
.single-meta-top {
  margin-bottom: 15px;
}
.single-category {
  background: rgba(255,255,255,0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}
.single-meta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 15px;
  opacity: 0.9;
}
.single-featured-img {
  max-width: 1000px;
  margin: -40px auto 40px;
  position: relative;
  z-index: 5;
  padding: 0 20px;
}
.single-featured-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.content-inner {
  max-width: 800px;
  margin: 0 auto;
}
.single-content {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-mid);
  padding: 0 20px 40px;
}
.single-content h2, .single-content h3 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  margin: 40px 0 20px;
}
.single-content p {
  margin-bottom: 24px;
}
.single-content blockquote {
  border-left: 5px solid var(--gold);
  padding-left: 20px;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-dark);
  background: var(--green-light);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

.single-footer {
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  margin-top: 20px;
}
.tags-links {
  margin-bottom: 30px;
}
.tags-label {
  font-weight: bold;
  color: var(--text-dark);
  margin-right: 10px;
}
.tags-links a {
  background: #f1f5f9;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  margin-right: 5px;
  color: var(--text-mid);
  transition: all 0.3s ease;
}
.tags-links a:hover {
  background: var(--green-light);
  color: var(--green-dark);
}
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.nav-previous, .nav-next {
  flex: 1;
}
.nav-next {
  text-align: right;
}
.nav-subtitle {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-serif);
}
.nav-previous a:hover .nav-title, .nav-next a:hover .nav-title {
  color: var(--green-mid);
}
