/* ===== Design tokens ===== */
:root {
  --ink: #1f2937;
  --cream: #fcfbf9;
  --paper: #ffffff;
  --clinic-green: #e85088;
  --clinic-green-dark: #111827;
  --rose: #e85088;
  --rose-soft: #fdf2f8;
  --sage: #f0fdf4;
  --leaf-green: #65a30d;
  --line: rgba(17, 24, 39, 0.08);
  --shadow: 0 20px 50px -20px rgba(17, 24, 39, 0.12);
  --radius: 16px;
  --serif: 'Fraunces', serif;
  --sans: 'Manrope', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.wrap {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--clinic-green-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 14px;
}

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

section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.section-head p {
  margin-top: 14px;
  font-size: 16.5px;
  color: #3d4f4a;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: .25s ease;
}

.btn-primary {
  background: var(--rose);
  color: #fff;
}

.btn-primary:hover {
  background: #d81b60;
  transform: translateY(-2px);
}

.btn-primary-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-primary-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--clinic-green);
  color: var(--clinic-green);
  background: transparent;
}

.btn-outline:hover {
  background: var(--clinic-green);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--clinic-green-dark);
}

/* ===== 1. Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 24px;
  max-width: 1350px;
  margin: 0 auto;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--clinic-green-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--rose);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--clinic-green-dark);
  color: #F6F2EA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
}

nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  opacity: .8;
}

nav a:hover {
  opacity: 1;
  color: var(--rose);
}

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

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

.burger span {
  width: 24px;
  height: 2px;
  background: var(--clinic-green-dark);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 24px 20px;
}

.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

/* ===== 2. Hero ===== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(198, 120, 78, 0.16), transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(31, 93, 80, 0.14), transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 48px);
  line-height: 1.08;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose);
}

.hero p {
  margin: 22px 0 30px;
  font-size: 18px;
  color: #3d4f4a;
  max-width: 520px;
}

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

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-trust div b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--clinic-green-dark);
}

.hero-trust div span {
  font-size: 12.5px;
  color: #5c6d68;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--clinic-green) 0%, var(--clinic-green-dark) 100%);
  display: flex;
  align-items: flex-end;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(255, 255, 255, 0.94);
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--clinic-green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fae7a;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 18px 20px;
  width: 100%;
}

.hero-card b {
  font-family: var(--serif);
  font-size: 16px;
  display: block;
  color: var(--clinic-green-dark);
}

.hero-card span {
  font-size: 13px;
  color: #5c6d68;
}

/* ===== ticker / stats strip ===== */
.strip {
  background: var(--clinic-green-dark);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
}

.strip-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 22s linear infinite;
  width: max-content;
}

.strip-track span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .03em;
  opacity: .92;
}

.strip-track span b {
  color: var(--rose);
  font-weight: 700;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

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

/* ===== generic two-col ===== */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.split-img {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--sage);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.split-img .frame-label {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(18, 38, 34, 0.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
}

.icon-blob {
  width: 64px;
  height: 64px;
}

/* ===== 4. Who we are ===== */
.about-list {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
}

.check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

/* ===== 5. Why choose (cards) ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .25s;
}

.feature-card .feature-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sage);
}

.feature-card .feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.feature-card:hover .feature-img img {
  transform: scale(1.06);
}

.feature-card .feature-body {
  padding: 26px;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-card .num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--rose);
  font-weight: 700;
  letter-spacing: .08em;
}

.feature-card h3 {
  font-size: 19px;
  margin: 14px 0 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: #4d5f5a;
}

/* ===== 6. Courses ===== */


.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.course-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.course-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.course-top {
  background: linear-gradient(135deg, var(--clinic-green) 0%, var(--clinic-green-dark) 100%);
  color: #fff;
  padding: 24px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.course-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.course-top .tag {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: rgba(4, 4, 4, 0.16);
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
}

.course-top h3 {
  color: #fff;
  font-size: 20px;
  margin-top: 14px;
}

.course-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-body p {
  font-size: 14.5px;
  color: #4d5f5a;
  flex: 1;
}

.course-body .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.course-body .duration {
  font-size: 13px;
  font-weight: 700;
  color: var(--clinic-green-dark);
}

.mini-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--rose);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ===== 7. Workshops (horizontal list) ===== */
.workshop-list {
  display: grid;
  gap: 14px;
}

.workshop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 26px;
}

.workshop-row:hover {
  border-color: var(--rose);
}

.workshop-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.workshop-index {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--rose-soft);
  -webkit-text-stroke: 1.3px var(--rose);
  color: transparent;
  width: 44px;
}

