
/* ===========================
   Contact Page Stylesheet
   =========================== */

.contact-container {
  background-color: var(--color-bg-page);
  min-height: 100vh;
      padding: 110px 40px;
      max-width: 1440px;
      margin: 0 auto;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  /* background: white; */
}

.contact-section__grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Left Column: Office Info & Social */
.contact-section__left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-offices {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-office {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-office__title {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-dark);
  margin: 0;
  opacity: 0.6;
  line-height: 120%;
}

.contact-office__details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-office__address,
.contact-office__phone,
.contact-office__email {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-dark);
  margin: 0;
  font-weight: 300;
  font-style: normal;
}

.contact-office__phone a,
.contact-office__email a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
}

.contact-office__email a {
  text-decoration: underline;
}

.contact-office__phone a:hover,
.contact-office__email a:hover {
  color: var(--color-text-light);
}

/* Social Media */
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-social__title {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-dark);
  margin: 0;
}

.contact-social__links {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.contact-social__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.contact-social__link:hover {
  color: var(--color-primary);
}

.contact-social__link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Middle Column: Gravity Form */
.contact-section__middle {
 border-left: solid 1px var(--color-text-dark);
  padding-left: 1rem;
}

.contact-section__map {
    width: 100%;
    max-width: calc(50vw + 720px); /* Half of 1440px = 720px */
    margin-left: auto;
    overflow: hidden;
}

#contact-map {
    width: 100%;
    height: 100%;
}

#contact-map img {
    width: 100%;
    height: auto;
    display: block;
}

#contact-map img:hover {
    transform: none;
}

/* On screens smaller than 1440px, just use full width */
@media (max-width: 1440px) {
    .contact-section__map {
        max-width: 100%;
    }
}

/* Right Column: Team Photo */
.contact-section__right {
  position: sticky;
  top: 120px;
   border-left: solid 1px var(--color-text-dark);
  padding-left: 1rem;
  height: 100%;
}

.contact-team-photo {
  width: 100%;
  border-radius: 0px;
  overflow: hidden;
  aspect-ratio: 1;

}

.contact-team-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {

  .contact-container {
    padding: 40px;
  }
  .contact-section__grid {
        display: flex;
        flex-direction: column-reverse;
  }

  .contact-section__right {
    display: none;
  }

  .contact-section__middle {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .contact-section__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-section__left {
    gap: 3rem;
  }

  .contact-offices {
    gap: 3rem;
  }

  .contact-social__links {
    gap: 1.5rem;
  }
}

