* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.gradient-header {
  background: linear-gradient(35deg, #ffffff 0%, #c5dfff 100%);
  color: black;
  border-radius: 0 0 20px 20px;
  padding: 25px 30px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(106, 17, 203, 0.2);
}

.logo-container {
  margin-bottom: 25px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: white;
  color: #6a11cb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
}

.header-content {
  width: 50%;
}

.header-content h1 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.header-description {
  font-size: 16px;
  max-width: 700px;
  opacity: 0.9;
}

.content {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.form-container {
  flex: 0.5;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.form-header h2 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 24px;
}

.form-header p {
  color: #7f8c8d;
  font-size: 14px;
}

.feedback-form .form-group {
  margin-bottom: 25px;
}

.feedback-form label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
}

.feedback-form input[type="text"],
.feedback-form input[type="tel"],
.feedback-form input[type="email"],
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

.feedback-form input[type="text"]:focus,
.feedback-form input[type="tel"]:focus,
.feedback-form input[type="email"]:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: #6a11cb;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group-col {
  flex-direction: column;
  flex-grow: 1;
  line-height: 1;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
  cursor: pointer;
  float: left;
}

.checkbox-group label {
  margin-top: 4px;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}

.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.submit-btn, .reset-btn {
  padding: 16px 30px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  flex: 1;
  min-width: 150px;
}

.submit-btn {
  background: #004dab;
  color: white;
}

.submit-btn:enabled:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(106, 17, 203, 0.3);
}

.submit-btn:disabled {
  background-color: #dfdfdf !important;
}

.submit-btn:active {
  transform: translateY(-1px);
}

.reset-btn {
  background-color: #f8f9fa;
  color: #6a11cb;
  border: 2px solid #e0e0e0;
}

.reset-btn:hover {
  background-color: #f0f0f0;
}

.contact-info {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 2px solid #f0f0f0;
}

.contact-info h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 10px;
  transition: all 0.3s;
}

.contact-item:hover {
  background-color: #f0f0f0;
}

.contact-icon {
  font-size: 24px;
  margin-right: 15px;
  margin-top: 5px;
}

.contact-details h4 {
  color: #2c3e50;
  margin-bottom: 5px;
}

.contact-details p {
  color: #7f8c8d;
  font-size: 14px;
}

.form-sidebar {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.sidebar-card ul {
  padding-left: 20px;
}

.sidebar-card li {
  margin-bottom: 10px;
  color: #555;
}

.response-time .time-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.time-label {
  color: #555;
}

.time-value {
  font-weight: 600;
  color: #6a11cb;
}

.sidebar-card p {
  color: #555;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 25px 0;
  color: #7f8c8d;
  border-top: 1px solid #e0e0e0;
  margin-top: 20px;
  position: relative;
  background-color: white;
  z-index: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #6a11cb;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 22px;
  display: flex;
  align-items: center;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.close-modal:hover {
  opacity: 0.8;
}

.modal-body {
  padding: 30px;
  text-align: center;
}

.modal-body p {
  margin-bottom: 25px;
  font-size: 18px;
  color: #333;
}

.modal-close-btn {
  padding: 12px 30px;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.modal-close-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(106, 17, 203, 0.3);
}

@media (max-width: 768px) {
  .gradient-header {
    padding: 20px;
    border-radius: 0 0 15px 15px;
  }
  
  .logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .header-content {
    width: 100%;
  }
  
  .header-content h1 {
    font-size: 26px;
  }
  
  .header-description {
    font-size: 15px;
  }
  
  .content {
    gap: 20px;
  }
  
  .form-container {
    flex: 1;
    padding: 20px;
  }
  
  .form-header h2 {
    font-size: 22px;
  }
  
  .form-buttons {
    flex-direction: column;
  }
  
  .submit-btn, .reset-btn {
    width: 100%;
  }
  
  .contact-items {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .photo {
    position: relative !important;
    width: 250px !important;
    left: auto !important;
    margin: auto !important;
    margin-bottom: -25px !important;
  }
  
  .photo img {
    width: 250px !important;
  }
}

.required {
  color: red;
}

.hint {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 7px;
}

.feedback-form textarea {
  height: 200px;
  resize: none;
}

.privacy-agree {
  width: auto !important;
  margin-top: 15px;
  margin-right: 5px;
  cursor: pointer;
}

.photo {
  position: fixed;
  left: 50%;
  top: 0;
}

.photo img {
  width: 100%;
}

.content-privacy {
  flex-direction: column;
}

a {
  color: blue;
}

.result {
  border: 1px solid #aaa;
  border-radius: 15px;
  padding: 15px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
}

.result-success {
  color: #6b49d5;
}

.result-error {
  color: #e32d2d;
}

.privacy-result {
  margin-top: 15px;
}


input[type="file"] {
  display: none;
}

.file-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 5px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

.file-btn-upload {
  padding: 5px 10px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  
  display: inline;
  background-color: #2e5380;
  color: white;
}

.file-btn-upload:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 7px gray;
}

.file-btn-upload-delete {
  order: 1;
  background-color: #c12121;
}

.file-name {
  font-size: 12px;
}

.file-size {
  font-size: 10px;
  color: gray;
}