/* Aaria Astro Institute — shared theme (desktop-first), darker blue palette */
:root {
  --cream: #c9d4e3;
  --cream-page: #d0dae6;
  --tan: #adbfd6;
  --tan-muted: #91a7c2;
  --navy: #051524;
  --navy-deep: #020a12;
  --navy-card: #0c2038;
  --rust: #1d4ed8;
  --rust-dark: #1e40af;
  --rust-bright: #2563eb;
  --accent-soft: #6b9bd4;
  --accent-glow: #4b8fd8;
  --accent-sky: #8fadcc;
  --body-text: #1a2a3d;
  --white: #ffffff;
  --shadow-soft: 0 20px 50px rgba(2, 10, 24, 0.1);
  --shadow-card: 0 22px 48px rgba(2, 10, 24, 0.13);
  --shadow-hover: 0 16px 40px rgba(29, 78, 216, 0.16);
  --chip-bg: rgba(29, 78, 216, 0.12);
  --chip-bg-strong: rgba(29, 78, 216, 0.16);
  --border-ui: rgba(5, 21, 36, 0.12);
  --ink-54: rgba(5, 21, 36, 0.58);
  --ink-72: rgba(5, 21, 36, 0.76);
  --ink-82: rgba(5, 21, 36, 0.86);
  --ink-88: rgba(5, 21, 36, 0.92);
  --grad-page: linear-gradient(
    165deg,
    #d5dde8 0%,
    #c5cfde 38%,
    #b8c4d6 72%,
    #ccd4df 100%
  );
  --grad-hero-wash: radial-gradient(
    ellipse 95% 70% at 88% 8%,
    rgba(37, 99, 235, 0.07) 0%,
    transparent 58%
  );
  --grad-testimonials: linear-gradient(
    155deg,
    #020810 0%,
    #050f1c 38%,
    #0a1a2e 70%,
    #0f2540 100%
  );
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 40px;
  --section-y: 96px;
  --container-max: 1200px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.35s ease;
}

::selection {
  background: rgba(29, 78, 216, 0.22);
  color: #f0f4f8;
}

/* Real WhatsApp Floating Logo */

.whatsapp-float{
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    border-radius: 50%;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: 0 6px 22px rgba(2, 10, 24, 0.42);
}

.whatsapp-float img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-float:hover{
    transform: scale(1.1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body-text);
  background: var(--grad-page);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

body.page-enter .hero,
body.page-enter .page-hero-block,
body.page-enter .ce-contact-hero,
body.page-enter .page-intro {
  animation: fadeUp 0.85s var(--transition-med) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.08s;
}
.stagger-2 {
  transition-delay: 0.16s;
}
.stagger-3 {
  transition-delay: 0.24s;
}
.stagger-4 {
  transition-delay: 0.32s;
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.12;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Navbar ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: linear-gradient(
    180deg,
    rgba(205, 216, 230, 0.82) 0%,
    rgba(188, 202, 220, 0.78) 100%
  );
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(5, 21, 36, 0.1);
  box-shadow: 0 4px 24px rgba(2, 10, 24, 0.07), 0 1px 0 rgba(255, 255, 255, 0.32) inset;
}

.site-nav .inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.125rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  min-height: 72px;
}

.brand {
  
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  white-space: nowrap;
  z-index: 2;
  white-space: normal;      /* Allows the text to wrap */
  max-width: 250px;         /* Limits width to force a break; adjust as needed */
  display: inline-block;    /* Ensures it behaves correctly as a block for wrapping */
  line-height: 1.2;         /* Reduces line spacing so the two lines look like a single unit */
  text-overflow: clip; 
    align-items: center;
     gap: 16px;           /* Adjusts the space between logo and text */
  text-decoration: none; /* Centers logo and text vertically */
     
  
}
a.brand {
  display: flex;
  align-items: center; /* Vertically centers the logo and text */
  gap: 10px;           /* Adds space between the logo and the name */
}

 
.brand-logo {
  height: 60px;        /* Adjust this value to fit your header height */
  width: auto;         /* Maintains original logo proportions */
  display: inline-block;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1;
   
 
}

.nav-links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: "Public Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-82);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--rust);
}

