/* Contact Hero Section */
.contact-hero {
  background-color: #0d4d4d;
  padding: 6rem 2rem;
  text-align: center;
}

.contact-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.contact-hero-title {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-hero-text {
  font-size: 1.4rem;
  color: white;
  line-height: 1.8;
}

/* Contact Information Section */
.contact-info-section {
  background-color: white;
  padding: 5rem 2rem;
}

.contact-info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.contact-info-card {
  text-align: center;
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(233, 30, 140, 0.1);
  border-radius: 50%;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d4d4d;
  margin-bottom: 1rem;
}

.contact-info-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.contact-info-text a {
  color: #E91E8C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: #d11a7a;
}

/* Contact Form Main Section */
.contact-form-main {
  background-color: #f5f5f5;
  padding: 5rem 2rem;
}

.contact-form-main-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-content {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d4d4d;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-form-subtitle {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: #0d4d4d;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #E91E8C;
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-button {
  background-color: #E91E8C;
  color: white;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  margin-top: 1rem;
}

.contact-submit-button:hover {
  background-color: #d11a7a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 30, 140, 0.3);
}

/* Contact Modal */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.contact-modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-modal-content {
  background-color: white;
  padding: 3rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: slideDown 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.contact-modal-close:hover {
  color: #333;
}

.contact-modal-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.contact-modal-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0d4d4d;
  margin-bottom: 1rem;
}

.contact-modal-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 4rem 1.5rem;
  }

  .contact-hero-title {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-hero-text {
    font-size: 1.2rem;
  }

  .contact-info-section {
    padding: 3rem 1.5rem;
  }

  .contact-form-main {
    padding: 3rem 1.5rem;
  }

  .contact-form-content {
    padding: 2rem 1.5rem;
  }

  .contact-form-title {
    font-size: 2rem;
  }

  .contact-form-subtitle {
    font-size: 1rem;
  }

  .contact-submit-button {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
  }

  .contact-modal-content {
    padding: 2rem;
    margin: 1rem;
  }

  .contact-modal-title {
    font-size: 1.6rem;
  }

  .contact-modal-text {
    font-size: 1rem;
  }
}
