@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Exo:400,700');
body {
            font-family: "Montserrat", sans-serif;
            margin: 0;
            padding: 0;
            /*background: #56ade7; */  
            background: linear-gradient(to bottom, #1468d6, #56ade7);  
            width: 100%;
            height:100vh;
        }

        h2 {
           font-family: "Montserrat", sans-serif; 
           font-weight: normal;
           font-size: 18px;
        }

        
        .navbar {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            background-color: #ffffff;
            color: #000;
            padding: 20px 400px 15px;
            box-shadow: 0px 5px 10px 0px #aaa;

        }
        

        img.logo {
            height: 50px; 
            width: 50px;
            object-fit: contain;
        }
        
        ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: flex;
        }
        
        li {
            position: relative;
        }
        
        a {
            text-decoration: none;
            color: rgb(0, 0, 0);
            padding: 10px 15px;
            transition: opacity 0.3s ease-in-out;
            opacity: 1;
        }
        
        a:hover {
            background-color: #cecece;
            opacity: 1;
        }
        
        a:not(:hover) {
            animation: fadeOut 0.5s ease-in-out 0.2s forwards;
        }
        
        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0.7; }
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            top: 150%;
            left: 0;
            min-width: 160px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
            z-index: 1;
            background-color: #f9f9f9;
            opacity: 0;
            animation: fadeIn 0.3s ease-in-out 0.2s forwards;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .dropdown-content a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }
        
        .dropdown-content a:hover {background-color: #ddd;}
        
        li:hover > .dropdown-content {
            display: block;
        }


        .contacts-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-top: 16px;
        }
        .contact-card:first-child {
            grid-column: 1 / -1;
        }

        .contact-card {
            padding: 14px 18px;
            border-left: 3px solid #4a90d9;
            background: #f8fafd;
            border-radius: 0 8px 8px 0;
        }

        .contact-role {
            font-size: 13px;
            color: #6b7a99;
            font-weight: 500;
            margin-bottom: 4px;
        }

        .contact-name {
            font-size: 15px;
            font-weight: 600;
            color: #1a2340;
            margin-bottom: 6px;
        }

        .contact-phone {
            font-size: 14px;
            color: #4a90d9;
            text-decoration: none;
            font-weight: 500;
        }

        .contact-phone:hover {
            text-decoration: underline;
        }

.circles{
    /* position: absolute; */
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    overflow: hidden;
}
.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: 0px;
    
}
.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}


        .modal {
            display: none;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4);
        }
        
        .modal-content {
            background-color: #fefefe;
            margin: 15% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
        }
        
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
        
        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

        button {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            width: 100%;
            text-align: center;
        }

        button h2 {
            margin: 0;
            padding: 20px;
            text-align: center;
        }

        .product-card {
            cursor: pointer;
            display: flex;
            justify-content: center; /* Выравнивание по горизонтальной оси */
            align-items: center;      /* Выравнивание по вертикальной оси */
            height: 100px;            /* Высота контейнера */
        }
        
        .product-card:hover {
            /*background-color: #fdfdfd;
            transform: scale(1.02);

            */
            transform: translateY(-2px);
            transition: all 0.1s ease;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
            
        }
        /*
        .product-card:active {
            background-color: #ffffff; 
            transform: scale(0.97); 
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        */


.container-problems {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


.main-title {
  font-size: 3rem;
  color: #ffffff;
  margin-top: 2em;
  margin-bottom: 7rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(160, 159, 159, 0.3);
  
}

.buttons-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.full-width-button {
  width: 100%;
  max-width: 400px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  border-radius: 0.75rem;
  cursor: pointer;
  border: none;
  color: #1a202c;
  letter-spacing: 0.5px;
  background-color: #2d3748;
  transform: scale(1.01);
  
}

.full-width-button:hover {
  transform: translateY(-2px);
  transition: all 0.1s ease;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-consultation {
  background-color: #ffffff;
}

.btn-consultation:hover {
  box-shadow: black;
}

.btn-support {
  background-color: #ffffff;
}

.btn-support:hover {
  box-shadow: black;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.hidden {
  display: none !important;
}

.modal-content {
  background-color: white;
  color: #2d3748;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 90%;
  max-width: 500px;
}

.close-btn {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #a0aec0;
  font-weight: bold;
}

.close-btn:hover {
  color: #4a5568;
}

.modal-title {
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
  margin-right: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #4a5568;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2d3748;
  box-shadow: 0 0 0 2px rgba(56, 161, 105, 0.25);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-weight: bold;
  border-radius: 0.75rem;
  cursor: pointer;
  border: none;
  color: white;
  font-size: 1rem;
  transition: all 0.1s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-consultation.submit-btn {
  background-color: #2d3748;
}

.btn-support.submit-btn {
  background-color: #2d3748;
}

/* Адаптивность */
@media (max-width: 768px) {
  .buttons-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }

  .full-width-button {
    max-width: 100%;
  }

  .main-title {
    font-size: 20px;
  }

  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
}