/* ============================================================
   SWAMI VIVEKANANDA AYURVEDIC MEDICAL COLLEGE & HOSPITAL
   Design System — "Tri-Vidya" (Three Streams of Knowledge)
   Core Stylesheet
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Colour — matched to the Swamy Vivekananda Naturopathy & Yogic Sciences emblem */
  --ivory: #F6F7F2;
  --ivory-deep: #ECEFE6;
  --sand: #DDE4D6;
  --forest: #123D3A;
  /* deep teal-green — nature/water, distinct from sister campuses */
  --forest-2: #1B524D;
  --forest-3: #256A62;
  --gold: #D9820F;
  /* saffron — from the turban */
  --gold-light: #F0A83E;
  --maroon: #C1272D;
  /* logo red — from "SWAMY VIVEKANANDA" lettering */
  --maroon-2: #9B1E23;
  --purple: #5B2C82;
  --purple-2: #45215F;
  --emblem-green: #2F7D4F;
  /* leaf / yoga icon green */
  --ink: #17201B;
  --ink-soft: #48524C;
  --line: rgba(18, 61, 58, 0.14);
  --line-on-dark: rgba(246, 247, 242, 0.16);
  --white: #FFFEFB;

  /* Entity accent colours */
  --entity-ayurveda: #2F7D4F;
  --entity-naturopathy: #1B524D;
  --entity-pharmacy: #D9820F;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --space-7: 9rem;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 60px -25px rgba(18, 51, 36, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(27, 24, 17, 0.18);

  --ease: cubic-bezier(.22, .68, 0, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  color: var(--forest);
}

p {
  margin: 0;
}

input,
textarea,
select {
  font-family: inherit;
}

