/* =====================================================
   CONTACT PAGE – ENTERPRISE TRUST
   ===================================================== */

/* Hero Section with Diagonal Split Design */
body[data-page="contact"] .hero {
  padding: 0;
  background: linear-gradient(135deg, rgba(18, 70, 113, 0.719) 0%, rgba(255, 255, 255, 0) 100%),
    url('../assets/images/background/contact.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}


/* Dark overlay on left side with diagonal edge */
body[data-page="contact"] .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--pattern-arcs) -5% 50% / 450px no-repeat,
    linear-gradient(135deg,
      rgb(14, 59, 95),
      rgb(20, 91, 158));
  /* Diagonal clip from left to right */
  clip-path: polygon(0 0,
      58% 0,
      50% 100%,
      0 100%);
  z-index: 1;
}


/* Bottom diagonal edge */
body[data-page="contact"] .hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--bg-section);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}


body[data-page="contact"] .hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 2rem;
}


body[data-page="contact"] .hero-content {
  text-align: left;
}

body[data-page="contact"] .hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 650;
}

body[data-page="contact"] .hero-content h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 1.5rem 0 0;
}

body[data-page="contact"] .hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  max-width: 500px;
}

/* Contact Context Section - Redesigned */
.contact-overview {
  background: #ffffff;
  padding: 5rem 0;
}

.contact-overview .container {
  max-width: 1280px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.overview-visual .image-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.overview-visual img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.overview-visual:hover img {
  transform: scale(1.02);
}

.overview-content h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 2rem;
  color: var(--primary-blue);
  text-align: left;
  line-height: 1.1;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}

.overview-lead {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  font-weight: 500;
  max-width: 100%;
}

.overview-points p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.btn-arrow-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  font-size: 1.1rem;
  margin-top: 1rem;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.btn-arrow-gold:hover {
  gap: 1rem;
  border-bottom-color: var(--gold);
}

@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .overview-visual {
    order: -1;
  }

  .overview-content h2 {
    font-size: 2.5rem;
  }
}

/* Contact Details Section with Diagonal Split */
.contact-details-section {
  padding: 5rem 0 7rem;
  background: linear-gradient(to bottom, #f0f4f8 0%, #e8eef4 100%);
  position: relative;
  overflow: hidden;
}

.contact-details-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--bg-section);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%, 0% 100%);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary-blue);
}

.contact-info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-block li {
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.contact-info-block li strong {
  display: block;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.contact-map {
  position: relative;
}

.contact-map iframe {
  width: 100%;
  height: 450px;
  border: 2px solid rgba(14, 58, 95, 0.1);
  display: block;
}

/* Contact Form Section - Calm & Focused */
/* Contact Form Section - Calm & Focused */
.contact-form-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(14, 59, 95, 0.733), rgba(34, 113, 187, 0.755)),
    url('../assets/images/background/pexels-timmossholder-2096622.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* Left Side Design Element - Vertical Line & Text */
.contact-form-section::before {
  content: "GLOBAL LOGISTICS // EST. 2024";
  position: absolute;
  top: 50%;
  left: 3%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
}

/* Right Side Design Element - Dot Grid & Accent */
.contact-form-section::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 3%;
  bottom: 10%;
  width: 100px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-section .container {
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.contact-form-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

.contact-form-section>.container>p {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-inline: auto;
}

/* Two Column Layout */
.contact-grid-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.contact-form-block {
  flex: 1.6;
}

.reach-us-block {
  flex: 1;
  background: white;
  padding: 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.reach-us-block h3 {
  font-size: 1.75rem;
  color: var(--primary-blue);
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.reach-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.reach-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #888;
}

.reach-text p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.reach-text a.view-mobile {
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.reach-text a.view-mobile:hover {
  color: var(--gold);
}

.reach-map {
  margin-top: 2rem;
  border: 1px solid #eee;
  padding: 5px;
  background: white;
}

.reach-map iframe {
  display: block;
}

@media (max-width: 991px) {
  .contact-grid-container {
    flex-direction: column;
    gap: 3rem;
  }

  .contact-form-block,
  .reach-us-block {
    width: 100%;
  }
}

/* Clean, Boxy Form Container */
.contact-form {
  background: white;
  padding: 3.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  position: relative;
  /* Removed local wireframes */
}

/* Floating Gold Accent Box (Subtle, detached) */
.contact-form-section .container::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-top: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
  z-index: 0;
  opacity: 0.8;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  /* NO CURVES */
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background: #f8fafc;
  transition: all 0.2s ease;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #cbd5e1;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: white;
  box-shadow: 0 0 0 4px rgba(14, 58, 95, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.btn-primary {
  width: 100%;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 0;
  /* NO CURVES */
  padding: 1.25rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #991b1b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.full-width {
  width: 100%;
}

.form-reassurance {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2.5rem;
  line-height: 1.7;
}

.form-reassurance::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  opacity: 0.5;
}

/* What Happens Next Section - Modern Minimalist */
.contact-process-section {
  padding: 6rem 0;
  background: url('../assets/images/background/pexels-knownasovan-62693.jpg') center/cover no-repeat;
  background-position: center;
  background-repeat: no-repeat;

  background-size: cover;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Background Geometric Shapes (Minimalist) */
.contact-process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(14, 58, 95, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 58, 95, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.contact-process-section::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 92, 158, 0.05) 0%, transparent 70%);
  z-index: -1;
}

.contact-process-section .container {
  max-width: 1200px;
  position: relative;
}

.contact-process-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 5rem;
  text-align: center;
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.contact-process-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 1rem auto 0;
}

/* Process Steps Grid */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  counter-reset: step-counter;
}

.process-step {
  padding: 3rem 2.5rem;
  background: white;
  border: 1px solid rgba(14, 58, 95, 0.05);
  position: relative;
  transition: all 0.4s ease;
  counter-increment: step-counter;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Step Number as a Shape */
.process-step::before {
  content: "0" counter(step-counter);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(14, 58, 95, 0.05);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  line-height: 1;
  transition: all 0.4s ease;
}

/* Minimalist Connector Line (Decoration) */
.process-step::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: rgba(14, 58, 95, 0.1);
}

.process-step:hover::before {
  color: rgba(185, 28, 28, 0.1);
  /* Gold/Red tint on hover */
  transform: scale(1.1);
}

.process-step:hover::after {
  width: 100%;
}

.process-step h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-top: 1rem;
}

.process-step p {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

/* Decorative Geometric Shape for First Item */
.process-step:nth-child(1) {
  border-top-left-radius: 40px;
  /* One curve for contrast if allowed, else stick to 0 */
  border-radius: 0;
  /* Keeping it boxy as per general theme */
}

/* Interactive accent on hover */
.process-step:hover h3 {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-details-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .contact-map {
    order: 2;
  }
}

@media (max-width: 768px) {
  body[data-page="contact"] .hero {
    padding: 12rem 0 8rem;
  }

  body[data-page="contact"] .hero::after {
    height: 80px;
  }

  .contact-overview {
    padding: 5rem 0;
  }

  .contact-details-section {
    padding: 5rem 0 7rem;
  }

  .contact-details-section::after {
    height: 80px;
  }

  .contact-form-section {
    padding: 5rem 0;
  }

  .contact-process-section {
    padding: 5rem 0;
  }

  .process-step {
    padding-left: 1.5rem;
  }
}