/* ========================================
   BEYOND BORDERS LEARNING - RESPONSIVE CSS
   Mobile First Approach
   ======================================== */

/* ===== ROOT & VARIABLES ===== */
:root {
  /* Colors */
  --color-primary: #b21851;
  --color-primary-light: #d43669;
  --color-secondary: #6f5d00;
  --color-secondary-light: #fede57;
  --color-surface: #fff8f7;
  --color-surface-light: #FEF0E3;
  --color-text: #26181a;
  --color-text-variant: #594045;
  --color-text-light: #6b6b6b;
  --color-white: #ffffff;
  --color-border: rgba(255, 255, 255, 0.4);

  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing */
  --spacing-unit: 8px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;

  /* Breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-3xl: 40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(45, 45, 45, 0.1);
  --shadow-lg: 0 12px 32px rgba(45, 45, 45, 0.15);
  --shadow-xl: 0 20px 48px rgba(45, 45, 45, 0.2);
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-surface);
  overflow-x: hidden;
  padding-bottom: 0;
}

/* Mobile: Add padding for bottom nav */
@media (max-width: 767px) {
  body {
    padding-bottom: 80px;
  }
}

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

button {
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: var(--font-body);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(32px, 8vw, 64px);
}

h2 {
  font-size: clamp(28px, 6vw, 48px);
}

h3 {
  font-size: 24px;
}

p {
  line-height: 1.8;
  color: var(--color-text-variant);
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Mobile: 20px padding */
@media (max-width: 639px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

/* Tablet: 32px padding */
@media (min-width: 640px) and (max-width: 1023px) {
  .container {
    padding: 0 var(--spacing-xl);
  }
}

/* Desktop: 64px padding */
@media (min-width: 1024px) {
  .container {
    padding: 0 var(--spacing-3xl);
  }
}

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--spacing-lg) var(--spacing-md);
  background:
    radial-gradient(circle at 15% 20%, rgba(254, 223, 88, 0.26), transparent 32%),
    radial-gradient(circle at 85% 0%, rgba(178, 24, 81, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 248, 0.92) 0%, rgba(255, 240, 241, 0.82) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(178, 24, 81, 0.08);
  box-shadow: 0 8px 30px rgba(178, 24, 81, 0.06);
}

@media (max-width: 480px) {
  nav {
    padding: var(--spacing-md) var(--spacing-sm);
  }
}

@media (min-width: 768px) {
  nav {
    padding: var(--spacing-xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  nav {
    padding: var(--spacing-xl) var(--spacing-3xl);
  }
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 246, 0.88));
  backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 18px 45px rgba(178, 24, 81, 0.10), var(--shadow-sm);
  border: 1px solid rgba(178, 24, 81, 0.08);
  gap: var(--spacing-md);
  position: relative;
  overflow: hidden;
  flex-wrap: nowrap;
}

.nav-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(254, 223, 88, 0.18), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(212, 54, 105, 0.12), transparent 24%);
  pointer-events: none;
}

.nav-container>* {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .nav-container {
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 8px 12px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 360px) {
  .nav-container {
    padding: 6px 8px;
    gap: var(--spacing-xs);
  }
}

@media (min-width: 768px) {
  .nav-container {
    padding: var(--spacing-md) var(--spacing-xl);
  }
}



.brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
  min-width: 0;
}

.brand-image {
  display: block;
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 480px) {
  .brand-image {
    height: 32px;
  }
}

@media (max-width: 360px) {
  .brand-image {
    height: 26px;
  }
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .brand-logo {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .brand-image {
    height: 46px;
  }
}

.brand-text {
  display: none;
}

@media (min-width: 768px) {
  .brand-text {
    display: block;
  }
}

.brand-text p {
  margin: 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .brand-text p:first-child {
    font-weight: bold;
    color: var(--color-text);
    font-size: 14px;
  }

  .brand-text p:last-child {
    font-size: 12px;
    color: var(--color-text-variant);
    margin: 0;
  }
}

.nav-desktop {
  display: none;
  gap: var(--spacing-2xl);
  align-items: center;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    gap: var(--spacing-md);
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    gap: var(--spacing-2xl);
  }
}

.nav-desktop a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-desktop a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--spacing-lg);
  right: var(--spacing-lg);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1px;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(178, 24, 81, 0.06), rgba(212, 54, 105, 0.03));
  transform: translateY(-2px);
}

.nav-desktop a:hover::before,
.nav-desktop a.active::before {
  transform: scaleX(1);
}

