/* Contact Container */
.contact-container {
  max-width: 740px;
  margin: 1.75rem auto;
  padding: 0 1rem;
}

.contact-card {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 214, 120, 0.08), transparent 42%),
    radial-gradient(circle at 82% 84%, rgba(84, 197, 255, 0.08), transparent 40%),
    linear-gradient(160deg, rgba(33, 38, 44, 0.95), rgba(19, 23, 30, 0.96));
  border: 1px solid rgba(255, 215, 120, 0.3);
  border-radius: 18px;
  padding: 1.95rem 1.8rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.form-brandmark {
  display: flex;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.form-brandmark-logo {
  width: clamp(44px, 7vw, 58px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(240, 193, 72, 0.32));
}

/* Header */
.contact-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.contact-header h1 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  color: rgba(224, 228, 236, 0.78);
  font-size: 0.95rem;
  margin: 0;
}

/* Form Styling */
.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}

.form-group-modern {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.form-label-modern {
  font-size: 0.83rem;
  font-weight: 600;
  color: #e0e1dd;
  display: block;
  margin-bottom: 0;
}

/* Input Fields */
.modern-contact-form input[type="text"],
.modern-contact-form input[type="email"],
.modern-contact-form textarea,
.modern-contact-form select {
  width: 100%;
  padding: 0.56rem 0.7rem;
  background: rgba(12, 16, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #e0e1dd;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.modern-contact-form input[type="text"]:focus,
.modern-contact-form input[type="email"]:focus,
.modern-contact-form textarea:focus,
.modern-contact-form select:focus {
  outline: none;
  border-color: rgba(255, 215, 120, 0.78);
  background: rgba(16, 22, 30, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 215, 120, 0.14);
}

.modern-contact-form input::placeholder,
.modern-contact-form textarea::placeholder {
  color: rgba(226, 231, 240, 0.42);
}

.modern-contact-form textarea {
  min-height: 106px;
  resize: vertical;
}

.modern-contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e0e1dd' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Form Help Text */
.form-help {
  color: rgba(224, 228, 236, 0.72);
  font-size: 0.72rem;
  margin: 0;
}

/* Submit Button */
.btn-submit-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.76rem 1.25rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #000;
  font-size: 0.93rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.45rem;
}

.btn-submit-contact:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 215, 0, 0.28);
}

.btn-submit-contact:active {
  transform: translateY(0);
}

.btn-icon {
  font-size: 1rem;
}

/* Error Messages */
.error-message {
  color: #ff4444;
  font-size: 0.76rem;
  margin-top: 0.1rem;
  display: block;
}

.error-message ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 1.4rem 1rem;
}

.success-message h3 {
  font-size: 1.45rem;
  color: #4caf50;
  margin-bottom: 0.65rem;
}

.success-message p {
  color: rgba(224, 228, 236, 0.82);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn-back-home {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #151515;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-back-home:hover {
  box-shadow: 0 10px 24px rgba(255, 215, 0, 0.28);
  color: #151515;
}

/* Info Section */
.info-section {
  background: rgba(255, 215, 0, 0.05);
  border-left: 4px solid #ffd700;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  margin-top: 0.45rem;
}

.info-text {
  color: rgba(224, 228, 236, 0.82);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.35;
}

/* Contact Info Cards */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.9rem 0.8rem;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: #ffd700;
  transform: translateY(-2px);
}

.info-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.info-card-title {
  font-size: 0.76rem;
  color: rgba(224, 228, 236, 0.72);
  margin-bottom: 0.25rem;
}

.info-card-value {
  font-size: 0.84rem;
  color: #f2d88f;
  font-weight: 600;
  word-break: break-word;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-card {
    padding: 1.4rem 1.1rem;
  }

  .contact-header h1 {
    font-size: 1.48rem;
  }

  .btn-submit-contact {
    font-size: 0.9rem;
    padding: 0.74rem 1.1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-container {
    padding: 0 0.45rem;
  }

  .contact-card {
    padding: 1.2rem 0.85rem;
    border-radius: 14px;
  }

  .contact-header h1 {
    font-size: 1.32rem;
  }

  .contact-subtitle {
    font-size: 0.88rem;
  }
}
