

h1, h2, h3, h4{
    color: #2c1b47;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

h1, h2, h3, h4 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Добавим небольшую задержку для красивого каскада */
h2 {
  font-size:25px;
  animation-delay: 0.2s;
}

h3 {
  font-size:22px;
  animation-delay: 0.4s;
}

h4 {
  animation-delay: 0.6s;
}

@media(max-width:680px){
  .h5{
    font-size:18px;
  }
  h2{
    font-size: 22px;
  } 
  
}

 /* Базовые отступы секции на крупных экранах */
@media (min-width: 992px) {
  #hero {
    padding-top: 5rem;   /* py-lg-6 в разметке добавляет ещё, можно подстроить */
    padding-bottom: 5rem;
  }
}
/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */

.hero {
  min-height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
              url('assets/images/img-hero.jpg') center/cover no-repeat;
  color: #fff;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-img {
  max-width: 85%;
}

/* Namespace to avoid leaking styles */
.ubc-stats-section {
  --ubc-ink: #0f172a;   /* dark slate */
  --ubc-mute: #6c757d;  /* bootstrap secondary-ish */
  --ubc-ring: rgba(15, 23, 42, .08);
}

/* Spacing helpers */
.ubc-stats-section .py-6 { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 992px) {
  .ubc-stats-section .py-lg-7 { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Cards */
.ubc-stats-section .stat-card {
  border-radius: 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ubc-stats-section .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, .08);
}

/* Icons (Bootstrap Icons recommended) */
.ubc-stats-section .icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f8f9fa;
  box-shadow: 0 0 0 6px var(--ubc-ring);
}
.ubc-stats-section .icon-wrap .bi {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ubc-ink);
}

/* Stat number */
.ubc-stats-section .stat-value {
  letter-spacing: -.01em;
}

/* Bullet facts */
.ubc-stats-section .fact .fact-dot {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--ubc-ink);
  box-shadow: 0 0 0 4px var(--ubc-ring);
}

/* Optional: subtler hr */
.ubc-stats-section hr {
  border-top-color: rgba(15, 23, 42, .12);
}


/* Responsive refinements */
@media (max-width: 991.98px) {
  #wellness-programs .wellness-hero-card { min-height: 300px; }
}

@media (prefers-reduced-motion: no-preference) {
  #wellness-programs .wellness-overlay {
    transition: transform .25s ease, box-shadow .25s ease;
  }
  #wellness-programs .wellness-hero-card:hover .wellness-overlay {
    transform: translateY(-2px);
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.12);
  }
}

.testimonial-img{
  height:150px;
}

/* Scope */
.ubc-pricing-section {
  --ink: #0f172a;               /* dark slate */
  --ring: rgba(15, 23, 42, .08);
  --muted: #6c757d;
  --popular-shadow: 0 1.5rem 3rem rgba(15, 23, 42, .12);
}

/* Spacing helpers */
.ubc-pricing-section .py-6 { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 992px) {
  .ubc-pricing-section .py-lg-7 { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Cards */
.ubc-pricing-section .pricing-card {
  border-radius: 1.25rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ubc-pricing-section .pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.25rem 2.5rem rgba(15, 23, 42, .08);
}

/* "Most Popular" visual */
.ubc-pricing-section .shadow-popular {
  box-shadow: var(--popular-shadow);
  border: 1px solid rgba(15,23,42,.06);
}
.ubc-pricing-section .popular-badge {
  top: 0.25rem !important;
  transform: translate(-50%, -50%) !important;
  letter-spacing: .02em;
  padding: .4rem .7rem;
  border-radius: 999px;
}

/* Price styling */
.ubc-pricing-section .price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.ubc-prici


/* FAQ — custom tweaks on top of Bootstrap */
#faq .badge { letter-spacing: .3px; }

#faq .faq-accordion .accordion-item {
  border-radius: 1rem;
  overflow: hidden; /* keeps rounded corners for header */
  border: 1px solid rgba(0,0,0,.06);
  background: var(--bs-body-bg);
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.03);
}

#faq .faq-accordion .accordion-item + .accordion-item {
  margin-top: .75rem;
}

#faq .accordion-button {
  padding: 1rem 1.125rem;
  font-weight: 600;
}

#faq .accordion-button:not(.collapsed) {
  color: var(--bs-primary);
  background-color: rgba(13,110,253,.06);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.05);
}

#faq .accordion-body {
  color: var(--bs-secondary-color);
  line-height: 1.7;
}

#faq .btn.btn-outline-primary.btn-sm {
  border-radius: .75rem;
}

/* Reduce motion effects for accessibility */
@media (prefers-reduced-motion: no-preference) {
  #faq .accordion-item {
    transition: box-shadow .2s ease, transform .2s ease;
  }
  #faq .accordion-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.06);
  }
}