.cta-button {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
  .cta-button {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .cta-button {
    padding: 6px 12px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .cta-button {
    padding: 4px 8px;
    font-size: 10px;
  }
}

@media (min-width: 768px) {
  .cta-button {
    padding: 12px 32px;
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-container {
    gap: var(--spacing-xs) var(--spacing-sm);
  }

  .nav-desktop {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
  }

  .nav-desktop a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .cta-button {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .brand {
    flex: 0 0 auto;
  }
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--color-primary-light);
}

.cta-button:active {
  transform: translateY(0);
}

.btn-icon {
  background: none;
  color: var(--color-primary);
  font-size: 24px;
  display: block;
}

@media (min-width: 768px) {
  .btn-icon {
    display: none;
  }
}

#mobile-menu {
  display: none;
  margin-top: var(--spacing-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

#mobile-menu.visible {
  display: block;
}

@media (min-width: 768px) {
  #mobile-menu {
    display: none !important;
  }
}

#mobile-menu a {
  display: block;
  padding: var(--spacing-md) 0;
  color: var(--color-text);
  font-weight: 600;
  transition: color 0.3s ease;
}

#mobile-menu a:hover {
  color: var(--color-primary);
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-surface-light) 100%);
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 -8px 24px rgba(178, 24, 81, 0.12);
  z-index: 9999;
  padding: 0;
  margin: 0;
  inset: auto 0 0 0;
}

@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    transform: translateY(0);
    opacity: 1;
    animation: bottomNavEnter 0.45s ease-out forwards;
  }

  body {
    padding-bottom: 120px;
  }
}

@media (min-width: 768px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

@keyframes bottomNavEnter {
  from {
    transform: translateY(80px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

section,
header {
  scroll-margin-top: 110px;
}

.animate-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.animate-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  filter: blur(3px);
  transition:
    opacity 0.75s ease-out,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.75s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: 0s !important;
}

/* ==========================================================================
   Fade Scroll Animations (fade-up, fade-in, fade-down, fade-out)
   ========================================================================== */
.fade-up {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform;
}

.fade-up.reveal-visible,
.fade-up.active,
.fade-up.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-in {
  opacity: 0 !important;
  transition: opacity 0.8s ease-out !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity;
}

.fade-in.reveal-visible,
.fade-in.active,
.fade-in.in-view {
  opacity: 1 !important;
}

.fade-down {
  opacity: 0 !important;
  transform: translateY(-40px) !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform;
}

.fade-down.reveal-visible,
.fade-down.active,
.fade-down.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-out {
  opacity: 1 !important;
  transition: opacity 0.8s ease-out !important;
  will-change: opacity;
}

.fade-out.out-view {
  opacity: 0 !important;
}

.hero-content h1,
.hero-content p,
.hero-actions .btn {
  opacity: 0;
  transform: translateY(16px);
  animation: revealText 0.9s ease-out forwards;
}

.hero-content h1 {
  animation-delay: 0.25s;
}

.hero-content .hero-subtitle,
.hero-content .hero-description {
  animation-delay: 0.4s;
}

.hero-actions .btn {
  animation-delay: 0.55s;
}

@keyframes revealText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fff8f7 0%, #f7e8ed 100%);
}

.loader-ring {
  width: 56px;
  height: 56px;
  border: 5px solid rgba(178, 24, 81, 0.16);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 18px;
}

.loader-copy {
  text-align: center;
  font-family: var(--font-body);
  color: var(--color-text-variant);
  font-size: 14px;
}

.loader-copy span {
  display: block;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 16px;
  margin-bottom: 6px;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--color-text-variant);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 80px;
  height: 70px;
  font-size: 11px;
  font-weight: 600;
  padding: 6px;
  border-radius: 10px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
}

.bottom-nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.bottom-nav-item:active::before,
.bottom-nav-item:focus::before,
.bottom-nav-item.active::before {
  width: 50%;
}

.bottom-nav-item:active,
.bottom-nav-item:focus,
.bottom-nav-item.active {
  color: var(--color-primary);
  background: linear-gradient(135deg, rgba(178, 24, 81, 0.08), rgba(212, 54, 105, 0.05));
  transform: translateY(-3px);
}

.bottom-nav-item span:first-child {
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.bottom-nav-item:active span:first-child {
  transform: scale(1.15);
}

.bottom-nav-item span:last-child {
  line-height: 1.1;
  max-width: 70px;
  letter-spacing: 0.3px;
}

/* ===== HERO SECTION ===== */
header {
  position: relative;
  padding: var(--spacing-xl) var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(254, 223, 88, 0.32), transparent 22%),
    radial-gradient(circle at 78% 28%, rgba(178, 24, 81, 0.16), transparent 24%),
    radial-gradient(circle at 52% 72%, rgba(255, 177, 136, 0.18), transparent 30%),
    linear-gradient(135deg, #fffaf8 0%, #fff2ec 46%, #f9e7ef 100%);
  min-height: calc(100vh - 120px);
  width: 100%;
  max-width: none;
  margin: 0;
}

@media (min-width: 768px) {
  header {
    padding: var(--spacing-2xl) var(--spacing-xl);
    gap: var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  header {
    padding: var(--spacing-3xl) var(--spacing-3xl);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-self: center;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 242, 214, 0.84));
  border: 1px solid rgba(178, 24, 81, 0.10);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(178, 24, 81, 0.08);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
  max-width: 920px;
  width: 100%;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 248, 247, 0.48));
  border: 1px solid rgba(178, 24, 81, 0.08);
  border-radius: var(--radius-3xl);
  box-shadow: 0 22px 60px rgba(178, 24, 81, 0.10);
  backdrop-filter: blur(18px);
}