::selection {
  background: var(--gold);
  color: var(--forest);
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Utility / Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section {
  padding: 3.5rem 0;
  position: relative;
}

.section-sm {
  padding: var(--space-5) 0;
}

.text-center {
  text-align: center;
}

.bg-forest {
  background: var(--forest);
  color: var(--ivory);
}

.bg-forest .h-title,
.bg-forest h2,
.bg-forest h3 {
  color: var(--ivory);
}

.bg-sand {
  background: var(--ivory-deep);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.brand-name-light {
  color: var(--ivory);
}

.hero-title-lg {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.2rem;
}

.hero-title-md {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin-bottom: 1rem;
}

.hero-title-md-alt {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  max-width: 520px;
}

.hero-title-sm {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 1.4rem;
}

.text-soft {
  color: var(--ink-soft);
  line-height: 1.75;
}

.text-soft-tight {
  color: var(--ink-soft);
  line-height: 1.7;
}

.text-soft-compact {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.text-soft-mb {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.section-subhead {
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.text-light-subtle {
  color: rgba(246, 247, 242, 0.55);
}

.text-footer-note {
  font-size: 0.85rem;
  color: rgba(246, 247, 242, 0.65);
  margin-bottom: 0.8rem;
}

.section-head-centered {
  margin-left: auto;
  margin-right: auto;
}

.section-head-center-auto {
  margin-left: auto;
  margin-right: auto;
}

.section-no-top {
  padding-top: 0;
}

.section-pt-5 {
  padding-top: var(--space-5);
}

.section-pt-6 {
  padding-top: var(--space-6);
}

.split-start {
  align-items: flex-start;
}

.gallery-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.enquiry-card-shell {
  max-width: 720px;
  margin: 0 auto;
}

.faq-shell {
  max-width: 760px;
  margin: 0 auto;
}

.btn-outline.hero-btn-outline {
  border-color: rgba(246, 247, 242, 0.5);
  color: #fff;
  background: rgba(18, 61, 58, 0.35);
  backdrop-filter: blur(6px);
}

.btn-outline.hero-btn-outline:hover {
  background: rgba(18, 61, 58, 0.55);
  color: #fff;
}

.u-mt-0-6 {
  margin-top: 0.6rem;
}

.u-mt-0-8 {
  margin-top: 0.8rem;
}

.u-mt-1 {
  margin-top: 1rem;
}

.u-mt-1-2 {
  margin-top: 1.2rem;
}

.u-mt-1-4 {
  margin-top: 1.4rem;
}

.u-mt-1-5 {
  margin-top: 1.5rem;
}

.u-mt-2 {
  margin-top: 2rem;
}

.u-mb-0-8 {
  margin-bottom: 0.8rem;
}

.u-mb-1 {
  margin-bottom: 1rem;
}

.u-mb-1-2 {
  margin-bottom: 1.2rem;
}

.u-mb-1-4 {
  margin-bottom: 1.4rem;
}

.u-text-center {
  text-align: center;
}

.u-narrow-center {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.u-text-success {
  color: var(--forest);
}

.u-hidden {
  display: none;
}

.stats-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-4) var(--space-5);
  grid-template-columns: repeat(3, 1fr);
  min-height: 180px;
  display: grid;
  align-items: center;
  justify-items: center;
}

.stat-item-compact {
  font-size: 1.4rem;
}

.stat-item-border {
  border-color: var(--line);
}

.stat-item-forest {
  color: var(--forest);
}

.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-top: 1rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-info-card > div:not(.icn) {
  flex: 1;
  min-width: 0;
}

.contact-info-card .icn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .icn svg {
  width: 20px;
  height: 20px;
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contact-info-card p.contact-address-line {
  font-size: 0.7rem;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  height: 340px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 1.3rem;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 0.96rem;
}

.legal-body ul {
  padding-left: 1.3rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
}

.callout-box {
  background: var(--ivory-deep);
  border-left: 4px solid var(--maroon);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
}

.callout-box p {
  color: var(--ink);
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.bg-forest .eyebrow {
  color: var(--gold-light);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-4);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: var(--space-2);
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.bg-forest .section-head p {
  color: rgba(247, 242, 231, 0.78);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.8em;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--maroon);
  color: var(--white);
  box-shadow: 0 12px 28px -12px rgba(122, 35, 49, 0.55);
}

.btn-primary:hover {
  background: var(--maroon-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(122, 35, 49, 0.65);
}

.btn-gold {
  background: var(--gold);
  color: var(--forest);
  box-shadow: 0 12px 28px -12px rgba(217, 130, 15, 0.55);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--ivory);
}

.bg-forest .btn-outline {
  color: var(--ivory);
}

.bg-forest .btn-outline:hover {
  background: var(--ivory);
  color: var(--forest);
}

.btn-sm {
  padding: 0.7em 1.4em;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 242, 231, 0.0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .3s ease;
  padding: 0.6rem 0;
}

.site-header.scrolled {
  background: rgba(247, 242, 231, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -20px rgba(18, 51, 36, 0.4);
  padding: 0.4rem 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 8px 20px -8px rgba(22, 34, 79, 0.5);
}

.brand-text {
  line-height: 1.15;
}

.brand-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ivory);
  display: block;
  transition: color .3s ease;
}

.brand-text .sub {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.7);
  transition: color .3s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.main-nav>ul {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.main-nav>ul>li {
  position: relative;
}

.main-nav>ul>li>a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ivory);
  padding: 0.5rem 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  white-space: nowrap;
  transition: color .3s ease;
}

.main-nav>ul>li>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.main-nav>ul>li>a:hover::after,
.main-nav>ul>li.active>a::after {
  transform: scaleX(1);
}

/* Scrolled state: header now has a light backdrop, so flip text to dark */
.site-header.scrolled .brand-text .name {
  color: var(--forest);
}

.site-header.scrolled .brand-text .sub {
  color: var(--ink-soft);
}

.site-header.scrolled .main-nav>ul>li>a {
  color: var(--forest);
}

.site-header.scrolled .main-nav>ul>li>a::after {
  background: var(--gold);
}

.site-header.scrolled .header-phone {
  color: var(--forest);
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
  min-width: 300px;
  display: grid;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  border: 1px solid var(--line);
}

.main-nav>ul>li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
}

.dropdown a:hover {
  background: var(--ivory-deep);
}

.dropdown a .d-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--forest);
}

