:root {
  --bg-dark: #0b1020;
  --bg-mid: #131b32;
  --primary: #2f80ff;
  --primary-soft: rgba(47, 128, 255, 0.16);
  --text-main: #1f2a44;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text-main);
}

.section-padding {
  padding: 90px 0;
}

#mainNav {
  background: rgba(11, 16, 32, 0.88);
  backdrop-filter: blur(7px);
  transition: all 0.3s ease;
}

#mainNav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  margin-left: 0.4rem;
}

#mainNav .nav-link.active,
#mainNav .nav-link:hover {
  color: #ffffff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 60px;
  color: #fff;
}

.hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-carousel .carousel-item,
.hero-carousel .carousel-item img {
  height: 100%;
}

.hero-carousel .carousel-item img {
  width: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    rgba(11, 16, 32, 0.9),
    rgba(19, 27, 50, 0.78)
  );
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.hero-card {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #2879ff;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 0.75rem;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background-color: #2879ff;
}

.section-subtitle {
  max-width: 700px;
}

.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid #e9edf7;
  height: 100%;
}

.stat-card h3 {
  margin-bottom: 0.25rem;
  color: #1d4fd8;
  font-weight: 800;
}

.stat-card p {
  margin: 0;
  font-size: 0.93rem;
  color: #506080;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem;
  border: 1px solid #e8edf9;
  box-shadow: 0 10px 28px rgba(16, 36, 94, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(16, 36, 94, 0.11);
}

.service-card h3 {
  font-size: 1.17rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  margin-bottom: 0;
  color: #586a8c;
}

.catalog-filter .btn {
  margin-left: 0.4rem;
}

.catalog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8edf8;
  box-shadow: 0 10px 25px rgba(10, 27, 78, 0.06);
}

.catalog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.catalog-card h3 {
  font-size: 1.2rem;
  margin: 0.65rem 0;
}

.catalog-card p {
  margin-bottom: 0;
  color: #5c6b89;
}

.pill {
  display: inline-flex;
  background: var(--primary-soft);
  color: #2057bb;
  border: 1px solid #c8d9ff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.24rem 0.62rem;
}

.contact-section {
  background: linear-gradient(rgba(8, 13, 25, 0.94), rgba(8, 13, 25, 0.94)),
    url("img/contact.jpg") center/cover no-repeat;
}

.contact-list p {
  margin-bottom: 0.58rem;
}

.contact-list a {
  color: #8ac2ff;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.5rem;
}

.contact-card ul {
  list-style: none;
  padding-left: 0;
}

.contact-card li {
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.1rem;
}

.contact-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ea6ff;
}

.catalog-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.catalog-item.is-hiding,
.catalog-item.is-showing {
  opacity: 0;
  transform: translateY(12px);
}

.catalog-item.hidden {
  display: none;
}

.faq-section {
  background-color: #f5f7fb;
}

.faq-accordion .accordion-item {
  border: 1px solid #e5ecf8;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  overflow: hidden;
  background: #ffffff;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: #1e2c4e;
  background: #ffffff;
  box-shadow: none;
  padding: 1.05rem 1.15rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #1e2c4e;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(47, 128, 255, 0.2);
}

.faq-accordion .accordion-button:focus {
  box-shadow: inset 0 0 0 2px rgba(47, 128, 255, 0.28);
}

.faq-accordion .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
}

.faq-accordion .accordion-body {
  color: #5d6c8b;
  line-height: 1.75;
  padding-top: 0;
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 72px 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 105px;
    padding-bottom: 58px;
  }

  .catalog-filter .btn {
    margin-left: 0;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
  }
}
