/* ==========================================================================
   ELECTRO HOMEOPATHIC BOARD — MAIN STYLESHEET
   Design tokens
   --brand-navy   : institutional authority (headers, text, footer top)
   --brand-amber  : electro-therapy / energy accent (CTAs, badges)
   --brand-herb   : herbal green (footer base, natural-medicine cue)
   --brand-cream  : warm paper background
   ========================================================================== */

:root {
  --brand-navy: #0e2a47;
  --brand-navy-deep: #081b30;
  --brand-amber: #e2812c;
  --brand-amber-deep: #c96a1a;
  --brand-herb: #1c5b41;
  --brand-herb-deep: #123d2c;
  --brand-cream: #faf6ee;
  --brand-paper: #fffaf1;
  --ink: #1c2430;
  --ink-soft: #566072;
  --line: #e7dfcd;
  --white: #ffffff;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-card: 0 18px 40px -18px rgba(14, 42, 71, 0.28);
  --shadow-soft: 0 10px 24px -14px rgba(14, 42, 71, 0.22);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--brand-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--brand-navy);
  margin: 0 0 0.5em;
  line-height: 1.2;
}
p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}
button {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--brand-amber-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--brand-amber);
  display: inline-block;
}
.section-head {
  max-width: 640px;
  /* margin: 0 0 42px; */
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
}
.btn-amber {
  background: var(--brand-amber);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-amber:hover {
  background: var(--brand-amber-deep);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--brand-navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--brand-navy-deep);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--brand-navy);
}
.btn-outline-navy {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}
.btn-outline-navy:hover {
  background: var(--brand-navy);
  color: var(--white);
}
.btn-sm {
  padding: 5px 16px;
  font-size: 0.82rem;
}
.btn-block {
  width: 100%;
}

/* ---------- signature emblem (leaf + pulse) reused across the site ---------- */
.emblem {
  width: 1em;
  height: 1em;
  display: inline-block;
}

/* ============================== TOP BAR ============================== */
.topbar {
  background: var(--brand-navy-deep);
  color: #cfd9e6;
  font-size: 0.82rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.topbar-phones {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-phones a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cfd9e6;
}
.topbar-phones a:hover {
  color: var(--brand-amber);
}
.topbar-phones a svg {
  display: block;
  width: 14px;
  height: 14px;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.topbar-links a {
  padding: 0 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  color: #cfd9e6;
}
.topbar-links a:first-child {
  border-left: none;
}
.topbar-links a:hover {
  color: var(--brand-amber);
}

/* ============================== MAIN HEADER ============================== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 14px rgba(14, 42, 71, 0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 70px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li {
  position: relative;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 15px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--brand-navy);
  border-radius: var(--radius-sm);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--brand-amber-deep);
}
.main-nav .caret {
  font-size: 0.6rem;
  transition: transform 0.2s;
}
.main-nav li:hover .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 50;
}
.main-nav li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.dropdown a:hover {
  background: var(--brand-cream);
  color: var(--brand-amber-deep);
}

.header-badge {
  display: flex;
  align-items: right;
  gap: 10px;
  flex-shrink: 0;
}
.header-badge img {
  height: 56px;
  width: auto;
}

.nav-toggle {
  display: none;
}

/* ============================== HERO SLIDER ============================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand-navy);
}
.hero-slides {
  position: relative;
  height: min(76vh, 640px);
  min-height: 440px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
        90deg,
        rgba(8,27,48,.88) 0%,
        rgba(8,27,48,.72) 35%,
        rgba(8,27,48,.35) 70%,
        rgba(8,27,48,.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: var(--white);
  padding: 0 24px;
}
.hero-content .eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 22px;
    border-radius: 50px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    color: var(--brand-amber);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-content h1{
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(2.6rem,5vw,4.2rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.03em;
    max-width: 640px;
}
.hero-content p{
    max-width: 580px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.2;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover {
  background: var(--brand-amber);
  border-color: var(--brand-amber);
}
.hero-arrow.prev {
  left: 24px;
}
.hero-arrow.next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  bottom: 52px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
}
.hero-dots button.active {
  background: var(--brand-amber);
  width: 22px;
  border-radius: 6px;
}

.news-strip {
  background: var(--brand-amber);
  color: var(--white);
  overflow: hidden;
}
.news-strip .wrap {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 16px;
}
.news-strip .tag {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-navy-deep);
  padding: 6px 14px;
  border-radius: 999px;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}
.marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 28s linear infinite;
  font-weight: 600;
  font-size: 0.9rem;
}
.marquee-track span {
  margin-right: 60px;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (max-width: 768px) {

    .hero-slides {
        aspect-ratio: 16/9;
        height: 142px;
        min-height: auto;
        width: 100%;
    }
    .hero-slide {
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #fff;
    }
    .hero-content {
        display: none;
    }
    .hero-arrow,
    .hero-dots {
        display: none;
    }
    .hero-slide::after {
        background: none;
    }
}
/* ============================== WELCOME ============================== */
.welcome {
  padding: 88px 0;
}
.welcome .grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.welcome-features {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.feature-card {
  flex: 1 1 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
}
.feature-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-cream);
  color: var(--brand-amber-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.feature-card h4 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 0.88rem;
  margin: 0;
}

.welcome-media {
  position: relative;
}
.welcome-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.welcome-media .stat-chip {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: var(--brand-navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}
.stat-chip .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--brand-amber);
  display: block;
}
.stat-chip .lbl {
  font-size: 0.78rem;
  color: #cfd9e6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================== COURSES ============================== */
.courses {
  padding: 88px 0;
  background: var(--white);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: var(--brand-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.course-media {
  position: relative;
  height: 190px;
}
.course-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.course-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand-amber);
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
}
.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.course-body h3 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 6px 0 4px;
}
.course-meta strong {
  color: var(--brand-navy);
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.course-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.course-actions .btn {
  flex: 1;
  padding: 11px 16px;
  font-size: 0.82rem;
}

/* ============================== TEACHERS ============================== */
.teachers {
  padding: 88px 0;
  background: var(--brand-cream);
}
.teacher-slider {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 calc(100% - 60px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 calc(100% - 60px),
    transparent 100%
  );
}
.teacher-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  padding-right: 24px;
  scrollbar-width: none;
}
.teacher-track::-webkit-scrollbar {
  display: none;
}
.teacher-card {
  scroll-snap-align: start;
  flex: 0 0 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.teacher-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 4px solid var(--brand-cream);
  box-shadow: 0 0 0 3px var(--brand-amber);
}
.teacher-photo img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}
.teacher-card h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.teacher-card .role {
  font-size: 0.8rem;
  color: var(--brand-amber-deep);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}