.workshop-left h4 {
  font-size: 17px;
  color: var(--clinic-green-dark);
}

.workshop-left span {
  font-size: 13.5px;
  color: #5c6d68;
}

/* ===== 8. For Doctors ===== */
.doctor-section {
  background: var(--clinic-green-dark);
  color: #f4f2ea;
  border-radius: 28px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.doctor-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(198, 120, 78, 0.18);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.doctor-section h2 {
  color: #fff;
}

.doctor-section p {
  color: #d7ded9;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.doctor-points {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.doctor-points li {
  display: flex;
  gap: 12px;
  font-size: 15px;
}

.doctor-points .bullet {
  color: var(--rose);
  font-weight: 800;
}

.doctor-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 30px;
}

.doctor-panel h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}

.doctor-panel .item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
  font-size: 14.5px;
}

.doctor-panel .item b {
  color: var(--rose);
}

/* ===== 9. Faculty ===== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.faculty-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-align: center;
}

.faculty-photo {
  aspect-ratio: 1/1;
  background: var(--sage);
  overflow: hidden;
}

.faculty-info {
  padding: 22px;
}

.faculty-info h4 {
  font-size: 17.5px;
}

.faculty-info span {
  font-size: 13px;
  color: var(--rose);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.faculty-info p {
  margin-top: 10px;
  font-size: 13.5px;
  color: #5c6d68;
}

/* ===== 10. Clinical Setup / Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 180px);
  gap: 16px;
}

.gallery-grid .g1 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item {
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sage), #c9dbd0);
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

/* ===== Gallery Filter Bar & Grid (Custom) ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: 1.5px solid var(--line);
  padding: 10px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--clinic-green-dark);
  border-radius: 100px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.filter-tab.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 80, 136, 0.25);
}

.gallery-grid-custom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.gallery-card-custom {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(17, 24, 39, 0.08);
}

.gallery-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream);
  position: relative;
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card-custom:hover .gallery-card-img img {
  transform: scale(1.05);
}

.gallery-card-label {
  padding: 18px 20px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--clinic-green-dark);
  text-align: center;
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 980px) {
  .gallery-grid-custom {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-grid-custom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .filter-bar {
    gap: 8px;
    margin-bottom: 28px;
  }

  .filter-tab {
    padding: 8px 16px;
    font-size: 11.5px;
  }
}

/* ===== 11. Testimonials ===== */
.test-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.stars {
  color: var(--rose);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.test-card p {
  font-size: 15px;
  color: #3d4f4a;
  font-style: italic;
}

.test-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.test-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--serif);
}

.test-who b {
  display: block;
  font-size: 14px;
}

.test-who span {
  font-size: 12.5px;
  color: #5c6d68;
}

/* ===== 12. Career / Placement ===== */
.career-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.career-cell {
  padding: 34px 26px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.career-cell:last-child {
  border-right: none;
}

.career-cell b {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--rose);
}

.career-cell span {
  font-size: 13px;
  color: #5c6d68;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ===== 13. FAQ ===== */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--clinic-green-dark);
}

.faq-q .plus,
.faq-q .faq-icon {
  font-size: 22px;
  color: var(--rose);
  transition: .25s;
}

.faq-item.open .plus,
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: .3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 24px 22px;
}

.faq-a p {
  font-size: 14.5px;
  color: #4d5f5a;
}

/* ===== 14. Contact / Enquiry + Footer ===== */
.contact-section {
  background: var(--sage);
  border-radius: 28px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.form-card p.sub {
  font-size: 13.5px;
  color: #5c6d68;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 14.5px;
  background: #fbfaf7;
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--rose);
  border-color: transparent;
}

