/* ═══════════════════════════════════════════════════════
   CONTACT PAGE - Premium Design
   ═══════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────── */
.contact-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 30%, #312e81 50%, #0891b2 100%);
  overflow: hidden;
}

#contact-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.contact-hero-badge i {
  color: #06b6d4;
  font-size: 1rem;
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #06b6d4, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #06b6d4, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.contact-hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.shape-1 {
  width: 400px; height: 400px;
  background: #6366f1;
  top: -100px; right: -100px;
  animation: float-shape 8s ease-in-out infinite;
}

.shape-2 {
  width: 300px; height: 300px;
  background: #06b6d4;
  bottom: -50px; left: -80px;
  animation: float-shape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px; height: 200px;
  background: #f472b6;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: float-shape 12s ease-in-out infinite;
}

@keyframes float-shape {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}

/* ── Quick Connect Cards ──────────────────────────────── */
.quick-connect-section {
  padding: 4rem 2rem;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.quick-connect-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.qc-card {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.qc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, transparent 30%, rgba(99,102,241,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.qc-card:hover::before { opacity: 1; }
.qc-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(99,102,241,0.15); }

.qc-icon-wrap {
  position: relative;
  width: 60px; height: 60px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qc-icon-wrap i {
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.qc-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0.12;
  transition: all 0.3s;
}

.qc-phone .qc-icon-wrap i { color: #6366f1; }
.qc-phone .qc-icon-bg { background: #6366f1; }
.qc-whatsapp .qc-icon-wrap i { color: #25d366; }
.qc-whatsapp .qc-icon-bg { background: #25d366; }
.qc-email .qc-icon-wrap i { color: #f59e0b; }
.qc-email .qc-icon-bg { background: #f59e0b; }
.qc-visit .qc-icon-wrap i { color: #ef4444; }
.qc-visit .qc-icon-bg { background: #ef4444; }

.qc-card:hover .qc-icon-bg { opacity: 0.2; transform: scale(1.2); }

.qc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.qc-card p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.6rem;
}

.qc-detail {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Main Contact Section ─────────────────────────────── */
.contact-main-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  position: relative;
}

.contact-main-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(99,102,241,0.05), transparent);
}

.contact-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: start;
  position: relative;
}

/* ── Form Wrapper ─────────────────────────────────────── */
.contact-form-wrapper {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(99,102,241,0.08);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #a78bfa);
}

.form-header {
  margin-bottom: 2rem;
}

.form-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6366f1;
  background: rgba(99,102,241,0.08);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 0.95rem;
  color: #64748b;
}

.contact-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group { position: relative; }

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrap i {
  position: absolute;
  left: 1.2rem;
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.3s;
  z-index: 2;
}

.input-icon-wrap input,
.input-icon-wrap select,
.input-icon-wrap textarea {
  width: 100%;
  padding: 1rem 1.2rem 1rem 3rem;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
  background: #f8fafc;
  color: #0f172a;
}

.textarea-wrap { align-items: flex-start; }
.textarea-wrap i { top: 1.2rem; }

.input-icon-wrap textarea {
  min-height: 130px;
  resize: vertical;
}

.input-icon-wrap input:focus,
.input-icon-wrap select:focus,
.input-icon-wrap textarea:focus {
  outline: none;
  border-color: #6366f1;
  background: white;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.08);
}

.input-icon-wrap input:focus ~ i,
.input-icon-wrap:focus-within i {
  color: #6366f1;
}

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.1rem 2.5rem;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s;
  overflow: hidden;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(99,102,241,0.4);
}

.submit-btn i {
  transition: transform 0.3s;
}

.submit-btn:hover i {
  transform: translateX(4px);
}

.btn-shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
}

.submit-btn:hover .btn-shimmer {
  animation: shimmer 0.8s ease;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.form-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.trust-item i {
  color: #10b981;
  font-size: 0.85rem;
}

/* ── Info Wrapper ─────────────────────────────────────── */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-glass-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.info-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.info-card-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.online-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16,185,129,0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-row-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #6366f1;
  font-size: 1rem;
}

.info-row strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.info-row p {
  font-size: 0.85rem;
  color: #64748b;
}

.info-social {
  display: flex;
  gap: 0.8rem;
}

.info-social a {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 1rem;
  transition: all 0.3s;
}

.info-social a:hover {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(99,102,241,0.3);
}

/* ── Map Card ─────────────────────────────────────────── */
.map-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.map-placeholder {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(99,102,241,0.2), transparent 60%);
}

.map-pin-animated {
  position: relative;
  font-size: 2.5rem;
  color: #f472b6;
  z-index: 2;
}

.pin-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border: 2px solid rgba(244,114,182,0.4);
  border-radius: 50%;
  animation: ring-expand 2s ease-out infinite;
}

.pin-ring-2 {
  animation-delay: 1s;
}

@keyframes ring-expand {
  0% { width: 30px; height: 30px; opacity: 1; }
  100% { width: 80px; height: 80px; opacity: 0; }
}

.map-placeholder p {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

.map-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.map-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ── FAQ Section ──────────────────────────────────────── */
.contact-faq-section {
  padding: 5rem 2rem;
  background: white;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 4px 20px rgba(99,102,241,0.06);
}

.faq-item.active {
  border-color: #6366f1;
  box-shadow: 0 8px 30px rgba(99,102,241,0.1);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-trigger span {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.faq-trigger i {
  color: #6366f1;
  font-size: 0.9rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-trigger i {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 200px;
}

.faq-content p {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
}

/* ── CTA Section ──────────────────────────────────────── */
.contact-cta-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #f8fafc, #eff6ff);
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1e1b4b, #312e81, #4338ca);
  border-radius: 32px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 0.8rem;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #25d366;
  color: white;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn-primary:hover {
  background: #1fba58;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.3);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-circle-1 { width: 200px; height: 200px; top: -60px; right: -60px; }
.cta-circle-2 { width: 300px; height: 300px; bottom: -100px; left: -80px; }
.cta-circle-3 { width: 150px; height: 150px; top: 50%; right: 10%; opacity: 0.5; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-main-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .quick-connect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 420px;
    padding: 7rem 1.5rem 4rem;
  }
  .contact-hero-stats {
    gap: 1rem;
  }
  .hero-stat-divider { display: none; }
  .quick-connect-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .cta-inner {
    padding: 3rem 2rem;
  }
}

@media (max-width: 480px) {
  .quick-connect-grid {
    grid-template-columns: 1fr;
  }
  .contact-hero h1 { font-size: 1.8rem; }
}
