/* ACCA Locations Page Stylesheet */

/* Hero Section */
.locations-hero {
  padding: 40px 0 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.locations-hero-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-bottom: 30px;
}

.locations-hero-left {
  flex: 1.1;
}

.locations-hero-right {
  flex: 0.9;
  display: flex;
  justify-content: center;
  position: relative;
}

.locations-hero-right img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 0;
}

.locations-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.locations-hero-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.15;
}

.locations-hero-title span {
  color: var(--color-secondary);
}

.locations-hero-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--color-gray);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Hero CTA Buttons */
.locations-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 13px 28px;
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary-solid:hover {
  background-color: var(--color-secondary) !important;
  color: #ffffff !important;
  border-color: var(--color-secondary) !important;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 13px 28px;
  background-color: transparent;
  color: var(--color-secondary) !important;
  border: 1px solid var(--color-secondary) !important;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-dark:hover {
  background-color: var(--color-secondary) !important;
  color: #ffffff !important;
  border-color: var(--color-secondary) !important;
}

/* Presence Section (Grid) */
.locations-presence-section {
  padding: 100px 0 60px 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}



.section-header-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-header-title span {
  color: var(--color-secondary);
}

.section-header-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-gray);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.locations-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.location-partner-card {
  background-color: #ffffff;
  border: 1px solid rgba(178, 128, 59, 0.15);
  border-radius: 0;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.01);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.location-partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(178, 128, 59, 0.06);
  border-color: var(--color-secondary);
}

/* Card Footer & Google Maps Link */
.partner-card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(178, 128, 59, 0.1);
  display: flex;
  justify-content: flex-start;
}

.map-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.8px;
  transition: color 0.3s ease;
  cursor: pointer;
  gap: 6px;
}

.map-link i {
  transition: transform 0.3s ease;
  width: 14px;
  height: 14px;
}

.map-link:hover {
  color: var(--color-secondary);
}

.map-link:hover i {
  transform: translateY(-2px);
}

.online-badge-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 0.8px;
  gap: 6px;
}

/* Card Header */
.partner-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.partner-card-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(181, 28, 36, 0.05);
  border-radius: 50%;
  color: var(--color-primary);
  flex-shrink: 0;
}

.partner-card-header-text {
  display: flex;
  flex-direction: column;
}

.partner-city {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.partner-association {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--color-secondary);
}

/* Partner Logo */
.partner-logo-wrapper {
  height: 160px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px dashed rgba(178, 128, 59, 0.15);
  border-bottom: 1px dashed rgba(178, 128, 59, 0.15);
  padding: 10px 0;
  margin-bottom: 24px;
  background-color: rgba(244, 246, 248, 0.3);
}

.partner-logo-wrapper img {
  max-width: 90%;
  max-height: 135px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.location-partner-card:hover .partner-logo-wrapper img {
  transform: scale(1.08);
}

/* Card Body */
.partner-card-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin: 0;
}

/* ── Cities Bar ─────────────────────────────────────── */
.locations-cities-bar {
  background-color: #ffffff;
  border-top: 1px solid rgba(178, 128, 59, 0.2);
  border-bottom: 1px solid rgba(178, 128, 59, 0.2);
  padding: 0;
  width: 100%;
}

.cities-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.city-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  color: var(--color-dark);
  transition: all 0.3s ease;
  cursor: default;
}

.city-bar-item:hover {
  color: var(--color-primary);
  background-color: rgba(181, 28, 36, 0.03);
}

.city-bar-item i {
  color: var(--color-primary);
  flex-shrink: 0;
}

.city-bar-item span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.city-bar-divider {
  width: 1px;
  height: 20px;
  background-color: rgba(178, 128, 59, 0.15);
  flex-shrink: 0;
}

/* Call to Action Banner */
.locations-cta-section {
  padding: 80px 0;
  background-color: #ffffff;
}

/* Locations CTA Banner now styled globally in style.css */

/* Responsive CSS */
@media (max-width: 1200px) {
  .locations-hero-grid {
    gap: 40px;
  }
  .locations-hero-title {
    font-size: 2.8rem;
  }
  .locations-partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .city-bar-item {
    padding: 18px 20px;
  }
}