.nav-links a.is-active {
  color: var(--rust);
  border-bottom-color: var(--rust);
}

.btn-book {
  font-family: "Public Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(145deg, var(--rust-bright) 0%, var(--rust) 48%, var(--rust-dark) 100%);
  color: var(--white);
  z-index: 2;
  transition: background var(--transition-fast), transform 0.15s ease, box-shadow var(--transition-fast);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.btn-book:hover {
  background: var(--rust-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

a.btn-book {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle {
  border: 1px solid var(--border-ui);
  background: transparent;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav-toggle svg {
  display: block;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Bootstrap mobile menu */
.mobile-nav {
  border-top: 1px solid rgba(5, 21, 36, 0.09);
  background: linear-gradient(180deg, rgba(210, 220, 233, 0.85) 0%, rgba(195, 208, 224, 0.8) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-nav .mobile-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  font-family: "Public Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-88);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-ui);
}

.mobile-nav a.is-active {
  color: var(--rust);
}

.mobile-nav .btn-book {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
}

/* ---------- Layout helpers ---------- */
.main-offset {
  padding-top: 72px;
}

.container-aaria {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5.5rem 0 6.5rem;
  overflow: hidden;
  background: var(--grad-hero-wash);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    align-items: center;
  }
}

.hero-tag {
  display: inline-block;
  font-family: "Public Sans", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust-dark);
  background: var(--chip-bg);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.0625rem);
  margin: 0 0 1.75rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero h1 .accent {
  display: block;
  margin-top: 0.15em;
  /* font-style: italic; */
  color: var(--rust);
  font-size: 24px;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--body-text);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-navy {
  font-family: "Public Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(145deg, #153a63 0%, var(--navy) 52%, var(--navy-deep) 100%);
  color: var(--white);
  box-shadow: 0 6px 22px rgba(2, 10, 24, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-navy:hover {
  filter: brightness(1.08);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(2, 10, 24, 0.5);
}

a.btn-navy,
a.btn-ghost {
  text-decoration: none;
}

.btn-ghost {
  font-family: "Public Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.42);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-ghost:hover {
  background: rgba(219, 234, 254, 0.55);
  border-color: rgba(37, 99, 235, 0.32);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.btn-ghost .play-ico {
  width: 1.375rem;
  height: 1.375rem;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-ghost .play-ico::after {
  content: "";
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--navy);
  margin-left: 2px;
}

.hero-visual {
  position: relative;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(37, 99, 235, 0.07);
  aspect-ratio: 4 / 5;
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 21, 36, 0.36) 0%, transparent 48%);
  pointer-events: none;
}

.quote-card {
  position: absolute;
  left: -0.5rem;
  bottom: -2.25rem;
  max-width: 300px;
  background: var(--white);
  padding: 1.75rem 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: none;
}

@media (min-width: 768px) {
  .quote-card {
    display: block;
  }
}

.quote-card p {
  /* font-family: "Playfair Display", Georgia, serif; */
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quote-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(37, 99, 235, 0.22);
  flex-shrink: 0;
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-name {
  font-family: "Public Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
}

.hero .blob {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 45%;
  height: 70%;
  background: radial-gradient(circle, rgba(107, 165, 220, 0.22) 0%, rgba(29, 78, 216, 0.04) 45%, transparent 70%);
  filter: blur(48px);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Mentor ---------- */
.mentor {
  background: linear-gradient(180deg, var(--tan) 0%, #94a9c2 50%, var(--tan) 100%);
  padding: var(--section-y) 0;
  position: relative;
}

.mentor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 0% 50%, rgba(29, 78, 216, 0.045), transparent 65%);
  pointer-events: none;
}

.mentor .container-aaria {
  position: relative;
  z-index: 1;
}

.mentor-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 4px solid var(--rust);
  padding-left: 2.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .mentor-panel {
    flex-direction: row;
    align-items: stretch;
    gap: 3rem;
  }
}

.mentor-copy {
  flex: 1;
  min-width: 0;
}

.mentor-tag {
  font-family: "Public Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

.mentor h2 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  margin: 0 0 1.25rem;
}

.mentor-bio {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--body-text);
  margin-bottom: 2rem;
}

.mentor-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .mentor-contact {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}

.contact-line svg {
  width: 22px;
  height: 22px;
  color: var(--rust);
  flex-shrink: 0;
  margin-top: 2px;
}

.mentor-photo-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mentor-photo-wrap {
    width: 280px;
    max-width: none;
    margin: 0;
  }
}

.mentor-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.mentor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Services ---------- */
.services {
  background: linear-gradient(180deg, var(--cream) 0%, rgba(154, 172, 194, 0.52) 100%);
  padding: var(--section-y) 0;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.12), transparent);
  pointer-events: none;
}

.services-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 1;
}

.services-head h2 {
  font-size: clamp(1.875rem, 2vw + 1rem, 2.5rem);
  margin: 0 0 1rem;
}

.services-head p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--body-text);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr auto;
    gap: 1.5rem;
    min-height: 620px;
  }
  .sg-vedic {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .sg-vastu {
    grid-column: 2;
    grid-row: 1;
  }
  .sg-num {
    grid-column: 2;
    grid-row: 2;
  }
  .sg-palm {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.sg-card {
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}
article.sg-card.sg-vedic {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Change from flex-end */
  padding-top: 0; /* Remove padding that creates the gap */
}
 
.vedic{
  margin-top: 80px;
}
.sg-vedic {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border-ui);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}

.sg-vedic .star-deco {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--navy);
  opacity: 0.06;
  pointer-events: none;
}

