@media (max-width:991px) {
    body.poster {
        margin-top: 60vh;
    }
}

body.poster {
    background-attachment: fixed;
}

p{
  font-size:17px;
}

.top-5 {
    top: 5px;
}

@media (max-width:991px) {
  .image-box{
    height:250px;
  }
  p{
    font-size:16px;
  }
  h5{
  font-size:17px;
}
}

/* Визуально скрыто, но доступно для ассистивных технологий */
.visually-hidden-important {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Для заданного вами формата чекбокса */
.form-group.checkbox-group {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  }
.form-group.checkbox-group input[type="checkbox"] {
  margin-top: .3rem;
}

.hero {
  min-height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3)),
              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%;
}
h1{
  font-size: 30px;
  color:#01577d;
}
h2{
  font-size: 25px;
  color: #01577d;
}
h3{
  font-size: 20px;
  color:#01577d;
}



/* ===== Hero section layout ===== */
.hero-section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.hero-section .badge.bg-success {
  font-weight: 600;
  letter-spacing: .2px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::after {
  /* soft accent ring using primary */
  content: "";
  position: absolute;
  inset: -10px -14px -18px -14px;
  border-radius: 1.5rem;
  border: 2px solid color-mix(in srgb, var(--brand-primary) 30%, transparent);
  pointer-events: none;
}

.hero-divider {
  height: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Typography tweaks */
h1, .display-5 {
  line-height: 1.15;
}

.lead {
  color: color-mix(in srgb, var(--brand-dark) 70%, var(--brand-secondary));
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section { padding-top: 2.5rem; }
  .hero-image-wrapper::after { inset: -8px; }
}

/* Our Services — custom styles over Bootstrap */
.services {
  --svc-bg: #f8fafc;          /* мягкий фон секции */
  --svc-accent: #227aa1;      /* акцент под Bootstrap primary */
  --svc-icon-bg: #e7f1ff;     /* светлый фон для иконок */
  background: var(--svc-bg);
}

.services .service-card {
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 1rem;
}

.services .service-card:hover,
.services .service-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,.08);
}

.services .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--svc-icon-bg);
  color: var(--svc-accent);
  flex: 0 0 auto;
}

.services .icon-wrap i {
  font-size: 1.25rem;
  line-height: 1;
}

/* Списки внутри карточек */
.services .card-body ul li i {
  font-size: 1rem;
  color: var(--svc-accent);
  opacity: 0.9;
  margin-right: .25rem;
}

/* Мелкие типографические правки */
.services h2 {
  letter-spacing: .2px;
}

.services p,
.services li {
  color: #495057;
}

/* Адаптивные отступы */
@media (min-width: 992px) {
  .services .card-body { padding: 2rem 2rem; }
}

/* Поддержка темной темы (если на сайте есть .dark) */
.dark .services {
  --svc-bg: #0b0f14;
  --svc-icon-bg: #227aa1;
}
.dark .services .service-card {
  background: #0e141b;
  border: 1px solid rgba(255,255,255,.06);
}
.dark .services p,
.dark .services li,
.dark .services h3,
.dark .services .text-secondary {
  color: #c9d3de !important;
}


.features-section .badge {
  font-weight: 600;
  letter-spacing: .2px;
}

.features-section h2 {
  line-height: 1.15;
}

/* Плитки с пунктами */
.feature-item {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 .75rem 1.25rem rgba(0,0,0,.08);
}

/* Кружок-иконка */
.feature-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--bs-primary, #227aa1) 10%, transparent);
}

/* Текст пунктов */
.features-section .text-secondary {
  color: color-mix(in srgb, var(--bs-dark, #212529) 72%, var(--bs-secondary, #6c757d));
}

/* Адаптив */
@media (max-width: 575.98px) {
  .feature-icon { width: 40px; height: 40px; }
  .feature-item { padding: 1rem !important; }
}

/* Base wrapper */
.sd-pricing {
  background: #f8fafc; /* light slate */
}

/* Cards */
.sd-pricing-card {
  border: 1px solid rgba(2, 6, 23, 0.06);
  border-radius: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sd-pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 2rem rgba(2, 6, 23, 0.08);
}

/* Featured plan */
.sd-pricing-card--featured {
  border: 1.5px solid rgba(13, 110, 253, 0.35); /* bootstrap primary */
  position: relative;
}

.sd-ribbon {
  position: absolute;
  top: 12px;
  right: -10px;
  background: #0d6efd; /* primary */
  color: #fff;
  padding: 6px 12px;
  font-size: .75rem;
  border-radius: .5rem;
  box-shadow: 0 .5rem 1rem rgba(13, 110, 253, .25);
}

/* Price style */
.sd-price {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  line-height: 1;
}

.sd-price .sd-currency {
  font-weight: 600;
  color: #6c757d; /* text-muted tone */
  letter-spacing: .02em;
}

.sd-price .sd-amount {
  font-size: 2.25rem;
  font-weight: 800;
}

.sd-price .sd-period {
  font-size: .9rem;
  color: #6c757d;
}

/* Features */
.sd-feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sd-feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .65rem;
}

.sd-feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #198754; /* bootstrap success */
  font-weight: 700;
}

/* Add-ons table */
.sd-addons-table thead th {
  border-bottom-width: 2px;
}

.sd-addons-table tbody tr td {
  vertical-align: middle;
}

/* Utilities for dark mode (optional) */
@media (prefers-color-scheme: dark) {
  .sd-pricing {
    background: #0b1220;
  }
  .sd-pricing .text-muted,
  .sd-price .sd-period,
  .sd-price .sd-currency {
    color: #aab0b6 !important;
  }
  .sd-pricing-card {
    background: #0f172a;
    border-color: rgba(148, 163, 184, .15);
  }
  .sd-pricing-card--featured {
    border-color: rgba(13, 110, 253, .55);
  }
  .sd-ribbon {
    box-shadow: none;
  }
  .sd-addons-table {
    color: #e2e8f0;
  }
  .sd-addons-table thead th {
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, .25);
  }
  .sd-addons-table tbody td {
    border-color: rgba(148, 163, 184, .15);
  }
}

/* Spacing tweaks on smaller screens */
@media (max-width: 576px) {
  .sd-price .sd-amount {
    font-size: 1.9rem;
  }
}


.testimonial-img{
  height:120px;
  width:120px;
}

/* 1) Глобально отключаем горизонтальный скролл */
html { overflow-x: clip; }               /* современные браузеры */
body { overflow-x: hidden; width: 100%; } /* фолбэк */
