/* ══════════════════════════════════════════
   KINGSTON INSTITUTE — MOBILE-FIRST DESIGN
   Base: 360px → Tablet: 768px → Desktop: 1280px
   Font: Inter + Playfair Display
   ══════════════════════════════════════════ */

/* ═══════ RESET & VARIABLES ═══════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --olive: #0D9488;
  --olive-dark: #0A7A70;
  --olive-light: #14B8A6;
  --gold: #1B3A5C;
  --gold-light: #2E5A8A;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --cream: #F0FAFA;
  --warm-white: #F8FDFD;
  --beige: #E0F2F1;
  --beige-light: #E8F6F5;
  --white: #ffffff;
  --dark: #0F172A;
  --text: #334155;
  --text-light: #64748B;
  --text-muted: #94A3B8;
  --border: #D1E7E5;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .08);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--dark);
  overflow-wrap: break-word;
  word-break: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}



.top-accent-bar {
  height: 8px;
  background: var(--gold);
  width: 100%;
}

/* ═══════ NAVBAR (Premium Slanted Design) ═══════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.3, 0, 0.2, 1), background 0.3s ease;
}

.nav-hidden {
  transform: translateY(-100%);
}

.nav-container-premium {
  max-width: 100%;
  padding: 0 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 0;
}

.nav-brand-wrapper {
  background: var(--gold);
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  z-index: 2;
}

.nav-logo-premium {
  width: 475px;
  height: auto;
  filter: brightness(0) invert(1);
  /* Make logo white for blue background */
}

.nav-main {
  flex: 1;
  display: none;
  /* Desktop only */
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.nav-links-premium {
  display: flex;
  gap: 40px;
}

.nav-links-premium a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links-premium a:hover {
  color: var(--teal);
}

/* Utility Icons Removed */

.btn-appointment {
  background: var(--gold);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.btn-appointment:hover {
  background: var(--teal);
}

/* Responsive adjustments */
@media (min-width: 1024px) {
  .nav-main {
    display: flex;
  }
}

@media (max-width: 1023px) {
  .navbar {
    height: 80px;
  }

  .nav-container-premium {
    height: 80px;
    padding: 0 16px;
  }

  .nav-brand-wrapper {
    padding: 0;
    clip-path: none;
    background: transparent;
    height: auto;
  }

  .nav-logo-premium {
    height: 55px;
    width: auto;
    filter: none;
    /* Keep original colors on light background */
  }
}

.nav-brand:hover {
  color: var(--olive-dark);
}

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 9px 20px !important;
  background: var(--olive);
  color: var(--white) !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--olive-dark) !important;
}

.nav-cta i {
  font-size: .75rem;
}

/* ── Toggle Button ── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.nav-toggle span {
  width: 100%;
  height: 2.5px;
  background: var(--dark);
  border-radius: 4px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
  background: var(--teal);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
  background: var(--teal);
}

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 100px 40px;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-100%);
}

.mobile-menu.open {
  transform: translateY(0);
  display: flex;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-cta-mobile {
  margin-top: 20px;
  background: var(--gold);
  color: var(--white) !important;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  justify-content: center;
}

/* ═══════ BUTTONS (Mobile-first) ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-height: 48px;
  width: 100%;
}

.btn i {
  font-size: .8rem;
  transition: transform .2s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

.btn-accent {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

.btn-accent:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
}

.btn-outline {
  background: transparent;
  color: var(--olive);
  border-color: var(--olive);
}

.btn-outline:hover {
  background: var(--olive);
  color: var(--white);
}

.btn-light {
  background: rgba(255, 255, 255, .2);
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.btn-light:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: .95rem;
}

/* ═══════ HERO (Mobile-first: single column) ═══════ */
/* ═══════ HERO (Full Background Video/Slider Layout) ═══════ */
.hero {
  position: relative;
  min-height: max(600px, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
  /* padding-top removed so background image starts at the very top */
}

/* Background Slider */
.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.25) 50%, rgba(15, 23, 42, 0) 100%);
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* Shift focus slightly up so heads aren't cut */
  opacity: 0;
  transition: opacity 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.1);
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 16px 80px;
  /* Offset content for the navbar */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Force left alignment of children */
  gap: 24px;
}

