/* ==========================================================================
   CONTACT US PAGE (DCICI Crimson & Deep Navy Palette)
   Includes: 3D Tilt, Radial Mouse Spotlight & Wave Kinetic Typography
   ========================================================================== */
:root {
  --cnt-bg: #fafafa;
  --cnt-card-bg: #ffffff;
  --cnt-navy: #0c1b33;
  --cnt-muted: #52525b;
  --cnt-border: rgba(228, 228, 231, 0.85);
  --cnt-border-hover: rgba(229, 35, 32, 0.35);
  --cnt-red: #e52320;
  --cnt-red-bright: #f03e3b;
  --cnt-red-glow: rgba(229, 35, 32, 0.2);
  --cnt-red-subtle: #fef2f2;
}

body {
  background-color: var(--cnt-bg);
  color: var(--cnt-navy);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ==============================================
   1. WAVE ANIMATION TARGETS
   ============================================== */
.wave-word {
  display: inline-block;
  white-space: nowrap;
  margin-right: 0.24em;
}

.wave-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.wave-animated.in-view .wave-char {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--char-index) * 18ms);
}

/* ==============================================
   2. HERO BANNER
   ============================================== */
.contact-hero {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(229, 35, 32, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 15% 85%, rgba(12, 27, 51, 0.08) 0%, transparent 55%),
              linear-gradient(180deg, #090e17 0%, #0c1b33 100%);
  padding: 95px 0 85px;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.contact-hero-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--cnt-red-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cnt-red-bright);
}

.contact-hero-title {
  font-weight: 900;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.contact-hero-title .highlight-red {
  color: var(--cnt-red-bright);
}

.contact-hero-desc {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}

/* ==============================================
   3. CONTACT SECTION & 3D TILT CARDS
   ============================================== */
.contact-section {
  position: relative;
  padding: 85px 0;
}

/* Branch Cards */
.contact-center-card-modern {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--cnt-border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px -6px rgba(12, 27, 51, 0.04);
  transform-style: preserve-3d;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Mouse Hover Radial Spotlight */
.contact-center-card-modern::after,
.contact-form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(229, 35, 32, 0.08),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.contact-center-card-modern:hover::after,
.contact-form-card:hover::after {
  opacity: 1;
}

.contact-center-card-modern:hover {
  border-color: var(--cnt-border-hover);
  box-shadow: 0 18px 40px -10px rgba(12, 27, 51, 0.12),
              0 0 16px -4px rgba(229, 35, 32, 0.15);
}

.contact-center-card__title {
  color: var(--cnt-navy);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateZ(20px);
}

.contact-center-card__title i {
  color: var(--cnt-red);
}

.contact-item-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--cnt-muted);
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  transform: translateZ(15px);
  transition: color 0.2s ease;
}

.contact-item-link:last-child {
  margin-bottom: 0;
}

.contact-item-link:hover {
  color: var(--cnt-red);
}

.contact-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--cnt-red-subtle);
  color: var(--cnt-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
  margin-top: 2px;
}

/* Contact Form Card */
.contact-form-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--cnt-border);
  border-radius: 20px;
  padding: 38px 32px;
  box-shadow: 0 8px 24px -6px rgba(12, 27, 51, 0.04);
  transform-style: preserve-3d;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.contact-form-card:hover {
  border-color: var(--cnt-border-hover);
  box-shadow: 0 20px 45px -12px rgba(12, 27, 51, 0.12);
}

.contact-form-card h2 {
  color: var(--cnt-navy);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transform: translateZ(20px);
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cnt-navy);
  margin-bottom: 6px;
}

.form-control {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid var(--cnt-border);
  font-size: 0.92rem;
  color: var(--cnt-navy);
  transition: all 0.25s ease;
  background-color: #fafafa;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: var(--cnt-red);
  box-shadow: 0 0 0 4px var(--cnt-red-glow);
}

/* Action Button */
.btn-brand-solid {
  background: linear-gradient(135deg, var(--cnt-red-bright) 0%, var(--cnt-red) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  box-shadow: 0 6px 18px rgba(229, 35, 32, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.btn-brand-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(229, 35, 32, 0.45);
}

/* Google Maps Iframe Container */
.map-container {
  width: 100%;
  border-top: 1px solid var(--cnt-border);
  line-height: 0;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  filter: grayscale(10%) contrast(105%);
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 26px 20px;
  }
}