.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 26px;
}
.slider-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brand-navy);
}
.slider-controls button:hover {
  background: var(--brand-navy);
  color: var(--white);
}

/* ============================== TESTIMONIALS ============================== */
.testimonials {
  padding: 40px 0;
  background: var(--brand-navy);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(226, 129, 44, 0.18),
      transparent 45%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(226, 129, 44, 0.12),
      transparent 45%
    );
}
.testimonials .wrap {
  position: relative;
  z-index: 2;
}
.testimonialSwiper {
  margin-top: 35px;
  padding-bottom: 45px;
}
.testimonials .section-head .eyebrow {
  color: var(--brand-amber);
}
.testimonials .section-head .eyebrow::before {
  background: var(--brand-amber);
}
.testimonials .section-head h2 {
  color: var(--white);
}
.testimonials .section-head p {
  color: #cfd9e6;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px;
  min-height: 200px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--brand-amber);
}
.testimonial-stars {
  color: var(--brand-amber);
  font-size: 0.85rem;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}
.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-person h5 {
  font-size: 0.92rem;
  color: var(--brand-navy);
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
}
.testimonial-person span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.testimonialSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.35;
}
.testimonialSwiper .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 20px;
  background: var(--brand-amber);
  opacity: 1;
}

/* ============================== STUDENT CORNER ============================== */
.student-corner {
  padding: 88px 0;
  background: var(--white);
}
.sc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.sc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.sc-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.sc-card .ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-amber);
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.sc-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.sc-card p {
  font-size: 0.84rem;
  margin: 0;
}

/* ---- notices ---- */
.notice-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.notice-header {
  background: var(--brand-navy);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notice-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.05rem;
}