.hero-text {
  max-width: 700px;
  text-align: left;
  margin-right: auto;
  /* Forces the block itself to anchor left */
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-tag i {
  font-size: 0.8rem;
  color: var(--teal-light);
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  max-width: 850px;
  text-wrap: balance;
}

.accent-text {
  color: var(--teal-light);
}

.hero-subtitle {
  font-size: clamp(14px, 2.5vw, 16px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .hero-bg-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.25) 100%);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Info bar */
.info-strip-wrapper {
  position: relative;
  z-index: 10;
  padding: 40px 16px 0;
  background: var(--warm-white);
}

.hero-info-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .info-strip-wrapper {
    padding: 56px 16px 0;
  }

  .hero-info-bar {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
  }

  .hero-info-divider {
    width: 1px;
    height: 40px;
  }
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
}

.hero-info-item i {
  color: var(--olive);
  font-size: .9rem;
}

.hero-info-item.highlight {
  color: var(--olive-dark);
  font-weight: 700;
}

.hero-info-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ═══════ BENEFITS STRIP (Mobile-first) ═══════ */
.benefits-strip {
  padding: 48px 0;
  background: var(--warm-white);
}

.strip-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 28px;
  text-align: center;
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.1rem;
}

.benefit-icon.olive {
  background: rgba(13, 148, 136, .1);
  color: var(--olive);
}

.benefit-icon.gold {
  background: rgba(27, 58, 92, .1);
  color: var(--gold);
}

.benefit-icon.teal {
  background: rgba(13, 148, 136, .1);
  color: var(--teal);
}

.benefit-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.benefit-item p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ═══════ SECTIONS (shared — Mobile-first) ═══════ */
.section {
  padding: 48px 0;
  overflow-x: hidden;
}

.section-header {
  margin-bottom: 28px;
  text-align: center;
}

.section-header .section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--olive);
  margin-bottom: 6px;
}

.section-header h2 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.section-intro {
  max-width: 600px;
  margin: -12px auto 28px;
  color: var(--text-light);
  font-size: clamp(14px, 2.5vw, 16px);
  text-align: center;
  line-height: 1.6;
}

/* ═══════ ABOUT (Mobile-first: single col) ═══════ */
.about-section {
  background: var(--cream);
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Global .section-tag used via about-left .section-tag or global rule above */

.about-left h2 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.about-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.stat-label {
  font-size: .72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 4px;
}

.about-right {
  min-width: 0;
  overflow-wrap: break-word;
}

.about-right p {
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.accent-paragraph {
  color: var(--olive) !important;
  font-weight: 500;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

/* ═══════ COURSE (Mobile-first: single col) ═══════ */
.course-section {
  background: var(--warm-white);
}

.course-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.course-card-main {
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.course-meta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.course-meta-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--beige-light);
  border-radius: 12px;
  width: 100%;
}

.course-meta-chip i {
  font-size: 1.2rem;
  color: var(--olive);
}

.chip-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-light);
}

.chip-value {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
}

.course-card-main h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.gain-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.gain-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.5;
}

.gain-list li i {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, .1);
  color: var(--olive);
  border-radius: 50%;
  font-size: .7rem;
}

.course-side-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-card {
  padding: 20px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: var(--transition);
}

.side-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.side-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 58, 92, .1);
  color: var(--gold);
  border-radius: 10px;
  font-size: 1rem;
}

.side-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.side-card p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ═══════ WHY US (Bento Grid) ═══════ */
.why-section {
  background: #F8FAF9;
  /* Soft fresh background */
  padding: 80px 0;
}

.bento-why-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.bento-card {
  border-radius: 20px;
  /* Reduced from 24px slightly */
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--white);
}

.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* 1. Header Card (Text-only look) */
.bento-header-card {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 0 24px 0 !important;
  justify-content: flex-start;
  pointer-events: none;
}

.bento-header-card:hover {
  transform: none !important;
}

.bento-header-card .section-tag {
  background: #FFF9E6;
  color: #D4A017;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bento-header-card h2 {
  font-size: clamp(28px, 4vw, 38px);
  color: #1A1A1A;
  margin-bottom: 20px;
  line-height: 1.15;
  font-family: 'Playfair Display', serif;
}

.bento-header-card p {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.6;
  max-width: 95%;
}

/* 2. Quote Card (Green) */
.bento-quote-card {
  background: #EBF7EE;
  color: #2D6A4F;
  border: none;
}

.quote-icon {
  font-size: 2.5rem;
  margin-bottom: 30px;
  opacity: 0.2;
}

