/* Contact Page Styles */

/* Prevent horizontal overflow */
* {
  max-width: 100%;
  box-sizing: border-box;
}

/* Hero Section */
.contact-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #007a8f 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-hero__title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.contact-hero__subtitle {
  font-size: 20px;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Contact Content */
.contact-content {
  padding: 80px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: auto;
}

/* Contact Information */
.contact-info__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 40px;
}

.contact-info__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 95, 115, 0.12);
  border-color: var(--primary-color);
}

.contact-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #007a8f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.contact-card__icon i {
  font-size: 20px;
  color: white;
}

.contact-card__content {
  flex: 1;
}

.contact-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.contact-card__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

.contact-card__text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card__text a:hover {
  color: #007a8f;
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-form__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.contact-form__subtitle {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: auto;
}

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

.form-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: var(--white);
  color: var(--text-body);
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
}

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

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

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  background: var(--white);
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.checkbox-input:checked + .checkbox-custom {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-input:checked + .checkbox-custom::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-text {
  color: var(--text-body);
  flex: 1;
}

.form-link {
  color: var(--primary-color);
  text-decoration: none;
}

.form-link:hover {
  text-decoration: underline;
}

.form-submit {
  background: linear-gradient(135deg, var(--primary-color), #007a8f);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 95, 115, 0.3);
}

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

/* Quick Contact */
.quick-contact {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}

.quick-contact__content {
  max-width: 600px;
  margin: 0 auto;
}

.quick-contact__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.quick-contact__subtitle {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.6;
}

.quick-contact__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.quick-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, var(--primary-color), #007a8f);
  color: white;
}

.quick-contact__btn--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.quick-contact__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 95, 115, 0.3);
}

.quick-contact__btn--secondary:hover {
  background: var(--primary-color);
  color: white;
}

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

  .contact-form-wrapper {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 0;
  }

  .contact-hero__title {
    font-size: 36px;
  }

  .contact-hero__subtitle {
    font-size: 18px;
  }

  .contact-content,
  .quick-contact {
    padding: 60px 0;
  }

  .contact-info__title,
  .contact-form__title,
  .quick-contact__title {
    font-size: 28px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card__icon {
    width: 45px;
    height: 45px;
  }

  .contact-card__icon i {
    font-size: 18px;
  }

  .quick-contact__buttons {
    flex-direction: column;
    align-items: center;
  }

  .quick-contact__btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .contact-hero__title {
    font-size: 28px;
  }

  .contact-hero__subtitle {
    font-size: 16px;
  }

  .contact-info__title,
  .contact-form__title,
  .quick-contact__title {
    font-size: 24px;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-card__icon {
    margin-right: 0;
    margin-bottom: 12px;
    align-self: center;
  }
}

.contact-card h3 {
  text-align: left;
}