.dropdown a .d-sub {
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ivory);
  transition: color .3s ease;
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--forest);
  display: block;
  transition: all .3s ease;
}

/* ---------- Mobile off-canvas (custom, no Bootstrap) ---------- */
.custom-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1045;
  display: flex;
  flex-direction: column;
  background: var(--forest);
  color: var(--ivory);
  width: min(360px, 88vw);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .3s ease, visibility .3s ease;
}

.custom-offcanvas.show {
  visibility: visible;
  transform: translateX(0);
}

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.offcanvas-backdrop.show {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

.custom-offcanvas .offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  border-bottom: 1px solid var(--line-on-dark);
}

.custom-offcanvas .offcanvas-body {
  padding: var(--space-3);
  overflow-y: auto;
}

.custom-offcanvas .btn-close {
  background: none;
  border: none;
  padding: 0.4rem;
  width: 32px;
  height: 32px;
  color: var(--ivory);
  cursor: pointer;
}

.custom-offcanvas .btn-close svg {
  width: 100%;
  height: 100%;
}

.custom-offcanvas ul li {
  border-bottom: 1px solid var(--line-on-dark);
}

.custom-offcanvas ul li a,
.custom-offcanvas ul li button.mob-toggle {
  display: block;
  width: 100%;
  padding: 1rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ivory);
}

.custom-offcanvas ul li button.mob-toggle {
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.custom-offcanvas .mob-sub {
  padding-left: 1rem;
  display: none;
}

.custom-offcanvas .mob-sub.open {
  display: block;
}

.custom-offcanvas .mob-sub a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 0.2rem;
  color: rgba(247, 242, 231, 0.8);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(18, 61, 58, 0.75), rgba(18, 61, 58, 0.85)), url('../images/student_yoga.webp') center/cover no-repeat;
  overflow: hidden;
  padding-top: 7rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 130, 15, 0.28), transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(37, 106, 98, 0.55), transparent 50%);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
}

.hero-eyebrow {
  color: var(--gold-light);
}

.hero h1 {
  color: var(--ivory);
  font-size: clamp(1.4rem, 5.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-lede {
  color: rgba(247, 242, 231, 0.82);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 520px;
  margin-top: var(--space-3);
}

.admission-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(217, 130, 15, 0.15);
  border: 1px solid rgba(240, 168, 62, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-top: var(--space-3);
}

.admission-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

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

/* Tri-Vidya visual: three entity discs orbiting */
.hero-visual {
  position: relative;
  height: 480px;
}

.tri-card {
  position: absolute;
  width: 230px;
  background: rgba(247, 242, 231, 0.06);
  border: 1px solid rgba(247, 242, 231, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.5);
}

.tri-card .tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.7rem;
}

.tri-card .tri-title {
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.tri-card p {
  color: rgba(247, 242, 231, 0.68);
  font-size: 0.8rem;
  line-height: 1.55;
}

.tri-card.c-ayur {
  top: 0;
  left: 6%;
  border-color: rgba(92, 122, 62, 0.5);
  animation: floatY 7s ease-in-out infinite;
}

.tri-card.c-ayur .tag {
  background: rgba(92, 122, 62, 0.25);
  color: #B7CF97;
}

.tri-card.c-natur {
  top: 38%;
  right: 0;
  border-color: rgba(47, 110, 99, 0.5);
  animation: floatY 8s ease-in-out infinite 1s;
}

.tri-card.c-natur .tag {
  background: rgba(47, 110, 99, 0.25);
  color: #9FD9CE;
}

.tri-card.c-pharm {
  bottom: 2%;
  left: 16%;
  border-color: rgba(160, 90, 44, 0.5);
  animation: floatY 6.5s ease-in-out infinite 0.5s;
}

.tri-card.c-pharm .tag {
  background: rgba(160, 90, 44, 0.25);
  color: #E3B58A;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ---------- Tri-Vidya band (signature recurring device) ---------- */
.trivand {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.trivand-item {
  padding: var(--space-4);
  border-left: 1px solid var(--line);
  position: relative;
  transition: background .3s ease;
}

.trivand-item:first-child {
  border-left: none;
}

.trivand-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.trivand-item.ayur::before {
  background: var(--entity-ayurveda);
}

.trivand-item.natur::before {
  background: var(--entity-naturopathy);
}

.trivand-item.pharm::before {
  background: var(--entity-pharmacy);
}

.trivand-item:hover {
  background: var(--ivory-deep);
}

.trivand-item .inst {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
  display: block;
}

.trivand-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.trivand-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.trivand-item .courses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.trivand-item .courses span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--ivory-deep);
  color: var(--forest);
}

.trivand-item .pill-link {
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--forest);
}

.trivand-item .pill-link svg {
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease);
}