@media (min-width: 768px) {
  .hero-content {
    padding: clamp(32px, 4vw, 64px);
  }
}

.hero-content h1 {
  margin-bottom: var(--spacing-lg);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.6vw, 36px);
  font-weight: 700;
  color: var(--color-text-variant);
  margin-bottom: var(--spacing-xl);
  line-height: 1.28;
  max-width: 780px;
}

.hero-description {
  color: var(--color-text-variant);
  margin-bottom: var(--spacing-lg);
  line-height: 1.9;
  font-size: 17px;
  max-width: 760px;
}

.text-highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  align-items: center;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn {
  padding: var(--spacing-lg) var(--spacing-3xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  box-shadow: 0 16px 45px rgba(178, 24, 81, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(178, 24, 81, 0.24);
}

.btn-secondary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.92);
}

.btn-secondary:hover {
  background: rgba(178, 24, 81, 0.08);
}

.decorative-element {
  position: absolute;
  background: var(--color-secondary-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
  background-color: var(--color-surface-light);
  padding: var(--spacing-2xl) var(--spacing-md);
}

@media (min-width: 768px) {
  .founder-section {
    padding: var(--spacing-3xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .founder-section {
    padding: var(--spacing-3xl) var(--spacing-3xl);
  }
}

.founder-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .founder-container {
    flex-direction: row;
    align-items: center;
    gap: clamp(2rem, 4vw, 5rem);
  }
}

.founder-image-wrapper {
  flex: 1.1;
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
}

.founder-image {
  width: 100%;
  max-width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 8px solid var(--color-white);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  object-fit: cover;
}

@media (min-width: 768px) {
  .founder-image {
    max-width: 420px;
    height: 420px;
  }
}

.founder-copy {
  flex: 0.95;
}

.section-label {
  color: var(--color-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin-bottom: var(--spacing-md);
}

.founder-copy h2 {
  margin-bottom: var(--spacing-md);
}

.founder-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 5.2vw, 5.5rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  color: #26181a;
  font-weight: 700;
}

.founder-title-accent {
  font-family: 'Cormorant Garamond', serif;
  color: #c97323;
  font-size: 1.2em;
  font-style: italic;
  font-weight: 700;
  letter-spacing: normal;
  display: inline-block;
  margin-left: 0.05em;
  line-height: 0.98;
  transform: translateY(0.015em);
}

.founder-title-accent::after {
  content: '.';
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
}

.founder-role {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-light);
  margin-top: -6px;
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.founder-copy p {
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.8;
  letter-spacing: 0;
  color: var(--color-text-variant);
  max-width: 48ch;
}

.founder-signature {
  margin-top: var(--spacing-xl);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 40px);
  color: #c97724;
  letter-spacing: normal;
  font-style: italic;
  font-weight: 700;
}

.founder-signature::before {
  content: '';
  display: block;
  width: 74px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c97724, #e6a04b);
}

/* ===== FEATURES SECTION ===== */
.features-section {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-2xl) var(--spacing-md);
  background:
    radial-gradient(circle at 15% 18%, rgba(254, 223, 88, 0.14), transparent 24%),
    radial-gradient(circle at 85% 30%, rgba(178, 24, 81, 0.10), transparent 22%),
    linear-gradient(180deg, #fff6f2 0%, #fff9f8 100%);
}

@media (min-width: 768px) {
  .features-section {
    padding: var(--spacing-3xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .features-section {
    padding: var(--spacing-3xl) var(--spacing-3xl);
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.courses-header,
.contact-header {
  text-align: left;
}

.section-header h2 {
  margin-bottom: var(--spacing-lg);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-label,
.courses-header .section-label,
.contact-header .section-label {
  margin-bottom: var(--spacing-sm);
}

.section-divider {
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary-light));
  margin: 0 auto;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 18px rgba(178, 24, 81, 0.12);
}

.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: var(--spacing-xl);
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 247, 0.96));
  box-shadow: 0 18px 50px rgba(127, 10, 59, 0.08);
  border: 1px solid rgba(178, 24, 81, 0.08);
  border-top: 4px solid var(--color-primary);
  transition: all 0.3s ease;
}

.feature-card:nth-child(even) {
  border-top-color: var(--color-secondary-light);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 60px rgba(127, 10, 59, 0.14);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -55% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 223, 88, 0.16), transparent 65%);
  pointer-events: none;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(178, 24, 81, 0.06);
  border: 1px solid rgba(178, 24, 81, 0.12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--spacing-lg);
  position: relative;
  transition: all 0.3s ease;
}

.feature-card:nth-child(even) .feature-icon {
  background: rgba(201, 115, 35, 0.08);
  border-color: rgba(201, 115, 35, 0.15);
  color: #c97323;
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(178, 24, 81, 0.18);
}

.feature-card:nth-child(even):hover .feature-icon {
  background: #c97323;
  border-color: #c97323;
  box-shadow: 0 8px 20px rgba(201, 115, 35, 0.2);
}