.wa-btn {
  width: 100%;
  justify-content: center;
  background: #25D366;
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}

.wa-btn:hover {
  background: #1ebe5b;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  font-size: clamp(26px, 3.6vw, 36px);
}

.info-cards {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.info-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--clinic-green-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-card>div {
  min-width: 0;
  flex: 1;
}

.info-card b {
  display: block;
  font-size: 14.5px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.info-card span {
  display: block;
  font-size: 13px;
  color: #4d5f5a;
  word-break: break-word;
  overflow-wrap: break-word;
}

footer {
  background: var(--clinic-green-dark);
  color: #cdd8d3;
  padding: 60px 0 24px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 14px;
}

.footer-logo span {
  color: var(--rose);
}

footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

footer ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

footer ul li a:hover {
  color: var(--rose);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #9db0aa;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ===== Floating WhatsApp ===== */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  font-size: 28px;
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

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

/* ===== Responsive ===== */
@media (max-width:980px) {

  .hero-grid,
  .split,
  .split.reverse,
  .doctor-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .course-grid,
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .career-cell:nth-child(2) {
    border-right: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
  }

  .gallery-grid .g1 {
    grid-column: span 2;
    grid-row: span 1;
  }

  .test-track {
    grid-template-columns: 1fr;
  }

  .doctor-section,
  .contact-section {
    padding: 38px 24px;
  }
}

@media (max-width:720px) {

  nav ul,
  .nav-cta .btn-outline {
    display: none;
  }

  .burger {
    display: flex;
  }

  section {
    padding: 60px 0;
  }

  .grid-3,
  .grid-4,
  .course-grid,
  .faculty-grid,
  .career-strip {
    grid-template-columns: 1fr;
  }

  .career-cell {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero-trust {
    gap: 20px;
  }

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

/* ===== Blog Styles ===== */
.blog-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.blog-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sage);
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
}

.blog-title {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--clinic-green-dark);
  font-weight: 700;
  font-family: var(--serif);
}

.blog-snippet {
  font-size: 14px;
  color: #4d5f5a;
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

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

/* ===== Pagination ===== */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--clinic-green-dark);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s ease;
  user-select: none;
}

.pagination-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.pagination-btn.active {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.pagination-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

/* ===== Blog Detail Post ===== */
.blog-detail-hero {
  background: linear-gradient(135deg, var(--clinic-green) 0%, var(--clinic-green-dark) 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.blog-detail-hero .eyebrow {
  color: var(--rose-soft);
  margin-bottom: 14px;
}

.blog-detail-hero .eyebrow::before {
  background: var(--rose-soft);
}

.blog-detail-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4.5vw, 46px);
  max-width: 860px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.blog-meta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 13.5px;
  color: #cdd8d3;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.blog-meta-row span b {
  color: #fff;
}

.blog-detail-visual {
  max-width: 960px;
  margin: -40px auto 48px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  position: relative;
  z-index: 2;
}

.blog-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 16.5px;
  color: #22332f;
  line-height: 1.75;
}

.blog-post-content h2,
.blog-post-content h3 {
  margin: 40px 0 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--clinic-green-dark);
  font-family: var(--serif);
}

.blog-post-content h2 {
  font-size: 26px;
}

.blog-post-content h3 {
  font-size: 20px;
}

.blog-post-content p {
  margin-bottom: 24px;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 28px;
  padding-left: 24px;
}

.blog-post-content li {
  margin-bottom: 10px;
}

.blog-post-content blockquote {
  border-left: 4px solid var(--rose);
  background: var(--cream);
  padding: 24px;
  border-radius: 0 12px 12px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--clinic-green-dark);
  margin: 32px 0;
}

.blog-info-box {
  background: rgba(198, 120, 78, 0.08);
  border: 1.5px solid var(--rose-soft);
  padding: 24px;
  border-radius: 16px;
  margin: 36px 0;
}

.blog-info-box h4 {
  color: var(--rose);
  font-size: 18px;
  margin-bottom: 8px;
  font-family: var(--serif);
}

.blog-info-box p {
  margin-bottom: 0;
  font-size: 15px;
  color: #4d5f5a;
}