.trivand-item:hover .pill-link svg {
  transform: translateX(4px);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(18, 51, 36, 0.28);
}

.info-card .icn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.info-card .icn svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.info-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Course cards */
.course-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -18px rgba(18, 51, 36, 0.3);
}

.course-card .cc-top {
  padding: var(--space-3);
  color: #fff;
  position: relative;
}

.course-card.ayur .cc-top {
  background: linear-gradient(135deg, var(--entity-ayurveda), #3E5729);
}

.course-card.natur .cc-top {
  background: linear-gradient(135deg, var(--entity-naturopathy), #1B463F);
}

.course-card.pharm .cc-top {
  background: linear-gradient(135deg, var(--entity-pharmacy), #6E3D1E);
}

.course-card .cc-top .code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.course-card .cc-top h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-top: 0.4rem;
}

.course-card .cc-body {
  padding: var(--space-3);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card .cc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.course-card .cc-meta span {
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--ivory-deep);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: var(--ink-soft);
}

.course-card .cc-body p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex: 1;
}

.cc-highlight-title {
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.cc-highlight-sub {
  font-size: 0.92rem;
  color: var(--forest);
  margin-top: 0.4rem;
  margin-bottom: 0.3rem;
}

.cc-highlight-caption {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.course-card .cc-inst {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-style: italic;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.stat-item {
  text-align: center;
  padding: var(--space-3) var(--space-2);
  border-right: 1px solid var(--line-on-dark);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--gold-light);
  font-weight: 700;
  display: block;
}

.stat-item .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(247, 242, 231, 0.72);
  margin-top: 0.5rem;
  display: block;
}

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

.stats-shell .stat-item {
  border-right-color: var(--line);
}

.stats-shell .stat-item .lbl {
  color: var(--ink-soft);
}

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  height: 100%;
}

.testi-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.testi-card p {
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}

.testi-person .name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--forest);
}

