/* Contact section optimized for Global Business Connection & Workflow Timeline */

.contact-page-main {
  background: #f8fafc;
  padding: 6rem 0 8.5rem;
  min-height: calc(100svh - 360px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact-dotted-map-layer {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 98%;
  max-width: 1540px;
  height: 96%;
  background: url('../assets/contact-reference/world-map-dots.svg?v=clean') center / contain no-repeat;
  opacity: 0.65;
  pointer-events: none;
  z-index: -1;
}

.contact-hub {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.contact-hub-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
}

.contact-hub-desc {
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 740px;
  margin: 0 auto 3.75rem;
}

/* Contact Cards (Two cards side by side) */
.contact-hub-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
  max-width: 980px;
  margin: 0 auto 5rem;
  text-align: left;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 1.6rem 2.2rem;
  background: #ffffff;
  border-radius: 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 20px 42px -8px rgba(14, 165, 233, 0.18), 0 4px 14px rgba(15, 23, 42, 0.04);
}

.contact-info-card:focus-visible {
  outline: 3px solid #0284c7;
  outline-offset: 4px;
}

.contact-card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-icon-wrap.whatsapp-wrap {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.32);
}

.contact-card-icon-wrap.email-wrap {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.32);
}

.contact-info-card:hover .contact-card-icon-wrap {
  transform: scale(1.1);
}

.contact-card-icon-wrap svg {
  display: block;
}

.contact-card-body {
  flex: 1;
  min-width: 0;
}

.contact-card-label {
  display: block;
  font-size: 0.8125rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 3px;
}

.contact-card-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-card-sub {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 4px;
  line-height: 1.4;
  white-space: nowrap;
}

.contact-card-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0f9ff;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-action svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-card-action {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.contact-info-card:hover .contact-card-action svg {
  transform: translateX(3px);
}

/* 6-Step Cooperation Timeline */
.coop-timeline-wrap {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.5rem 0 1rem;
}

.coop-timeline-line {
  position: absolute;
  top: 34px;
  left: 8.33%;
  right: 8.33%;
  height: 0;
  border-top: 1.5px dashed #93c5fd;
  z-index: 1;
}

.coop-timeline-dots {
  position: absolute;
  top: 34px;
  left: 8.33%;
  right: 8.33%;
  display: flex;
  justify-content: space-around;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-50%);
}

.coop-timeline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8, 0 0 2px #0284c7;
}

.coop-timeline-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.coop-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: default;
}

.coop-step-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #bae6fd;
  box-shadow: 0 8px 22px -4px rgba(14, 165, 233, 0.18), 0 2px 8px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  margin-bottom: 1.1rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.coop-step-circle svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  transition: all 0.35s ease;
}

.coop-step-item:hover .coop-step-circle {
  background: linear-gradient(135deg, #146c94 0%, #1a81b2 32%, #24b8da 68%, #1aa4c4 100%);
  color: #ffffff !important;
  border-color: #7dd3fc;
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 14px 30px -2px rgba(26, 129, 178, 0.42), 0 0 16px rgba(56, 189, 248, 0.35), inset 0 1.5px 3px rgba(255, 255, 255, 0.5);
}

.coop-step-item:hover .coop-step-circle svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
  fill: none !important;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.25));
}

.coop-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
}

.coop-step-item:hover .coop-step-title {
  color: #0284c7;
}

.coop-step-desc {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease;
  max-width: 155px;
}

.coop-step-item:hover .coop-step-desc {
  color: #1e293b;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .contact-page-main {
    padding: 5rem 0 6.5rem;
  }
  .contact-hub-cards {
    max-width: 760px;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
  }
  .contact-info-card {
    padding: 1.4rem 1.6rem;
    gap: 1.1rem;
  }
  .contact-card-value {
    font-size: 1.15rem;
  }
  .coop-timeline-line,
  .coop-timeline-dots {
    display: none;
  }
  .coop-timeline-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 1.25rem;
  }
  .coop-step-circle {
    width: 64px;
    height: 64px;
    margin-bottom: 0.85rem;
  }
  .coop-step-circle svg {
    width: 26px;
    height: 26px;
  }
  .coop-step-desc {
    max-width: 200px;
  }
}

@media (max-width: 640px) {
  .contact-page-main {
    padding: 3.5rem 0 4.5rem;
    min-height: 0;
  }
  .contact-hub-title {
    font-size: 1.75rem;
  }
  .contact-hub-desc {
    font-size: 0.9375rem;
    margin-bottom: 2.25rem;
  }
  .contact-hub-cards {
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }
  .contact-info-card {
    padding: 1.25rem 1.4rem;
    gap: 1rem;
  }
  .contact-card-icon-wrap {
    width: 46px;
    height: 46px;
  }
  .contact-card-icon-wrap svg {
    width: 22px;
    height: 22px;
  }
  .contact-card-value {
    font-size: 1.1rem;
  }
  .contact-card-action {
    width: 36px;
    height: 36px;
  }
  .contact-dotted-map-layer {
    width: 180%;
    opacity: 0.45;
  }
  .coop-timeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 0.85rem;
  }
  .coop-step-circle {
    width: 58px;
    height: 58px;
    margin-bottom: 0.75rem;
  }
  .coop-step-circle svg {
    width: 24px;
    height: 24px;
  }
  .coop-step-title {
    font-size: 0.875rem;
  }
  .coop-step-desc {
    font-size: 0.71875rem;
    max-width: 150px;
  }
}
