/* ================================================
   OCPL Logistics - Contact Page Styles
   Figma Node: 192:2439 Exact Match
   ================================================ */

/* ── 1. Contact Hero Banner ── */
.contact-hero {
  position: relative;
  width: 100%;
  height: 423px;
  background: url('../assets/Images/Contact/contact_banner.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 130px 60px 80px;
  box-sizing: border-box;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.contact-hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: var(--fw-bold);
  color: var(--color-neutral-8);
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0;
}

.contact-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-hero__breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-neutral-8);
}

.contact-hero__breadcrumb a {
  color: var(--color-neutral-8);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.contact-hero__breadcrumb-arrow {
  width: 15px;
  height: 15px;
  display: inline-block;
  opacity: 0.9;
}


/* ── 2. Contact Information Section ── */
.contact-info-section {
  padding: 60px 0;
  background-color: var(--color-neutral-8);
}

.contact-header-block {
  margin-bottom: 60px;
}

.contact-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 16px;
  color: var(--color-primary);
  letter-spacing: 1.52px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 40px;
  line-height: 1.3;
  color: var(--color-neutral-2);
  text-transform: uppercase;
  margin: 0 0 15px;
}

.contact-heading--left {
  text-align: left;
  color: var(--color-neutral-1);
}

/* Divider component with arrows */
.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  margin: 0;
}

.contact-divider--left {
  justify-content: flex-start;
  padding: 15px 0 25px;
}

.contact-divider-bar {
  position: relative;
  width: 104.2px;
  height: 2.32px;
  background-color: var(--color-accent-yellow);
}

.contact-divider-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 100%;
  background-color: #ffffff;
  z-index: 1;
}

.contact-divider--left .contact-divider-bar::before {
  background-color: var(--color-cards-bg);
}

.contact-divider-arrows {
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ffd600 14%, #ff007a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-accent, 'Nunito', sans-serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -1.2px;
  z-index: 2;
  user-select: none;
}

/* Contact Cards */
.contact-card {
  height: 100%;
  min-height: 360px;
  border: 1.26px solid var(--color-neutral-7);
  background-color: var(--color-neutral-8);
  border-radius: 8px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 86, 0, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.contact-card__icon-badge {
  width: 96px;
  height: 96px;
  background-color: var(--color-primary);
  border: 1.26px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover .contact-card__icon-badge {
  transform: scale(1.08);
}

.contact-card__icon-badge img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transform: scaleY(-1);
}

.contact-card__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: 25px;
  line-height: 1.3;
  color: var(--color-neutral-1);
  text-transform: uppercase;
  margin: 0;
  padding-top: 4px;
}

.contact-card__desc {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-neutral-2);
  margin: 0;
}

.contact-card__desc a {
  color: var(--color-neutral-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

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


/* ── 3. Contact Form & Image Section ── */
.contact-form-section {
  padding: 0;
  background-color: var(--color-neutral-8);
}

.contact-form-wrapper {
  background-color: var(--color-cards-bg);
  border-radius: 8px;
  overflow: hidden;
}

.contact-form-card {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
}

.contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-group {
  width: 100%;
}

.contact-input {
  width: 100%;
  height: 58px;
  background-color: var(--color-neutral-8);
  border: 1px solid var(--color-neutral-6);
  border-radius: 4px;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-neutral-2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-input::placeholder {
  color: var(--color-neutral-4);
  opacity: 1;
}

.contact-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(238, 86, 0, 0.12);
}

.contact-textarea {
  width: 100%;
  min-height: 112px;
  background-color: var(--color-neutral-8);
  border: 1px solid var(--color-neutral-6);
  border-radius: 4px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-neutral-2);
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-textarea::placeholder {
  color: var(--color-neutral-4);
  opacity: 1;
}

.contact-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(238, 86, 0, 0.12);
}

.contact-form-submit {
  padding-top: 5px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-neutral-8);
  border: none;
  border-radius: 8px;
  padding: 16px 26px;
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: 14px;
  letter-spacing: var(--ls-btn);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-submit-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(238, 86, 0, 0.35);
}

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

.contact-submit-btn img {
  width: 11px;
  height: 11px;
  display: inline-block;
}

.contact-image-wrap {
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

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


/* ── 4. Google Maps Section ── */
.contact-map-section {
  width: 100%;
  line-height: 0;
  background-color: var(--color-neutral-8);
}

.contact-map-container {
  width: 100%;
  height: 571px;
  position: relative;
  overflow: hidden;
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* ── Responsive Adaptations ── */
@media (max-width: 1199.98px) {
  .contact-hero {
    padding: 110px 40px 60px;
    height: 380px;
  }

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

  .contact-heading {
    font-size: 34px;
  }

  .contact-form-card {
    padding: 40px 30px;
  }
}

@media (max-width: 991.98px) {
  .contact-hero {
    padding: 100px 30px 50px;
    height: 340px;
  }

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

  .contact-heading {
    font-size: 30px;
  }

  .contact-card {
    min-height: 320px;
    padding: 30px 20px;
  }

  .contact-image-wrap {
    min-height: 380px;
    max-height: 480px;
  }

  .contact-map-container {
    height: 450px;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding: 90px 20px 40px;
    height: 300px;
  }

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

  .contact-info-section {
    padding: 40px 0;
  }

  .contact-header-block {
    margin-bottom: 40px;
  }

  .contact-heading {
    font-size: 26px;
  }

  .contact-card {
    min-height: auto;
    padding: 30px 20px;
  }

  .contact-card__icon-badge {
    width: 80px;
    height: 80px;
  }

  .contact-card__icon-badge img {
    width: 28px;
    height: 28px;
  }

  .contact-card__title {
    font-size: 22px;
  }

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

  .contact-form-card {
    padding: 30px 20px;
  }

  .contact-image-wrap {
    min-height: 300px;
    max-height: 380px;
  }

  .contact-map-container {
    height: 360px;
  }
}

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

  .contact-heading {
    font-size: 24px;
  }

  .contact-input {
    height: 52px;
    font-size: 15px;
    padding: 0 16px;
  }

  .contact-textarea {
    font-size: 15px;
    padding: 14px 16px;
  }

  .contact-submit-btn {
    width: 100%;
    padding: 14px 20px;
  }

  .contact-map-container {
    height: 300px;
  }
}