.testi-person .role {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ---------- Faculty cards ---------- */
.faculty-center-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.faculty-center-row .faculty-card {
  width: min(100%, 320px);
}

.faculty-card {
  background: linear-gradient(180deg, var(--white) 0%, #fcfcf8 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  height: 100%;
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(18, 51, 36, 0.28);
}

.faculty-photo {
  padding: 1rem 1rem 0;
}

.faculty-photo img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid var(--ivory-deep);
  box-shadow: 0 14px 32px -14px rgba(18, 51, 36, 0.35);
}

.faculty-info {
  padding: 1.25rem 1.2rem 1.4rem;
  text-align: center;
}

.faculty-info .fname {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.faculty-info .fdesig {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.faculty-info .fqual {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Forms ---------- */
.form-field {
  margin-bottom: var(--space-3);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-3);
}

@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.form-field .req {
  color: var(--maroon);
}

.form-control-custom {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.form-control-custom:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 130, 15, 0.15);
  outline: none;
}

.form-control-custom.is-invalid {
  border-color: var(--maroon);
}

.field-error {
  font-size: 0.76rem;
  color: var(--maroon);
  margin-top: 0.4rem;
  display: none;
}

.field-error.show {
  display: block;
}

.form-success {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .3s ease;
}

.form-success.show {
  opacity: 1;
  max-height: 100px;
  display: block !important;
}

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

.form-check-field {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.6rem;
  align-items: start;
}

.form-check-label {
  font-size: 0.85rem;
  font-weight: 400 !important;
  color: var(--ink-soft);
  cursor: pointer;
  letter-spacing: normal !important;
  margin-bottom: 0 !important;
  line-height: 1.5;
}

.form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  min-width: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-check-field .field-error {
  grid-column: 2;
}

.form-check-input.is-invalid {
  outline: 1.5px solid var(--maroon);
  outline-offset: 2px;
  border-radius: 3px;
}

.form-check-label a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
}

.enquiry-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

/* Enquiry popup modal */
.modal-enquiry .modal-content {
  border-radius: var(--radius-lg);
  border: none;
  overflow: hidden;
}

.modal-enquiry .modal-header {
  background: var(--forest);
  border: none;
  padding: var(--space-3);
}

.modal-enquiry .modal-header .modal-title {
  color: var(--ivory);
  font-family: var(--font-display);
}

.modal-enquiry .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}

.modal-enquiry .modal-body {
  padding: var(--space-4);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--forest), #0a2522);
  color: rgba(247, 242, 231, 0.82);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(217, 130, 15, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.9fr) 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line-on-dark);
}

.footer-brand .brand-text .name {
  color: var(--ivory);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(247, 242, 231, 0.65);
  max-width: 280px;
}

.footer-address {
  font-style: normal;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(247, 242, 231, 0.65);
}

.footer-address a {
  color: rgba(247, 242, 231, 0.85);
}

.footer-address a:hover {
  color: var(--gold-light);
}

.footer-col h2 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}

.footer-col li {
  margin-bottom: 0.7rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(247, 242, 231, 0.75);
  transition: color .25s ease, padding-left .25s ease;
}

.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}

.newsletter-box {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-box input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line-on-dark);
  background: rgba(247, 242, 231, 0.06);
  color: var(--ivory);
  font-size: 0.85rem;
}

.newsletter-box input::placeholder {
  color: rgba(247, 242, 231, 0.45);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  font-size: 0.8rem;
  color: rgba(247, 242, 231, 0.55);
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-bottom a {
  color: rgba(247, 242, 231, 0.55);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-legal {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--forest);
  padding: 9.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(217, 130, 15, 0.25), transparent 50%);
}

.page-hero .breadcrumb-custom {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(247, 242, 231, 0.6);
  margin-bottom: 1.2rem;
  position: relative;
}

.page-hero .breadcrumb-custom a {
  color: rgba(247, 242, 231, 0.6);
}

.page-hero .breadcrumb-custom a:hover {
  color: var(--gold-light);
}

.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  position: relative;
  max-width: 700px;
}

.page-hero p {
  color: rgba(247, 242, 231, 0.75);
  margin-top: 1rem;
  max-width: 560px;
  position: relative;
  font-size: 1.05rem;
}

/* ---------- Accordion (custom, no Bootstrap) ---------- */
.custom-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.custom-accordion .accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border: none;
  background: transparent;
  box-shadow: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
  padding: 1.4rem 0.2rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--maroon);
  background: transparent;
}

.custom-accordion .accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.custom-accordion .accordion-button:not(.collapsed) .accordion-icon {
  transform: rotate(180deg);
}

.custom-accordion .accordion-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.custom-accordion .accordion-collapse.show {
  max-height: 400px;
}

