.contact-page {
  padding: 20px 20px;
  background-color: #f0f0f0;
  min-height: calc(90vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card {
  background: #ffffff;
  width: 100%;
  max-width: 1100px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-image-col {
  flex: 1;
  background-color: #0d1b2a;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}

.contact-form-col {
  flex: 1.2;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.contact-subtitle {
  color: #555;
  margin-bottom: 40px;
  font-size: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 30px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.form-group input {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  background: transparent;
}

.form-group input:focus {
  border-bottom-color: #a0400b;
}

.message-input {
  width: 100%;
}

.btn-send-message {
  background-color: #e85d26;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 20px;
  transition: background 0.2s;
}

.btn-send-message:hover {
  background-color: #a0400b;
}

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

  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-box h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.5;
}

.btn-popup-close {
  background-color: #e85d26;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-popup-close:hover {
  background-color: #d14d1b;
}

@media (max-width: 900px) {
  .contact-card {
    flex-direction: column;
  }
  .contact-image-col {
    height: 250px;
  }
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  .contact-form-col {
    padding: 30px;
  }
  .btn-send-message {
    width: 100%;
  }
}
