/*GLOBAL BOX-SIZING FOR CONSISTENCY*/
*, *::before, *::after {
  box-sizing: border-box;
}

/*PAGE HERO*/
.page-hero {
  position: relative;
  min-height: 30vh;
  margin-top: var(--nav-height, 100px);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-align: center;

  background-image: url("../assets/images/header-page.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* OVERLAY */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28, 62, 91, 0.85),
    rgba(28, 62, 91, 0.55)
  );
}

/* CONTENT */
.page-hero-content {
  position: relative;
  max-width: 720px;
  padding: 0 24px;

  animation: fadeUp 0.8s ease forwards;
}

.page-hero-content h1 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero-content p {
  font-size: 14px;
  opacity: 0.9;
}

.page-hero-content p a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.page-hero-content p span {
  margin: 0 6px;
  opacity: 0.7;
}

/* HERO ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= CONTACT SECTION ================= */
.contact-section {
  padding: 120px 6vw;
  background: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

/* LEFT INFO */
.contact-line {
  display: block;
  width: 40px;
  height: 3px;
  background: #ff6b35;
  margin-bottom: 20px;
}

.contact-info h2 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 40px;
  color: #1c3e5b;
}

/* CONTACT CARD (ElementOR STYLE) */
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px 26px;
  margin-bottom: 18px;

  border-radius: 16px;
  border: 1px solid #eee;
  background: #fff;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;

  font-size: 18px;
  border-radius: 50%;
  background: rgba(255,107,53,.12);
  color: #ff6b35;

  flex-shrink: 0;
  transition: all .35s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.contact-card:hover .contact-icon {
  background: #ff6b35;
  color: #1c3e5b;
}

.contact-text strong {
  font-size: 14px;
  color: #1c3e5b;
  margin-bottom: 6px;
  display: block;
}

.contact-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* HOVER TEXT COLOR */
.contact-card:hover .contact-icon,
.contact-card:hover strong,
.contact-card:hover p {
  color: #1c3e5b;
}

/* FORM */
.contact-form {
  background: #ffffff;
}

.contact-form-inner {
  margin-top: 70px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  margin-bottom: 20px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: #ff6b35;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s ease;
  min-height: 44px; /* Touch target for accessibility */
}

.btn-submit:hover {
  background: #1c3e5b;
}

/* Form Feedback */
.form-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: 4px;
  font-size: 14px;
}

.form-feedback.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-feedback.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* MAP */
.map-section iframe {
  width: 100%;
  height: 420px;
  border: none;
  filter: grayscale(100%) contrast(110%);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/*RESPONSIVE*/
@media (max-width: 600px) {
  .page-hero-content h1 {
    font-size: clamp(28px, 5vw, 36px);
  }
}