.custom-accordion .accordion-body {
  padding: 0 0.2rem 1.6rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ---------- Timeline (admissions steps) ---------- */
.step-line {
  position: relative;
  padding-left: 3.2rem;
}

.step-line::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--line);
}

.step-item {
  position: relative;
  padding-bottom: var(--space-4);
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item .dot {
  position: absolute;
  left: -3.2rem;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.step-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-item p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 600px;
}

/* ---------- Table (fee / comparison) ---------- */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.custom-table th {
  background: var(--forest);
  color: var(--ivory);
  text-align: left;
  padding: 1rem 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.custom-table td {
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background: var(--ivory-deep);
}

/* ---------- Gallery ---------- */
.gallery-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.gallery-filter-gap {
  gap: 0.7rem;
}

.gfilter-btn {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .3s ease;
}

.gfilter-btn.active,
.gfilter-btn:hover {
  background: var(--forest);
  color: var(--ivory);
  border-color: var(--forest);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--sand);
  cursor: pointer;
}

.gallery-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.08);
}

.gallery-grid figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem;
  background: linear-gradient(0deg, rgba(18, 51, 36, 0.85), transparent);
  color: #fff;
  font-size: 0.78rem;
  opacity: 0;
  transition: opacity .3s ease;
}

.gallery-grid figure:hover figcaption {
  opacity: 1;
}

/* ---------- Blog / News ---------- */
.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px);
}

.post-thumb {
  aspect-ratio: 16/10;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--forest), #1a5048);
}

.post-icn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(247, 242, 231, 0.1);
  border: 1px solid rgba(240, 168, 62, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}

.post-icn svg {
  width: 30px;
  height: 30px;
}

.post-card:hover .post-icn {
  transform: scale(1.12);
  background: rgba(240, 168, 62, 0.22);
  border-color: rgba(240, 168, 62, 0.7);
}

.post-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--forest);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.post-body {
  padding: var(--space-3);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.post-body h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.post-body p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.post-readmore {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Careers ---------- */
.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  padding: var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: box-shadow .3s ease, border-color .3s ease;
}

.job-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}

.job-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.job-card .job-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.job-card .job-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ---------- Counter/Why-choose split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  max-height: 440px;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-float {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.badge-float .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--forest);
  font-weight: 700;
}

.badge-float .lbl {
  font-size: 0.72rem;
  color: var(--ink-soft);
  max-width: 100px;
  line-height: 1.3;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.check-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-top: 2px;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

/* ---------- Whatsapp float ---------- */
.wa-float {
  position: fixed;
  bottom: 1.8rem;
  left: 1.8rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.6);
  z-index: 999;
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* ---------- Mobile bottom CTA bar (phones only, see responsive.css) ---------- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  bottom: calc(0.7rem + env(safe-area-inset-bottom));
  z-index: 1000;
  align-items: stretch;
  background: var(--forest);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.mobile-cta-bar>a,
.mobile-cta-bar>button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 56px;
  color: var(--ivory);
  background: transparent;
  border: none;
  border-left: 1px solid rgba(246, 247, 242, 0.16);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
}

.mobile-cta-bar>a:first-child {
  border-left: none;
}

.mobile-cta-bar svg {
  width: 22px;
  height: 22px;
}

.mobile-cta-bar .mobile-cta-item[href^="https://wa.me"] svg {
  fill: #25D366;
}

.mobile-cta-bar a[href^="tel:"] svg {
  fill: none;
  stroke: var(--gold-light);
}

/* ============================================================
   SITE UPDATE — banner photos, breadcrumb photos, footer polish,
   tighter section rhythm, leadership pages, admission layout, FAQ
   ============================================================ */

/* ---------- Home hero background photo ---------- */
.hero {
  background:
    linear-gradient(160deg, rgba(18, 61, 58, 0.90), rgba(18, 61, 58, 0.85)),
    url("../images/yogaall.webp") center 30% / cover no-repeat;
}

