.contact-page {
  padding: 0 min(6vw, 80px) 0;

  background: #f6f7fb;
  display: flex;
  flex-direction: column;
  /* gap: min(10vw, 120px); */
}

body[data-page="contact"] .cta-section {
  display: none !important;
}


.contact-hero {
  --hero-background: url("../assets/images/contact-us-unsplash.png");
  --hero-overlay: #092762cc;
  padding: clamp(80px, 10vw, 100px) min(6vw, 80px);
  background-image: var(--hero-background);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  text-align: center;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * min(6vw, 80px)) min(8vw, 80px);

}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}


.contact-hero__content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  z-index: 1;
}

.contact-hero__content h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 0.5rem 0 1rem;
}

.contact-hero__content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.contact-connect {
  margin-top: -140px;
  position: relative;
  z-index: 2;
  padding: 0 min(6vw, 150px) 0;
}

.contact-panel {
  background: var(--color-white);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(10, 24, 60, 0.15);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  overflow: hidden;
  min-height: 420px;
}

.contact-info h3,
.contact-form h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: "#0334420D";
}

.contact-info {
  background: #0334420D;
  padding: min(6vw, 70px);
  /* border-right: 1px solid rgba(7, 26, 74, 0.08); */
}

.contact-form {
  padding: min(6vw, 70px);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info__eyebrow {
  

  font-size: 32px;
  font-weight: bold;
  /* color: var(--color-navy); */
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: var(--color-text);
  line-height: 1.6;
  
}
.contact-info-list a.address-link {
  color: var(--color-text-light) !important;
  text-decoration: none;
}

.contact-info-list a.address-link:hover {
  color: var(--color-text-light) !important;
  text-decoration: underline;
}



.contact-info-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start; /* ensures icon stays at top */
  gap: 1rem;
}

.icon-circle {
  flex-shrink: 0;           /* prevents icon from squishing */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}


.contact-info-list strong {
  display: block;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.contact-info-list a {
  color: var(--color-slate);
}

.contact-social {
  margin-top: 2rem;
  padding-top: 1rem;      /* space after border */
  border-top: 1px solid rgba(0, 0, 0, 0.1);  /* light border */
}


.contact-social p {
  margin-bottom: 0.5rem;
  color: var(--color-navy);
  font-weight: 600;
}

.contact-social a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background:var(--color-accent);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
  transition: background 0.2s ease;
}

.contact-social a:hover {
  background: var(--color-navy-light);
  color: var(--color-white);
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--color-navy);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* --- FIX LABEL COLOR TO BLACK --- */
.contact-form label {
  color: #000 !important;
}

/* --- SEND BUTTON FULL WIDTH --- */
.contact-form button {
  width: 100% !important;
}


.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid rgba(7, 26, 74, 0.15);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: black;
  background: #f9fbff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 0.5rem;
  align-self: flex-start;
  border: none;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.95rem 2.8rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: var(--color-navy-light);
}

.contact-map {
  margin: min(6vw, 80px) calc(-1 * min(6vw, 80px)) 0 calc(-1 * min(6vw, 80px));
}


.contact-map iframe {
  width: 100%;
  border: none;
  min-height: 420px;
}

/* ------------------------------ */
/*   RESPONSIVE TABLET (max 960)  */
/* ------------------------------ */
@media (max-width: 960px) {

 

  .contact-hero__content h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

  /* Pull panel up slightly less */
  .contact-connect {
    margin-top: -100px;
    padding: 0 40px;
  }

  /* Contact Panel: switch to 1 column */
  .contact-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-info,
  .contact-form {
    padding: 40px;
  }

  /* Map spacing reduced */
  .contact-map {
    margin: 40px -40px 0;
  }
}

/* ------------------------------ */
/*   RESPONSIVE MOBILE (max 640)  */
/* ------------------------------ */
@media (max-width: 640px) {

  /* HERO */
  .contact-hero {
    /* padding: 60px 20px; */
    /* margin: 0 -20px 40px; */
    text-align: center;
  }

  /* CONTACT CONNECT SECTION */
  .contact-connect {
    /* margin-top: -40px;           */
    padding: 0 15px;
    display: flex;
    flex-direction: column;     /* ← FORCE SINGLE COLUMN */
    align-items: stretch;
    width: 100%;
  }

  /* CONTACT CARD PANEL */
  .contact-panel {
    display: flex;
    flex-direction: column;     /* ← STACK CONTENTS */
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
  }

  /* INFO + FORM */
  .contact-info,
  .contact-form {
    width: 100%;                /* ← FIX SQUEEZING */
    box-sizing: border-box;
    padding: 18px;
  }

  /* Ensure icons and text stay aligned */
  .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  /* FORM */
  .contact-form label {
    font-size: 0.85rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
  }

  .contact-form button {
    width: 100%;
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }


  
}


