/* ============================================================
   Chai Sabha - Custom Animations & Enhancements
   ============================================================ */

/* ---- Keyframe Animations ---- */

@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes floatUpSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}

@keyframes steamRise {
  0%   { opacity: 0; transform: translateY(0) scaleX(1); }
  30%  { opacity: 0.7; }
  60%  { opacity: 0.4; transform: translateY(-40px) scaleX(1.4); }
  100% { opacity: 0; transform: translateY(-70px) scaleX(0.8); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236, 61, 8, 0.3); }
  50%       { box-shadow: 0 0 20px 8px rgba(236, 61, 8, 0.15); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.5); }
  60%  { opacity: 1; transform: scale(1.1); }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes slideInLeft {
  0%   { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0%   { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes ripple {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25%  { transform: rotate(-5deg); }
  75%  { transform: rotate(5deg); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes scaleIn {
  0%   { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes borderDance {
  0%   { border-color: var(--primary-color); }
  50%  { border-color: var(--secondary-color); }
  100% { border-color: var(--primary-color); }
}

@keyframes typewriter {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* ============================================================
   HERO SECTION ENHANCEMENTS
   ============================================================ */
.hero-area-five {
  overflow: hidden;
  position: relative;
}

.hero-area-five::before {
  content: '';
  position: absolute;
  inset: 0; 
  z-index: 1;
}

.hero-area-five .container { position: relative; z-index: 2; }

/* Hero text float animation */
.hero-content-four.style-two h1 {
  animation: fadeInUp 1.2s ease both;
  line-height: 1.15;
  text-shadow: 0 3px 15px rgba(0,0,0,0.4);
}

.hero-content-four.style-two .sub-title {
  animation: slideInLeft 1s 0.3s ease both;
  display: inline-block;
  position: relative;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(236, 61, 8, 0.85);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}

.hero-content-four.style-two p {
  animation: fadeInUp 1.2s 0.6s ease both;
}

/* Floating hero images */
.hero-shapes .hero-left { animation: floatUpSlow 5s ease-in-out infinite; }
.hero-shapes .hero-right { animation: floatUp 4s 1s ease-in-out infinite; }

/* ============================================================
   STEAM EFFECT ON HERO (decorative)
   ============================================================ */
.chai-steam-wrap {
  position: absolute;
  bottom: 30px;
  right: 8%;
  z-index: 3;
  pointer-events: none;
}

.steam {
  display: inline-block;
  width: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.6);
  margin: 0 4px;
  animation: steamRise 2s ease-in-out infinite;
}
.steam:nth-child(1) { height: 25px; animation-delay: 0s; }
.steam:nth-child(2) { height: 35px; animation-delay: 0.4s; }
.steam:nth-child(3) { height: 20px; animation-delay: 0.8s; }

/* ============================================================
   NAVIGATION ANIMATIONS
   ============================================================ */
.main-header {
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.navigation > li > a {
  position: relative;
  overflow: hidden;
}
.navigation > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease, left 0.3s ease;
}
.navigation > li:hover > a::after,
.navigation > li.current > a::after {
  width: 100%; left: 0;
}

/* ============================================================
   CATEGORY / FC-TWO CARDS
   ============================================================ */
.fc-two-item {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  cursor: pointer;
}
.fc-two-item:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 15px 40px rgba(236, 61, 8, 0.2);
}

.fc-two-item .icon img {
  transition: transform 0.4s ease;
}
.fc-two-item:hover .icon img {
  animation: wiggle 0.5s ease;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-image-five {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.about-image-five::after {
  content: '';
  position: absolute;
  inset: 0; 
  opacity: 0;
  transition: opacity 0.5s ease;
}
.about-image-five:hover::after { opacity: 1; }
.about-image-five img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 12px;
}
.about-image-five:hover img { transform: scale(1.04); }

/* Service items hover lift */
.service-item.style-two {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  padding: 14px;
}
.service-item.style-two:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ============================================================
   MISSION & VISION CARDS
   ============================================================ */
.featured-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 12px;
  overflow: hidden;
}
.featured-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(236, 61, 8, 0.15);
}
.featured-item .icon img {
  transition: transform 0.5s ease;
}
.featured-item:hover .icon img {
  transform: rotate(-6deg) scale(1.08);
}

/* ============================================================
   WHY CHOOSE SECTION
   ============================================================ */
.why-choose-five-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.why-choose-five-image img {
  transition: transform 0.7s ease;
  border-radius: 12px;
  width: 100%;
}
.why-choose-five-area:hover .why-choose-five-image img {
  transform: scale(1.05);
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.featured-item-two {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 18px;
  transition: background 0.35s ease, transform 0.35s ease;
  border-left: 3px solid transparent;
}
.featured-item-two:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(8px);
  border-left-color: var(--secondary-color);
}
.featured-item-two .icon img {
  transition: transform 0.4s ease;
}
.featured-item-two:hover .icon img {
  transform: scale(1.15) rotate(5deg);
}

/* ============================================================
   MENU TAB SECTION
   ============================================================ */
.food-menu-tab .nav-link {
  transition: background 0.3s ease, transform 0.3s ease,
              box-shadow 0.3s ease;
}
.food-menu-tab .nav-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(236, 61, 8, 0.2);
}
.food-menu-tab .nav-link.active {
  animation: pulseGlow 2.5s ease infinite;
}

/* Food menu items */
.food-menu-item.style-two {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  padding: 12px;
}
.food-menu-item.style-two:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.food-menu-item.style-two .image img {
  transition: transform 0.4s ease;
}
.food-menu-item.style-two:hover .image img {
  transform: scale(1.12) rotate(-3deg);
}

/* Tab pane slide-in */
.tab-pane.show.active { animation: fadeInUp 0.5s ease both; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.gallery-image {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}
.gallery-image::before {
  content: '';
  position: absolute;
  inset: 0; 
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}
.gallery-image:hover::before { opacity: 1; }
.gallery-image img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}
.gallery-image:hover img { transform: scale(1.1); }

/* ============================================================
   SERVICE ITEMS (Why choose section grid)
   ============================================================ */
.service-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}
.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.service-item h4 a {
  transition: color 0.3s ease;
}
.service-item:hover h4 a { color: var(--primary-color); }
 
/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 12px;
  overflow: hidden;
}
.blog-item:hover {
  transform: translateY(-10px); 
}
.blog-item .image { overflow: hidden; }
.blog-item .image img {
  transition: transform 0.6s ease;
  width: 100%;
}
.blog-item:hover .image img { transform: scale(1.08); }

.blog-item .content h4 a {
  transition: color 0.3s ease;
  position: relative;
}
.blog-item:hover .content h4 a { color: var(--primary-color); }

/* ============================================================
   BUTTONS - Ripple & Lift
   ============================================================ */
.btn, .theme-btn, a.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover, .theme-btn:hover, a.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(236, 61, 8, 0.35);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: none;
}
.btn:active::after {
  animation: ripple 0.5s ease;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top {
  transition: transform 0.3s ease, background 0.3s ease;
}
.scroll-top:hover {
  transform: translateY(-4px) scale(1.1);
}

/* ============================================================
   FOOTER SOCIAL ICONS
   ============================================================ */
.social-style-one a {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  border: 1px solid white;
}
.social-style-one a:hover {
  transform: translateY(-6px) scale(1.15);
  background: var(--primary-color);
  color: white !important;
}

/* ============================================================
   SECTION TITLES - Underline Animation
   ============================================================ */
.section-title h2,
.section-title h3 {
  position: relative;
}
.section-title .sub-title {
  position: relative;
  display: inline-block;
  transition: letter-spacing 0.4s ease;
}

/* ============================================================
   SPECIAL OFFERS SECTION (New)
   ============================================================ */
.chai-offers-section {
  background: linear-gradient(135deg, #1a0a00 0%, #2d1200 50%, #1a0a00 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.chai-offers-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center,
    rgba(236,61,8,0.08) 0%, transparent 70%);
  animation: spinSlow 20s linear infinite;
  pointer-events: none;
}

.offer-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), #ff6b35);
  color: white;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 15px;
  animation: pulseGlow 2s ease infinite;
}