.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--rose);
  font-size: 15px;
  margin-bottom: 32px;
}

/* ===== Course Filter Tabs ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--clinic-green-dark);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: .25s ease;
  user-select: none;
}

.filter-tab:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.filter-tab.active {
  background: var(--clinic-green-dark);
  color: #fff;
  border-color: var(--clinic-green-dark);
}

/* ===== Doctor Profile Styles ===== */
.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: flex-start;
}

.profile-photo-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 1/1.2;
  background: var(--clinic-green-dark);
}

.profile-photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.profile-stat-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.profile-stat-box b {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--rose);
}

.profile-stat-box span {
  font-size: 12px;
  color: #5c6d68;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credential-timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 20px;
}

.credential-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.credential-item {
  position: relative;
  margin-bottom: 24px;
}

.credential-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.credential-year {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--rose);
  display: block;
  margin-bottom: 4px;
}

.credential-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--clinic-green-dark);
}

.credential-desc {
  font-size: 14px;
  color: #4d5f5a;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

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

/* ===== Reels Section styling ===== */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.reel-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translateZ(0);
  /* Fix overflow-hidden safari bug */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(18, 38, 34, 0.4);
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  box-sizing: border-box;
  color: #fff;
  transition: background 0.3s ease;
}

.reel-card:hover .reel-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.9) 100%);
}

.reel-play-btn {
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.reel-card:hover .reel-play-btn {
  opacity: 1;
  transform: scale(1);
}

.reel-play-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1) !important;
}

.reel-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reel-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reel-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  padding: 1px;
}

.reel-handle {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.reel-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  background: #1877F2;
  color: #fff;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.reel-desc {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  opacity: 0.95;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.reel-stats {
  font-size: 11px;
  opacity: 0.7;
}

/* Lightbox Modal CSS */
.reel-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  user-select: none;
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-content {
  display: flex;
  background: #122622;
  /* Darker ink background matching --ink */
  border-radius: 20px;
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  height: 80vh;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-video-container {
  flex: 1.2;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.lightbox-video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-sidebar {
  flex: 0.8;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background: #122622;
}

.lightbox-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.lightbox-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.lightbox-handle {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}

.lightbox-caption {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 20px 0;
  flex: 1;
}

.lightbox-actions {
  margin-top: auto;
}

.lightbox-cta {
  width: 100%;
  justify-content: center;
}

/* Responsiveness for reels */
@media (max-width: 980px) {
  .reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .lightbox-content {
    max-width: 500px;
    height: 75vh;
    flex-direction: column;
  }

  .lightbox-sidebar {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    flex: none;
  }

  .lightbox-caption {
    margin: 10px 0 15px;
    font-size: 13.5px;
  }
}

@media (max-width: 720px) {
  #reels {
    padding: 60px 0 40px !important;
  }

  /* Horizontal scroll for mobile to simulate real Reels drawer */
  .reels-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px 24px 24px;
    margin: 0 -24px;
    /* bleed scroll to screen edge */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
  }

  .reels-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
  }

  .reel-card {
    flex: 0 0 260px;
    /* fixed width on mobile */
    scroll-snap-align: center;
  }

  .reel-play-btn {
    opacity: 1;
    transform: scale(1);
  }

  .lightbox-content {
    height: 80vh;
  }
}

/* ===== Custom Course Cards (Matching Screenshot) ===== */
.course-card-custom {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}

