/* Стили модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
  }
  
.modal .aside-stretch-right:after {
  opacity: 0;
}

.footer .aside-stretch-right {
  background: #00043C;
  background: #fff;
}

  .modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 50px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s;
  }
  
  .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
  }
  
  .modal-close:hover,
  .modal-close:focus {
    color: #000;
    text-decoration: none;
  }
  
  /* Анимации */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Сообщение об успехе */
  .success-message {
    text-align: center;
    padding: 30px 20px;
  }
  
  .success-icon {
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
  }
  
  .success-message h3 {
    color: #4CAF50;
    margin-bottom: 15px;
  }
  
  .success-message p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .close-success {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
  }
  
  .close-success:hover {
    background-color: #45a049;
  }
  
  .feedback-form-wrapper .aside-stretch-right {
    
    padding: 3em;
  }


  #feedbackModal .form-control {
    border: 1px #dfdfdf solid;
  }





  /* Адаптивность */
  @media (max-width: 768px) {
    .modal-content {
      margin: 10% auto;
      width: 95%;
      padding: 20px;
    }
    
    .col-md-3.py-md-5.py-4.aside-stretch-right.pl-lg-5 {
      padding: 0 !important;
    }
  }
  
  /* Сохранение ваших оригинальных стилей формы */
  .feedback-form-wrapper {
    width: 100%;
  }
    
  .footer-heading {
    margin-bottom: 20px;
  }
  
  .contact-form .form-group {
    margin-bottom: 20px;
  }
  
  .agreement {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .agreement a {
    color: #007bff;
    text-decoration: none;
  }
  
  .agreement a:hover {
    text-decoration: underline;
  }
  
  .submit {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .submit:hover {
    background-color: #0056b3;
  }

/* Стили для сообщений об ошибках */
.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
  }
  
  .error-message.show {
    display: block;
  }
  
  .form-control.error {
    border-color: #dc3545;
  }
  
  /* Стили для состояния загрузки */
  .spinner {
    display: inline-block;
  }
  
  #submitBtn.loading .btn-text {
    display: none;
  }
  
  #submitBtn.loading .spinner {
    display: inline-block;
  }
  
  #submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
  }
  
  /* Стили для чекбокса согласия */
  .agreement label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    flex-direction: column;
  }
  
  .agreement input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
  }
  
  .agreement a {
    color: #007bff;
    text-decoration: none;
  }
  
  .agreement a:hover {
    text-decoration: underline;
  }