/* vertical marquee for the notice ticker */
.notice-marquee {
  height: 268px;
  overflow: hidden;
  position: relative;
  padding: 8px 8px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 18px,
    #000 calc(100% - 18px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 18px,
    #000 calc(100% - 18px),
    transparent 100%
  );
}
.notice-marquee:hover .notice-marquee-track {
  animation-play-state: paused;
}
.notice-marquee-track {
  animation: notice-scroll 16s linear infinite;
}
.notice-marquee-track li {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px dashed var(--line);
}
.notice-marquee-track li:last-child {
  border-bottom: none;
}
@keyframes notice-scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
.notice-date {
  flex-shrink: 0;
  width: 58px;
  text-align: center;
  background: var(--brand-cream);
  border-radius: 10px;
  padding: 8px 4px;
}
.notice-date .d {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brand-navy);
  display: block;
  line-height: 1;
}
.notice-date .m {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--brand-amber-deep);
  font-weight: 700;
}
.notice-marquee-track h5 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  color: var(--brand-navy);
}
.notice-marquee-track p {
  margin: 0;
  font-size: 0.8rem;
}
.notice-footer {
  padding: 16px 24px 22px;
}
/* ============================
   Notifications Page
============================= */

.notice-list-page {
  padding: 0;
}

.notice-list-page .notice-item {
  display: flex;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px dashed var(--line);
  transition: 0.3s;
}

.notice-list-page .notice-item:last-child {
  border-bottom: none;
}

.notice-list-page .notice-item:hover {
  background: #fafafa;
}

.notice-list-page .notice-content {
  flex: 1;
}

.notice-list-page .notice-content h5 {
  margin: 0 0 6px;
  color: var(--brand-navy);
  font-size: 1rem;
}

.notice-list-page .notice-content p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #5d6470;
}

/* Pagination */

.notice-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 10px;
}

.notice-pagination a,
.notice-pagination span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--brand-navy);
  transition: 0.3s;
}

.notice-pagination a:hover,
.notice-pagination .active {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}

@media (max-width: 768px) {
  .notice-list-page .notice-item {
    padding: 16px;
  }

  .notice-list-page .notice-content h5 {
    font-size: 0.95rem;
  }
}

/* ============================== FAQ ============================== */
.faq {
  padding: 88px 0;
  background: var(--white);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: flex-start;
}
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.accordion-q {
  width: 100%;
  text-align: left;
  background: var(--brand-cream);
  border: none;
  padding: 10px 16px;
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.96rem;
}
.accordion-q .plus {
  font-size: 1.2rem;
  color: var(--brand-amber-deep);
  transition: transform 0.2s;
}
.accordion-item.open .accordion-q .plus {
  transform: rotate(45deg);
}
.accordion-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}
.accordion-item.open .accordion-a {
  max-height: 200px;
  padding: 10px 16px 14px;
}
.accordion-a p {
  margin: 0;
  font-size: 0.88rem;
}

.form-card {
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.form-card h3 {
  color: var(--white);
}
.form-card p {
  color: #cfd9e6;
}
.field {
  margin-bottom: 14px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a9b6c8;
}
.field select option {
  color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}

/* light-theme field variant, for forms placed on cream/white cards */
.field-light input,
.field-light select,
.field-light textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
}
.field-light input::placeholder,
.field-light textarea::placeholder {
  color: #8b93a3;
}
.field-light select option {
  color: var(--ink);
}
.field-light textarea {
  resize: vertical;
  min-height: 100px;
}
.field-light input:focus,
.field-light select:focus,
.field-light textarea:focus {
  outline: none;
  border-color: var(--brand-amber);
}