.sg-vedic h3 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.sg-vedic p {
  margin: 0 0 1.25rem;
  max-width: 26rem;
  color: var(--body-text);
  font-size: 0.9375rem;
}
.sg-vastu-img img {
  height: 300px;
  object-fit: cover;
}
.sg-num-img img {
  height: 300px;
  object-fit: cover;
}
.sg-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  
}
.sg-card {
  transition: 0.3s ease;
}

.sg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
 
.link-rust {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-rust:hover {
  color: var(--rust-dark);
}

.sg-vastu {
  background: var(--navy-card);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.sg-vastu .ico {
  font-size: 2.5rem;
  color: var(--accent-soft);
}

.sg-vastu h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.sg-vastu p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.sg-num {
  background: var(--tan);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.sg-num .ico {
  font-size: 2.5rem;
  color: var(--rust);
}

.sg-num h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.sg-num p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--body-text);
}

.sg-palm {
  background: var(--tan-muted);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .sg-palm {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 2.25rem 2.25rem 2.25rem 2.5rem;
  }
}

.sg-palm-copy {
  flex: 1;
  
}

.sg-palm h3 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.sg-palm p {
  margin: 0 0 1.25rem;
  color: var(--body-text);
  font-size: 0.9375rem;
}

.btn-rust {
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(145deg, var(--rust-bright) 0%, var(--rust) 55%, var(--rust-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32);
}

.btn-rust:hover {
  filter: brightness(1.05);
  color: var(--white);
}

a.btn-rust {
  text-decoration: none;
  color: var(--white);
}

a.btn-rust:hover {
  color: var(--white);
}
 

.sg-palm-img {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

@media (min-width: 768px) {
  .sg-palm-img {
    width: 38%;
    max-width: 360px;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
  }
}

.sg-palm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Why ---------- */
.why {
  padding: var(--section-y) 0;
  background: var(--cream-page);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.why-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
}

.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.why-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 21, 36, 0.2);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.why-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.22), rgba(29, 78, 216, 0.32) 50%, rgba(5, 21, 36, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 44px rgba(29, 78, 216, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 1rem;
}

.why-badge .y {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.why-badge .lbl {
  font-family: "Public Sans", sans-serif;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin: 0.5rem 0 0;
  opacity: 0.95;
}

.why-copy h2 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.375rem);
  margin: 0 0 2.5rem;
}

.feature {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature-ico {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--chip-bg);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-ico svg {
  width: 20px;
  height: 20px;
}

.feature h4 {
  font-family: "Public Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.feature p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--body-text);
  line-height: 1.65;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--grad-testimonials);
  color: var(--white);
  padding: var(--section-y) 0;
  position: relative;
  box-shadow: 0 -10px 48px rgba(2, 10, 24, 0.14);
}

.testimonials::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 20%, rgba(37, 99, 235, 0.06), transparent 55%);
  pointer-events: none;
}