/* ---------- Interior page-hero breadcrumb background photos ---------- */
.page-hero-photo {
  background:
    linear-gradient(160deg, rgba(18, 61, 58, 0.92), rgba(18, 61, 58, 0.84)),
    var(--ph-img) center / cover no-repeat;
}

.page-hero-about {
  --ph-img: url("../images/student_yoga.webp");
}

.page-hero-course {
  --ph-img: url("../images/yoga_building.webp");
}

.page-hero-faculty {
  --ph-img: url("../images/building.webp");
}

.page-hero-faq {
  --ph-img: url("../images/garden.webp");
}

.page-hero-admission {
  --ph-img: url("../images/campus_gate.webp");
}

.page-hero-chairman,
.page-hero-principal {
  --ph-img: url("../images/yogaall_2.webp");
}

/* Compact page-hero variant: buttons first, breadcrumb tucked below */
.page-hero-compact {
  padding-bottom: 3.2rem;
}

.breadcrumb-below {
  margin-top: 1.8rem;
  margin-bottom: 0;
}

/* ---------- Tighter section rhythm (opt-in) ---------- */
.section-tight {
  padding: 2.2rem 0;
}

.section-tight.section-no-top {
  padding-top: 0;
}

/* ---------- Modern icon-stat cards (Course page, second section) ---------- */
.icon-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.icon-stat-card {
  background: linear-gradient(145deg, var(--white), var(--ivory-deep));
  border: 1px solid rgba(18, 61, 58, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  box-shadow: 0 10px 30px -10px rgba(18, 61, 58, 0.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  position: relative;
  overflow: hidden;
}

.icon-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
  transform-origin: center;
}

.icon-stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(18, 61, 58, 0.15);
  border-color: rgba(217, 130, 15, 0.3);
}

.icon-stat-card:hover::after {
  transform: scaleX(1);
}

.icon-stat-card .icn {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: rgba(47, 125, 79, 0.1);
  color: var(--entity-ayurveda);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-stat-card .icn svg {
  width: 26px;
  height: 26px;
}

.icon-stat-card .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
  font-weight: 700;
  display: block;
  margin-bottom: .3rem;
}

.icon-stat-card .lbl {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Single-course layout (Home) ---------- */
.course-card-solo {
  display: flex !important;
  justify-content: center;
}
.course-card-solo > .course-card {
  width: 100%;
  max-width: 480px;
}

/* ---------- Leadership pages (Chairman / Principal) ---------- */
.leader-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.4;
}

.leader-signoff {
  margin-top: 1.4rem;
}

.leader-signoff .name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  font-size: 1.05rem;
}

.leader-signoff .role {
  font-size: .82rem;
  color: var(--ink-soft);
  margin-top: .15rem;
}

/* Clickable leader name/link on Faculty page */
.faculty-info .fname-link {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.faculty-info .fname-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* ---------- Admission: process + form side-by-side ---------- */
.admission-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: stretch;
}

/* Left column wraps section-head + steps, stretches full height */
.admission-left-col {
  display: flex;
  flex-direction: column;
}

.admission-left-col .step-line {
  flex: 1;
  margin-top: 0;
}

/* enquiry-card stretches to fill its column */
.admission-grid > .enquiry-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.admission-grid > .enquiry-card form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.admission-grid > .enquiry-card form > .row {
  flex: 1;
}

/* ---------- FAQ accordion page ---------- */
.faq-page-shell {
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- Footer polish (site-wide) ---------- */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.footer-col h2 {
  position: relative;
  padding-bottom: .7rem;
}

.footer-col h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--gold);
}

.footer-social a {
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.newsletter-box input,
.newsletter-box .btn {
  border-radius: 10px;
}

@media (max-width: 768px) {
  .icon-stats {
    grid-template-columns: 1fr;
  }

  .admission-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* end */

/* ---------- Contact page two-column layout ---------- */
.contact-two-col {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-5);
  align-items: start;
}

@media (max-width: 991px) {
  .contact-two-col {
    grid-template-columns: 1fr;
  }
}