.feature-icon .material-symbols-outlined {
  font-size: 30px;
  line-height: 1;
}

.feature-card h3 {
  margin-bottom: var(--spacing-md);
  font-size: 21px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.75;
  max-width: 26ch;
}

/* ===== COURSES SECTION ===== */
.courses-section {
  background-color: #FEF0E3;
  padding: var(--spacing-2xl) var(--spacing-md);
}

@media (min-width: 768px) {
  .courses-section {
    padding: var(--spacing-3xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .courses-section {
    padding: var(--spacing-3xl) var(--spacing-3xl);
  }
}

.courses-header {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  flex-direction: column;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .courses-header {
    flex-direction: row;
    align-items: flex-end;
    text-align: left;
  }
}

.courses-header h2,
.contact-header h2 {
  margin-bottom: var(--spacing-sm);
}

.courses-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
}

.course-card {
  width: 100%;
  background: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .course-card {
    width: calc(50% - (var(--spacing-lg) / 2));
  }
}

@media (min-width: 1024px) {
  .course-card {
    width: calc(33.333% - (var(--spacing-lg) * 2 / 3));
  }
}

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

.course-badge {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: var(--color-secondary-light);
  color: var(--color-text);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: bold;
}

.course-visual {
  width: 100%;
  aspect-ratio: 5 / 2.9;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(135deg, #c61b67 0%, #f0674a 58%, #f6c24e 100%);
  box-shadow: 0 14px 34px rgba(178, 24, 81, 0.18);
}

.course-visual::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.course-visual::after {
  content: '';
  position: absolute;
  inset: auto -12% -24% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(8px);
}

.course-visual .material-symbols-outlined {
  position: relative;
  z-index: 1;
  font-size: 44px;
  color: var(--color-white);
}

.course-visual-img {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Custom SVG designs for course visuals */
.course-visual-new {
  width: 100%;
  aspect-ratio: 5 / 2.9;
  border-radius: 22px;
  margin-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1.5px solid #dddddd;
  transition: all 0.3s ease;
}

.visual-left {
  width: 58%;
  height: 100%;
  background: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px 12px;
  color: #26181a;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease;
}

.visual-left.has-bg {
  background-size: auto 110px !important;
  background-position: 76% bottom !important;
}

.visual-left.has-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.visual-left.has-bg.dark-bg {
  color: #ffffff;
}

.visual-left.has-bg.dark-bg::before {
  background: rgba(0, 0, 0, 0.8);
}

.course-card:hover .visual-left.has-bg::before {
  background-color: rgba(255, 255, 255, 0.88);
}

.course-card:hover .visual-left.has-bg.dark-bg::before {
  background-color: rgba(0, 0, 0, 0.75);
}

.visual-landmark {
  display: none;
}

.visual-left-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13.5px, 1.4vw, 16.5px);
  line-height: 1.25;
  z-index: 3;
  text-shadow: none;
  text-align: center;
  display: block;
  width: 100%;
  max-width: 100%;
}

.visual-left.has-bg .visual-left-text {
  max-width: 100%;
}

.visual-right {
  width: 42%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  overflow: visible;
}

.visual-map-img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  /* filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.22)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12)); */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(1.05);
  z-index: 10;
}

.visual-3d-illustration {
  width: 82%;
  height: 82%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 12px 18px rgba(178, 24, 81, 0.15)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(1.05);
  z-index: 10;
}

/* Hover transitions */
.course-card:hover .visual-map-img {
  transform: scale(1.05);
  /* Retain static scale instead of animating */
}

.course-card:hover .visual-3d-illustration {
  transform: scale(1.05);
  /* Retain static scale instead of animating */
}

.course-card:hover .visual-left {
  /* Keep background static */
}

.course-card:hover .course-visual-new {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: #bbbbbb;
}

.course-visual-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  overflow: visible;
}

/* Floating animation for foreground elements */
.course-svg-float {
  animation: svgFloat 4s ease-in-out infinite alternate;
}

.course-svg-float-delayed {
  animation: svgFloat 4.5s ease-in-out infinite alternate-reverse;
  animation-delay: 0.5s;
}

@keyframes svgFloat {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-6px);
  }
}

/* Glow animation for nodes */
.course-svg-glow {
  animation: svgGlow 2s ease-in-out infinite alternate;
}

@keyframes svgGlow {
  0% {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
  }

  100% {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
  }
}

/* Style for text in background */
.course-svg-bg-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  fill: rgba(255, 255, 255, 0.08);
  letter-spacing: 2px;
  user-select: none;
}

