body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.hero .container,
.hero .row,
.hero .col-12 {
  height: 100%;
}

.hero .cta-button {
  position: absolute;
  right: 0px;
  bottom: -100px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #007bff;
  max-width: 200px;
}

.logo img {
  width: 100%;
}

.nav-link {
  color: #333;
  font-weight: 500;
}

.nav-link:hover {
  color: #007bff;
}

.hero {
  background-image: url("../img/banner.png");
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: end;
}

@media (max-width: 992px) {
  .hero-content {
    align-items: center;
    justify-content: center;
  }

  .hero .hero-title {
    text-align: center;
  }

  .hero .cta-button {
    position: static;
    height: 50px;
    border-radius: 20px;
    font-size: 1rem;
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 701px;
  text-align: left;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background-color: #ff8c00;
  color: #fff;
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: 500;
  border: none;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: background-color 0.3s;
  animation: pulse 2s infinite;
}

.footer .cta-button {
  border-radius: 50px;
  max-width: fit-content;
  height: auto;
  font-size: 1.125rem;
  max-height: 75px;
  text-align: center;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
  }
}

.cta-button:hover {
  background-color: #e67e00;
  color: #fff;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

.about-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #375a83;
  text-transform: uppercase;
}

.about-text {
  font-size: 1.1rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #555;
}

.leaders-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #375a83;
  text-transform: uppercase;
}

.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
  padding: 1.5rem;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.card-icon img {
  width: 100%;
  max-width: 50px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #375a83;

  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  white-space: normal;
}

@media (max-width: 1200px) and (min-width: 992px) {
  .card-title {
    font-size: 1rem;
  }
}

.card-text {
  font-size: 0.95rem;
  color: #666;
}

/* Custom responsive adjustments */
@media (max-width: 380px) {
  .about-section {
    padding: 40px 0;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .leaders-title {
    font-size: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }
}

.windows-section {
  padding: 80px 0 40px;
  background-color: #f8f9fa;
  margin-top: -40px;
  position: relative;
}

#partition {
  padding: 0px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #375a83;
}

.section-text {
  font-size: 1.1rem;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #555;
}

.footer__social {
  margin-top: 15px;
}

.products-row {
  background-color: #375a83;
  padding: 40px 0;
  color: #fff;
}

.product-card {
  background-color: transparent;
  border: none;
  height: 100%;
  color: #fff;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  min-height: 28.8px;
  text-align: center;
}

.product-image {
  width: 100%;
  height: 250px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.product-description {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}

.product-card img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 440px;
}

.products-row .col-12 {
  margin-bottom: var(--bs-gutter-y);
}

.products-row .section-text {
  color: white;
  margin: 0 auto 1rem;
  max-width: 1000px;
}

/* Custom responsive adjustments */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }

  .product-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .windows-section {
    padding: 80px 0;
    margin-top: -50px;
  }

  #partition {
    padding: 80px 0px 0px;
  }

  .products-row {
    padding: 30px 0;
  }

  .product-title {
    font-size: 1.3rem;
  }

  .product-image {
    height: 180px;
  }

  .product-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .section-text {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .product-title {
    font-size: 1.2rem;
  }

  .product-image {
    height: 150px;
    font-size: 0.7rem;
  }

  .product-description {
    font-size: 0.9rem;
  }

  .product-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 380px) {
  .windows-section {
    padding: 20px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .products-row {
    padding: 20px 0;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-image {
    height: 120px;
  }

  .product-description {
    font-size: 0.85rem;
  }

  .product-card {
    margin-bottom: 0.75rem;
  }
}

.carousel-inner {
  max-height: 50vh;
}

.carousel-item img {
  object-fit: cover;
}

.product-wireframe {
  margin-top: 30px;
}

.footer {
  background-color: #375a83;
  color: #fff;
  padding: 40px 0 20px;
}

.footer h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin-bottom: 3rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #ff8c00;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a img {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
  max-width: 48px;
}

.social-icons a:hover {
  color: #ff8c00;
}

.footer-bottom {
  background-color: #375a83;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer__info {
  display: flex;
  justify-content: space-around;
  gap: 10px;
}

.footer__link,
.footer-bottom__link {
  color: white;
  margin-top: 5px;
}

/* Custom responsive adjustments */
@media (max-width: 992px) {
  .footer h5 {
    font-size: 1.1rem;
  }

  .footer ul li a {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 0 20px;
  }

  .footer__info {
    justify-content: flex-start;
  }

  .footer h5 {
    font-size: 1rem;
  }

  .social-icons {
    justify-content: center;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 8px 16px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 20px 0 15px;
  }

  .footer h5 {
    font-size: 0.95rem;
  }

  .footer ul li a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    font-size: 0.85rem;
    padding: 15px 0;
  }
}

@media (max-width: 380px) {
  .footer {
    padding: 15px 0 10px;
  }

  .footer h5 {
    font-size: 0.9rem;
  }

  .footer ul li a {
    font-size: 0.8rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 6px 12px;
  }

  .social-icons a {
    font-size: 1.25rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding: 10px 0;
  }
}

.windows-swiper {
  background: #375a83;
  padding-bottom: 40px;
  position: relative;
}

.windows-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 350px;
  min-height: 350px;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Модальное окно */
.modal {
  display: none;
  flex-direction: column;
  justify-content: center;
  max-height: 449px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  overflow: hidden;
}

.modal-header {
  background-color: #003087;
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
}

.modal-header .small-text {
  font-size: 12px;
  margin-top: 5px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  background-color: #003087;
  color: white;
}

.modal-body label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.modal-body input[type="text"],
.modal-body input[type="tel"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
}

.submit-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.checkbox-container {
  margin: 20px 0;
  font-size: 14px;
  display: flex;
  align-items: baseline;
}

.checkbox-container input {
  margin-right: 10px;
}

.fixed {
  overflow: hidden;
}