.bento-quote-card p {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 30px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-name {
  font-weight: 700;
  font-size: 1rem;
}

.author-role {
  opacity: 0.6;
}

/* 3. Image Cards */
.bento-image-card,
.bento-image-card-alt {
  padding: 0;
  min-height: 320px;
  height: 480px;
  /* Base height */
}

.bento-image-card img,
.bento-image-card-alt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* 3.1 Slideshow styling */
.bento-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slideshow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-img.active {
  opacity: 1;
}

/* Slideshow Progress Bar */
.slideshow-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.progress-bar {
  height: 100%;
  background: var(--teal);
  width: 0%;
}

.progress-bar.animate {
  animation: progressRun 4s linear infinite;
}

@keyframes progressRun {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  flex-direction: column;
  /* Stack H3 and P */
  justify-content: flex-end;
  align-items: flex-start;
  padding: 32px;
}

.bento-overlay h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 600;
}

@media (max-width: 768px) {

  .bento-image-card,
  .bento-image-card-alt {
    height: 400px;
    /* Increased from 300px to prevent face cut-off */
  }

  .bento-overlay {
    padding: 24px;
    /* More compact on mobile */
  }

  .bento-overlay h3 {
    font-size: 1.15rem;
    /* Better scale for mobile */
  }
}

/* 4. Stats Card (Purple) */
.bento-stats-card {
  background: #F3E8FF;
  color: #6B21A8;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.stats-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.8;
}

.stats-number {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.bento-stats-card p {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.bento-rating-card {
  background: #E0F2FE;
  color: #0369A1;
  align-items: center;
  text-align: center;
  justify-content: center;
}

/* 5. Google Embedded Review Mockup */
.bento-review-card {
  background: #ffffff;
  color: #202124;
  padding: 24px;
  border: 1px solid #f1f3f4;
  /* Much lighter stroke */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  /* Softer shadow */
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  align-self: start;
}

.google-review-header {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 16px;
}

.gr-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.google-brand-icon {
  font-size: 2rem;
  color: #4285F4;
}

.gr-brand-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 2px 0;
  color: #202124;
}

.gr-brand-info p {
  font-size: 0.8rem;
  margin: 0;
  color: #5f6368;
}

.gr-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gr-rating-val {
  font-size: 1.5rem;
  font-weight: 500;
  color: #e7711b;
}

.gr-rating-stars {
  color: #fbbc04;
  font-size: 0.9rem;
}

.gr-rating-count {
  font-size: 0.85rem;
  color: #5f6368;
}

.gr-review-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gr-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gr-avatar {
  width: 36px;
  height: 36px;
  background: #8e24aa;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1.1rem;
}

.gr-user-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gr-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #202124;
}

.gr-time {
  font-size: 0.75rem;
  color: #70757a;
}

.gr-small-icon {
  color: #4285F4;
  font-size: 1rem;
}

.gr-user-stars {
  color: #fbbc04;
  font-size: 0.75rem;
}

.gr-text {
  font-size: 0.85rem;
  color: #3c4043;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
  .bento-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .bento-why-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* Slightly more gap */
    padding-bottom: 40px;
    /* Buffer at bottom */
  }

  .bento-col {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .bento-why-grid {
    display: flex;
    gap: 28px;
    align-items: stretch;
    /* Allow columns to reach same height */
  }

  .bento-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* Header (Left - Row 1) */
  .bento-header-card {
    height: auto;
  }

  /* Rating (Left - Row 2 & 3) */
  .bento-review-card {
    height: auto;
    flex-grow: 1;
    /* Stretch to fill column */
  }

  /* Main Image (Middle - Row 1 & 2) */
  .bento-image-card {
    height: 380px;
    flex-grow: 1;
    /* Stretch to fill column */
  }

  /* Quote (Middle - Row 3) */
  .bento-quote-card {
    height: auto;
  }

  /* Stats (Right - Row 1) */
  .bento-stats-card {
    height: auto;
  }

  /* Alt Image (Right - Row 2 & 3) */
  .bento-image-card-alt {
    height: 520px;
    /* Increased for text space */
    flex-grow: 1;
    /* Stretch to fill column */
  }
}

/* ═══════ UPCOMING (Mobile-first: single col) ═══════ */
.upcoming-section {
  background: var(--warm-white);
}