/* ============================== COUNTER ============================== */
.counter {
  background: var(--brand-amber);
  padding: 56px 0;
}
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.counter-item {
  text-align: center;
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0 10px;
}
.counter-item:first-child {
  border-left: none;
}
.counter-item .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  display: block;
}
.counter-item .lbl {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ============================== REGISTER + GALLERY ============================== */
.register-section {
  padding: 88px 0;
}
.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}
.register-card {
  background: var(--brand-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery-grid a {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 170px;
  display: block;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-grid a:hover img {
  transform: scale(1.08);
}
.gallery-grid a::after {
  content: "View Gallery";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 42, 71, 0.55);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-grid a:hover::after {
  opacity: 1;
}

/* ============================== ABOUT / COMMON CTA ============================== */
.about-cta {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(
    120deg,
    var(--brand-amber) 0%,
    var(--brand-amber) 42%,
    var(--brand-navy) 42%,
    var(--brand-navy-deep) 100%
  );
}
.about-cta .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.about-cta-text {
  max-width: 640px;
}
.about-cta-text .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}
.about-cta-text .eyebrow::before {
  background: rgba(255, 255, 255, 0.85);
}
.about-cta h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.about-cta.about-cta--compact {
  padding: 30px 0;
}
.about-cta.about-cta--compact .wrap {
  gap: 20px;
}
.about-cta.about-cta--compact .about-cta-text {
  max-width: 640px;
}
.about-cta.about-cta--compact h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  margin-bottom: 0;
}
.about-cta.about-cta--compact .eyebrow {
  margin-bottom: 6px;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.about-cta-actions .btn {
  padding: 12px 22px;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}
.btn-whatsapp svg {
  display: block;
}

@media (max-width: 760px) {
  .about-cta.about-cta--compact .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-cta-actions {
    width: 100%;
  }
  .about-cta-actions .btn {
    flex: 1;
  }
}

/* ============================== FOOTER ============================== */
.site-footer {
  background: var(--brand-navy-deep);
  color: #c3cddb;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand .brand-text .name {
  color: var(--white);
}
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--brand-amber);
}
.site-footer ul li {
  margin-bottom: 11px;
}
.site-footer ul li a:hover {
  color: var(--brand-amber);
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
}
.footer-contact .ico {
  color: var(--brand-amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-row a:hover {
  background: var(--brand-amber);
  border-color: var(--brand-amber);
}

.copyright-bar {
  background: var(--brand-herb);
  color: #dff2e8;
}
.copyright-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 8px;
}
.copyright-bar a {
  font-weight: 700;
}
.copyright-bar a:hover {
  color: var(--brand-amber);
}

/* ============================== PAGE HEADER (inner pages) ============================== */
.page-header {
  position: relative;
  padding: 50px 0 40px;
  background: var(--brand-navy);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 85% 20%,
    rgba(226, 129, 44, 0.25),
    transparent 55%
  );
}
.page-header .wrap {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.86rem;
  color: #cfd9e6;
  font-weight: 600;
}
.breadcrumb a {
  color: #cfd9e6;
}
.breadcrumb a:hover {
  color: var(--brand-amber);
}
.breadcrumb .sep {
  color: var(--brand-amber);
}
.breadcrumb .current {
  color: var(--brand-amber);
}

.inner-content {
  padding: 80px 0;
}
.inner-content h2 {
  font-size: 1.6rem;
}
.inner-content .lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 760px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.list-check li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}
.list-check li:last-child {
  border-bottom: none;
}
.list-check li::before {
  content: "✓";
  color: var(--brand-amber-deep);
  font-weight: 800;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
table.data-table th {
  background: var(--brand-navy);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: normal;
  word-break: break-word;
}
table.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  white-space: normal;
  word-break: break-word;
}
table.data-table tr:last-child td {
  border-bottom: none;
}
table.data-table tr:nth-child(even) td {
  background: var(--brand-cream);
}

/* ============================== MOBILE FIXED CONTACT BAR ============================== */
.mobile-contact-bar {
  display: none;
}

/* misc */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .notice-marquee-track {
    animation: none;
  }
}

/* ============================== Floating Buttons ============================== */
/* Left WhatsApp */

.whatsapp-btn {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: 0.35s ease;
  animation: whatsappPulse 1.8s infinite;
}

.whatsapp-btn i {
  font-size: 30px;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  animation: none;
}

/* Pulse Animation */

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }

  70% {
    transform: scale(1.08);
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Right Scroll Top */

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border: none;
  outline: none;
  border-radius: 50%;
  background: var(--brand-amber);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: 0.35s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top i {
  font-size: 20px;
}

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

.scroll-top:hover {
  background: var(--brand-navy);
  transform: translateY(-5px);
}

/* Mobile */
@media (max-width: 768px) {
  .whatsapp-btn {
    display: none;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .scroll-top i {
    font-size: 18px;
  }
}
/* ============================= COURSE DETAIL PAGE ============================================ */

/* ---------- 70 / 30 layout ---------- */
.course-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.course-main h2 {
  font-size: 1.5rem;
  margin-top: 46px;
}
.course-main h2:first-child {
  margin-top: 0;
}
.course-main > .lede {
  margin-bottom: 0;
}
.course-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin: 22px 0 8px;
}

/* ---------- syllabus year tabs ---------- */
.syllabus-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 18px;
}
.syllabus-tab {
  border: 2px solid var(--brand-navy);
  background: var(--white);
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 20px;
  border-radius: 999px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.syllabus-tab:hover {
  background: var(--brand-cream);
}
.syllabus-tab.active {
  background: var(--brand-navy);
  color: var(--white);
}
.syllabus-panel {
  display: none;
}
.syllabus-panel.active {
  display: block;
}

/* ---------- career opportunities ---------- */
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}
@media (max-width: 640px) {
  .career-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- course highlights ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}