/* Style for speech bubbles and glassmorphic elements */
.course-svg-glass {
  fill: rgba(255, 255, 255, 0.12);
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1.5;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.course-card:hover .course-svg-glass {
  fill: rgba(255, 255, 255, 0.2);
  stroke: rgba(255, 255, 255, 0.6);
}

.course-card:hover .course-svg-float {
  animation: svgFloatHover 1.5s ease-in-out infinite alternate;
}

@keyframes svgFloatHover {
  0% {
    transform: translateY(-2px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/* Rotate animation for IELTS globe on card hover */
.course-card:hover .course-svg-rotate {
  transform-origin: 140px 81px;
  animation: svgRotate 20s linear infinite;
}

@keyframes svgRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.course-visual--translate {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #d91e64 0%, #ff7b4f 54%, #f4cd54 100%);
}

.course-visual--language {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #b81d88 0%, #f05f61 54%, #ffb13f 100%);
}

.course-visual--school {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #ef3f6d 0%, #ff7a3d 54%, #ffc34f 100%);
}

.course-visual--description {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #bb1f73 0%, #ff6b5f 55%, #f5bf49 100%);
}

.course-visual--badge {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #cb2063 0%, #f46f49 55%, #f8c551 100%);
}

.course-visual--forum {
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(135deg, #c11f7c 0%, #f05f52 56%, #f7c44c 100%);
}

.course-card h3 {
  font-size: 20px;
  margin-bottom: var(--spacing-md);
}

.course-flag-container {
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
}

.course-card-flag-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  transition: all 0.3s ease;
}

.course-card:hover .course-card-flag-img {
  transform: scale(1.1);
}

.course-card p {
  font-size: 14px;
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: var(--spacing-lg);
  font-size: 12px;
  color: var(--color-text-variant);
  border-top: 1px solid #f0f0f0;
  padding-top: var(--spacing-lg);
  margin-top: auto;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== SERVICES SHOWCASE ===== */
.services-showcase {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-2xl) var(--spacing-md);
  background:
    radial-gradient(circle at 12% 18%, rgba(254, 223, 88, 0.14), transparent 22%),
    radial-gradient(circle at 86% 14%, rgba(178, 24, 81, 0.08), transparent 20%),
    linear-gradient(180deg, #fff8f7 0%, #fff1f2 100%);
}

@media (min-width: 768px) {
  .services-showcase {
    padding: var(--spacing-3xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .services-showcase {
    padding: var(--spacing-3xl) var(--spacing-3xl);
  }
}

.services-shell {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: var(--spacing-2xl);
}

@media (min-width: 1024px) {
  .services-shell {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: var(--spacing-3xl);
  }
}

.services-intro {
  padding: var(--spacing-xl);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(178, 24, 81, 0.08);
  box-shadow: 0 18px 48px rgba(127, 10, 59, 0.07);
}

.services-brand {
  display: grid;
  gap: var(--spacing-lg);
  align-items: center;
}

@media (min-width: 640px) {
  .services-brand {
    grid-template-columns: auto 1fr;
  }
}

.services-brand-logo {
  width: 108px;
  height: 108px;
  border-radius: 30px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 244, 246, 0.98), rgba(255, 251, 242, 0.96));
  box-shadow: 0 16px 36px rgba(127, 10, 59, 0.10);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  justify-items: center;
  position: relative;
  overflow: hidden;
}

.services-brand-highlights::before {
  content: '';
  position: absolute;
  inset: -20% 18% auto auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 132, 86, 0.28), transparent 68%);
}

.services-highlight-chip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(145deg, #ff4f8b 0%, #ff7b5b 55%, #ffbf43 100%);
  box-shadow: 0 10px 20px rgba(255, 104, 110, 0.26);
}

.services-highlight-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.services-highlight-chip .material-symbols-outlined {
  color: var(--color-white);
  font-size: 18px;
  line-height: 1;
}

.services-brand h2 {
  margin-bottom: var(--spacing-md);
  max-width: 16ch;
}

.services-brand p {
  max-width: 38ch;
}

.services-highlights {
  display: grid;
  gap: var(--spacing-lg);
}

@media (min-width: 640px) {
  .services-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .services-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.services-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 247, 0.96));
  border: 1px solid rgba(178, 24, 81, 0.08);
  box-shadow: 0 14px 40px rgba(127, 10, 59, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(127, 10, 59, 0.14);
}

.services-card::before {
  content: '';
  position: absolute;
  inset: auto -18% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 223, 88, 0.14), transparent 70%);
  pointer-events: none;
}

.services-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-lg);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(145deg, #ff5c96 0%, #ff8456 52%, #ffc84c 100%);
  box-shadow: 0 16px 34px rgba(255, 112, 91, 0.22);
  position: relative;
}

.services-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.55);
}

.services-icon-wrap .material-symbols-outlined {
  color: var(--color-white);
  font-size: 30px;
  line-height: 1;
}

.services-card--ielts .services-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-lg);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(145deg, #ff5c96 0%, #ff8456 52%, #ffc84c 100%);
  box-shadow: 0 16px 34px rgba(255, 112, 91, 0.22);
  position: relative;
}

.services-card--french .services-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-lg);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(145deg, #ff5c96 0%, #ff8456 52%, #ffc84c 100%);
  box-shadow: 0 16px 34px rgba(255, 112, 91, 0.22);
  position: relative;
}

.services-card--german .services-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-lg);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(145deg, #ff5c96 0%, #ff8456 52%, #ffc84c 100%);
  box-shadow: 0 16px 34px rgba(255, 112, 91, 0.22);
  position: relative;
}

