/* ========== MEDHYA LAYA - MAIN STYLESHEET ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #3D72B4;
  --primary-dark: #2A5490;
  --primary-light: #6B9BD2;
  --secondary: #D4A800;
  --secondary-light: #F0C830;
  --accent: #F4F8FF;
  --dark: #1A2A3A;
  --text: #3D72B4;
  --heading: #2A5490;
  --light: #FFFFFF;
  --border: #C8D8EE;
  --shadow: 0 4px 30px rgba(61,114,180,0.10);
  --shadow-hover: 0 12px 40px rgba(61,114,180,0.22);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

img, video, iframe { max-width: 100%; }

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--heading);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .container { padding: 0 16px; }
  .page-layout > *:last-child { width: 100% !important; flex-shrink: 1 !important; }
  .ttc-hero-grid > *:last-child { width: 100% !important; }
}

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--heading);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text);
  max-width: 580px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74,124,89,0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: #a36e08;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200,134,10,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary-dark);
}
.btn-white:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  transition: var(--transition);
}

.logo-tagline {
  font-size: 7px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 500;
  margin-top: 4px;
}

#navbar:not(.scrolled) .logo-name { color: var(--heading); }
#navbar:not(.scrolled) .logo-tagline { color: var(--secondary); }

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item { position: relative; }

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--heading);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

#navbar.scrolled .nav-link { color: var(--heading); }

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--secondary) !important;
}

.nav-link .chevron {
  font-size: 10px;
  transition: var(--transition);
}
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-top: 3px solid var(--primary);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 400;
  transition: var(--transition);
}

.dropdown a:hover {
  background: var(--accent);
  color: var(--primary);
  padding-left: 26px;
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-size: 13px;
  color: var(--heading);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

#navbar.scrolled .nav-phone { color: var(--text); }
.nav-phone:hover { color: var(--secondary) !important; }

.nav-btn {
  background: var(--secondary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
}
.nav-btn:hover {
  background: #a36e08 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(200,134,10,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s;
  transform-origin: center;
}
#navbar.scrolled .hamburger span { background: var(--heading); }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slides { height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-slide.active img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,50,30,0.75) 0%, rgba(20,50,30,0.45) 60%, transparent 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-text {
  max-width: 680px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.hero-badge span { color: var(--secondary-light); }

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-title em {
  font-style: italic;
  color: var(--secondary);
}

.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

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

/* Slider Controls */
.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.hero-dot.active {
  background: var(--secondary-light);
  transform: scale(1.3);
}

.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
}

.hero-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.hero-arrow:hover {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* Hero Stats Bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  divide-x: 1px solid var(--border);
}