@media (max-width: 640px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- required documents / fee table spacing ---------- */
.course-main table.data-table {
  margin-top: 20px;
}
.course-main .list-check {
  margin-top: 18px;
}

/* ---------- sidebar ---------- */
.course-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 104px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.sidebar-card p {
  font-size: 0.84rem;
  margin-bottom: 16px;
}
.enquiry-form .field-light {
  margin-bottom: 12px;
}

.contact-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-cta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-cta-row .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-cream);
  color: var(--brand-amber-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-cta-row.whatsapp .ico {
  background: #e6f8ee;
  color: #1c5b41;
}
.contact-cta-row .txt {
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.contact-cta-row .txt strong {
  color: var(--brand-navy);
  font-size: 0.9rem;
}

.sidebar-actions .btn + .btn {
  margin-top: 10px;
}

.course-info-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.86rem;
}
.course-info-list li:last-child {
  border-bottom: none;
}
.course-info-list li span {
  color: var(--ink-soft);
}
.course-info-list li strong {
  color: var(--brand-navy);
  text-align: right;
}

.other-courses-list li {
  margin-bottom: 10px;
}
.other-courses-list li:last-child {
  margin-bottom: 0;
}
.other-courses-list a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.other-courses-list a:hover {
  background: var(--brand-cream);
  border-color: var(--brand-amber);
}
.other-courses-list .label {
  display: block;
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 0.86rem;
}
.other-courses-list .full {
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.downloads-list li {
  border-bottom: 1px dashed var(--line);
}
.downloads-list li:last-child {
  border-bottom: none;
}
.downloads-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-navy);
}
.downloads-list a:hover {
  color: var(--brand-amber-deep);
}
.downloads-list a i {
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
  background: var(--brand-cream);
  color: var(--brand-amber-deep);
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ---------- related courses carousel ---------- */
.related-courses {
  padding: 80px 0;
  background: var(--white);
}
.related-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.related-track::-webkit-scrollbar {
  display: none;
}
.related-track .course-card {
  scroll-snap-align: start;
  flex: 0 0 340px;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .course-detail-grid {
    grid-template-columns: 1fr;
  }
  .course-sidebar {
    position: static;
  }
}
@media (max-width: 640px) {
  .course-hero-img {
    height: 220px;
  }
}
/* ==========================================================================
   LIST PAGES — Registered Doctors / Student List
   (filter bar, responsive table wrapper, avatar thumb, pagination)
   Append this block into main.css, right after the "COURSE DETAIL PAGE"
   section — or link this file after main.css in head.php.
   ========================================================================== */

.list-filter-card {
  margin-top: 24px;
}

/* anchor target for filter/pagination reloads — keeps sticky header clear */
#listSection {
  scroll-margin-top: 104px;
}

.filter-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.filter-field {
  flex: 1 1 220px;
  margin-bottom: 0;
}
.filter-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 6px;
}
.filter-clear {
  flex: 0 0 auto;
}

/* horizontal-scroll wrapper so wide tables never break the page layout */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 24px;
}
.table-responsive table.data-table {
  margin-top: 0;
}
.table-empty {
  text-align: center;
  color: var(--ink-soft);
}

.avatar-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.pagination-bar .showing {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.pager {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pager a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.4;
}
.pager-current {
  cursor: default;
}

.list-footnote {
  margin-top: 18px;
  font-size: 0.85rem;
}
.link-amber {
  color: var(--brand-amber-deep);
  font-weight: 700;
}
/*=========================================
    WHY CHOOSE US — strip (icon-top, centered)
=========================================*/

.why-us {
  padding: 32px 0;
  background: #0b2545;
}

.why-us-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.why-us-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

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

.why-us-item .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(230, 145, 56, .15);
  color: #e69138;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.why-us-item h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.why-us-item p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: #b7c2d4;
}

/* ---- Responsive ---- */

@media (max-width: 992px) {
  .why-us-strip {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 26px;
  }

  .why-us-item:nth-child(3n+1) {
    border-left: none;
  }

  .why-us-item:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 20px;
  }
}

@media (max-width: 576px) {
  .why-us {
    padding: 28px 0;
  }

  .why-us-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .why-us-item:nth-child(3n+1) {
    border-left: 1px solid rgba(255, 255, 255, .12);
  }

  .why-us-item:nth-child(2n+1) {
    border-left: none;
  }

  .why-us-item:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 18px;
  }

  .why-us-item:nth-child(n+4) {
    border-top: none;
  }
}