.testimonials .container-aaria {
  position: relative;
  z-index: 1;
}

.testimonials-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .testimonials-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.testimonials-top h2 {
  color: var(--white);
  font-size: clamp(1.875rem, 2vw + 1rem, 2.5rem);
  margin: 0 0 0.75rem;
}

.testimonials-top .sub {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 28rem;
}

.t-nav {
  display: flex;
  gap: 0.75rem;
}

.t-nav button {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.t-nav button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.t-nav button.is-next {
  background: var(--rust);
  border-color: var(--rust);
  color: var(--white);
}

.t-nav button.is-next:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

.t-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .t-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.t-card {
  background: rgba(8, 28, 48, 0.58);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  border: 1px solid rgba(107, 155, 212, 0.14);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.t-quote {
  color: var(--accent-soft);
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.t-card p.quote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--white);
  margin: 0 0 1.75rem;
}

.t-card .name {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  color: var(--white);
}

.t-card .role {
  font-size: 0.8125rem;
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(180deg, var(--cream) 0%, #b0c0d4 100%);
  padding: var(--section-y) 0 5rem;
  position: relative;
}

.newsletter h2 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.375rem);
  text-align: center;
  margin: 0 0 1rem;
}

.newsletter .sub {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--body-text);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.nl-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .nl-form {
    flex-direction: row;
    align-items: stretch;
  }
}

.nl-form input {
  flex: 1;
  border: 1px solid var(--border-ui);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 1px 0 var(--border-ui);
}

.nl-form input:focus {
  outline: 2px solid rgba(37, 99, 235, 0.32);
  outline-offset: 0;
}

.nl-form .btn-rust {
  padding: 1rem 1.75rem;
  white-space: nowrap;
}

.newsletter::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  width: min(90%, 640px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.18), transparent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--tan) 0%, #7d92ad 100%);
  padding-top: 2.5rem;
}

.footer-row {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

.footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.footer-tag {
  font-size: 0.875rem;
  color: var(--ink-54);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-72);
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  color: var(--navy);
  border-bottom-color: rgba(37, 99, 235, 0.25);
}

.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(5, 21, 36, 0.48);
  padding: 0 1.5rem 2rem;
  margin: 0;
}

/* ---------- Global FAB (chat) ---------- */
.fab-chat {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1020;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(145deg, var(--navy-card), var(--navy-deep));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(2, 10, 24, 0.42);
  cursor: pointer;
  transition: transform 0.2s ease, background var(--transition-fast), box-shadow 0.2s ease;
}

.fab-chat:hover {
  transform: scale(1.06);
  background: linear-gradient(145deg, var(--rust), var(--rust-dark));
  box-shadow: var(--shadow-hover);
}

a.fab-chat {
  text-decoration: none;
  color: var(--white);
}

.fab-chat svg {
  width: 22px;
  height: 22px;
}

/* ---------- Inner pages + forms ---------- */
.page-intro {
  background: var(--tan);
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid var(--border-ui);
}

.page-intro h1 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
  margin: 0 0 1rem;
}

.page-intro .lead {
  color: var(--body-text);
  font-size: 1.0625rem;
  max-width: 40rem;
  margin: 0;
}

.page-inner {
  padding: 3rem 0 5rem;
}

.inner-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(37, 99, 235, 0.05);
}

@media (min-width: 768px) {
  .inner-card {
    padding: 2.5rem 2.25rem;
  }
}

.aa-alert {
  border-radius: var(--radius-sm);
}

.form-aa .form-label {
  font-family: "Public Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-aa .form-control,
.form-aa .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid #c5d0e0;
  padding: 0.65rem 0.85rem;
}

.form-aa .form-control:focus,
.form-aa .form-select:focus {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.prose-aa {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--body-text);
}

.prose-aa h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.prose-aa p {
  margin: 0 0 1rem;
}

/* Material-style icons replaced with inline SVG in HTML */

/* ---------- Editorial inner pages + shared blocks ---------- */
.page-hero-block {
  padding: 3.5rem 0 3rem;
}