.services-card--sop .services-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-lg);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(145deg, #ff5c96 0%, #ff8456 52%, #ffc84c 100%);
  box-shadow: 0 16px 34px rgba(255, 112, 91, 0.22);
  position: relative;
}

.services-card--resume .services-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-lg);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(145deg, #ff5c96 0%, #ff8456 52%, #ffc84c 100%);
  box-shadow: 0 16px 34px rgba(255, 112, 91, 0.22);
  position: relative;
}

.services-card--interview .services-icon-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--spacing-lg);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), transparent 34%),
    linear-gradient(145deg, #ff5c96 0%, #ff8456 52%, #ffc84c 100%);
  box-shadow: 0 16px 34px rgba(255, 112, 91, 0.22);
  position: relative;
}

.services-card--ielts::before {
  background: radial-gradient(circle, rgba(240, 107, 74, 0.15), transparent 70%);
}

.services-card--french::before {
  background: radial-gradient(circle, rgba(196, 29, 99, 0.16), transparent 70%);
}

.services-card--german::before {
  background: radial-gradient(circle, rgba(248, 200, 79, 0.16), transparent 70%);
}

.services-card--sop::before {
  background: radial-gradient(circle, rgba(192, 106, 37, 0.16), transparent 70%);
}

.services-card--resume::before {
  background: radial-gradient(circle, rgba(178, 24, 81, 0.15), transparent 70%);
}

.services-card--interview::before {
  background: radial-gradient(circle, rgba(248, 170, 75, 0.16), transparent 70%);
}

.services-card h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.services-card p {
  max-width: 24ch;
  font-size: 14px;
  line-height: 1.75;
}

/* ===== FAQ SECTION ===== */
.faq-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(254, 223, 88, 0.12), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(178, 24, 81, 0.08), transparent 20%),
    linear-gradient(180deg, #fff8f7 0%, #fff1f3 100%);
  padding: var(--spacing-2xl) var(--spacing-md);
}

@media (min-width: 768px) {
  .faq-section {
    padding: var(--spacing-3xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .faq-section {
    padding: var(--spacing-4xl) var(--spacing-3xl);
  }
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-header h2,
.faq-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #211c1d;
  margin-bottom: 0;
  line-height: 1.25;
}

.faq-title .faq-accent {
  position: relative;
  display: inline-block;
}

.faq-title .faq-accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  background-color: #8b253b;
  border-radius: 2px;
}

.faq-container {
  max-width: 960px;
  margin: 0 auto;
}

.faq-content {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  border: 1px solid rgba(178, 24, 81, 0.12);
  border-radius: 50px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  background: #ffffff;
  border-color: rgba(178, 24, 81, 0.25);
  box-shadow: 0 6px 20px rgba(178, 24, 81, 0.06);
}

.accordion-item.active {
  border-radius: 24px;
  background: #ffffff;
  border-color: rgba(178, 24, 81, 0.25);
  box-shadow: 0 10px 30px rgba(178, 24, 81, 0.08);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 24px 36px;
  background: transparent;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #211c1d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}

@media (max-width: 768px) {
  .accordion-trigger {
    padding: 18px 24px;
    font-size: 16px;
  }
}

.accordion-icon {
  font-size: 24px;
  color: #8b253b;
  font-weight: 300;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: inline-block;
  user-select: none;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  display: none !important;
  padding: 14px 36px 28px;
  color: #554448;
  line-height: 1.8;
  font-size: 15px;
  font-family: var(--font-body);
  border-top: 1px solid rgba(139, 37, 59, 0.08);
}

@media (max-width: 768px) {
  .accordion-panel {
    padding: 12px 24px 22px;
  }
}

.accordion-panel ul {
  margin-top: 8px;
  margin-bottom: 8px;
}

.accordion-panel li {
  margin-bottom: 4px;
}

.accordion-item.active .accordion-panel {
  display: block !important;
  animation: faqFadeIn 0.3s ease-out;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--spacing-2xl) var(--spacing-md);
  position: relative;
  background-color: var(--color-surface);
}

@media (min-width: 768px) {
  .contact-section {
    padding: var(--spacing-3xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding: var(--spacing-3xl) var(--spacing-3xl);
  }
}

.contact-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .contact-card {
    padding: var(--spacing-2xl);
  }
}

.contact-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.contact-header h2 {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.contact-message-box {
  margin-top: var(--spacing-xl);
}

.form-grid {
  display: grid;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-group:last-child {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-variant);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  padding: var(--spacing-md);
  border: 1px solid #e0bec3;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-secondary-light);
  box-shadow: 0 0 0 3px rgba(254, 222, 87, 0.1);
}

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

.form-submit {
  grid-column: 1 / -1;
  margin-top: var(--spacing-lg);
  display: flex;
  justify-content: center;
}

.btn-submit {
  width: 100%;
  padding: var(--spacing-lg) var(--spacing-2xl);
}

@media (min-width: 768px) {
  .btn-submit {
    width: auto;
    padding: var(--spacing-lg) var(--spacing-3xl);
  }
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  overflow: hidden;
  color: var(--color-text);
  padding: 72px var(--spacing-md) 56px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 223, 88, 0.14), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(178, 24, 81, 0.06), transparent 20%),
    linear-gradient(180deg, #fff8f7 0%, #fff1f2 100%);
  border-top: 1px solid rgba(178, 24, 81, 0.08);
  box-shadow: 0 -18px 50px rgba(127, 10, 59, 0.06);
}

@media (min-width: 768px) {
  footer {
    padding: var(--spacing-3xl) var(--spacing-xl);
  }
}

@media (min-width: 1024px) {
  footer {
    padding: var(--spacing-3xl) var(--spacing-3xl);
  }
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-content {
    display: grid;
    grid-template-columns: 1.15fr 2fr;
    gap: var(--spacing-3xl);
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 380px;
}

.footer-brand h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 25ch;
  color: var(--color-text);
}

.footer-brand h3::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin-top: var(--spacing-md);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary-light));
}

