/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--heading-color) 100%);
  padding: 40px 0;
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.contact-hero .header {
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--gold);
}

.contact-hero p {
  font-size: 1.2rem;
  margin-bottom: 0;
  line-height: 1.4;
  opacity: 0.9;
}

/* Contact Form Section */
.contact-form-section {
  padding: 40px 0;
  background: var(--card-bg);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Form Fields */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 8px;
  text-align: left;
  width: 100%;
  color: var(--gold);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.form-group small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* CAPTCHA Styles */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.captcha-display {
  font-family: 'Courier New', monospace;
  font-size: 32px;
  font-weight: bold;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  letter-spacing: 5px;
  user-select: none;
  text-align: center;
  min-width: 180px;
  color: var(--gold);
}

.captcha-refresh {
  cursor: pointer;
  font-size: 24px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.captcha-refresh:hover {
  transform: rotate(180deg);
}

.captcha-input {
  flex: 1;
}

/* Submit Button */
.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #333;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-hero {
    padding: 30px 20px;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-hero p {
    font-size: 1.1rem;
  }

  .form-container {
    padding: 20px;
    margin: 0 20px;
  }
  
  .captcha-container {
    flex-direction: column;
    align-items: stretch;
  }

  .captcha-display {
    font-size: 24px;
    padding: 10px 15px;
  }
}

/* Animation for Contact Page */
@keyframes slideInDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Contact Page Image */
.contact-hero img {
  max-width: 500px;
  margin: 2rem auto;
}

/* Form Container Image */
.cta-image img {
  max-height: 400px;
  object-position: center;
}