.course-card-custom:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.course-header-custom {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #e782a2 0%, #fae3ea 40%, #c4eead 100%);
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-header-logo {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.course-header-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.course-header-doctor {
  position: absolute;
  bottom: 0;
  right: 10px;
  height: 95%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

.course-header-badges {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  max-width: 75%;
}

.badge-level {
  background: #ffffff;
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.badge-title {
  background: #ffffff;
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  width: fit-content;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 1.2;
}

.badge-webinar {
  background: #ffffff;
  color: #000000;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 6px 20px;
  border-radius: 8px;
  width: fit-content;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #000000;
}

.course-body-custom {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-title-custom {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--clinic-green-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.course-duration-pill {
  border: 1.5px solid #f2cfb8;
  color: #c6784e;
  background: #fdfaf7;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.course-subtitle-custom {
  font-size: 14.5px;
  font-weight: 700;
  color: #2c3e3a;
  margin-bottom: 12px;
  line-height: 1.35;
}

.course-desc-custom {
  font-size: 13.5px;
  color: #4d5f5a;
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}

.course-meta-custom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #5c6d68;
}

.course-instructor-custom {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.course-instructor-custom strong {
  color: var(--clinic-green-dark);
  font-weight: 700;
}

.course-rating-custom {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars-custom {
  color: #d69e2e;
  font-size: 13px;
  letter-spacing: 1px;
}

.rating-val-custom {
  font-weight: 700;
  color: var(--clinic-green-dark);
}

.course-btn-custom {
  display: block;
  width: 100%;
  text-align: center;
  background: #db2754;
  /* Vibrant pink/crimson brand color */
  color: #ffffff;
  padding: 13px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  transition: background 0.25s, transform 0.25s;
  border: none;
  cursor: pointer;
}

.course-btn-custom:hover {
  background: #b51c41;
  transform: translateY(-1px);
}

/* ===== Header Dropdown Menu (Desktop & Mobile) ===== */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle .arrow {
  font-size: 8px;
  transition: transform 0.25s;
  display: inline-block;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 290px;
  display: none;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 1000;
}

@media (min-width: 981px) {
  .nav-dropdown-wrapper:hover .nav-dropdown {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .nav-dropdown-wrapper:hover .nav-dropdown-toggle .arrow {
    transform: rotate(180deg);
  }
}

.nav-dropdown li {
  width: 100%;
}

.nav-dropdown li:not(:last-child) {
  border-bottom: 1px solid var(--line);
}

.nav-dropdown li a {
  display: block;
  padding: 14px 20px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--clinic-green-dark);
  text-align: left;
  transition: background 0.2s, color 0.2s;
  opacity: 1;
}

.nav-dropdown li a:hover {
  background: var(--cream);
  color: var(--rose);
  opacity: 1;
}

/* Mobile responsive drawer dropdown styles */
.mobile-dropdown-wrapper {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.mobile-dropdown-toggle .arrow {
  font-size: 10px;
  transition: transform 0.25s;
  display: inline-block;
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  padding-left: 16px;
  background: rgba(18, 38, 34, 0.03);
  border-radius: 8px;
  margin-top: 4px;
}

.mobile-dropdown-content a {
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line) !important;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--clinic-green-dark);
  opacity: 0.9;
}

.mobile-dropdown-content a:last-child {
  border-bottom: none !important;
}

/* ===== Course Details Page Layout ===== */
.course-detail-hero {
  padding: 80px 0 60px;
  background: var(--cream);
}

.course-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 980px) {
  .course-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.course-hero-badge {
  display: inline-block;
  background: rgba(219, 39, 84, 0.1);
  color: #db2754;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.course-hero-title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  color: var(--clinic-green-dark);
  margin-bottom: 16px;
}

.course-hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #3d4f4a;
  margin-bottom: 24px;
}

/* Stats grid */
.course-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.course-stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(18, 38, 34, 0.03);
}

.course-stat-card .label {
  font-size: 12px;
  color: #6d807a;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.course-stat-card .value {
  font-size: 16px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--clinic-green-dark);
}

/* Syllabus section */
.syllabus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.syllabus-module-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}

.syllabus-module-card:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.module-number {
  font-size: 13px;
  color: #db2754;
  font-weight: 700;
  text-transform: uppercase;
}

.module-title {
  font-size: 19px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--clinic-green-dark);
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .module-list {
    grid-template-columns: 1fr;
  }
}

.module-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: #3d4f4a;
  line-height: 1.4;
  text-align: left;
}

.module-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #db2754;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

/* Hands-on highlights */
.hands-on-banner {
  background: linear-gradient(135deg, var(--clinic-green-dark) 0%, #173b33 100%);
  color: #ffffff;
  padding: 48px;
  border-radius: 24px;
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hands-on-banner {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 24px;
  }
}

.hands-on-banner h3 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
}

