/* ========================================
   MIINAL PATIL WEBSITE
   PREMIUM BUSINESS COACH DESIGN
   PRIMARY ACCENT: #2BD9B6
======================================== */

/* ========================================
   ROOT VARIABLES
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --accent: #0c3622;
  --accent-dark: #965a42;

  /* Background Colors */
  --bg: #FFFFFF;
  --bg-soft: #F7F4EE;

  /* Text Colors */
  --text: #a67c00;
  --text-soft: #000000;

  /* Borders & Cards */
  --border: #E5DED2;
  --card: #FFFFFF;

  /* Dark Mode Compatibility */
  --dark-bg: #FFFFFF;
  --dark-card: #FFFFFF;
  --dark-text: #006af6;
  --dark-soft: #555B63;

  /* Shadows & Layout */
  --shadow: 0 15px 45px rgba(38, 59, 86, 0.10);
  --radius: 20px;
  --container: 1180px;
}

/* Keep Website Light in All States */
html.dark {
  --bg: #FFFFFF;
  --bg-soft: #F7F4EE;
  --text: #a67c00;
  --text-soft: #000000;
  --border: #E5DED2;
  --card: #FFFFFF;

  --dark-bg: #FFFFFF;
  --dark-card: #FFFFFF;
  --dark-text: #006af6;
  --dark-soft: #555B63;

  --shadow: 0 15px 45px rgba(38, 59, 86, 0.10);
}
/* ========================================
   RESET
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition:
    background 0.25s ease
    color 0.25s ease;
  font-family: 'Inter', sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
/* ========================================
   CONTAINER
======================================== */

.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );
  margin: 0 auto;
}

.narrow-content {
  max-width: 2000px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   HEADER
======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0c3622;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* LOGO */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}

/* NAVIGATION */
.main-nav {
   display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
  
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
/* THEME TOGGLE */


/* MOBILE MENU BUTTON */

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  cursor: pointer;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin: 5px 0;
}

/* ========================================
   HERO
======================================== */

.hero {
  padding: 90px 0 80px;
}

.home-hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* HERO GRID */

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(420px, 0.82fr);
  gap: 70px;
  align-items: center;
}

/* HERO CONTENT */

.hero-content {
  position: relative;
  z-index: 2;
}

/* EYEBROW */

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-left: 32px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}

/* HEADING */

.hero h1 {
  max-width: 600px;
  margin-bottom: 28px;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -3px;
  font-weight: 400;
}

.hero h1 span {
  display: block;
  color: var(--accent);
  font-weight: 350;
  font-style: italic;
}

/* DESCRIPTION */

.hero-text {
  max-width: 570px;
  margin-bottom: 34px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text-soft);
}

/* HERO ACTIONS */

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

/* HERO STATS */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 650px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  border-right: 1px solid var(--border);
}

.hero-stat:not(:first-child) {
  padding-left: 25px;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat strong {
  font-size: 25px;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.5px;
}

.hero-stat span {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.2;
  color: var(--text-soft);
  letter-spacing: 0.3px;
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* IMAGE FRAME */

.hero-card {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 0.86;
  padding: 10px;
  border-radius: 30px;
  background:
    linear-gradient(
      145deg,
      rgba(43, 217, 182, 0.65),
      rgba(43, 217, 182, 0.08)
    );
  box-shadow:
    0 30px 70px
    rgba(0, 0, 0, 0.30);
}

/* IMAGE */

.hero-image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 23px;
  background:
    linear-gradient(
      145deg,
      #172522,
      #0d1514
    );
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.hero-card:hover
.hero-image-placeholder img {
  transform: scale(1.025);
}

/* FLOATING GROWTH CARD */

.hero-growth-card {
  position: absolute;
  bottom: 45px;
  min-width: 200px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 17px;
  box-shadow:
    0 18px 45px
    rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
 
}

.growth-label {
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--text-soft);
}

.hero-growth-card strong {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--accent);
}

.growth-text {
  margin-top: 2px;
  font-size: 10px;
  color: var(--text-soft);
}

/* ========================================
   PAGE HERO
======================================== */

