/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #26d0ce 0%, #1a2980 60%, #0b90da 100%);
  color: var(--white);
  padding: 20px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  animation: floatBubbles 20s ease-in-out infinite;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease-out;
  line-height: 1.2;
  color: var(--white);
}

.page-hero__subtitle {
  font-size: 16px;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.6s ease-out 0.2s both;
  color: var(--white);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatBubbles {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.1);
  }
  66% {
    transform: translate(-20px, -30px) scale(0.95);
  }
}

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

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: auto;
}

/* Contact Information */
.contact-info__title {
  font-size: 24px;
  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: 20px;
  gap: 1.5em;
  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: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #007a8f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  margin-bottom: 12px;
  align-self: center;
  flex-shrink: 0;
}

.contact-card__icon i {
  font-size: 18px;
  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: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-form__title {
  font-size: 24px;
  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: 60px 0;
  background: var(--white);
  text-align: center;
}

.quick-contact__content {
  margin: 0 auto;
}

.quick-contact__title {
  font-size: 24px;
  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;
  flex-direction: column;
  align-items: center;
  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;
  width: 100%;
  justify-content: center;
}

.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 - Mobile First */
@media (min-width: 768px) {
  .page-hero__title {
    font-size: 36px;
  }

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

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

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

  .contact-card {
    flex-direction: row;
    text-align: left;
    padding: 24px;
  }

  .contact-card__icon {
    width: 50px;
    height: 50px;
    margin-right: 16px;
    margin-bottom: 0;
    align-self: flex-start;
  }

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

  .quick-contact__buttons {
    flex-direction: row;
  }

  .quick-contact__btn {
    width: auto;
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .contact-content,
  .quick-contact {
    padding: 80px 0;
  }

  .contact-grid {
    flex-direction: row;
    gap: 60px;
  }

  .contact-grid > * {
    flex: 1;
  }

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

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

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

/* FontAwesome Icon Definitions */
.fa-paper-plane::before {
  content: "\f1d8";
}