.offer-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.4s ease, background 0.4s ease;
  cursor: pointer;
}
.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.offer-card:hover::before { transform: scaleX(1); }
.offer-card:hover {
  transform: translateY(-12px);
  border-color: rgba(236, 61, 8, 0.5);
  background: rgba(255,255,255,0.1);
}

.offer-card .offer-icon {
  font-size: 42px;
  margin-bottom: 14px;
  animation: floatUp 3s ease-in-out infinite;
  display: block;
}
.offer-card:nth-child(2) .offer-icon { animation-delay: 0.5s; }
.offer-card:nth-child(3) .offer-icon { animation-delay: 1s; }

.offer-card .offer-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.offer-card .offer-desc {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.offer-card .offer-price {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.3s ease;
}
.offer-card:hover .offer-price { transform: scale(1.08); }

/* ============================================================
   COUNTER SECTION (New)
   ============================================================ */
.chai-counter-section {
  background: #1e3233;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.chai-counter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.counter-stat {
  text-align: center;
  color: white;
  padding: 20px;
  position: relative;
  animation: scaleIn 0.6s ease both;
}
.counter-stat .stat-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.counter-stat .stat-label {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.counter-stat .stat-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
  opacity: 0.9;
}
.counter-stat:hover .stat-number {
  animation: bounceIn 0.4s ease;
}

/* divider between stats */
.counter-stat::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.25);
}
.counter-stat:last-child::after { display: none; }

