.navlink-primary{
  color: #343434 !important;
}

.navlink-primary:hover,
.navlink-primary:focus {
  color: #2d4f75 !important;
  text-decoration: underline !important;
}

.header-primary {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #122031;
  line-height: 1.3;
}

.subtext-primary {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  color: #343434;
  line-height: 1.6;
  margin-bottom: 0px;
}

.btn-primary {
  background-color: #2d4f75;
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #1e3756;
}

#capabilities .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.col-md-3 {
  margin-bottom: 1rem !important;
}

.video-section {
  background-color: #f9fbfc;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0b253a;
}

.embed-responsive-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.embed-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

footer h5 {
  font-size: 1.25rem;
}

footer a.btn i {
  margin-right: 5px;
}

footer button i {
  font-size: 1rem;
}

.so-dark-blue {
  color: #122031 !important;
}
.so-light-blue {
  color: #2e5984 !important;
  font-family: "Inter", sans-serif !important;
}
.so-blue-bg {
  background-color: #2e5984 !important;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}


.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}
.delay-4 
{ transition-delay: 0.8s; 
}


.main-content {
  margin-top: 0 !important;
  padding-top: 0;
}
html {
  scroll-behavior: smooth;
}

.carousel-inner img {
  max-height: 450px;
  object-fit: contain;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* затемнённый фон */
  background-size: 100% 100%;
  border-radius: 50%;
  filter: invert(1); /* превращает серую стрелку в белую */
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

  .carousel-indicators li {
    background-color: #2e5984;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    bottom: -50px; /* смещаем вниз */
  }

  #ourWorksCarousel {
    position: relative;
    padding-bottom: 60px; /* место под точки */
  }

  #ourWorksCarousel .carousel-indicators {
    bottom: 10px !important; /* насильно прижимаем к низу контейнера */
  }
  .carousel-indicators .active {
    background-color: #2e5984; /* синий или любой другой цвет */
  }

.pages-text {
  color: #6c757d !important;
  font-family: "Inter", sans-serif !important; 
  font-size: 1rem;
  font-weight: 400;
  max-width: 550px;
}

.pages-header {
  color: ##122031; !important;
  font-family: "Inter", sans-serif !important; 
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1em;
}

.hero-section {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    max-width: 1000px; 
    margin: 0 auto;
}
.hero-text {
  width: 50%; 
  text-align: left;
}
.hero-section img {
  width: 40%; 
  max-width: 400px;
}

@media (max-width: 768px) {
  .main-content .container {
    width: 100% !important; 
  }
  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 1rem;
  }

  .hero-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .hero-text {
    order: 2;
    width: 90%;
    font-size: 1.2rem;
  }

  .hero-text h1,
  .hero-text h2 {
    font-size: 1.75rem;
  }

  .hero-button {
    margin-top: 1rem;
  }
}