@media (max-width: 768px) {
  .locations-hero-grid {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .locations-hero-desc {
    margin: 0 auto 28px;
  }
  .locations-hero-actions {
    justify-content: center;
  }
  .locations-hero-right img {
    max-width: 100%;
  }
  .locations-hero-title {
    font-size: 2.2rem;
  }
  .locations-partners-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .city-bar-item {
    padding: 14px 16px;
  }
  .city-bar-item span {
    font-size: 0.72rem;
  }
  .city-bar-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .locations-cta-title {
    font-size: 1.5rem;
  }
  .city-bar-item {
    padding: 12px 12px;
    gap: 6px;
  }
  .city-bar-item span {
    font-size: 0.68rem;
    letter-spacing: 0.5px;
  }
}

/* Infinity SVG Drawing Animation */
.infinity-svg {
  height: 2.3rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  color: var(--color-dark);
  overflow: visible;
}

.infinity-path {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 4.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.infinity-svg.active .infinity-path {
  stroke-dashoffset: 0;
}

/* ── Interactive India Map ────────────────────────── */
.map-container-interactive {
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: visible;
  margin: 0 auto;
}

.india-interactive-map {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.map-paths path {
  fill: #faf8f5;
  stroke: rgba(178, 128, 59, 0.18);
  stroke-width: 0.8;
  transition: fill 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease;
}

.map-paths path:hover {
  fill: rgba(178, 128, 59, 0.08);
  stroke: var(--color-secondary);
  stroke-width: 1.2;
}

/* Scanline Sweeper - Disabled as requested */
.map-scanline {
  display: none;
}

/* Markers styling */
.city-marker {
  transform-origin: center;
}

.marker-core {
  fill: var(--color-primary);
  stroke: #ffffff;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 3px rgba(181, 28, 36, 0.6));
  transform-origin: center;
  opacity: 0;
  transform: scale(0);
}

.marker-ripple {
  fill: none;
  stroke: var(--color-primary);
  stroke-dasharray: none;
  transform-origin: center;
  opacity: 0;
}

.marker-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  fill: var(--color-dark);
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.8));
  opacity: 0;
}

/* Keyframes for Pop-In and Fade-In (Runs Once) */
@keyframes markerPopIn {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes labelFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes markerRippleOnce {
  0% {
    opacity: 0;
    transform: scale(0.2);
    stroke-width: 2;
  }
  20% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: scale(2.5);
    stroke-width: 0.5;
  }
}

/* Animations for Markers and Ripples (Delayed Top-to-Bottom cascade, Runs Once) */

/* Delhi (0.4s start) */
.marker-delhi .marker-core {
  animation: markerPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s forwards;
}
.marker-delhi .marker-label {
  animation: labelFadeIn 0.8s ease 0.6s forwards;
}
.marker-delhi .ripple-1 {
  animation: markerRippleOnce 1.2s ease-out 0.4s forwards;
}
.marker-delhi .ripple-2 {
  animation: markerRippleOnce 1.2s ease-out 0.6s forwards;
}

/* Udaipur (0.8s start) */
.marker-udaipur .marker-core {
  animation: markerPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}
.marker-udaipur .marker-label {
  animation: labelFadeIn 0.8s ease 1.0s forwards;
}
.marker-udaipur .ripple-1 {
  animation: markerRippleOnce 1.2s ease-out 0.8s forwards;
}
.marker-udaipur .ripple-2 {
  animation: markerRippleOnce 1.2s ease-out 1.0s forwards;
}

/* Nagpur (1.2s start) */
.marker-nagpur .marker-core {
  animation: markerPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
}
.marker-nagpur .marker-label {
  animation: labelFadeIn 0.8s ease 1.4s forwards;
}
.marker-nagpur .ripple-1 {
  animation: markerRippleOnce 1.2s ease-out 1.2s forwards;
}
.marker-nagpur .ripple-2 {
  animation: markerRippleOnce 1.2s ease-out 1.4s forwards;
}

/* Nashik (1.5s start) */
.marker-nashik .marker-core {
  animation: markerPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards;
}
.marker-nashik .marker-label {
  animation: labelFadeIn 0.8s ease 1.7s forwards;
}
.marker-nashik .ripple-1 {
  animation: markerRippleOnce 1.2s ease-out 1.5s forwards;
}
.marker-nashik .ripple-2 {
  animation: markerRippleOnce 1.2s ease-out 1.7s forwards;
}

/* Mumbai (1.8s start) */
.marker-mumbai .marker-core {
  animation: markerPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.8s forwards;
}
.marker-mumbai .marker-label {
  animation: labelFadeIn 0.8s ease 2.0s forwards;
}
.marker-mumbai .ripple-1 {
  animation: markerRippleOnce 1.2s ease-out 1.8s forwards;
}
.marker-mumbai .ripple-2 {
  animation: markerRippleOnce 1.2s ease-out 2.0s forwards;
}

/* Hyderabad (2.2s start) */
.marker-hyderabad .marker-core {
  animation: markerPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 2.2s forwards;
}
.marker-hyderabad .marker-label {
  animation: labelFadeIn 0.8s ease 2.4s forwards;
}
.marker-hyderabad .ripple-1 {
  animation: markerRippleOnce 1.2s ease-out 2.2s forwards;
}
.marker-hyderabad .ripple-2 {
  animation: markerRippleOnce 1.2s ease-out 2.4s forwards;
}

/* Bengaluru (2.6s start) */
.marker-bengaluru .marker-core {
  animation: markerPopIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 2.6s forwards;
}
.marker-bengaluru .marker-label {
  animation: labelFadeIn 0.8s ease 2.8s forwards;
}
.marker-bengaluru .ripple-1 {
  animation: markerRippleOnce 1.2s ease-out 2.6s forwards;
}
.marker-bengaluru .ripple-2 {
  animation: markerRippleOnce 1.2s ease-out 2.8s forwards;
}
