/* ================================
   Contact Page Styles
================================ */

/* Hero Section */
.contact-hero {
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.contact-hero div {
  max-width: 900px;
  margin: auto;
}
.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.contact-hero p {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Contact Section */
.contact-section {
  background: #f8fafc;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}
.form-container {
  max-width: 700px;
  width: 100%;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  text-align: center;
}
.form-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.form-container p {
  margin-bottom: 30px;
  color: #64748b;
  font-size: 1.1rem;
}
.contact-form {
  display: grid;
  gap: 20px;
  text-align: left;
}
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(26,115,232,0.2);
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
  color: #334155;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 14px;
  border: none;
  border-radius: 34px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,115,232,0.4);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center; align-items: center;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  max-width: 650px;
  width: 95%;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-content h2 {
  margin-bottom: 15px;
  color: var(--primary);
}
.modal-content h3 {
  margin: 20px 0 10px;
  color: var(--dark);
}
.close-btn {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
}

/* Progress bar inside modal */
#progressBar {
  background: #eee;
  height: 6px;
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}
#progressFill {
  background: linear-gradient(135deg, #667eea, #32cd32);
  height: 100%;
  width: 0%;
  transition: width 0.3s;
}

/* Options styled as buttons */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.option-group input[type="checkbox"],
.option-group input[type="radio"] {
  display: none;
}
.option-group label {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}
.option-group input:checked + label {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 8px rgba(26,115,232,0.3);
}

/* Contact Info Cards */
.contact-info {
  padding: 80px 20px;
  background: #f8fafc;
}
.contact-info-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
  text-align: center;
}
.contact-info-grid div {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.contact-info-grid h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 25px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }
  .modal-content {
    width: 95%;
    padding: 20px;
  }
  .option-group label {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}