.footer-brand p {
  opacity: 0.78;
  font-size: 15px;
  line-height: 1.8;
  max-width: 40ch;
  color: var(--color-text-variant);
}

.footer-label {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-2xl);
}

@media (min-width: 768px) {
  .footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3.5vw, 56px);
  }
}

.footer-section h4 {
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-body);
  color: var(--color-text-variant);
}

.footer-section a {
  display: block;
  font-size: 14px;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  color: var(--color-text);
  transition: opacity 0.2s ease, color 0.2s ease;
  width: fit-content;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--color-primary);
  transform: none;
}

.footer-bottom {
  border-top: 1px solid rgba(178, 24, 81, 0.12);
  padding-top: var(--spacing-xl);
  font-size: 13px;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  color: var(--color-text-variant);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-mini-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-mini-links a {
  transition: opacity 0.25s ease, color 0.25s ease;
  color: var(--color-text-variant);
}

.footer-mini-links a:hover {
  opacity: 1;
  color: var(--color-primary);
  transform: none;
}

.footer-credit {
  font-weight: 600;
  color: var(--color-primary);
}

.quick-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 9998;
}

/* Base quick action button styling */
.quick-action {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-primary, #b21851);
  box-shadow: 0 8px 24px -4px rgba(178, 24, 81, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    opacity 0.35s ease,
    visibility 0.35s ease;
  cursor: pointer;
}

.quick-action:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px -4px rgba(178, 24, 81, 0.28);
}

.quick-action span {
  font-size: 24px;
  line-height: 1;
}

.quick-action svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Specialized Back-to-Top Button: Cool, Modern & Soft */
.quick-action.back-to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  filter: drop-shadow(0 8px 20px rgba(178, 24, 81, 0.16));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.88);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s ease,
    filter 0.25s ease;
}

/* Shown when scrolled down */
.quick-action.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.quick-action.back-to-top .btt-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.quick-action.back-to-top .btt-backdrop {
  fill: #ffffff;
  stroke: rgba(178, 24, 81, 0.08);
  stroke-width: 1;
}

.quick-action.back-to-top .btt-track {
  fill: none;
  stroke: rgba(178, 24, 81, 0.12);
  stroke-width: 2.2;
}

.quick-action.back-to-top .btt-progress {
  fill: none;
  stroke: url(#bttGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 122.52;
  stroke-dashoffset: 122.52;
  transition: stroke-dashoffset 0.15s ease-out;
}

.quick-action.back-to-top .btt-core {
  fill: #fff5f7;
  stroke: rgba(178, 24, 81, 0.12);
  stroke-width: 1;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.quick-action.back-to-top .btt-arrow {
  fill: none;
  stroke: #b21851;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease, transform 0.25s ease;
}

/* Hover and active states */
.quick-action.back-to-top:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 12px 26px rgba(178, 24, 81, 0.28));
}

.quick-action.back-to-top:hover .btt-core {
  fill: #b21851;
  stroke: #b21851;
}

.quick-action.back-to-top:hover .btt-arrow {
  stroke: #ffffff;
  transform: translateY(-1.5px);
}

.quick-action.back-to-top:active {
  transform: scale(0.92);
}

/* WhatsApp and Instagram social buttons */
.quick-action.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 8px 20px -3px rgba(37, 211, 102, 0.3);
}

.quick-action.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
  box-shadow: 0 8px 20px -3px rgba(221, 42, 123, 0.3);
}