.page-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust-dark);
  background: var(--chip-bg);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.page-hero-block h1 {
  font-size: clamp(2.1rem, 3.5vw + 1rem, 3.25rem);
  margin: 0 0 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.page-hero-block h1 .italic-accent {
  font-style: italic;
  color: var(--rust);
  font-weight: 600;
}

.page-hero-block .lead {
  font-size: 1.0625rem;
  max-width: 32rem;
  margin: 0;
  color: var(--body-text);
}

.section-muted {
  background: var(--tan);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--section-y) 0;
  margin-top: 2rem;
}

.section-title-center {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-center h2 {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.35rem);
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.section-title-center .rule {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--rust-dark), var(--accent-soft));
  margin: 0 auto;
  border-radius: 3px;
}

/* Section Title Styles */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-family: "Public Sans", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  background: var(--chip-bg);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.section-title h2 {
  font-size: clamp(1.875rem, 2vw + 1rem, 2.5rem);
  margin: 0 0 1rem;
  color: var(--navy);
}

.section-copy {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--body-text);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Courses grid */
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--border-ui), var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15, 39, 68, 0.14);
}

.course-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.course-card .thumb img {
  width: 100%;
  height: 100%;
  
  transition: transform 0.5s ease;
}

.course-card:hover .thumb img {
  transform: scale(1.04);
}

.course-card .tag-pill {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.95);
  color: #1e40af;
}

.course-card .tag-pill.gold {
  background: rgba(191, 219, 254, 0.95);
  color: var(--navy);
}

.course-card .body {
  padding: 1.35rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.course-card p.desc {
  font-size: 0.9rem;
  color: var(--body-text);
  margin: 0 0 1rem;
  flex: 1;
}

.course-card .mode {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-54);
  margin-bottom: 1rem;
}

.course-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-ui);
  padding-top: 0.85rem;
  margin-top: auto;
}

.course-card .foot a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rust);
}

.course-card .foot .arrow-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border-ui);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.course-card:hover .foot .arrow-ico {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.28);
}

.hero-parchment {
  border-radius: var(--radius-lg);
  min-height: 280px;
  background: linear-gradient(145deg, #b8c9de 0%, #9eb4cc 48%, #879db6 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 14px 44px rgba(2, 10, 24, 0.12);
}

@media (min-width: 992px) {
  .hero-parchment {
    min-height: 100%;
  }
}

/* Consultations */
.ce-image-hero {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 5 / 4;
}

.ce-image-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 1. Ensure the parent container is the reference point for absolute positioning */
div:has(> .ce-quote-float) {
    position: relative;
    display: inline-block; /* Keeps the container the same size as the image */
}

/* 2. Position the quote at the bottom-left */
.ce-quote-float {
    position: absolute;
    bottom: 1rem;   /* Distance from the bottom edge */
    left: 1rem;     /* Distance from the left edge */
    right: auto;    /* Reset right property */
    width: auto;    /* Allow width to shrink to content or use a max-width */
    max-width: calc(100% - 2rem); /* Prevents overflow */
    z-index: 10;  
      background: var(--white);

     border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-soft);  /* Ensures it stays above the image */
}

.ce-quote-float p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--navy);
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
/* @media (max-width: 576px) {
  .ce-quote-float {
    position: static;
    max-width: 100%;
    margin-top: 1rem;
  }
} */
@media (max-width: 480px) {
  .ce-quote-float {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 10px;
  }
}

@media (min-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 39, 68, 0.12);
}

.process-card .icon-ring {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--chip-bg);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  color: var(--navy);
}

.process-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--body-text);
}

.sanctuary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sanctuary-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--navy);
}

.sanctuary-list .ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--chip-bg);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-box {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.testimonial-box p {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.testimonial-box .by {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--body-text);
  margin: 0;
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.5rem 2rem;
}

.booking-card h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
}

.cal-nav {
  display: flex;
  gap: 0.5rem;
}

.cal-nav button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.12);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cal-nav button:hover {
  background: var(--tan);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(26, 26, 26, 0.45);
  margin-bottom: 1rem;
}

.cal-grid .d {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.8125rem;
  color: var(--navy);
}