.upcoming-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upcoming-card {
  position: relative;
  padding: 28px 20px;
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.upcoming-card:hover {
  border-color: var(--olive-light);
}

.upcoming-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  padding: 4px 14px;
  background: var(--gold);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 50px;
}

.upcoming-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  background: rgba(13, 148, 136, .08);
  color: var(--olive);
  border-radius: 12px;
  font-size: 1.3rem;
}

.upcoming-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.upcoming-card p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ═══════ FORMS (Mobile-first) ═══════ */
input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  /* prevents iOS zoom */
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
  outline: none;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, .1);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group {
  margin-bottom: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.form-row input {
  width: 100%;
}

.form-message {
  margin-top: 12px;
  font-size: .85rem;
  font-weight: 500;
  border-radius: 8px;
}

.form-message.success {
  padding: 12px;
  background: rgba(61, 139, 128, .08);
  color: var(--teal);
}

.form-message.error {
  padding: 12px;
  background: rgba(168, 144, 72, .08);
  color: var(--gold);
}

/* Notify box */
.notify-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 16px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  text-align: center;
}

.notify-box h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.notify-box h3 i {
  color: var(--gold);
  margin-right: 8px;
}

/* ═══════ FACILITIES (Mobile-first: single col) ═══════ */
.facilities-section {
  background: var(--warm-white);
}

.facilities-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.facility-card {
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.facility-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}

.facility-card {
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.facility-card .card-image-wrap {
  height: 160px;
  margin: -24px -20px 0 -20px;
  width: calc(100% + 40px);
  position: relative;
  overflow: hidden;
}

.facility-card .card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facility-card .facility-content {
  padding-top: 8px;
}

.facility-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.facility-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 148, 136, .08);
  color: var(--olive);
  border-radius: 10px;
  font-size: 1.1rem;
}

.facility-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0;
}

.facility-card p {
  font-size: .8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ═══════ ADMISSIONS (Mobile-first: stack) ═══════ */
.admissions-section {
  background: var(--cream);
}

.steps-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.step-card {
  width: 100%;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--olive);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  border-radius: 50%;
}

.step-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 8px 0;
}

.step-card p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.5;
}

.step-arrow {
  transform: rotate(90deg);
  padding: 4px 0;
  color: var(--text-muted);
  font-size: .9rem;
}

.center-cta {
  text-align: center;
}

/* ═══════ CONTACT (Mobile-first: stacked) ═══════ */
.contact-section {
  background: var(--warm-white);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  gap: 60px;
}

.contact-info {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 109, 58, .08);
  color: var(--olive);
  border-radius: 12px;
  font-size: 1rem;
}

.contact-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-item a {
  color: var(--olive);
  font-weight: 500;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--olive-dark);
}

.contact-map {
  margin-top: 24px;
}

.contact-form-card {
  width: 100%;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-form-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

/* ═══════ FOOTER (Mobile-first: single col) ═══════ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .6);
  padding: 40px 0 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: .82rem;
  line-height: 1.6;
}

.footer-links-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-col a {
  font-size: .82rem;
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-links-col p {
  font-size: .8rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-links-col i {
  color: var(--gold-light);
  width: 14px;
  font-size: .8rem;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .72rem;
  color: rgba(255, 255, 255, .3);
}

/* ═══════ FADE-IN (Framer-style) ═══════ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Text Reveal */
.reveal-text {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.reveal-word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.visible .reveal-word {
  transform: translateY(0);
}

/* Section Header Fix */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(24px, 5vw, 40px);
}

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--olive);
  margin-bottom: 8px;
}