.page-hero {
  padding: 110px 0 90px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.page-hero p {
  font-size: 18px;
  color: var(--text-soft);
}

/* ========================================
   SECTIONS
======================================== */

.section {
  padding: 105px 0;
}

.soft-section {
  background: var(--bg-soft);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 55px;
}

.section-heading > div {
  max-width: 720px;
}

.section-heading > p {
  max-width: 420px;
  color: var(--text-soft);
}

.center-heading {
  display: block;
  text-align: center;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.section p {
  color: var(--text-soft);
}

.center-text {
  text-align: center;
}

.intro-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.intro-section p {
  font-size: 18px;
}

/* ========================================
   BUTTONS
======================================== */


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
  font-family: 'Inter', sans-serif;
}


.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow:
    0 10px 25px
    rgba(43, 217, 182, 0.18);
}



.btn-primary:hover {
  background: var(--accent);
}

.program-detail-card .btn-primary {
  margin-top: auto;
  align-self: flex-end;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.btn-light {
  background: #ffffff;
  color: #0b1513;
}

.center-button {
  text-align: center;
  margin-top: 45px;
}

/* ========================================
   CARDS
======================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.four-grid {
  grid-template-columns: repeat(4, 1fr);
}

.three-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.program-card,
.testimonial-card,
.event-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover,
.program-card:hover,
.testimonial-card:hover,
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color:
    rgba(43, 217, 182, 0.45);
}

.feature-card h3,
.program-card h3,
.event-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card-number,
.card-icon {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 35px;
}

.accent-text {
  color: var(--accent);
}

/* ========================================
   ABOUT / SPLIT SECTIONS
======================================== */

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 25px;
  align-items: center;
}

.section-image {
  min-height: 360px;
  border-radius: 30px;
}

.about-placeholder > div {
  width: 100%;
  min-height: 360px;
  border-radius: 22px;
  background: #a67c00;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  color: #ffffff;
}

.about-placeholder span {
  font-size: 25px;
  font-weight: 700;
}

.about-placeholder small {
  font-size: 12px;
}

.section-content p {
  margin-bottom: 18px;
}

.text-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}

/* ========================================
   PROGRAM CARDS
======================================== */

.program-card {
  min-height: 300px;
}

.featured-program {
  border-color: var(--accent);
  background:
    linear-gradient(
      145deg,
      var(--card),
      rgba(43, 217, 182, 0.06)
    );
}

.program-tag {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: var(--accent);
}

.program-card h3 {
  font-size: 25px;
  margin-bottom: 16px;
}

.card-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
/* ========================================
   PROGRAM DETAIL CARD BUTTON ALIGNMENT
======================================== */

.program-detail-card {
  min-height: 450px;
}

.program-detail-card > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.program-detail-card > div:nth-child(2) > .btn-primary {
  margin-top: auto;
  align-self: flex-end;
}

/* ========================================
   TRANSFORMATION
======================================== */

.transformation-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: center;
}

.transformation-card {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.transformation-card span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-soft);
}

.transformation-card h3 {
  font-size: 25px;
  margin: 12px 0;
}

.highlight-card {
  border-color: var(--accent);
}

.highlight-card span {
  color: var(--accent);
}

.transformation-arrow {
  font-size: 35px;
  color: var(--accent);
}

/* ======================================== TESTIMONIALS - HORIZONTAL CAROUSEL ======================================== */ 
.testimonial-carousel { 
  position: relative; 
  padding: 0 38px; 
} 
.testimonial-grid { 
  display: flex; 
  gap: 22px; 
  overflow-x: auto; 
  scroll-behavior: smooth; 
  scroll-snap-type: x mandatory; 
  scrollbar-width: none; 
  -ms-overflow-style: none; 
} 
.testimonial-grid::-webkit-scrollbar { 
  display: none; 
} 
.testimonial-card { 
  flex: 0 0 calc((100% - 44px) / 3); 
  min-width: 0; 
  box-sizing: border-box; 
  scroll-snap-align: start; 
} 
.quote-mark { 
  color: var(--accent); 
  font-size: 50px; 
  line-height: 1; 
  margin-bottom: 15px; 
} 
.testimonial-card p { 
  font-size: 15px; 
  margin-bottom: 25px; 
} 
.testimonial-card strong 
{ 
  display: block; 
  font-size: 13px; 
} 
.testimonial-card span { 
  font-size: 11px; 
  color: var(--text-soft); 
} 
/* Navigation arrows */ 
.testimonial-arrow { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  z-index: 2; 
  width: 38px; 
  height: 38px; 
  border: none; 
  border-radius: 50%; 
  background: var(--accent); 
  color: #fff; 
  font-size: 18px; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: opacity 0.2s ease, transform 0.2s ease; 
} 
.testimonial-arrow:hover { 
  transform: translateY(-50%) scale(1.08); 
} 
.testimonial-prev { 
  left: 0; 
} 
.testimonial-next { 
  right: 0; 
} 
.testimonial-arrow:disabled 
{ 
  opacity: 0.35; 
  cursor: not-allowed; 
}
/* ========================================
   FORM SUCCESS DIALOG
======================================== */