.quick-action.whatsapp,
.quick-action.instagram {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.quick-action.whatsapp:hover,
.quick-action.instagram:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

.quick-action.whatsapp:active,
.quick-action.instagram:active {
  transform: scale(0.94);
}

@media (max-width: 767px) {
  .quick-actions {
    right: 14px;
    bottom: 96px;
    gap: 10px;
  }

  .quick-action {
    width: 44px;
    height: 44px;
  }

  .quick-action.back-to-top {
    width: 44px;
    height: 44px;
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

/* ===== UTILITIES ===== */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

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

.opacity-80 {
  opacity: 0.8;
}

.opacity-60 {
  opacity: 0.6;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 639px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 24px;
  }
}

/* ===== SERVICE PAGE SPECIFIC STYLES ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px 0 rgba(178, 24, 81, 0.05);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(178, 24, 81, 0.12);
  border-bottom: 4px solid #b21851;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom highlight for IELTS word */
.ielts-highlight {
  color: #c97323;
  font-style: italic;
  font-family: var(--font-display), serif;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

/* Service Card Custom Background & Non-flat Styling */
.service-card {
  position: relative !important;
  overflow: hidden !important;
  background: var(--color-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.3),
    0 10px 25px rgba(178, 24, 81, 0.25) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 130px !important;
}

.service-card.has-bg {
  background: transparent !important;
}

.service-card.has-bg::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-image: var(--card-bg-img) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.service-card>* {
  position: relative !important;
  z-index: 2 !important;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow:
    inset 0 1.5px 2px rgba(255, 255, 255, 0.4),
    0 20px 40px rgba(178, 24, 81, 0.45) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.service-card.has-bg:hover::before {
  opacity: 0.85 !important;
}

.service-card h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 0 !important;
}

/* ===== DETAILS / ACCORDION OPEN FADE-RIGHT & FADE-LEFT ANIMATIONS ===== */
@keyframes detailFadeRight {
  0% {
    opacity: 0;
    transform: translateX(-35px);
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes detailFadeLeft {
  0% {
    opacity: 0;
    transform: translateX(35px);
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes pillSlideRight {
  0% {
    opacity: 0;
    transform: translateX(-30px) scale(0.94);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes itemSlideLeft {
  0% {
    opacity: 0;
    transform: translateX(25px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Triggered when <details open> is expanded */
details[open] .grid>div:first-child {
  animation: detailFadeRight 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

details[open] .grid>div:last-child {
  animation: detailFadeLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

/* Schedule & Investment Pill Boxes (Fade-Right-In with Stagger) */
details[open] .grid>div:first-child .rounded-full.p-4,
details[open] .grid>div:first-child .rounded-full.p-2\.5,
details[open] .grid>div:first-child .rounded-full.p-3\.5 {
  animation: pillSlideRight 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

details[open] .grid>div:first-child .rounded-full:nth-of-type(1) {
  animation-delay: 0.12s;
}

details[open] .grid>div:first-child .rounded-full:nth-of-type(2) {
  animation-delay: 0.22s;
}

/* What You'll Learn Checklist Items (Fade-Left-In with Stagger) */
details[open] .grid>div:last-child ul>li {
  animation: itemSlideLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

details[open] .grid>div:last-child ul>li:nth-child(1) {
  animation-delay: 0.12s;
}

details[open] .grid>div:last-child ul>li:nth-child(2) {
  animation-delay: 0.18s;
}

details[open] .grid>div:last-child ul>li:nth-child(3) {
  animation-delay: 0.24s;
}

details[open] .grid>div:last-child ul>li:nth-child(4) {
  animation-delay: 0.30s;
}

details[open] .grid>div:last-child ul>li:nth-child(5) {
  animation-delay: 0.36s;
}

details[open] .grid>div:last-child ul>li:nth-child(6) {
  animation-delay: 0.42s;
}

details[open] .grid>div:last-child ul>li:nth-child(7) {
  animation-delay: 0.48s;
}

details[open] .grid>div:last-child ul>li:nth-child(8) {
  animation-delay: 0.54s;
}

/* Hero Heading Responsive Typography */
.hero-heading-3lines {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(26px, 7.8vw, 36px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.hero-heading-3lines .line-1,
.hero-heading-3lines .line-2,
.hero-heading-3lines .line-3 {
  display: block !important;
}

.hero-heading-3lines .line-3 {
  white-space: nowrap !important;
}

@media (min-width: 768px) {
  .hero-heading-3lines {
    font-size: clamp(40px, 4.5vw, 56px) !important;
    line-height: 1.25 !important;
  }

  .hero-heading-3lines .line-1,
  .hero-heading-3lines .line-2 {
    display: inline !important;
  }

  .hero-heading-3lines .line-3 {
    display: block !important;
  }
}

/* ===== TESTIMONIALS EXPAND/COLLAPSE TOGGLE ===== */
.testimonial-toggle-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  margin: 0;
}

.testimonial-toggle-check~.testimonial-preview-view {
  display: block;
}

.testimonial-toggle-check~.testimonial-expanded-view {
  display: none;
}

.testimonial-toggle-check:checked~.testimonial-preview-view {
  display: none !important;
}

.testimonial-toggle-check:checked~.testimonial-expanded-view {
  display: block !important;
  animation: fadeInReview 0.25s ease-in-out;
}

.testimonial-expanded-view {
  max-height: 280px;
  overflow-y: auto;
}

/* Custom scrollbar for expanded reviews */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(178, 24, 81, 0.05);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(178, 24, 81, 0.25);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(178, 24, 81, 0.5);
}