/* ═══════ ADMISSIONS TICKER ═══════ */
.ticker-section {
  background: var(--dark);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-wrap {
  display: flex;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  gap: 50px;
  animation: tickerScroll 30s linear infinite;
  padding-left: 50px;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticker-item i {
  color: var(--olive-light);
  font-size: 0.7rem;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .footer-links-col ul,
  .footer-links-col .footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin: 0 auto;
    width: fit-content;
    padding-left: 0;
    /* Remove default ul padding for exact alignment */
  }

  .footer-links-col p {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 12px;
  }

  .footer-links-col i {
    margin-top: 4px;
    /* Align icon with first line of text */
  }
}

/* ═══════════════════════════════════════════
   TABLET BREAKPOINT — min-width: 768px
   ═══════════════════════════════════════════ */
@media (min-width: 768px) {

  .container {
    padding: 0 24px;
  }

  /* Navbar — uses premium layout */
  .nav-container-premium {
    height: 72px;
  }

  /* Hero */
  .hero {
    padding: 80px 24px 0;
  }

  .hero-split {
    flex-direction: row;
    gap: 32px;
    text-align: left;
    align-items: center;
    min-height: 420px;
  }

  .hero-text {
    flex: 1;
    max-width: none;
    margin: 0;
  }

  .hero-text h1 {
    font-size: clamp(28px, 4vw, 36px);
  }

  .hero-buttons {
    flex-direction: row;
    gap: 14px;
  }

  .hero-buttons .btn {
    width: auto;
  }

  .hero-photo {
    flex: 1;
    min-height: 380px;
  }

  .hero-photo-backdrop {
    width: 300px;
    height: 300px;
    right: 50%;
    transform: translateX(50%);
  }

  .hero-photo img {
    max-height: 400px;
  }

  .hero-info-bar {
    flex-direction: row;
    padding: 18px 28px;
    gap: 16px;
    text-align: center;
    justify-content: center;
  }

  .hero-info-item {
    flex: 1;
    justify-content: center;
  }

  .hero-info-divider {
    width: 1px;
    height: 24px;
  }

  /* Benefits */
  .benefits-strip {
    padding: 64px 0;
  }

  .benefits-grid {
    flex-direction: row;
    gap: 28px;
  }

  .benefit-item {
    flex: 1;
  }

  /* Sections */
  .section {
    padding: 72px 0;
  }

  /* About */
  .about-layout {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }

  .about-left {
    text-align: left;
    flex: 1;
  }

  .about-stats {
    justify-content: flex-start;
  }

  .about-right {
    flex: 1.2;
  }

  .about-left .btn {
    width: auto;
  }

  /* Course */
  .course-layout {
    flex-direction: row;
    gap: 28px;
  }

  .course-card-main {
    flex: 1.3;
    padding: 32px;
  }

  .course-meta-row {
    flex-direction: row;
    gap: 14px;
  }

  .course-side-cards {
    flex: 1;
  }

  .side-card {
    flex-direction: column;
    gap: 0;
  }

  .side-icon {
    margin-bottom: 12px;
  }

  /* Why Us */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Upcoming */
  .upcoming-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Facilities */
  .facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .facility-card {
    flex-direction: column;
    text-align: left;
    gap: 0;
  }

  .facility-icon {
    margin: 0;
  }

  /* Admissions */
  .steps-row {
    flex-direction: row;
    gap: 0;
    justify-content: center;
    align-items: stretch;
  }

  .step-card {
    flex: 1;
    max-width: 260px;
    display: flex;
    flex-direction: column;
  }

  .step-arrow {
    transform: none;
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
  }

  .center-cta .btn {
    width: auto;
  }

  /* Contact */
  .contact-grid {
    flex-direction: row;
    gap: 40px;
  }

  .contact-info {
    flex: 1;
  }

  .contact-form-card {
    flex: 1.2;
    padding: 32px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    flex-direction: row;
    text-align: left;
    gap: 40px;
  }

  .footer-brand {
    flex: 1.4;
  }

  .footer-links-col {
    flex: 1;
  }

  .footer-links-col p {
    justify-content: flex-start;
  }

  /* Buttons */
  .btn {
    width: auto;
  }
}


/* ═══════════════════════════════════════════
   DESKTOP BREAKPOINT — min-width: 1280px
   ═══════════════════════════════════════════ */
@media (min-width: 1280px) {

  /* Navbar handled by .nav-main visibility in premium block */
  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  /* Hero */
  .hero {
    padding: 100px 24px 0;
  }

  .hero-split {
    gap: 40px;
    min-height: 520px;
  }

  .hero-text h1 {
    font-size: clamp(34px, 4.5vw, 48px);
  }

  .hero-subtitle {
    max-width: 460px;
  }

  .hero-photo {
    min-height: 500px;
  }

  .hero-photo-backdrop {
    width: 380px;
    height: 380px;
  }

  .hero-photo img {
    max-height: 500px;
  }

  .hero-info-bar {
    padding: 22px 40px;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
  }

  .hero-info-item {
    font-size: .95rem;
  }

  /* Benefits */
  .benefits-strip {
    padding: 100px 0;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 20px;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.4rem;
  }

  /* Sections */
  .section {
    padding: 88px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-intro {
    margin: -28px auto 48px 0;
    text-align: left;
  }

  /* About */
  .about-layout {
    gap: 64px;
  }

  .about-left h2 {
    font-size: 2.4rem;
  }

  .about-stats {
    gap: 36px;
    margin-bottom: 36px;
  }

  .stat {
    align-items: flex-start;
  }

  .about-right p {
    font-size: 1.02rem;
    line-height: 1.8;
  }

  /* Course */
  .course-layout {
    gap: 36px;
  }

  .course-card-main {
    padding: 40px;
  }

  /* Why Us — Bento Grid (4 columns) */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: 24px;
  }

  .why-card:nth-child(1),
  .why-card:nth-child(5) {
    grid-column: span 2;
  }

  /* Ensure images in cards cover the area well */
  .why-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
  }

  .why-card {
    padding: 32px 28px;
  }

  /* Upcoming — 3 columns */
  .upcoming-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .upcoming-card {
    padding: 36px 28px;
  }

  /* Facilities — 4 columns */
  .facilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Admissions */
  .step-card {
    max-width: 300px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
  }

  .step-arrow {
    padding: 0 20px;
  }

  /* Contact */
  .contact-grid {
    gap: 48px;
  }

  .contact-form-card {
    padding: 36px;
  }

  /* Footer */
  .footer {
    padding: 60px 0 0;
  }

  .footer-grid {
    gap: 48px;
    padding-bottom: 40px;
  }

  .footer-brand h3 {
    font-size: 1.3rem;
  }
}