.success-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.success-dialog-overlay[hidden] {
  display: none;
}

.success-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 40px 32px;
  text-align: center;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: successDialogIn 0.25s ease;
}

.success-dialog-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
}

.success-dialog h3 {
  margin: 0 0 12px;
  font-size: 28px;
  color: var(--accent);
}

.success-dialog p {
  margin: 0 auto 28px;
  max-width: 340px;
  line-height: 1.2;
  color: var(--text);
}

.success-dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

.success-dialog-close:hover {
  opacity: 0.7;
}

@keyframes successDialogIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================
   MEDIA
======================================== */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.media-placeholder {
  min-height: 230px;
  background:
    linear-gradient(
      135deg,
      #c9f8ee,
      var(--accent)
    );
  color: #10201d;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

.media-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-content {
  padding: 28px;
}

.media-content > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.media-content h3 {
  margin: 10px 0;
  font-size: 20px;
}

.media-placeholder.podcast {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
}

.media-placeholder.podcast iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   PODCAST HORIZONTAL SLIDER
======================================== */

.media-slider {
  position: relative;
  width: 100%;
}

/* Horizontal scrolling track */
.media-grid.podcast-slider {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  width: 100%;
  gap: 24px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 0 5px 20px;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
}

.media-grid.podcast-slider::-webkit-scrollbar {
  display: none;
}

/* Podcast cards */
.media-grid.podcast-slider .media-card {
  flex: 0 0 calc((100% - 48px) / 3) !important;

  width: calc((100% - 48px) / 3) !important;
  min-width: calc((100% - 48px) / 3) !important;
  max-width: calc((100% - 48px) / 3) !important;

  scroll-snap-align: start;

  overflow: hidden;
}


/* ========================================
   PODCAST ARROWS
======================================== */

.media-slider .media-arrow {
  position: absolute;
  top: 42%;
  z-index: 20;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;  

  border: none;
  border-radius: 50%;

  background: var(--accent);
  color: #ffffff;

  font-size: 30px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);

  transform: translateY(-50%);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.media-slider .media-arrow:hover {
  background: var(--accent-dark);

  transform: translateY(-50%) scale(1.08);

  box-shadow:
    0 10px 30px rgba(43, 217, 182, 0.25);
}

.media-slider .media-arrow-left {
  left: -24px;
}

.media-slider .media-arrow-right {
  right: -24px;
}


/* ========================================
   PODCAST TABLET
   2 CARDS VISIBLE
======================================== */

@media (max-width: 1000px) {

  .media-grid.podcast-slider .media-card {
    flex: 0 0 calc((100% - 24px) / 2) !important;

    width: calc((100% - 24px) / 2) !important;
    min-width: calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2) !important;
  }

  .media-slider .media-arrow-left {
    left: -16px;
  }

  .media-slider .media-arrow-right {
    right: -16px;
  }
  .testimonial-carousel { 
    padding: 0 30px; 
  } 
  .testimonial-card { 
    flex-basis: 100%; 
  } 
  .testimonial-grid { 
    gap: 16px; 
  } 
  .testimonial-arrow { 
    width: 30px; 
    height: 30px; 
    font-size: 14px; 
  }
}


/* ========================================
   PODCAST MOBILE
   1 CARD + PARTIAL NEXT CARD
======================================== */

