/* ============================================================
   xe8 — Contact Page Styles
   Used on: /en/contact/, /ms/contact/, /zh/contact/
   ============================================================ */

.contact-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f1e4d 100%);
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(249,115,22,0.18), transparent 50%);
  pointer-events: none;
}
.contact-hero-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.contact-hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #f97316; background: rgba(249,115,22,0.12);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.contact-hero h1 {
  font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; line-height: 1.2;
  margin: 0 0 18px; color: #fff;
}
.contact-hero h1 span { color: #f97316; }
.contact-hero-desc {
  font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.88);
  max-width: 720px; margin: 0 auto;
}

/* Channels grid */
.contact-section { padding: 60px 0; background: #f8fafc; }
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.channel-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 32px 26px; text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column; align-items: center;
}
.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 30, 77, 0.1);
  border-color: #f97316;
}
.channel-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: #fff;
}
.channel-icon.livechat { background: linear-gradient(135deg, #f97316, #ea580c); }
.channel-icon.whatsapp { background: #25d366; }
.channel-icon.telegram { background: #229ED9; }
.channel-card h3 { margin: 0 0 8px; color: #1e3a8a; font-size: 20px; font-weight: 700; }
.channel-card .channel-tagline { font-size: 13px; color: #6b7280; margin-bottom: 14px; }
.channel-card .channel-desc { font-size: 14px; color: #4b5563; line-height: 1.6; margin-bottom: 22px; flex-grow: 1; }
.channel-meta {
  display: flex; gap: 14px; justify-content: center;
  margin-bottom: 20px; font-size: 12px; color: #6b7280;
}
.channel-meta span { display: flex; align-items: center; gap: 5px; }
.channel-meta .dot-online { width: 8px; height: 8px; background: #10b981; border-radius: 50%; }
.channel-btn {
  display: inline-block; padding: 12px 28px;
  background: #1e3a8a; color: #fff; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: 14px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.channel-btn:hover { background: #f97316; transform: translateY(-1px); }
.channel-btn.btn-wa { background: #25d366; }
.channel-btn.btn-wa:hover { background: #1ebe57; }
.channel-btn.btn-tg { background: #229ED9; }
.channel-btn.btn-tg:hover { background: #1c8bbf; }

/* Support details strip */
.support-details { padding: 50px 0; background: #fff; }
.support-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
.support-item {
  text-align: center;
  padding: 22px 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef0f3;
}
.support-item-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(15, 30, 77, 0.18));
}
.support-item-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.support-item-title { font-size: 13px; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 6px; }
.support-item-value { font-size: 16px; color: #1e3a8a; font-weight: 600; }

/* Section base */
.contact-section h2 {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
  color: #1e3a8a;
}
.contact-section h2 span { color: #f97316; }
.contact-section .section-intro {
  text-align: center;
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* When-to-use guide */
.use-guide { padding: 60px 0; background: #f8fafc; }
.use-list { max-width: 720px; margin: 0 auto; }
.use-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.use-item-emoji {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 8px rgba(15, 30, 77, 0.15));
}
.use-item-emoji svg {
  width: 100%;
  height: 100%;
  display: block;
}
.use-item-text { flex-grow: 1; }
.use-item-text strong { color: #1e3a8a; display: block; margin-bottom: 2px; }
.use-item-text span { color: #6b7280; font-size: 14px; }
.use-item-channel {
  padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700;
  color: #fff; flex-shrink: 0;
}
.use-item-channel.live { background: #f97316; }
.use-item-channel.wa { background: #25d366; }
.use-item-channel.tg { background: #229ED9; }

/* Final CTA */
.contact-cta {
  background: linear-gradient(135deg, #1e3a8a, #f97316);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.contact-cta h2 { color: #fff; margin: 0 0 14px; font-size: clamp(22px, 3vw, 30px); }
.contact-cta p { font-size: 16px; color: rgba(255,255,255,0.9); margin: 0 0 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.contact-cta-btn {
  display: inline-block; padding: 14px 36px;
  background: #fff; color: #1e3a8a; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: 15px;
  transition: transform 0.15s ease;
}
.contact-cta-btn:hover { transform: translateY(-2px); }

@media (max-width: 640px) {
  .channel-card { padding: 26px 20px; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .use-item { flex-wrap: wrap; }
}
