/* ==================== CONTACT PAGE HERO SECTION ==================== */
.contact-hero {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--secondary-color);
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 20px;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ==================== CONTACT INFO SECTION ==================== */
.contact-info-section {
  padding: 80px 0;
  background: var(--bg-white);
}

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

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-card {
  background: linear-gradient(135deg, var(--bg-light) 0%, #f3f4f6 100%);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--secondary-color);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  font-size: 64px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
}

.info-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.info-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.info-card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.info-card a:hover {
  color: var(--primary-color);
}

/* ==================== CONTACT FORM SECTION ==================== */
.contact-form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.form-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.form-content > p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  grid-column: span 2;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  grid-column: span 2;
}

.submit-btn {
  width: 100%;
  padding: 14px 30px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  grid-column: span 2;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  display: none;
  font-weight: 600;
}

.form-message.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ==================== MAP SECTION ==================== */
.map-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.map-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  display: block;
  border: none;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .contact-hero {
    height: 300px;
    margin-top: 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .contact-info-section {
    padding: 50px 0;
  }

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

  .contact-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-section {
    padding: 50px 0;
  }

  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-content h2 {
    font-size: 28px;
  }

  .contact-form {
    padding: 30px 20px;
    grid-template-columns: 1fr;
  }

  .map-section {
    padding: 50px 0;
  }

  .map-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .map-container iframe {
    height: 350px !important;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    height: 250px;
  }

  .hero-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .info-icon {
    width: 70px;
    height: 70px;
    font-size: 36px;
  }

  .info-card h3 {
    font-size: 18px;
  }

  .info-card p {
    font-size: 14px;
  }

  .form-content h2 {
    font-size: 22px;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px 12px;
    font-size: 13px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .submit-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .map-container iframe {
    height: 300px !important;
  }

  .map-section h2 {
    font-size: 22px;
    margin-bottom: 25px;
  }
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info-card {
  animation: slideInUp 0.6s ease-out backwards;
}

.info-card:nth-child(1) {
  animation-delay: 0.1s;
}
.info-card:nth-child(2) {
  animation-delay: 0.2s;
}
.info-card:nth-child(3) {
  animation-delay: 0.3s;
}
.info-card:nth-child(4) {
  animation-delay: 0.4s;
}

.contact-form {
  animation: slideInUp 0.6s ease-out 0.2s backwards;
}