@media (max-width: 760px) {

  .media-grid.podcast-slider {
    gap: 18px;
  }

  .media-grid.podcast-slider .media-card {
    flex: 0 0 85% !important;

    width: 85% !important;
    min-width: 85% !important;
    max-width: 85% !important;
  }

  .media-slider .media-arrow {
    width: 40px;
    height: 40px;

    font-size: 26px;
  }

  .media-slider .media-arrow-left {
    left: 4px;
  }

  .media-slider .media-arrow-right {
    right: 4px;
  }
}
/* ========================================
   DARK SECTION
======================================== */

.dark-section {
  background: var(--dark-bg);
  color: var(--dark-text);
}

.dark-section p {
  color: var(--dark-soft);
}

.dark-section h2 {
  color: var(--text);
}

.dark-section h2 span {
  color: var(--accent);
}

.dark-lead {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 17px;
}

/* ========================================
   COMMUNITY CTA
======================================== */

.community-cta {
  padding: 80px 0;
  background: var(--accent);
  color: #071311;
  padding: 80px 20px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.community-cta .eyebrow {
  color: #ffffff;
}

.community-cta h2 {
  max-width: 800px;
  margin-bottom: 0;
  color: #ffffff;
}

.community-cta h2 span {
  color: #ffffff;
}

/* ========================================
   CONTACT
======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  display: flex;
  gap: 50px;
  margin-top: 40px;
}

.contact-details div {
  display: flex;
  flex-direction: column;
}

.contact-details span {
  font-size: 11px;
  color: var(--text-soft);
}

.contact-details strong {
  margin-top: 5px;
}

/* FORM */

.contact-form {
  padding: 35px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}



.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color:var(--accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--accent);
  padding: 13px 15px;
  outline: none;
  font-size: 13px;
  transition: border-color 0.2s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group .field-error {
  margin-top: 6px;
  color: #ff6b6b;
  font-size: 11px;
}

.form-group input.input-error,
.form-group textarea.input-error,
.form-group select.input-error {
  border-color: #ff6b6b;
}

.form-note {
  margin-top: 15px;
  font-size: 12px;
  color: var(--accent) !important;
}

/* ========================================
   TIMELINE
======================================== */

.timeline {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 35px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-year {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.timeline-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* ========================================
   PHILOSOPHY
======================================== */

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.philosophy-grid h2 {
  font-size: clamp(35px, 4vw, 55px);
}

.philosophy-grid p {
  margin-bottom: 20px;
}

/* ========================================
   STEPS
======================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-card > span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.step-card h3 {
  margin: 25px 0 10px;
}

/* ========================================
   IMPACT
======================================== */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.impact-grid div {
  padding: 35px;
  border-right: 1px solid var(--border);
}

.impact-grid div:last-child {
  border-right: none;
}

.impact-grid strong {
  display: block;
  color: var(--accent);
  font-size: 25px;
}

.impact-grid span {
  display: block;
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 12px;
}

/* ========================================
   PROGRAM DETAILS
======================================== */

.program-detail {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  padding: 60px;
  border: 1px solid var(--accent);
  border-radius: 30px;
  background: var(--card);
}

.program-detail h2 {
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.1;
  margin-bottom: 25px;
}

.program-detail .lead {
  font-size: 18px;
  margin-bottom: 20px;
}

.program-detail-side {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-item {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.detail-item span {
  display: block;
  color: var(--text-soft);
  font-size: 11px;
}

.detail-item strong {
  display: block;
  margin-top: 5px;
}

/* PROGRAM LIST */

.program-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.program-detail-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.program-detail-card:hover {
  border-color:
    rgba(43, 217, 182, 0.5);
}

.program-index {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.program-detail-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.check-list {
  list-style: none;
  margin: 25px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.check-list li {
  font-size: 13px;
  color: var(--text-soft);
}

.check-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}

.program-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.program-meta span {
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
}

/* ========================================
   COMMUNITY
======================================== */

.community-visual {
  min-height: 500px;
  border-radius: 30px;
  padding: 20px;
  background:
    linear-gradient(
      145deg,
      var(--accent),
      #c9f8ee
    );
}

.community-quote {
  height: 100%;
  min-height: 460px;
  border-radius: 23px;
  background: #13201e;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.community-quote span {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 2px;
}

.community-quote strong {
  font-size: 38px;
}

.community-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-placeholder {
  border-radius: 20px;
  background:
    linear-gradient(
      135deg,
      #d9eee9,
      var(--accent)
    );
  display: grid;
  place-items: center;
  color: #11221e;
  font-weight: 700;
  letter-spacing: 1px;
}

.gallery-placeholder.large {
  grid-row: span 2;
}

/* ========================================
   MEDIA PAGE
======================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.video-thumbnail {
  min-height: 230px;
  background:
    linear-gradient(
      135deg,
      #c9f8ee,
      var(--accent)
    );
  display: grid;
  place-items: center;
}

.video-thumbnail iframe {
  display: block;
  width: 100%;
  height: 230px;
  padding: 0;
  margin: 0;
  border: none;
}

.play-button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #10201d;
  box-shadow: var(--shadow);
}

.video-info {
  padding: 25px;
}

.video-info span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.video-info h3 {
  margin-top: 10px;
  font-size: 18px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.event-card {
  min-height: 240px;
}
/* ========================================
   MEDIA & KNOWLEDGE SECTION
   RESPONSIVE DESIGN
======================================== */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  align-items: stretch;
}

.media-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-color, rgba(128, 128, 128, 0.2));
  background: var(--card-bg, transparent);
}

.media-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.media-content {
   display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  flex: 1;
  min-height: 250px;
  box-sizing: border-box;
}

.media-content span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent, #6552b1);
}

.media-content h3 {
  font-size: clamp(1.1rem, 1.2vw, 1rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin: 0;
}

.media-content p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: normal;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
  padding: 70px 0 25px;
  background: #0c3622;
  color: white;
}

.site-footer .logo span {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 50px;
}

.footer-brand p {
  margin-top: 18px;
  color:  white;
  font-size: 13px;
}

.footer-tagline {
  max-width: 350px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  margin-bottom: 10px;
  color:  white;
  font-size: 13px;
}

.footer-links a {
  color:  white;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #26332f;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  color: #ffffff;
  font-size: 11px;
}

/* ========================================
   BACK TO TOP
======================================== */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 500;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1000px) {

  .main-nav {
    gap: 17px;
  }

  .hero-grid,
  .split-section,
  .contact-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-visual {
    order: -1;
  }

  .four-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .three-grid,
  .testimonial-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-detail {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid div:nth-child(2) {
    border-right: none;
  }

  .impact-grid div {
    border-bottom: 1px solid var(--border);
  }

  /* Podcast slider */

  .media-grid.podcast-slider .media-card {
    flex: 0 0 calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }

  .media-arrow-left {
    left: -16px;
  }

  .media-arrow-right {
    right: -16px;
  }
    .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .media-content {
    padding: 20px;
  }
    .nav-container {
    gap: 60px;
  }

  .main-nav {
    gap: 20px;
  }
}

@media (max-width: 760px) {

  .container {
    width: min(
      calc(100% - 30px),
      var(--container)
    );
  }

  .site-header {
    position: sticky;
  }

  .nav-container {
    min-height: 70px;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 15px;
    right: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px;
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 70px 0;
  }

  .home-hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.5px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-card {
    width: 100%;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 40px;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .card-grid,
  .four-grid,
  .three-grid,
  .testimonial-grid,
  .video-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .transformation-grid {
    grid-template-columns: 1fr;
  }

  .transformation-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 25px;
  }

  .program-detail {
    padding: 30px;
  }

  .program-detail-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .community-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-placeholder.large {
    grid-row: auto;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid div,
  .impact-grid div:nth-child(2) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Podcast slider */

  .media-grid.podcast-slider .media-card {
    flex: 0 0 85%;
    width: 85%;
    min-width: 85%;
  }

  .media-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .media-arrow-left {
    left: 4px;
  }

  .media-arrow-right {
    right: 4px;
  }
   .media-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .media-card {
    width: 100%;
  }

  .media-content {
    padding: 20px;
    gap: 10px;
  }

  .media-content h3 {
    font-size: 1.2rem;
  }

  .media-content p {
    font-size: 1rem;
    line-height: 1.2;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .section-heading > div {
    min-width: 0;
    width: 100%;
  }

  .section-heading h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    overflow-wrap: anywhere;
  }
   .main-nav {
    display: none;
  }
}