.cal-grid .d.muted {
  color: rgba(26, 26, 26, 0.25);
}

.cal-grid .d.is-selected {
  background: var(--rust);
  color: var(--white);
}

.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.slot-btn {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 42%;
  padding: 0.55rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  background: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.slot-btn.is-active {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.booking-summary {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body-text);
  margin-bottom: 0.75rem;
}

.btn-book-wide {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  background: linear-gradient(145deg, var(--rust-bright) 0%, var(--rust) 50%, var(--rust-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
  transition: filter var(--transition-fast), transform 0.15s ease, box-shadow var(--transition-fast);
}

.btn-book-wide:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Contact */
.ce-contact-hero {
  padding: 3rem 0 4rem;
}

.contact-icon-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.35rem;
}

.contact-icon-row .bubble {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rust);
  flex-shrink: 0;
}

.contact-icon-row h3 {
  font-family: "Public Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
  color: var(--navy);
}

.contact-icon-row p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--body-text);
}

.quote-cloud {
  margin-top: 2rem;
  border-radius: var(--radius-xl);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-card);
}

.quote-cloud-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.02);
}

.quote-cloud::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(208, 218, 232, 0.1), rgba(5, 21, 36, 0.32));
  z-index: 1;
}

.quote-cloud p {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 2rem 1.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.form-ce {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.5rem 2.25rem;
}

@media (min-width: 768px) {
  .form-ce {
    padding: 2.5rem 2.25rem 2.5rem;
  }
}

.form-ce .form-control,
.form-ce .form-select {
  border-radius: var(--radius-sm);
  border: 1px solid #c5d0e0;
  padding: 0.7rem 0.9rem;
}

.form-ce .form-control:focus,
.form-ce .form-select:focus {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.form-ce .btn-submit {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  background: linear-gradient(145deg, var(--rust-bright) 0%, var(--rust) 50%, var(--rust-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
  transition: filter var(--transition-fast), transform 0.15s ease;
}

.form-ce .btn-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.form-footnote {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(26, 26, 26, 0.45);
  margin-top: 1rem;
}

/* Editorial footer (multi-column) */
.site-footer.editorial {
  background: linear-gradient(180deg, var(--tan) 0%, #7d92ad 100%);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding-top: 3rem;
}

.site-footer.editorial .footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer.editorial .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 2rem;
  }
}

.site-footer.editorial .footer-brand {
  margin-bottom: 0.5rem;
}

.site-footer.editorial .footer-tag {
  max-width: 22rem;
  line-height: 1.6;
}

.site-footer.editorial .footer-col h4 {
  font-family: "Public Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
  margin: 0 0 1rem;
}

.site-footer.editorial .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer.editorial .footer-col a {
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.78);
  transition: color var(--transition-fast);
}

.site-footer.editorial .footer-col a:hover {
  color: var(--rust);
}

.site-footer.editorial .office-lines {
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.78);
  line-height: 1.65;
  margin: 0;
}

.site-footer.editorial .footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  padding-top: 1.25rem;
}

.site-footer.editorial .footer-bottom .copy {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  margin: 0;
}

/* Journal list */
.journal-list article {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast);
}

.journal-list article:hover {
  transform: translateY(-3px);
}

.journal-list .meta {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.35rem;
}

.journal-list h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.journal-list p {
  margin: 0;
  color: var(--body-text);
}

/* Philosophy */
.philo-pull {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--rust);
  padding-left: 1.25rem;
  margin: 2rem 0;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}
/* Gallery */