.stat-item {
  text-align: center;
  padding: 0 30px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-number span { color: var(--secondary); }

.stat-label {
  font-size: 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-image-wrap {
  position: relative;
}

.intro-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
}

.intro-img-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: var(--primary);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-hover);
}
.intro-img-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.intro-img-badge .lbl {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feat-icon {
  width: 40px;
  height: 40px;
  background: rgba(74,124,89,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feat-text h4 {
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--heading);
}
.feat-text p {
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.5;
}

/* ===== COURSES SECTION ===== */
.courses-section { background: #fff; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.course-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: #fff;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.course-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.course-card:hover .course-img img { transform: scale(1.08); }

.course-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.course-body {
  padding: 24px;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.course-meta span {
  font-size: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading);
}

.course-desc {
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.course-price {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 12px;
  text-decoration: line-through;
  color: #aaa;
}

.price-new {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.price-new sup { font-size: 14px; }

/* ===== RETREATS SECTION ===== */
.retreats-section { background: var(--accent); }

.retreats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.retreat-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.retreat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.retreat-img {
  height: 220px;
  overflow: hidden;
}
.retreat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.retreat-card:hover .retreat-img img { transform: scale(1.06); }

.retreat-body { padding: 22px; }

.retreat-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.retreat-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.retreat-desc {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.retreat-info {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.retreat-info span {
  font-size: 12.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: linear-gradient(135deg, #EDF4FF 0%, #FEF9EC 100%);
  color: var(--dark);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(212,168,0,0.06);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-content .section-label { color: var(--secondary); }
.why-content .section-title { color: #1A3A5C; }
.why-content .section-subtitle { color: #444; }

.why-features {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-icon {
  width: 50px;
  height: 50px;
  background: rgba(61,114,180,0.10);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.why-text h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A3A5C;
  margin-bottom: 4px;
}

.why-text p {
  font-size: 13.5px;
  color: #444;
  line-height: 1.7;
}

.why-image { position: relative; }
.why-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.9;
}

.why-cert-badge {
  position: absolute;
  top: 30px;
  left: -25px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}

.why-cert-badge .cert-icon { font-size: 30px; margin-bottom: 6px; }
.why-cert-badge .cert-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PROCESS SECTION ===== */
.process-section { background: var(--accent); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 18px);
}

.process-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.process-step:nth-child(2) .step-num { background: var(--secondary); }
.process-step:nth-child(3) .step-num { background: var(--primary-dark); }

.process-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--accent); }

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 60px;
}

.testimonial-inner {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-size: 60px;
  color: var(--primary-light);
  font-family: 'Playfair Display', serif;
  line-height: 0.5;
  margin-bottom: 24px;
}

.testimonial-text {
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.author-info h4 {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-align: left;
}
.author-info p {
  font-size: 13px;
  color: var(--secondary);
  text-align: left;
}

.testimonial-stars {
  color: var(--secondary);
  font-size: 18px;
  margin-bottom: 20px;
}

.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.testi-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.testi-btn:hover {
  background: var(--primary);
  color: #fff;
}

.testi-dots {
  display: flex;
  gap: 8px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.testi-dot.active {
  background: var(--primary);
  transform: scale(1.4);
}

/* ===== FAQ SECTION ===== */
.faq-section { background: #fff; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}

.faq-list { display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open { border-color: var(--primary); box-shadow: 0 4px 20px rgba(74,124,89,0.1); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  color: var(--heading);
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

/* ===== BLOG SECTION ===== */
.blog-section { background: var(--accent); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-img {
  height: 220px;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.06); }

.blog-body { padding: 22px; }

.blog-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition);
}
.blog-card:hover .blog-title { color: var(--primary); }

.blog-excerpt {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text);
}

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.read-more:hover { gap: 10px; color: var(--primary-dark); }

/* ===== CTA BANNER ===== */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #a36e08 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-section::before { width: 300px; height: 300px; top: -100px; left: -80px; }
.cta-section::after { width: 200px; height: 200px; bottom: -60px; right: -40px; }

.cta-section h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
  background: #0F1F14;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-brand .nav-logo { align-items: center; display: inline-flex; }
.footer-brand .logo-text { text-align: center; align-items: center; }

.footer-about {
  font-size: 14px;
  line-height: 1.8;
  margin: 20px 0;
  color: rgba(255,255,255,0.6);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '›';
  color: var(--primary-light);
  font-size: 16px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-item .icon {
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-item .info {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.contact-item .info strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?w=1200&q=60') center/cover;
  opacity: 0.15;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  color: #fff;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--secondary-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--secondary-light); }

/* ===== TEACHERS PAGE ===== */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.teacher-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  transition: var(--transition);
}
.teacher-card:hover { box-shadow: var(--shadow-hover); }

.teacher-img {
  height: 100%;
  min-height: 320px;
}
.teacher-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-body { padding: 28px; }

.teacher-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.teacher-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.teacher-exp {
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 14px;
}

.teacher-bio {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 20px;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 5px 14px;
  border-radius: 50px;
  font-weight: 500;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.contact-info-card {
  background: var(--primary-dark);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
}

.contact-info-card h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.c-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.c-detail .icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.c-detail .text h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.c-detail .text p {
  font-size: 14.5px;
  color: #fff;
  margin: 0;
}

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.contact-form-wrap p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--heading);
  transition: var(--transition);
  background: #fff;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,124,89,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(74,124,89,0.4);
  transition: var(--transition);
  z-index: 999;
}
#scrollTop.show { display: flex; }
#scrollTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE MENU ===== */

/* Side panel */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 88vw;
  background: linear-gradient(160deg, #0d2015 0%, #142a1c 60%, #0f1e14 100%);
  z-index: 9999;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.mobile-menu.open {
  display: flex;
  animation: menuSlideIn 0.38s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.mobile-menu.closing {
  display: flex;
  animation: menuSlideOut 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes menuSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes menuSlideOut {
  from { transform: translateX(0); }
  to   { transform: translateX(100%); }
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9998;
}
.mobile-overlay.open { display: block; animation: fadeIn 0.3s ease forwards; }
.mobile-overlay.closing { animation: fadeOut 0.3s ease forwards; }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes fadeOut { from { opacity:1; } to { opacity:0; } }

/* Top bar inside panel */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.mobile-menu-logo .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.2;
}
.mobile-menu-logo .logo-tagline {
  font-size: 10px;
  color: var(--secondary-light);
  letter-spacing: 0.5px;
  display: block;
}

/* Close button */
.mobile-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.mobile-close:hover { background: rgba(255,255,255,0.18); }

/* Nav body */
.mobile-menu-body {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

/* Section labels */
.mobile-nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary-light);
  padding: 16px 24px 6px;
  display: block;
}

/* Links */
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 11px 24px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.22s ease;
}
.mobile-menu a:hover,
.mobile-menu a.active-link {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-left-color: var(--secondary-light);
}
.mobile-menu a .mob-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* Divider */
.mobile-nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 12px 24px;
}

/* Bottom CTA area */
.mobile-menu-footer {
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mobile-apply-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 13px 24px !important;
  border-radius: 50px !important;
  border-left: none !important;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s !important;
}
.mobile-apply-btn:hover { background: #a36e08 !important; transform: translateY(-1px) !important; border-left: none !important; }
.mobile-phone-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px !important;
  color: rgba(255,255,255,0.6) !important;
  border-left: none !important;
  padding: 6px 0 !important;
}
.mobile-phone-link:hover { color: rgba(255,255,255,0.9) !important; background: none !important; border-left: none !important; }


/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .teacher-card { grid-template-columns: 1fr; }
  .teacher-img { min-height: 280px; }
  .teachers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats-bar { display: none; }
  .intro-grid, .why-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-img-badge { right: 20px; }
  .why-cert-badge { left: 20px; }
  .retreats-grid { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section-pad { padding: 60px 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .intro-features { grid-template-columns: 1fr; }
  .testimonial-card { padding: 0 20px; }
  .testimonial-inner { padding: 30px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 0 16px; }

  /* Hero slider mobile */
  .hero { min-height: 100svh; min-height: 100dvh; }

  /* Image: show top of photo (face/upper body), not center */
  .hero-slide img { object-position: center 20%; }

  /* Overlay: darker gradient on mobile for text readability */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(15,40,22,0.80) 0%,
      rgba(15,40,22,0.65) 50%,
      rgba(15,40,22,0.50) 100%
    );
  }

  /* Content: vertically centered, not top-aligned */
  .hero-content {
    align-items: center;
    justify-content: flex-start;
    padding: 80px 0 100px;
  }
  .hero-text { max-width: 100%; padding: 0 22px; text-align: center; }
  .hero-badge { font-size: 10px; letter-spacing: 1px; padding: 6px 14px; margin-bottom: 16px; }
  .hero-title { font-size: 28px; line-height: 1.25; margin-bottom: 12px; }
  .hero-desc { font-size: 14px; margin-bottom: 22px; line-height: 1.65; }

  /* Buttons: full width, stacked */
  .hero-btns { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero-btns .btn { width: 100%; text-align: center; justify-content: center; padding: 14px 20px; }

  /* Arrows: vertically centered, small, semi-transparent */
  .hero-arrows {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    padding: 0 8px;
  }
  .hero-arrow { width: 34px; height: 34px; font-size: 13px; background: rgba(0,0,0,0.30); border-color: rgba(255,255,255,0.20); }

  /* Dots: above bottom edge */
  .hero-controls { bottom: 18px; }
}

/* ===== TTC PAGE MOBILE FIXES ===== */
@media (max-width: 1024px) {

  /* --- Hero section --- */
  /* Hero grid: price card neeche aaye */
  .ttc-hero-grid,
  [style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  .ttc-hero-price-card,
  [style*="min-width:220px"] {
    min-width: unset !important;
    width: 100% !important;
  }
  /* Hero padding kam karo */
  [style*="padding:140px 0 60px"] {
    padding: 90px 0 36px !important;
  }
  /* Hero h1 font size */
  [style*="clamp(34px"] {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  /* --- Main layout: sidebar neeche aaye --- */
  .page-layout,
  [style*="grid-template-columns:1fr 360px"] {
    grid-template-columns: 1fr !important;
  }

  /* --- All 2-column feature grids → 1 column --- */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Gallery 3-col → 2-col --- */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2,1fr) !important;
  }

  /* --- Testimonials 2-col → 1-col --- */
  [style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Main image height kam karo --- */
  [style*="height:400px"] {
    height: 220px !important;
  }

  /* --- Tab nav scroll --- */
  .tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tab-nav::-webkit-scrollbar { display: none; }

  /* --- Sidebar sticky → normal --- */
  [style*="position:sticky"] {
    position: relative !important;
    top: auto !important;
  }

  /* --- Hero badge font --- */
  [style*="font-size:12px;font-weight:600;letter-spacing:2px"] {
    font-size: 10px !important;
    letter-spacing: 1px !important;
    padding: 5px 12px !important;
  }
}
