/* ============================================================
   IACCIA Senior Redesigned Contact Us Page System
   ============================================================ */

:root {
  --cnt-primary: #006837;
  --cnt-primary-dark: #004d28;
  --cnt-gold: #d97706;
  --cnt-gold-light: #f59e0b;
  --cnt-dark: #0f172a;
  --cnt-card-bg: #ffffff;
  --cnt-border: #e2e8f0;
  --cnt-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  --cnt-shadow-hover: 0 20px 40px rgba(0, 104, 55, 0.12);
  --cnt-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Hero Banner Section */
.contact-hero-banner {
  position: relative;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 95px 0 75px;
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -20px 30px rgba(15, 23, 42, 0.5);
}

.contact-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.65) 45%, rgba(15, 23, 42, 0.15) 80%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.contact-hero-banner .container {
  position: relative;
  z-index: 2;
}

.contact-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 193, 7, 0.5);
  color: #ffc107;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 193, 7, 0.15);
}

.contact-hero-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.contact-hero-title span {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.contact-hero-desc {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(241, 245, 249, 0.95);
  line-height: 1.6;
  font-weight: 400;
  max-width: 100%;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.contact-quick-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 9px 18px;
  border-radius: 14px;
  color: #f8fafc;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.quick-stat-item:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 12px 28px rgba(251, 191, 36, 0.2);
  background: rgba(15, 23, 42, 0.80);
}

.quick-stat-item i {
  font-size: 1.1rem;
  color: #fbbf24;
}
  color: #ffffff;
}

.quick-stat-item i {
  color: #f59e0b;
  font-size: 1.05rem;
}

/* Rotating Hero Logo Card */
.contact-hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.contact-hero-logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.globe-glow-backdrop {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 104, 55, 0.3) 0%, rgba(217, 119, 6, 0.2) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(25px);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.2);
    opacity: 0.95;
  }
}

.contact-hero-rotating-logo {
  height: 140px !important;
  width: auto !important;
  object-fit: contain;
  animation: rotateGlobeY 12s linear infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes rotateGlobeY {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

/* 2. Office Cards */
.contact-office-card {
  background: #ffffff;
  border: 1px solid var(--cnt-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--cnt-shadow);
  transition: var(--cnt-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-office-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 104, 55, 0.3);
  box-shadow: var(--cnt-shadow-hover);
}

.office-badge {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 30px;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: max-content !important;
  align-self: flex-start !important;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-delhi {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.badge-hyderabad {
  background: rgba(0, 104, 55, 0.1);
  color: #006837;
  border: 1px solid rgba(0, 104, 55, 0.25);
}

.office-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cnt-dark);
  margin-bottom: 16px;
  min-height: 2rem;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 155px;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #475569;
}

.contact-info-list li i {
  margin-top: 4px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.contact-info-list .fa-location-dot {
  color: #ef4444;
}

.contact-info-list .fa-phone {
  color: #0284c7;
}

.contact-info-list .fa-envelope {
  color: #006837;
}

/* Light Designer Map Container (No Black Border) */
.map-premium-container {
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--cnt-transition);
  position: relative;
  margin-top: auto;
}

.map-premium-container:hover {
  border-color: rgba(0, 104, 55, 0.35) !important;
  box-shadow: 0 10px 25px rgba(0, 104, 55, 0.1);
}

.map-wrapper {
  height: 250px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Clean White Floating Overlay Badges & Buttons */
.map-top-overlay-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 104, 55, 0.2);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseLiveDot 2s infinite;
}

.map-hover-action-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: linear-gradient(135deg, #006837, #004d28);
  color: #ffffff !important;
  border: none;
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 104, 55, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
}

.map-hover-action-btn:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  color: #ffffff !important;
}

.map-premium-footer {
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-footer-label {
  font-weight: 700;
  color: var(--cnt-dark);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.map-footer-link {
  color: #006837;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.map-footer-link:hover {
  color: #d97706;
}

/* 3. Form Section */
.contact-form-panel {
  background: #ffffff;
  border: 1px solid var(--cnt-border);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.contact-form-success-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.contact-form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-checkmark-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 104, 55, 0.1);
  color: #006837;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

@media (max-width: 991px) {
  .contact-hero-rotating-logo {
    height: 120px !important;
  }

  .globe-glow-backdrop {
    width: 140px;
    height: 140px;
  }
}