/* ══════════════════════════════════════════
   CAMPUS CELEBRATIONS — AUTO-SCROLL SLIDER
   ══════════════════════════════════════════ */

/* ─── Section wrapper ─── */
.celebrations-section {
  background: var(--cream);
  padding: 60px 0 48px;
  overflow: hidden;
}

.celebrations-section .section-header {
  margin-bottom: 6px;
}

.celebrations-sub {
  text-align: center;
  font-size: clamp(13px, 2.3vw, 15px);
  color: var(--text-light);
  margin-bottom: 32px;
  padding: 0 16px;
}

/* ─── Track wrapper: hides overflow, handles hover-pause ─── */
.celebrations-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Edge fades for visual polish */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 6%,
      black 94%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 6%,
      black 94%,
      transparent 100%);
}

/* ─── The scrolling strip ─── */
.celebrations-track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 0 16px;
  animation: celScroll 20s linear infinite;
  will-change: transform;
}

/* Pause on hover (desktop) */
.celebrations-track-wrap:hover .celebrations-track {
  animation-play-state: paused;
}

/* Seamless: animates exactly half the strip (3 real + 3 clones = 6 slides, -50% loops perfectly) */
@keyframes celScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─── Individual slide ─── */
.cel-slide {
  position: relative;
  flex-shrink: 0;
  /* mobile: 85vw wide, max at 420px */
  width: clamp(260px, 85vw, 420px);
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
  /* CSS fallback colour when image not yet loaded */
}

/* Image */
.cel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 12px;
  transition: transform .5s ease;
}

.cel-slide:hover img {
  transform: scale(1.04);
}

/* ─── Black bottom-fade overlay ─── */
.cel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0));
  border-radius: 0 0 12px 12px;
  pointer-events: none;
  z-index: 1;
}

/* ─── Text overlay (bottom-left, inside the fade) ─── */
.cel-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 12px;
  pointer-events: none;
  max-width: 100%;
  z-index: 2;
}

.cel-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.cel-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ─── Tablet (768px+) ─── */
@media (min-width: 768px) {
  .celebrations-section {
    padding: 72px 0 56px;
  }

  .cel-slide {
    width: clamp(320px, 60vw, 520px);
    height: 260px;
  }

  .cel-text {
    padding: 18px;
  }

  .cel-text h3 {
    font-size: 18px;
  }

  .cel-text p {
    font-size: 13px;
  }
}

/* ─── Desktop (1280px+) ─── */
@media (min-width: 1280px) {
  .celebrations-section {
    padding: 88px 0 64px;
  }

  .celebrations-track {
    animation-duration: 25s;
  }

  .cel-slide {
    width: 560px;
    height: 320px;
  }

  .cel-text {
    padding: 20px;
  }

  .cel-text h3 {
    font-size: 20px;
  }

  .cel-text p {
    font-size: 14px;
  }
}

/* ═════ FLOATING WHATSAPP BUTTON ═════ */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

@media screen and (max-width: 767px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}