.hands-on-banner p {
  color: #c4eead;
  font-size: 16px;
  line-height: 1.6;
}

.hands-on-badge {
  background: rgba(196, 238, 173, 0.15);
  border: 1px solid #c4eead;
  color: #c4eead;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
}

/* ===== New Course Sections ===== */
.career-opps-section {
  padding: 80px 0;
  background: var(--paper);
}

.career-opps-content {
  max-width: 900px;
  margin: 0 auto;
}

.career-opps-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 20px;
  color: var(--clinic-green-dark);
}

.career-opps-desc {
  font-size: 16px;
  color: #3d4f4a;
  line-height: 1.6;
  margin-bottom: 24px;
}

.career-opps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.career-opps-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 8px;
}

.career-opps-list li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--clinic-green-dark);
  font-size: 10px;
  top: 1px;
}

.career-opps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clinic-green-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(18, 58, 50, 0.15);
}

.career-opps-btn:hover {
  background: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 120, 78, 0.25);
}

/* Training in Action Section */
.training-action-section {
  padding: 80px 0;
  background: #eef5f9;
  /* Soft light blue/grey */
  text-align: left;
}

.training-action-content {
  max-width: 1200px;
  margin: 0 auto;
}

.training-action-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 12px;
  color: var(--clinic-green-dark);
}

.training-action-desc {
  font-size: 16px;
  color: #3d4f4a;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 900px;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.training-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 38, 34, 0.08);
  aspect-ratio: 3/4;
}

.training-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.training-image-wrapper:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

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

/* Program Fee Cards Section */
.program-fee-section {
  padding: 80px 0;
  background: var(--cream);
}

.program-fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.fee-details-card,
.fee-pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(18, 38, 34, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fee-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fee-details-list>li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 18px;
}

.fee-details-list>li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  top: -1px;
}

.fee-details-list>li strong {
  color: var(--clinic-green-dark);
}

.fee-details-sublist {
  list-style: none;
  padding-left: 20px;
  margin-top: 8px;
}

.fee-details-sublist li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  color: #3d4f4a;
  line-height: 1.5;
  margin-bottom: 6px;
}

.fee-details-sublist li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--clinic-green-dark);
  font-size: 8px;
  top: 3px;
}

.pricing-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6d807a;
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  color: var(--clinic-green-dark);
  margin-bottom: 24px;
}

.inclusions-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.inclusions-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.inclusions-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: #3d4f4a;
  line-height: 1.6;
  margin-bottom: 8px;
}

.inclusions-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--clinic-green-dark);
  font-size: 8px;
  top: 4px;
}

.fee-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clinic-green-dark);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(18, 58, 50, 0.15);
}

.fee-apply-btn:hover {
  background: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 120, 78, 0.25);
}

@media (max-width: 768px) {
  .program-fee-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fee-details-card,
  .fee-pricing-card {
    padding: 30px;
  }
}

/* ===== Online Courses Page Layout & Styling ===== */
.online-banner-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .online-banner-img {
    height: 200px;
  }
}

.online-hero-section {
  padding: 60px 0;
  background: var(--cream);
}

.online-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.online-hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/11;
}

.online-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.online-hero-title {
  font-size: clamp(26px, 3.5vw, 38px);
  color: var(--clinic-green-dark);
  line-height: 1.2;
  margin-bottom: 18px;
}

.online-hero-desc {
  font-size: 15.5px;
  color: #3d4f4a;
  line-height: 1.6;
  margin-bottom: 20px;
}

.online-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clinic-green-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 32px;
  border-radius: 100px;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.online-hero-btn:hover {
  background: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 120, 78, 0.25);
}

/* Who Should Take Section (Dark Blue) */
.who-should-take-section {
  padding: 80px 0;
  background: #0e3860;
  /* Premium deep blue */
  color: #ffffff;
}

.who-should-take-section h2 {
  color: #ffffff;
}

.who-should-take-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.who-should-take-title {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 12px;
  line-height: 1.2;
}

.who-should-take-desc {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.who-should-take-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.who-should-take-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 12px;
  opacity: 0.95;
}

.who-should-take-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #38f9d7;
  font-size: 16px;
  top: -1px;
}