/* ============================================================
   PRELOADER - Chai themed
   ============================================================ */
.preloader {
  background: linear-gradient(135deg, #1a0800, #2d1000) !important;
}

.custom-loader {
  width: 56px !important;
  height: 56px !important;
  border: 4px solid rgba(236,61,8,0.2) !important;
  border-top-color: var(--primary-color) !important;
  border-right-color: var(--secondary-color) !important;
  border-radius: 50% !important;
  animation: spinSlow 0.9s linear infinite !important;
}
 
/* ============================================================
   SCROLL REVEAL via AOS overrides (enhanced durations)
   ============================================================ */
[data-aos] {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ============================================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 767px) {
  .offer-card { margin-bottom: 20px; }
  .counter-stat::after { display: none; }
  .counter-stat .stat-number { font-size: 36px; }
  .hero-content-four.style-two h1 { font-size: 32px; }
  .chai-steam-wrap { display: none; }
}

/* ============================================================
   Map RESPONSIVE ADJUSTMENTS
   ============================================================ */
    /* RESET & BASE - everything inside the section will be scoped, but we keep global reset friendly */
    .lucknow-heritage-section * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
     
    /* This is the complete reusable section - add to any page as a standalone block */
    .lucknow-heritage-section {
      font-family: 'Inter', sans-serif;
      max-width: 1520px;
      width: 100%;
      margin: 0 auto;
      background: radial-gradient(ellipse at 20% 30%, rgba(249, 242, 228, 0.96), rgba(238, 228, 209, 0.94));
      border-radius: 48px;
      box-shadow: 0 35px 68px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(200, 172, 110, 0.3);
      transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
      animation: sectionGlowEntrance 0.9s ease-out;
      backdrop-filter: blur(0px);
    }
    
    /* inner padding */
    .section-inner-container {
      padding: 28px 32px 38px 32px;
    }
    
    /* Hero area with animated badge */
    .section-hero {
      text-align: center;
      margin-bottom: 32px;
      animation: floatInUp 0.7s ease-out;
    }
    
    .heritage-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(122, 145, 95, 0.2);
      backdrop-filter: blur(4px);
      padding: 6px 22px;
      border-radius: 60px;
      margin-bottom: 18px;
      border: 1px solid rgba(215, 173, 86, 0.5);
      transition: transform 0.2s;
    }
    
    .heritage-badge span {
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #5d6e46;
    }
    
    .heritage-badge::before,
    .heritage-badge::after {
      content: "✦";
      font-size: 12px;
      color: #c9a34b;
      opacity: 0.9;
    }
    
    .section-hero h2 {
      font-size: clamp(32px, 5vw, 58px);
      font-weight: 800;
      letter-spacing: -0.02em;
      background: linear-gradient(125deg, #2b3a1f, #957a40);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      margin-bottom: 12px;
      text-transform: uppercase;
    }
    
    .section-description {
      font-size: 1rem;
      color: #5a4f38;
      max-width: 780px;
      margin: 0 auto;
      line-height: 1.5;
      font-weight: 450;
    }
    
    /* LAYOUT grid */
    .map-layout-grid {
      display: grid;
      grid-template-columns: 1.8fr 0.95fr;
      gap: 26px;
      align-items: start;
      margin-top: 8px;
    }
    
    /* Cards + animations */
    .map-card-modern, .info-card-elegant {
      background: rgba(255, 252, 242, 0.85);
      backdrop-filter: blur(12px);
      border-radius: 38px;
      border: 1px solid rgba(190, 162, 100, 0.3);
      transition: all 0.3s ease;
      animation: cardReveal 0.55s ease backwards;
      animation-delay: 0.1s;
    }
    
    .map-card-modern {
      padding: 20px;
    }
    
    .info-card-elegant {
      padding: 24px;
      position: sticky;
      top: 30px;
    }
    
    .map-card-modern:hover, .info-card-elegant:hover {
      transform: translateY(-3px);
      box-shadow: 0 28px 48px -20px rgba(0, 0, 0, 0.2);
      border-color: rgba(215, 173, 86, 0.5);
    }
    
    /* header row map */
    .map-header-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      margin-bottom: 18px;
      padding-bottom: 10px;
      border-bottom: 1px dashed rgba(140, 110, 55, 0.3);
    }
    
    .map-header-row h3 {
      font-size: 1.55rem;
      font-weight: 700;
      letter-spacing: -0.3px;
      color: #2e4022;
    }
    
    .map-header-row p {
      font-size: 0.78rem;
      color: #9c864f;
      font-weight: 500;
    }
    
    .stats-badge-group {
      display: flex;
      gap: 12px;
    }
    
    .stat-pill {
      background: #fcf3e4;
      padding: 6px 16px;
      border-radius: 50px;
      font-size: 0.75rem;
      font-weight: 600;
      color: #6c5a38;
      border: 1px solid #e9dbbc;
      transition: all 0.2s;
    }
    
    .stat-pill span {
      font-weight: 800;
      color: #7b935a;
      margin-right: 5px;
    }
    
    /* MAP */
    #lucknowMapEmbed {
      height: 620px;
      width: 100%;
      border-radius: 28px;
      overflow: hidden;
      background: #e6ddce;
      box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(0, 0, 0, 0.08);
      transition: all 0.3s;
    }
    
    /* Map marker & animations */
    .custom-pin-div {
      background: transparent;
    }
    
    .animated-pin {
      width: 26px;
      height: 26px;
      background: #7a915f;
      border-radius: 50% 50% 50% 0;
      transform: rotate(-45deg);
      border: 2px solid #fff7e8;
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
      transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.2);
      animation: pinBounceIn 0.45s ease-out;
    }
    
    .animated-pin::after {
      content: "";
      width: 10px;
      height: 10px;
      background: #ffffffcf;
      position: absolute;
      top: 7px;
      left: 7px;
      border-radius: 50%;
    }
    
    .pin-active-gold {
      background: #d7ad56 !important;
      transform: rotate(-45deg) scale(1.22);
      filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
    }
    
    .marker-label-animated {
      font-size: 11px;
      font-weight: 700;
      background: rgba(27, 30, 18, 0.85);
      backdrop-filter: blur(8px);
      color: #fffaec;
      padding: 4px 12px;
      border-radius: 60px;
      white-space: nowrap;
      margin-top: 12px;
      font-family: 'Inter', sans-serif;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.1s;
    }
    
    /* floating dynamic tooltip */
    .dynamic-hover-card {
      position: absolute;
      bottom: 20px;
      left: 24px;
      background: #1f241cd9;
      backdrop-filter: blur(14px);
      padding: 14px 20px;
      border-radius: 32px;
      max-width: 280px;
      border-left: 4px solid #d7ad56;
      color: #fff6e5;
      transition: opacity 0.28s ease, transform 0.28s ease;
      opacity: 0;
      transform: translateY(14px);
      pointer-events: none;
      z-index: 1000;
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    }
    
    .dynamic-hover-card.show {
      opacity: 1;
      transform: translateY(0);
    }
    
    .tooltip-head {
      font-weight: 800;
      font-size: 1.2rem;
      letter-spacing: -0.2px;
      margin-bottom: 5px;
    }
    
    .tooltip-sub {
      font-size: 0.72rem;
      opacity: 0.9;
      line-height: 1.4;
    }
    
    /* info panel inner */
    .highlight-card {
      background: linear-gradient(125deg, #fff9ef, #fff4e6);
      border-radius: 28px;
      padding: 20px 22px;
      margin-bottom: 28px;
      border: 1px solid #e9d5ae;
      transition: all 0.2s;
      animation: softPulseBg 2.2s infinite alternate;
    }
    
    .highlight-card h4 {
      font-size: 1.9rem;
      font-weight: 800;
      margin-bottom: 8px;
      color: #2d3a25;
    }
    
    .highlight-card .locality-description {
      font-size: 0.85rem;
      color: #7b693f;
      margin-top: 8px;
      line-height: 1.45;
    }
    
    .type-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 16px;
    }
    
    .badge-chip {
      background: white;
      border-radius: 40px;
      padding: 6px 16px;
      font-size: 0.7rem;
      font-weight: 600;
      color: #607744;
      border: 1px solid #e8dbbc;
    }
    
    .list-title {
      font-size: 0.7rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-weight: 800;
      color: #b68f48;
      margin: 14px 0 14px 0;
    }
    
    .localities-scroll-list {
      max-height: 470px;
      overflow-y: auto;
      padding-right: 5px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .locality-card-item {
      background: rgba(255, 250, 240, 0.9);
      border-radius: 20px;
      padding: 12px 15px;
      display: flex;
      align-items: center;
      gap: 14px;
      cursor: pointer;
      transition: all 0.25s ease;
      border: 1px solid #f1e5cf;
      animation: slideFadeItem 0.4s ease backwards;
    }
    
    .locality-card-item:hover {
      background: #fff6ea;
      transform: translateX(6px);
      border-color: #d7ad56;
    }
    
    .locality-card-item.active-locality {
      background: #fff0df;
      border-left: 6px solid #d7ad56;
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.03);
    }
    
    .loc-number-circle {
      background: #eaddc4;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      color: #7a5c2b;
    }
    
    .locality-card-item .loc-name {
      font-weight: 700;
      font-size: 0.95rem;
    }
    
    .locality-card-item .loc-meta {
      font-size: 0.68rem;
      color: #8e7a4e;
    }
    
    /* scroll styling */
    .localities-scroll-list::-webkit-scrollbar {
      width: 5px;
    }
    .localities-scroll-list::-webkit-scrollbar-track {
      background: #eadfcb;
      border-radius: 8px;
    }
    .localities-scroll-list::-webkit-scrollbar-thumb {
      background: #c2a158;
      border-radius: 8px;
    }
    
    /* KEYFRAMES ANIMATIONS */
    @keyframes sectionGlowEntrance {
      0% { opacity: 0; transform: scale(0.97); box-shadow: 0 10px 30px rgba(0,0,0,0); }
      100% { opacity: 1; transform: scale(1); box-shadow: 0 35px 68px rgba(0, 0, 0, 0.12); }
    }
    @keyframes floatInUp {
      0% { opacity: 0; transform: translateY(30px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    @keyframes cardReveal {
      0% { opacity: 0; transform: translateY(18px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    @keyframes pinBounceIn {
      0% { transform: rotate(-45deg) scale(0.3); opacity: 0; }
      70% { transform: rotate(-45deg) scale(1.1); }
      100% { transform: rotate(-45deg) scale(1); opacity: 1; }
    }
    @keyframes softPulseBg {
      0% { border-color: #ecdbaa; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);}
      100% { border-color: #d7ad56; box-shadow: 0 8px 20px rgba(215, 173, 86, 0.12);}
    }
    @keyframes slideFadeItem {
      from { opacity: 0; transform: translateX(-12px); }
      to { opacity: 1; transform: translateX(0); }
    }
    
    /* responsive */
    @media (max-width: 1000px) {
      .map-layout-grid { grid-template-columns: 1fr; }
      .info-card-elegant { position: relative; top: 0; margin-top: 18px; }
      .section-inner-container { padding: 20px; }
      #lucknowMapEmbed { height: 520px; }
    }
    @media (max-width: 580px) {
      .lucknow-heritage-section { border-radius: 32px; }
      .map-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
      .dynamic-hover-card { max-width: 210px; padding: 10px 14px; left: 12px; }
    }
    
    .leaflet-popup-content-wrapper {
      border-radius: 24px;
      background: #2d2a21e6;
      color: #fff0de;
    }
    .leaflet-popup-tip { background: #2d2a21; }