/* ==========================
   Certificate Gallery Grid
========================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.gallery-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-button {
    padding: 0;
    border: none;
    width: 100%;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    display: block;
}

.gallery-button img {
    width: 100%;
    height: 239px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* Tablet */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-button img {
        height: 280px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-button img {
        height: 300px;
    }
}
  
  
.hero-section {
      position: relative;
      min-height: 70vh;
      display: flex;
      align-items: center;
      background: #ffffff;
      overflow: hidden;
      padding: 6rem 0 4rem;
    }

    .hero-section::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: radial-gradient(circle at 18% 20%, rgba(216, 183, 91, 0.16), transparent 16%),
                  radial-gradient(circle at 90% 12%, rgba(100, 87, 255, 0.10), transparent 12%),
                  radial-gradient(circle at 82% 88%, rgba(255, 204, 102, 0.08), transparent 15%);
    }

    .hero-copy {
      position: relative;
      z-index: 1;
      max-width: 700px;
      color: #111827;
      animation: fadeInUp 0.9s ease-out both;
    }

    .hero-copy .eyebrow {
      display: inline-flex;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: #b48b43;
      font-size: 0.78rem;
      font-weight: 700;
      margin-bottom: 1.3rem;
    }

    .hero-copy h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(3rem, 5vw, 4.5rem);
      margin-bottom: 1.25rem;
      line-height: 1.02;
      color: #111827;
    }

    .hero-divider {
      width: 5rem;
      height: 4px;
      margin-bottom: 1.5rem;
      background: linear-gradient(90deg, #d8b75b 0%, #f5e6aa 100%);
      border-radius: 999px;
      opacity: 0.95;
    }

    .hero-copy p {
      font-size: 1rem;
      color: #5e6776;
      line-height: 1.85;
      margin-bottom: 1.75rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .hero-actions .btn {
      min-width: 160px;
      border-radius: 999px;
       transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .hero-actions .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 40px rgba(16, 24, 72, 0.12);
    }

    .hero-visual {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }

    .hero-visual-img {
      width: 100%;
      border-radius: 24px;
      box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
      object-fit: cover;
      max-height: 560px;
      transform: translateZ(0);
      transition: transform 0.45s ease, box-shadow 0.45s ease;
    }

    .hero-visual:hover .hero-visual-img,
    .hero-visual:focus-within .hero-visual-img {
      transform: scale(1.02);
      box-shadow: 0 38px 90px rgba(15, 23, 42, 0.22);
    }

    .hero-badge {
      position: absolute;
      top: 1.5rem;
      right: 1.5rem;
      background: rgba(255, 255, 255, 0.98);
      border: 1px solid rgba(217, 178, 85, 0.24);
      border-radius: 999px;
      padding: 0.85rem 1.25rem;
      color: #111827;
      font-weight: 700;
      box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
      z-index: 2;
      white-space: nowrap;
    }

    .hero-star {
      position: absolute;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(216, 183, 91, 0.9), rgba(216, 183, 91, 0.05));
      filter: blur(0.5px);
    }

    .hero-star-1 {
      top: 3rem;
      left: 0.7rem;
      width: 1.2rem;
      height: 1.2rem;
      opacity: 0.95;
    }

    .hero-star-2 {
      bottom: 2.8rem;
      right: 2rem;
      width: 1rem;
      height: 1rem;
      opacity: 0.82;
    }

    .hero-star-3 {
      top: 5.5rem;
      right: 4rem;
      width: 0.9rem;
      height: 0.9rem;
      opacity: 0.8;
    }

 
    /* ===== ACHIEVEMENTS SECTION STYLES ===== */
    
    .achievements-section {
      background: linear-gradient(180deg, rgba(200, 220, 235, 0.3) 0%, rgba(220, 230, 240, 0.2) 100%);
      position: relative;
    }

    .achievements-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-top: 2rem;
    }

    .achievement-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: all var(--transition-med) ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .achievement-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 30px 60px rgba(29, 78, 216, 0.18);
    }

    /* Card Slider Styles */
    .card-slider {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3;
      background: var(--navy-card);
      overflow: hidden;
    }

    .slider-container {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }

    .slider-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .slide {
      flex: 0 0 100%;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .slider-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 40px;
      height: 40px;
      border: none;
      background: rgba(255, 255, 255, 0.9);
      color: var(--navy);
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-fast) ease;
      z-index: 10;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .slider-nav:hover {
      background: var(--white);
      transform: translateY(-50%) scale(1.1);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .slider-prev {
      left: 1rem;
    }

    .slider-next {
      right: 1rem;
    }

    .slider-dots {
      position: absolute;
      bottom: 1rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 0.5rem;
      z-index: 10;
    }

    .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all var(--transition-fast) ease;
      border: 1px solid rgba(255, 255, 255, 0.6);
    }

    .dot.active {
      background: var(--white);
      transform: scale(1.3);
    }

    .dot:hover {
      background: rgba(255, 255, 255, 0.8);
    }

    /* Card Info Styles */
    .card-info {
      padding: 2rem 1.5rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .batch-name {
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--navy);
      margin: 0 0 0.75rem;
      line-height: 1.3;
    }

    .course-name {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--rust);
      letter-spacing: 0.05em;
      margin: 0 0 0.5rem;
      text-transform: uppercase;
    }

    .student-count {
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--ink-72);
      margin: 0 0 1rem;
    }

    .card-description {
      font-size: 0.9375rem;
      line-height: 1.6;
      color: var(--body-text);
      margin: 0;
      flex: 1;
    }

    /* ===== TESTIMONIALS SECTION STYLES ===== */

    .testimonials-section {
      background: var(--grad-page);
      position: relative;
      padding: 6rem 0 !important;
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-top: 2rem;
    }

    .testimonial-card {
      background: var(--white);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: all var(--transition-med) ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .testimonial-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 30px 60px rgba(29, 78, 216, 0.18);
    }

    .video-container {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 10;
      background: var(--navy-card);
      overflow: hidden;
    }

    .video-thumbnail {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 60px;
      height: 60px;
      border: none;
      background: rgba(37, 99, 235, 0.9);
      color: var(--white);
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-fast) ease;
      z-index: 10;
      box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    }

    .play-button:hover {
      background: var(--rust);
      transform: translate(-50%, -50%) scale(1.15);
      box-shadow: 0 12px 32px rgba(37, 99, 235, 0.6);
    }

    .testimonial-info {
      padding: 1.75rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .student-name {
      font-family: "Playfair Display", Georgia, serif;
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--navy);
      margin: 0 0 0.5rem;
    }

    .testimonial-course {
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--rust);
      letter-spacing: 0.05em;
      margin: 0 0 0.75rem;
      text-transform: uppercase;
    }

    .star-rating {
      display: flex;
      gap: 0.25rem;
      margin-bottom: 1rem;
    }

    .star {
      font-size: 1.125rem;
      color: #ffc107;
      line-height: 1;
    }

    .star.empty {
      color: rgba(0, 0, 0, 0.1);
    }

    .testimonial-text {
      font-size: 0.9375rem;
      line-height: 1.65;
      color: var(--body-text);
      margin: 0;
      font-style: italic;
      flex: 1;
    }

    /* ===== RESPONSIVE DESIGN ===== */

    /* Tablet View */
    @media (max-width: 1024px) {
      .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .batch-name {
        font-size: 1.1rem;
      }
    }

    /* Mobile View */
    @media (max-width: 768px) {
      .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .card-info {
        padding: 1.5rem;
      }

      .testimonial-info {
        padding: 1.5rem;
      }

      .batch-name {
        font-size: 1rem;
      }

      .student-name {
        font-size: 1rem;
      }

      .slider-nav {
        width: 36px;
        height: 36px;
      }

      .play-button {
        width: 50px;
        height: 50px;
      }
    }
 
    /* Video Modal Styles */
    #videoModal {
      display: none;
    }
    #videoModal.open {
      display: block;
      position: fixed;
      inset: 0;
      z-index: 2000;
    }
    .vm-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(2,10,24,0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      outline: none;
    }
    .vm-dialog {
      width: min(980px, 94%);
      background: transparent;
      border-radius: 12px;
      padding: 0.5rem;
      box-shadow: 0 40px 120px rgba(2,10,24,0.6);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .vm-video {
      width: 100%;
      height: calc(100vw * 0.45);
      max-height: 70vh;
      background: #000;
      border-radius: 10px;
      box-shadow: 0 10px 40px rgba(2,10,24,0.6);
    }
    .vm-close {
      position: absolute;
      right: 1.25rem;
      top: 1rem;
      z-index: 2100;
      background: rgba(255,255,255,0.95);
      border: none;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      box-shadow: 0 6px 20px rgba(2,10,24,0.3);
    }
    @media (max-width:480px){
      .vm-video{ height: calc(100vw * 0.6); }
    }
  