.who-should-take-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.who-should-take-img-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  aspect-ratio: 3/4;
}

.who-should-take-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Key Concepts Section (White) */
.key-concepts-section {
  padding: 80px 0;
  background: var(--paper);
}

.key-concepts-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.key-concepts-img-container {
  border-radius: 80px 20px 80px 20px;
  /* Custom shape matching clinical style */
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}

.key-concepts-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.key-concepts-title {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--clinic-green-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.key-concepts-desc {
  font-size: 15.5px;
  color: #3d4f4a;
  line-height: 1.6;
  margin-bottom: 24px;
}

.key-concepts-subtitle {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.key-concepts-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.key-concepts-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 10px;
}

.key-concepts-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: 12px;
  top: 1px;
}

/* Why Choose Section */
.why-choose-section {
  padding: 80px 0;
  background: var(--cream);
  text-align: center;
}

.why-choose-title {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--clinic-green-dark);
  margin-bottom: 40px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-choose-card {
  background: #eef5f9;
  /* Soft light blue/grey */
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
  text-align: left;
  border: 1px solid rgba(18, 38, 34, 0.05);
}

.why-choose-card-title {
  font-size: 18px;
  font-family: var(--serif);
  color: var(--clinic-green-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.why-choose-card-desc {
  font-size: 14.5px;
  color: #3d4f4a;
  line-height: 1.5;
}

/* Career Pathways Grid */
.career-pathways-section {
  padding: 80px 0;
  background: var(--paper);
}

.career-pathways-content {
  max-width: 1100px;
  margin: 0 auto;
}

.career-pathways-title {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--clinic-green-dark);
  margin-bottom: 8px;
}

.career-pathways-desc {
  font-size: 16px;
  color: #6d807a;
  margin-bottom: 36px;
}

.career-pathways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.career-pathways-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.career-pathway-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(18, 38, 34, 0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.career-pathway-card-icon {
  width: 38px;
  height: 38px;
  background: #eef5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--clinic-green);
}

.career-pathway-card-title {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--clinic-green-dark);
  line-height: 1.4;
}

/* Fees & Outcomes Section */
.fees-outcomes-section {
  padding: 80px 0;
  background: #eef5f9;
  /* Soft light blue */
}

.fees-outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.fees-side {
  background: var(--paper);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(18, 38, 34, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
}

.fees-title {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--clinic-green-dark);
  margin-bottom: 24px;
}

.fees-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.fees-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 12px;
}

.fees-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: 12px;
  top: 1px;
}

.fees-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clinic-green-dark);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 100px;
  transition: all 0.25s ease;
  width: 100%;
}

.fees-btn:hover {
  background: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 120, 78, 0.25);
}

.outcomes-side {
  background: var(--paper);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(18, 38, 34, 0.03);
  border: 1px solid var(--line);
}

.outcomes-title {
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--clinic-green-dark);
  margin-bottom: 12px;
}

.outcomes-subtitle {
  font-size: 15px;
  color: #6d807a;
  margin-bottom: 24px;
}

.outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.outcomes-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: #3d4f4a;
  line-height: 1.6;
  margin-bottom: 14px;
}

.outcomes-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-weight: 800;
  font-size: 16px;
  top: -2px;
}

.outcomes-desc-bottom {
  font-size: 13.5px;
  color: #6d807a;
  line-height: 1.5;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* Program Overview Section */
.program-overview-section {
  padding: 80px 0;
  background: var(--paper);
  text-align: center;
}

.program-overview-content {
  max-width: 900px;
  margin: 0 auto;
}

.program-overview-title {
  font-size: clamp(28px, 4vw, 36px);
  color: var(--clinic-green-dark);
  margin-bottom: 20px;
}

.program-overview-desc {
  font-size: 16px;
  color: #3d4f4a;
  line-height: 1.7;
  margin-bottom: 24px;
}

.read-more-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rose);
  text-decoration: underline;
  cursor: pointer;
}

