*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
    width: 100%;
}
a{
    text-decoration: none;
    color: #333;
}
.mini-head {
  background-color: #f5f5f5;
  padding: 20px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mini-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.mini-phone .mini-p {
  font-size: 24px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.mini-phone .mini-p:hover {
  color: #007bff;
}

.mesenger {
  display: flex;
  gap: 10px;
}

.mesenger-a img {
  transition: transform 0.3s, opacity 0.3s;
}

.mesenger-a img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.head {
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.head-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  display: block;
}

.mesenger1 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mesenger-a1 {
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 22px;
  transition: color 0.3s;
}

.mesenger-a1:hover {
  color: #007bff;
}

.mesenger-a1 img {
  transition: transform 0.3s, opacity 0.3s;
}

.mesenger-a1 img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.mini-p1 {
  font-size: 22px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.mini-p1:hover {
  color: #007bff;
}

.mesenger1 .mesenger-a1:first-of-type {
  padding: 9px;
  border-radius: 50%;
  border: 1px solid #000;
}
.burger {
    display: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
    z-index: 1000;
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #000;
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 10px; /* Центрируем вторую линию */
}

.burger span:nth-child(3) {
    top: 20px; /* Центрируем третью линию */
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8.5px, -8.5px);
}

/* Показываем бургер на маленьких экранах */
@media (max-width: 786px) {
    .burger {
        display: block;
    }
}
/* Стили для мобильного меню */
.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9); /* Белый фон с прозрачностью */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999; 
    backdrop-filter: blur(5px);
    transition: background 0.3s ease;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu ul li {
    margin: 25px 0;
}

.mobile-menu ul li a {
    font-size: 26px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu ul li a:hover {
    color: #007bff;
}
/* Показываем бургер на маленьких экранах */
@media (max-width: 786px) {
    .burger {
        display: block;
    }

    .mesenger1 {
        display: none;
    }

    .logo img {
        width: 200px;
        height: 140px;
    }
}
@media(max-width: 786px) {
    .mini-head{
        display: none;
    }
    .logo img{
        width: 200px;
        height: 140px;
    }
  .head-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  
}


/* О НАС */

.about-us {
  position: relative;
  z-index: 0;
  background-color: rgba(31, 31, 31, 0.6);
}

.about-us::after {
  content: "";
  z-index: -1;
  position: absolute;
  opacity: 0.4;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: url(images/fon.png);
  background-size: cover;
  background-position: center;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  width: 80%;
  margin: 0 0 0 auto;
  transition: transform 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.animated {
  opacity: 1;
  transform: translateY(0);
}

.about-text:hover {
  transform: translateY(-10px);
}

.about-text h2 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #007BFF; 
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.about-text.animated h2 {
  opacity: 1;
  transform: translateX(0);
}

.about-text p {
  font-size: clamp(18px, 1.5vw, 26px);
  line-height: 1.7;
  color: #fff;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}

.about-text.animated p {
  opacity: 1;
  transform: translateY(0);
}

.about-image {
  display: flex;
  justify-content: center;
  flex: 1;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.about-image.animated {
  opacity: 1;
  transform: scale(1);
}

.about-a {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  padding: 12px 25px;
  font-size: 18px;
  margin-top: 30px;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4); 
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s, background-color 0.3s, box-shadow 0.3s;
}

.about-text.animated .about-a {
  opacity: 1;
  transform: translateY(0);
}

.about-a:hover {
  background-color: #0056b3;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
}

.about-a:active {
  background-color: #004085;
  transform: scale(1);
  box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  max-width: 450px; 
  
}

@media (max-width: 768px) {
    .about-text{
        width: 100%;
    }
  .about-content {
    grid-template-columns: 1fr; 
    text-align: center;
  }

  .about-image img {
    width: 85%; 
    max-width: 350px;
  }

  .about-text h2 {
    font-size: 2.5em;
  }

  .about-text p {
    font-size: 16px;
  }

  .about-a {
    font-size: 16px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .about-text h2 {
    font-size: 2em; 
  }

  .about-text p {
    font-size: 14px;
  }
}

/* КАТАЛОГ */

.catologist {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.catologist-card {
  background-color: white;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.catologist-card.animated {
  opacity: 1;
  transform: translateY(0);
}

.catologist-img {
  width: 100%;
  padding: 20px 0;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.catologist-img.animated {
  opacity: 1;
  transform: scale(1);
}

.catologist-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.catologist-title {
  padding: 20px;
}

.catologist-h1 {
  font-size: 26px;
  color: #003366;
  font-weight: bold;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s ease 0.4s;
}

.catologist-title.animated .catologist-h1 {
  opacity: 1;
  transform: translateX(0);
}

.catologist-h2 {
  font-size: 20px;
  color: #003366;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}

.catologist-title.animated .catologist-h2 {
  opacity: 1;
  transform: translateY(0);
}

.catologist-title ul {
  list-style-position: inside;
  padding-left: 0;
}

.catologist-title ul li {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.catologist-title.animated ul li:nth-child(1) { transition-delay: 0.6s; }
.catologist-title.animated ul li:nth-child(2) { transition-delay: 0.65s; }
.catologist-title.animated ul li:nth-child(3) { transition-delay: 0.7s; }
.catologist-title.animated ul li:nth-child(4) { transition-delay: 0.75s; }
.catologist-title.animated ul li:nth-child(5) { transition-delay: 0.8s; }
.catologist-title.animated ul li:nth-child(6) { transition-delay: 0.85s; }
.catologist-title.animated ul li:nth-child(7) { transition-delay: 0.9s; }
.catologist-title.animated ul li:nth-child(8) { transition-delay: 0.95s; }
.catologist-title.animated ul li:nth-child(9) { transition-delay: 1s; }
.catologist-title.animated ul li:nth-child(10) { transition-delay: 1.05s; }
.catologist-title.animated ul li:nth-child(11) { transition-delay: 1.1s; }
.catologist-title.animated ul li:nth-child(12) { transition-delay: 1.15s; }

.catologist-title.animated ul li {
  opacity: 1;
  transform: translateX(0);
}

.btn {
  padding: 10px 20px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 1.2s, transform 0.8s ease 1.2s, background-color 0.3s;
}

.catologist-title.animated .btn {
  opacity: 1;
  transform: translateY(0);
}

.btn:hover {
  background-color: #e65c00;
}

@media (max-width: 768px) {
  .catologist {
    padding: 30px 15px;
  }
  
  .catologist-card {
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .catologist-img {
    padding: 15px 0;
  }
  
  .catologist-title {
    padding: 15px;
  }
  
  .catologist-h1 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .catologist-h2 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .catologist-title ul li {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 14px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .catologist {
    padding: 20px 10px;
  }
  
  .catologist-img {
    padding: 10px 0;
  }
  
  .catologist-title {
    padding: 12px;
  }
  
  .catologist-h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .catologist-h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .catologist-title ul {
    padding-left: 0;
  }
  
  .catologist-title ul li {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.4;
  }
  
  .btn {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }
}
/* ФУТЕР */

.footer {
    background-color: #1a2238;
    color: #ffffff;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: -90%;
    left: calc(-30% + 100px);
    width: 180%;
    height: 240%;
    background-image: url('images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    transform: rotate(20deg);
    filter: hue-rotate(210deg) saturate(70%) brightness(90%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.footer-logo {
    max-width: 150px;
}

.footer-about {
    max-width: 300px;
}

.footer-about h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-line {
    height: 3px;
    width: 50px;
    background-color: #3a4f8a;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.phone-icon {
    width: 20px;
    height: 20px;
}

.footer-phone span {
    font-size: 16px;
    font-weight: 500;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.social-icons a {
    color: #ffffff;
    transition: opacity 0.3s;
    opacity: 0.5;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-icons img {
    width: 48px;
    height: 48px;
}

.copyright-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
}

.privacy-link {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.privacy-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.phone-link {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.phone-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
    font-family: "Roboto", sans-serif;
    background-color: #f5f7fa;
}

.main h1 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #0d2452;
    border-bottom: 2px solid #3a4f8a;
    padding-bottom: 10px;
}

.main h2 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #1a3870;
}

.main p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #4a6285;
}

.main ul {
    margin-bottom: 15px;
    padding-left: 20px;
    color: #4a6285;
}

.main li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Обратни связь */
.contact-section {
  background-color: #eef2f7;
  padding: 60px 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

.contact-form-wrapper {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 30px;
  border-left: 4px solid #0d2452;
  border-right: 4px solid #0d2452;
  position: relative;
  overflow: hidden;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1);
  transform-origin: center center;
  margin: 0 auto;
}

.contact-form-wrapper.animated {
  transform: scaleX(1);
}

.contact-form-wrapper::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 80px;
  width: 100%;
  height: 100%;
  background-image: url('images/bg-svo.png');
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: brightness(1.5);
  transform: rotate(-10deg);
  transform-origin: left center;
  z-index: 1;
  transition: opacity 0.8s ease 0.5s;
}

.contact-form-wrapper.animated::before {
  opacity: 0.1;
}

.contact-form-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}

.contact-form-wrapper.animated .contact-form-content {
  opacity: 1;
}

.contact-form-header {
  width: 45%;
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.8s ease 0.5s, opacity 0.8s ease 0.5s;
}

.contact-form-wrapper.animated .contact-form-header {
  transform: translateX(0);
  opacity: 1;
}

.contact-form-header h2 {
  color: #0d2452;
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-form-header p {
  color: #4a6285;
  font-size: 16px;
}

.contact-form {
  width: 50%;
  transform: translateX(50px);
  opacity: 0;
  transition: transform 0.8s ease 0.5s, opacity 0.8s ease 0.5s;
}

.contact-form-wrapper.animated .contact-form {
  transform: translateX(0);
  opacity: 1;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dbe1e8;
    border-radius: 4px;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #3a4f8a;
}

.form-submit {
    margin-top: 20px;
}

.submit-button {
    background-color: #1a2238;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-button:hover {
    background-color: #3a4f8a;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

.input-with-icon input {
    padding-left: 40px;
}

.notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: 500;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.notification.error {
    background-color: #f44336;
}

.notification.show {
    transform: translateY(0);
}

/* Блок где текст */

.why-choose-us {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.benefits-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  text-align: justify;
  gap: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.benefits-wrapper.animated {
  opacity: 1;
  transform: translateY(0);
}

.benefits-wrapper.reverse {
  flex-direction: row-reverse;
}

.benefits-content {
  flex: 1;
  padding: 20px;
}

.benefits-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #003366;
  font-weight: 600;
  transform: translateX(-20px);
  opacity: 0;
  transition: transform 0.6s ease 0.2s, opacity 0.6s ease 0.2s;
}

.benefits-content.animated h2 {
  transform: translateX(0);
  opacity: 1;
}

.benefits-list {
  list-style: none;
  padding-left: 0;
}

.benefits-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
  color: #4a6285;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.benefits-list li:nth-child(1) { transition-delay: 0.3s; }
.benefits-list li:nth-child(2) { transition-delay: 0.4s; }
.benefits-list li:nth-child(3) { transition-delay: 0.5s; }
.benefits-list li:nth-child(4) { transition-delay: 0.6s; }
.benefits-list li:nth-child(5) { transition-delay: 0.7s; }

.benefits-content.animated .benefits-list li {
  opacity: 1;
  transform: translateX(0);
}

.benefits-list li:before {
  content: "- ";
  position: absolute;
  left: 0;
  color: #003366;
}

.benefits-content p {
  color: #4a6285;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease 0.8s, transform 0.6s ease 0.8s;
}

.benefits-content.animated p {
  opacity: 1;
  transform: translateY(0);
}

.benefits-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.benefits-image.animated {
  opacity: 1;
  transform: scale(1);
}

.benefits-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.benefits-image img:hover {
  transform: scale(1.02);
}

.benefits-divider {
  width: 90%;
  height: 1px;
  background-color: #ddd;
  margin: 30px auto;
  transform: scaleX(0);
  transition: transform 0.8s ease;
}

.benefits-divider.animated {
  transform: scaleX(1);
  transform: translateY(-20px);
}

@media (max-width: 1050px) {
  .benefits-divider.animated {
    transform: scaleX(1);
    transform: translateY(0px);
  }
  .benefits-wrapper, .benefits-wrapper.reverse {
    flex-direction: column;
    text-align: center;
  }
  
  .benefits-content, .benefits-image {
    width: 100%;
  }
  
  .benefits-content h2 {
    font-size: 24px;
  }
  
  .benefits-list li {
    font-size: 15px;
  }
  .benefits-divider {
    width: 90%;
    height: 1px;
    background-color: #ddd;
    margin: 30px auto;
    transform: translateY(0px);
  }
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
  .footer::before {
    content: "";
    position: absolute;
    top: -70%;
    left: calc(-39%);
    width: 180%;
    height: 240%;
    background-image: url('images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    transform: rotate(20deg);
    filter: hue-rotate(210deg) saturate(70%) brightness(90%);
}
  .contact-form-wrapper::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 40px;
    width: 100%;
    height: 100%;
    background-image: url('images/bg-svo.png');
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    opacity: 0.1;
    filter: brightness(1.5);
    transform: rotate(-10deg);
    transform-origin: left center;
    z-index: 1;
  }
    .footer-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .footer-left {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-phone {
        justify-content: center;
    }
    
    .footer-right {
        align-items: center;
    }
    
    .social-icons {
        flex-direction: row;
        justify-content: center;
    }

    .copyright-container {
        flex-direction: column;
        gap: 10px;
    }

    .main {
        padding: 20px 15px;
    }
    
    .main h1 {
        font-size: 24px;
    }
    
    .main h2 {
        font-size: 20px;
    }

    .contact-form-content {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form-header {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .form-group {
        width: 100%;
    }
    
    .submit-button {
        width: 100%;
    }
} 

/* карта */
.map-section {
  padding: 20px 0;
  background-color: #f9f9f9;
  overflow: hidden;
}

.map-header {
  text-align: center;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.map-header.animated {
  opacity: 1;
  transform: translateY(0);
}

.map-header h2 {
  font-size: 28px;
  color: #003366;
  margin-bottom: 10px;
}

.map-header p {
  font-size: 18px;
  color: #6699cc;
}

.map-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  height: 0;
  transition: height 1s ease;
}

.map-container.animated {
  height: 400px;
}

.map {
  width: 100%;
  height: 400px;
  border: none;
  touch-action: none;
}

.map.animated {
  opacity: 1;
  transform: scale(1);
}
.container1{
  margin: 0 auto;
  max-width: 75%;
}

.fullscreen-map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fullscreen-map.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.fullscreen-map-content {
  position: relative;
  width: 90%;
  height: 90%;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  transform: scale(0.5);
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center center;
}

.fullscreen-map.active .fullscreen-map-content {
  transform: scale(1);
}

.close-map-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #003366;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.close-map-btn:hover {
  background-color: #004c99;
}

@media (max-width: 768px) {
  .close-map-btn {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}

.full-map {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}

.fullscreen-map.active .full-map {
  opacity: 1;
}

@media (max-width: 768px) {
  .map-header h2 {
    font-size: 24px;
  }
  
  .map-header p {
    font-size: 16px;
  }
  
  .fullscreen-map-content {
    width: 95%;
    height: 95%;
  }
}

@media (max-width: 480px) {
  .map-header h2 {
    font-size: 20px;
  }
  
  .map-header p {
    font-size: 14px;
  }
} 