html {
  font-size: 15px;
}
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  font-size: 15px;
  background-color: #121212;
  color: #e0e0e0;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}
.navbar {
  background-color: #1f1f1f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  padding: 1rem 0;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.75rem;
  color: #e0e0e0;
}
.navbar-nav .nav-link {
  margin: 0 0.75rem;
  font-weight: 500;
  color: #e0e0e0;
  transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
  color: #f06292;
}
.hero {
  position: relative;
  height: 100vh;
  background: url('../images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: fadeIn 2s ease-in-out;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.hero h1 {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.btn-gradient {
  background: linear-gradient(45deg, #e52b50, #007bff);
  border: none;
  padding: 0.75rem 2.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: #fff;
  transition: background 0.3s;
}
.btn-gradient:hover {
  background: linear-gradient(45deg, #c2185b, #0056b3);
}
.advantages {
  background-color: #1f1f1f;
  color: #e0e0e0;
  padding: 60px 0;
}

.advantage-wrapper {
  border-radius: 15px;
  padding: 3px; /* ширина границы */
  background: linear-gradient(45deg, #e52b50, #007bff);
  width: 100%;
}

.advantage-item {
  background-color: #1f1f1f;
  border-radius: 12px; /* немного меньше, чтобы граница была видна */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.advantage-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #e52b50;
}

.dark-section {
  background-color: #1f1f1f;
  color: #e0e0e0;
}
.dark-section .form-control {
  background-color: #2c2c2c;
  border: 1px solid #444;
  color: #e0e0e0;
}
.dark-section .form-control:focus {
  border-color: #e52b50;
  box-shadow: none;
}
.features {
  padding: 80px 0;
}
.features .icon {
  font-size: 3rem;
  color: #e52b50;
  margin-bottom: 1rem;
}
.features h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.features p {
  font-size: 1rem;
  color: #ccc;
}
.light-section {
  background-color: #f9f9f9;
  color: #333;
  padding: 80px 0;
}
.light-section h2 {
  color: #1f1f1f;
}
.light-section p {
  color: #555;
}
#contact {
  padding: 80px 0;
}
footer {
  padding: 30px 0;
  background-color: #000;
  color: #aaa;
  text-align: center;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Стили для блока услуг */
#services.features {
  background: #1c1c1c;
  padding: 60px 0;
}

.service-item {
  border: 2px solid #444;
  border-radius: 15px;
  background-color: #2c2c2c;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}

/* Заголовки внутри блока услуг */
#services h3 {
  font-family: 'Montserrat', sans-serif;
  margin-top: 15px;
  font-size: 1.8rem;
  color: #ffffff;
}

/* Стили для списков */
#services ul {
  margin: 15px 0;
  padding: 0;
}

#services ul li {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #ccc;
  margin: 5px 0;
  list-style: none;
  position: relative;
  padding-left: 20px;
}

#services ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #e52b50;
  font-size: 1.2rem;
  line-height: 1;
}

/* Кнопка с градиентом */
#services .btn-gradient {
  margin-top: 20px;
  display: inline-block;
  padding: 0.75rem 2.5rem;
  background: linear-gradient(45deg, #e52b50, #007bff);
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

#services .btn-gradient:hover {
  background: linear-gradient(45deg, #c2185b, #0056b3);
}

/* Стилизация изображений */
#services img {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
#partners.dark-section {
  background-color: #121212;
  color: #e0e0e0;
  border-top: 1px solid grey;
  border-bottom: 1px solid grey;
}

#partners h2 {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
}

.swiper {
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img {
  max-width: 100%;
  max-height: 120px;
  border-radius: 50%;
}
/* Стили для блока отзывов */
#testimonials.light-section {
  background-color: #f9f9f9;
  color: #333;
}

#testimonials h2 {
  font-family: 'Montserrat', sans-serif;
  color: #1f1f1f;
  margin-bottom: 30px;
}
.testimonial-wrapper {
  border-radius: 15px;
  padding: 3px; /* толщина границы */
  background: linear-gradient(45deg, #e52b50, #007bff);
  width: 100%;
  margin-bottom: 30px;
}
.testimonial-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.testimonial-photo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}
.testimonial-item h4 {
  font-family: 'Montserrat', sans-serif;
  margin-top: 15px;
  font-size: 1.5rem;
  color: #1f1f1f;
}
.testimonial-item p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #555;
  margin-top: 10px;
}
#contact .row {
  align-items: stretch;
}
.contact-form-wrapper {
  padding: 20px;
  border: 2px solid #444;
  border-radius: 15px;
  background-color: #2c2c2c;
}
.contact-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.contact-image-wrapper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
/* FAQ Section Custom Styles */
#faq.light-section {
  background-color: #f9f9f9;
  color: #333;
  padding: 60px 0;
}

#faq h2 {
  font-family: 'Montserrat', sans-serif;
  color: #1f1f1f;
  margin-bottom: 30px;
}

/* Accordion Button */
.accordion-button {
  background: linear-gradient(45deg, #e52b50, #007bff);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(45deg, #c2185b, #0056b3);
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

/* Accordion Body */
.accordion-body {
  background-color: #fff;
  color: #333;
  font-family: 'Roboto', sans-serif;
  border-top: 1px solid #ddd;
}
footer.dark-section {
  background-color: #000;
  color: #aaa;
  padding: 40px 0;
}

footer.dark-section h4 {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  margin-bottom: 15px;
}

footer.dark-section p {
  font-family: 'Roboto', sans-serif;
  color: #ccc;
}

footer.dark-section a.footer-link {
  color: #e52b50;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer.dark-section a.footer-link:hover {
  color: #007bff;
}
/* Блок подписки на новости с тёмным фоном */
#newsletter.dark-section {
  background-color: #1f1f1f;
  color: #e0e0e0;
  padding: 60px 0;
}

#newsletter h2 {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  margin-bottom: 20px;
}

#newsletter p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 30px;
}

.newsletter-form .input-group {
  max-width: 600px;
  margin: 0 auto;
}
input::placeholder, textarea::placeholder {
  color: grey!important;
}
.newsletter-form input.form-control {
  border: 1px solid #444;
  border-right: none;
  border-radius: 30px 0 0 30px;
  padding: 15px;
  font-size: 1rem;
  background-color: #2c2c2c;
  color: #e0e0e0;
}

.newsletter-form button.btn-gradient {
  border: 1px solid #444;
  border-left: none;
  border-radius: 0 30px 30px 0;
  padding: 15px 30px;
  font-size: 1rem;
  background: linear-gradient(45deg, #e52b50, #007bff);
  color: #fff;
  transition: background 0.3s ease;
}

.newsletter-form button.btn-gradient:hover {
  background: linear-gradient(45deg, #c2185b, #0056b3);
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: #1f1f1f;
  color: #e0e0e0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  gap: 20px;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
}

.cookie-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #e52b50;
}

.cookie-content a {
  color: #007bff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
}

.cookie-buttons button {
  margin: 0 5px;
  border: none;
  background: linear-gradient(45deg, #e52b50, #007bff);
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.3s ease;
}

.cookie-buttons button:hover {
  background: linear-gradient(45deg, #c2185b, #0056b3);
}
.btn-close {
  background: inherit;
  border: 1px solid;
  width: auto;
  height: auto;
}
/* Thank You Section styling */
.thankyou-section {
  position: relative;
  height: 100vh;
  background: url('../images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thankyou-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.thankyou-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.thankyou-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  /* Gradient text effect */
  background: linear-gradient(45deg, #e52b50, #007bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.thankyou-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ccc;
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
  .row {
    gap: 20px;
  }
}