/* Responsiveness for Online Courses Layout */
@media (max-width: 980px) {
  .online-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .who-should-take-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .key-concepts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .career-pathways-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .fees-outcomes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 580px) {
  .career-pathways-grid {
    grid-template-columns: 1fr;
  }

  .career-pathways-grid-bottom {
    grid-template-columns: 1fr;
  }

  .who-should-take-images {
    grid-template-columns: 1fr;
  }
}









/* ===== Refactored Inline CSS Classes ===== */
.bg-cream-py-80 {
  background: var(--cream);
  padding: 80px 0;
}

.bg-paper-py-80 {
  background: var(--paper);
  padding: 80px 0;
}

.py-80 {
  padding: 80px 0;
}

.mw-900 {
  max-width: 900px;
  margin: 0 auto;
}

.mw-820 {
  max-width: 820px;
  margin: 0 auto;
}

.mw-600 {
  max-width: 600px;
  margin: 0 auto;
}

.syllabus-head {
  text-align: center;
  margin-bottom: 40px;
}

.syllabus-head .eyebrow {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}

.syllabus-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
}

.syllabus-head p {
  color: #6d807a;
  font-size: 16px;
}

.footer-address {
  font-size: 13px;
  color: #a9bab4;
  line-height: 1.5;
  margin-bottom: 18px;
}

.footer-address b {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.footer-contact-list {
  font-size: 13.5px;
  color: #a9bab4;
}

.footer-disclaimer {
  margin-top: 10px;
  display: block;
  opacity: 0.85;
  line-height: 1.4;
}

/* Course preview card refactored */
.course-header-gradient {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.course-header-gradient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.course-header-gradient .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
  z-index: 1;
}

.course-card-badge-pill {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  color: #db2754;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.course-card-title-pill {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  background: #ffffff;
  border-radius: 20px;
  color: #000;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



/* ===== Mobile Responsiveness & Layout Fixes ===== */
@media (max-width: 768px) {

  /* Scale down the logo image slightly */
  .logo img {
    width: 105px !important;
    height: auto !important;
  }

  /* Shrink header CTA WhatsApp button on tablet/mid screens */
  .nav-cta .btn-primary,
  .nav-cta .btn-primary-whatsapp {
    padding: 10px 18px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {

  /* Prevent horizontal page overflow globally */
  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
  }

  /* Shrink header CTA layout on mobile phones to prevent overflow */
  .logo img {
    width: 90px !important;
    height: auto !important;
  }

  .nav-cta {
    gap: 8px !important;
  }

  .nav-cta .btn-primary,
  .nav-cta .btn-primary-whatsapp {
    padding: 8px 14px !important;
    font-size: 11.5px !important;
    gap: 6px !important;
  }

  /* Wrap long words like emails in the footer to prevent overflow */
  footer a,
  .footer-contact-list a,
  .footer-contact-list li {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  /* Stack footer grid into a single column on mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Adjust address content padding */
  .footer-address span {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
  }
}






/*  */



/* ===== Contact Page Responsive Styles (Restored) ===== */
@media (max-width: 980px) {
  .contact-map-grid {
    grid-template-columns: 1fr;
  }

  .contact-travel-info {
    padding: 30px 24px;
  }

  .form-card {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .contact-travel-info {
    padding: 24px 16px;
  }

  .form-card {
    padding: 20px 16px;
  }
}

/* Use 16:9 aspect ratio for online courses section to fit covers without cropping */
#online-courses .course-top {
  aspect-ratio: 16/9;
  min-height: auto;
}

/* ===== Policy Pages ===== */
.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 100px;
  font-family: var(--sans);
  color: #3d4f4a;
  line-height: 1.7;
}

.policy-container h1 {
  font-family: var(--serif);
  color: var(--clinic-green-dark);
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 24px;
  font-weight: 700;
}

.policy-container h2 {
  font-family: var(--serif);
  color: var(--clinic-green-dark);
  font-size: clamp(20px, 3vw, 24px);
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 600;
}

.policy-container p {
  margin-bottom: 18px;
  font-size: 15.5px;
}

.policy-container ul {
  margin-bottom: 18px;
  padding-left: 20px;
  font-size: 15.5px;
}

.policy-container li {
  margin-bottom: 8px;
}

.policy-date {
  font-size: 14.5px;
  color: #7d8f8a;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}