

/* ============================================================
   PREMIUM ANIMATIONS & ENHANCED STYLES — MALLIKA PRIDE
   ============================================================ */

/* ===== ABOUT SECTION — REAL GATE IMAGES ===== */
.about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.18),
    0 0 0 3px rgba(201,168,76,0.15);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), box-shadow 0.5s ease;
}

.about-img-wrap:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.25),
    0 0 0 3px rgba(201,168,76,0.4);
}

.about-gate-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Approval Badges Overlay — matching original image style */
.about-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}

.about-apr-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.apr-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 3px solid;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.dtcp-badge .apr-circle {
  background: linear-gradient(135deg, #8B4513, #c47025, #8B4513);
  border-color: #f0c060;
  animation: badgeRotateGlow 4s ease-in-out infinite;
}

.rera-badge .apr-circle {
  background: linear-gradient(135deg, #1a4a8a, #2a6abf, #1a4a8a);
  border-color: #6aaaf0;
  animation: badgeRotateGlow 4s ease-in-out 2s infinite;
}

@keyframes badgeRotateGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
  50%       { box-shadow: 0 4px 24px rgba(201,168,76,0.5); }
}

.apr-main {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}

.apr-word {
  font-size: 7px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-align: center;
}

.apr-num {
  font-size: 9px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 20px;
  text-align: center;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* ===== CONTACT LINKS — CALL & WHATSAPP BUTTONS ===== */
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-detail strong {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.3px;
}

.call-link {
  background: rgba(201,168,76,0.15);
  border: 1.5px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
}

.call-link:hover {
  background: rgba(201,168,76,0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201,168,76,0.3);
  color: var(--gold);
}

.wa-link {
  background: rgba(37,211,102,0.15);
  border: 1.5px solid rgba(37,211,102,0.4);
  color: #5de88a;
}

.wa-link:hover {
  background: rgba(37,211,102,0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}

.map-link-btn {
  background: rgba(91,200,245,0.12);
  border: 1.5px solid rgba(91,200,245,0.3);
  color: #5bc8f5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 6px;
}

.map-link-btn:hover {
  background: rgba(91,200,245,0.22);
  transform: translateY(-2px);
}

.contact-addr-text {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.6;
  display: block;
}

/* ===== GATE SHOWCASE STRIP ===== */
.gate-showcase-strip {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gate-showcase-inner {
  position: relative;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}

.gate-showcase-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.88);
  transition: transform 8s ease, filter 0.5s ease;
}

.gate-showcase-inner:hover .gate-showcase-img {
  transform: scale(1.04);
  filter: brightness(0.75);
}

.gate-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(13,27,42,0.6) 70%,
    rgba(13,27,42,0.85) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 48px;
}

.gate-showcase-text {
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.gate-showcase-inner:hover .gate-showcase-text {
  transform: translateY(0);
  opacity: 1;
}

/* Always visible version */
.gate-showcase-text-always {
  text-align: center;
}

.gate-showcase-text h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 4vw, 42px);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.gate-showcase-text p {
  font-size: 16px;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Make overlay text always visible on mobile */
@media (max-width: 768px) {
  .gate-showcase-text {
    transform: translateY(0);
    opacity: 1;
  }
  .gate-showcase-img { height: 280px; }
  .gate-showcase-inner { max-height: 280px; }
  .about-img-wrap { border-radius: 14px; }
  .apr-circle { width: 56px; height: 56px; }
  .apr-main { font-size: 10px; }
  .apr-num { font-size: 7px; }
}



/* ===== QR CODE — SCAN FOR LOCATION ===== */
.map-placeholder {
  position: relative;
}

.qr-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #fdf8ee 0%, #f5edd8 100%);
  border: 2px solid #c9a84c;
  border-radius: 14px;
  padding: 12px 12px 8px;
  box-shadow:
    0 8px 30px rgba(0,0,0,0.2),
    0 0 0 4px rgba(201,168,76,0.1),
    inset 0 1px 0 rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  cursor: pointer;
  animation: qrFloat 3s ease-in-out infinite;
  width: 130px;
}

.qr-card:hover {
  transform: scale(1.12) translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.25),
    0 0 0 4px rgba(201,168,76,0.3),
    0 0 30px rgba(201,168,76,0.2);
}

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

.qr-inner {
  position: relative;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: crisp-edges;
  position: relative;
  z-index: 1;
}

/* Scan line animation */
.qr-inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.9), transparent);
  box-shadow: 0 0 8px rgba(201,168,76,0.8);
  animation: scanLine 2s linear infinite;
  top: 0;
  z-index: 3;
}

@keyframes scanLine {
  0%   { top: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Corner brackets */
.qr-inner::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 2px solid rgba(201, 168, 76, 0.4);
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
}

.qr-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.qr-scan-text {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  color: #8B5C2A;
  letter-spacing: 2px;
  line-height: 1;
}

.qr-scan-sub {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 900;
  color: #7a4a18;
  letter-spacing: 2px;
  line-height: 1;
}

/* Pulsing glow ring on qr-card */
.qr-card::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1.5px solid rgba(201,168,76,0.3);
  animation: qrRingPulse 2s ease-in-out infinite;
}

@keyframes qrRingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.04); }
}

/* ===== ALSO ADD STANDALONE QR SECTION BELOW MAP ===== */
.qr-standalone {
  display: none; /* shown on mobile */
}

@media (max-width: 640px) {
  .qr-card {
    position: static;
    margin: 16px auto 0;
    width: 140px;
    animation: none;
  }
  .qr-standalone { display: flex; }
}



/* ===== PAGE LOADER ===== */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-logo svg { width: 72px; height: 72px; }

.loader-brand {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(90deg, #a07830, #f0d080, #c9a84c, #f0d080, #a07830);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 2s linear infinite;
}

.loader-brand-tamil {
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 13px;
  color: rgba(240,208,128,0.6);
  letter-spacing: 2px;
}

.loader-bar-wrap {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 3px;
  animation: loaderProgress 1.8s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes loaderProgress {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== SCROLL PROGRESS BAR ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-gold);
  z-index: 10001;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(201,168,76,0.8);
}

/* ===== CURSOR GLOW ===== */
#cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

/* ===== HERO ENHANCED ===== */
.hero {
  background: var(--gradient-hero);
  position: relative;
}

/* Animated gradient mesh bg */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 80%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(36,59,85,0.5) 0%, transparent 50%);
  animation: meshShift 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshShift {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

/* Floating blob */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: blobFloat 10s ease-in-out infinite alternate;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(201,168,76,0.08);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(36,59,85,0.3);
  bottom: -80px;
  right: -80px;
  animation-delay: 3s;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: rgba(201,168,76,0.05);
  top: 40%;
  right: 10%;
  animation-delay: 6s;
}

@keyframes blobFloat {
  0%   { transform: translate(0px, 0px) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Animated star sparkles in hero */
.hero-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  left: var(--x);
  top: var(--y);
  box-shadow: 0 0 6px 2px rgba(240,208,128,0.5);
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50%       { opacity: 1; transform: scale(1.5); }
}

/* Gold line removed per user request */


/* ===== BADGE SHINE EFFECT ===== */
.badge {
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-20deg);
  animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
  0%   { left: -100%; }
  50%  { left: 150%; }
  100% { left: 150%; }
}

/* ===== APPROVAL STRIP — MARQUEE STYLE ===== */
.strip-marquee-wrap {
  overflow: hidden;
  position: relative;
}

.strip-marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.strip-marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTION REVEAL ANIMATIONS ===== */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* ===== FEATURE CARDS — 3D TILT + GLOW ===== */
.feature-card {
  transform-style: preserve-3d;
  cursor: default;
  will-change: transform;
}

.feature-card .feat-icon {
  transition: transform 0.4s ease;
}

.feature-card:hover .feat-icon {
  transform: scale(1.2) rotate(-5deg);
}

/* Glow underline reveal */
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(201,168,76,0.6);
}

.feature-card:hover::after { width: 60%; }

/* Shimmer on feature cards */
.feature-card .card-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.04) 50%, transparent 70%);
  background-size: 200% 200%;
  border-radius: 16px;
  animation: cardShimmer 4s ease infinite;
  pointer-events: none;
}

@keyframes cardShimmer {
  0%   { background-position: 200% 200%; }
  100% { background-position: -200% -200%; }
}

/* ===== ABOUT SECTION — ANIMATED GATE ===== */
.gate-illustration {
  animation: gateFadeIn 1s ease 0.5s both;
}

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

/* Birds flying animation */
.gate-birds {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  animation: birdsMove 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes birdsMove {
  0%   { transform: translateX(-60%) translateY(0); opacity: 0.7; }
  100% { transform: translateX(20%)  translateY(-10px); opacity: 1; }
}

/* ===== HIGHLIGHT ITEMS — ANIMATED BORDER ===== */
.highlight-item {
  position: relative;
  overflow: hidden;
}

.highlight-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.06), transparent);
  transition: left 0.5s ease;
}

.highlight-item:hover::after { left: 100%; }

/* ===== BLOCK CARDS — ANIMATED GRADIENT BORDER ===== */
.block-card {
  position: relative;
  overflow: hidden;
}

.block-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(45deg, transparent, rgba(201,168,76,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.block-card:hover::before { opacity: 1; }

/* ===== STAT NUMBERS — GLOW ===== */
.stat-num {
  text-shadow: 0 0 20px rgba(201,168,76,0.4);
  animation: statGlow 2s ease-in-out infinite alternate;
}

@keyframes statGlow {
  0%   { text-shadow: 0 0 20px rgba(201,168,76,0.3); }
  100% { text-shadow: 0 0 40px rgba(201,168,76,0.7); }
}

/* ===== OFFER SECTION — ENHANCED ===== */

/* Animated orbiting rings */
.offer-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.offer-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.1);
  transform: translate(-50%, -50%);
  animation: ringPulse var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  top: 0;
  left: 0;
}

@keyframes ringPulse {
  0%   { transform: translate(-50%,-50%) scale(0.85); opacity: 0.6; }
  50%  { transform: translate(-50%,-50%) scale(1);    opacity: 0.3; }
  100% { transform: translate(-50%,-50%) scale(1.15); opacity: 0; }
}

/* Offer card content above rings */
.offer-card > * { position: relative; z-index: 1; }

/* Gold shimmer on offer card */
.offer-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(45deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
  background-size: 300% 300%;
  animation: borderShimmer 4s linear infinite;
  z-index: 0;
  padding: 2px;
}

.offer-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 22px;
  background: linear-gradient(160deg, #1a0800 0%, #2d1400 50%, #1a0800 100%);
  z-index: 0;
}

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

/* AC image float */
.ac-product-img {
  animation: acFloat 4s ease-in-out infinite;
}

@keyframes acFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

/* FREE text animation */
.free-text {
  animation: freeFlash 1.5s ease-in-out infinite alternate;
}

@keyframes freeFlash {
  0%   { color: var(--gold); text-shadow: 0 0 10px rgba(201,168,76,0.4); }
  100% { color: #ffe060;     text-shadow: 0 0 30px rgba(255,224,96,0.8), 0 0 60px rgba(201,168,76,0.4); }
}

/* Countdown timer styles */
.offer-countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 24px 0;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.countdown-num {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.countdown-num::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.countdown-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.countdown-sep {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  color: var(--gold);
  align-self: flex-start;
  margin-top: 16px;
  animation: sepBlink 1s step-end infinite;
}

@keyframes sepBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ===== LOCATION MAP — ANIMATED PIN ===== */
.map-pin-big {
  animation: pinBounce 1.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  30%       { transform: translateY(-14px); }
  60%       { transform: translateY(-6px); }
}

/* Map pulse ring */
.map-pin-wrap {
  position: relative;
  display: inline-block;
}

.map-pin-wrap::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: pinShadow 1.5s ease-in-out infinite;
}

@keyframes pinShadow {
  0%, 100% { transform: translateX(-50%) scaleX(1);   opacity: 0.6; }
  30%       { transform: translateX(-50%) scaleX(0.6); opacity: 0.2; }
}

/* ===== CONTACT ITEMS — HOVER SLIDE ===== */
.contact-item {
  transition: transform 0.3s ease, background 0.3s ease;
  padding: 12px;
  border-radius: 10px;
  margin: -12px;
}

.contact-item:hover {
  background: rgba(255,255,255,0.04);
  transform: translateX(6px);
}

/* ===== FORM INPUTS — ANIMATED LABEL ===== */
.form-group {
  position: relative;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  transform: translateY(-22px) scale(0.82);
  color: var(--gold-dark);
}

/* Input fill animation */
.form-group input,
.form-group select,
.form-group textarea {
  position: relative;
}

.form-group input::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

/* ===== FLOATING CALL BUTTON — ENHANCED ===== */
.floating-call {
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
}

.floating-call::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  animation: callShine 3s ease 2s infinite;
}

@keyframes callShine {
  0%   { transform: translateX(-100%); }
  40%  { transform: translateX(200%); }
  100% { transform: translateX(200%); }
}

/* Phone ring animation */
.floating-call-icon {
  display: inline-block;
  animation: phoneRing 2s ease-in-out 3s infinite;
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  5%        { transform: rotate(15deg); }
  10%       { transform: rotate(-15deg); }
  15%       { transform: rotate(10deg); }
  20%       { transform: rotate(-10deg); }
  25%       { transform: rotate(0deg); }
}

/* ===== BUTTON — ENHANCED STATES ===== */
.btn-primary,
.btn-offer {
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.btn-offer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: btnShine 3s ease infinite;
}

@keyframes btnShine {
  0%   { left: -100%; }
  40%  { left: 150%; }
  100% { left: 150%; }
}

/* ===== APPROVAL BADGES — SPIN ===== */
.badge-inner {
  animation: badgeSpin 0.6s ease;
}

@keyframes badgeSpin {
  0%   { transform: rotateY(90deg); }
  100% { transform: rotateY(0deg); }
}

/* ===== FOOTER — ANIMATED LOGO ===== */
.footer-logo-svg {
  transition: transform 0.4s ease;
}

.footer-logo-wrap:hover .footer-logo-svg {
  transform: rotate(10deg) scale(1.1);
}

/* ===== SECTION TAGS — SHIMMER ===== */
.section-tag {
  position: relative;
  overflow: hidden;
}

.section-tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: tagShine 4s ease-in-out infinite;
}

@keyframes tagShine {
  0%, 100% { left: -100%; }
  50%       { left: 200%; }
}

/* ===== ROAD BADGES — BOUNCE-IN ===== */
.road-badge {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.road-badge:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(201,168,76,0.3);
}

/* ===== PLOT TABLE — ROW SLIDE ===== */
.plot-table tbody tr {
  transition: transform 0.2s ease, background 0.2s ease;
}

.plot-table tbody tr:hover {
  transform: scale(1.01);
}

/* ===== HERO STATS BAR — SLIDE-IN ===== */
.hero-stats {
  animation: statsSlideUp 1s ease 1.2s both;
}

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

/* ===== GOLD DIVIDER ANIMATION ===== */
.hero-divider .divider-line {
  animation: dividerGrow 1s ease 0.8s both;
}

@keyframes dividerGrow {
  from { width: 0; }
  to   { width: 80px; }
}

/* ===== TYPING CURSOR ===== */
.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--gold);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ===== ABOUT VISUAL — PARALLAX LAYER ===== */
.about-visual {
  will-change: transform;
}

/* ===== SECTION GRADIENT TITLE ANIMATION ===== */
.gold-text {
  background-size: 200% auto;
  animation: goldGradientMove 4s linear infinite;
}

@keyframes goldGradientMove {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ===== SCROLL INDICATOR — BOUNCE ===== */
.hero-scroll-indicator {
  animation: scrollFadeIn 1s ease 2s both;
}

@keyframes scrollFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===== CTA STRIP — PULSE BORDER ===== */
.cta-strip {
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(45deg, #f0d080, #c9a84c, #a07830, #c9a84c, #f0d080);
  background-size: 300%;
  animation: ctaBorderRun 3s linear infinite;
  z-index: -1;
}

@keyframes ctaBorderRun {
  0%   { background-position: 0%; }
  100% { background-position: 300%; }
}

/* ===== MOBILE MENU — SLIDE IN ===== */
.nav-links.open {
  animation: menuSlide 0.3s ease both;
}

@keyframes menuSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== TOAST NOTIFICATION ===== */
#toast-notification {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gradient-navy);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

#toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== BACK TO TOP BUTTON ===== */
#back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: var(--gold);
  font-size: 16px;
  text-decoration: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ===== WHATSAPP BUTTON ===== */
#whatsapp-btn {
  position: fixed;
  bottom: 155px;
  right: 30px;
  z-index: 998;
  width: 50px;
  height: 50px;
  background: #25D366;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: waBounce 3s ease-in-out 4s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

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

/* ===== ANIMATED NUMBER COUNTER ===== */
.counter-wrap {
  position: relative;
}

/* ===== ENHANCED SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1520; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold), var(--gold-dark));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* ===== HERO LOCATION — ANIMATED ===== */
.hero-location {
  animation: locationPop 0.6s cubic-bezier(0.34,1.56,0.64,1) 1s both;
}

@keyframes locationPop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===== FEATURES SECTION — ANIMATED BG PATTERN ===== */
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(201,168,76,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 70%, rgba(201,168,76,0.1) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 100%);
  animation: patternDrift 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes patternDrift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 5% 5%; }
}

/* ===== SECTION HEADER — UNDERLINE ANIMATION ===== */
.section-title {
  position: relative;
  display: inline-block;
}

/* ===== OFFER COUNTDOWN COLORS ===== */
.countdown-num.days   { border-color: rgba(201,168,76,0.5); color: var(--gold-light); }
.countdown-num.hours  { border-color: rgba(91,200,245,0.4); color: #5bc8f5; }
.countdown-num.mins   { border-color: rgba(255,255,255,0.2); color: var(--white); }
.countdown-num.secs   { border-color: rgba(255,80,80,0.4); color: #ff8080; animation: secFlip 1s ease infinite; }

@keyframes secFlip {
  0%, 100% { color: #ff8080; }
  50%       { color: #ffb0b0; }
}

/* ===== GATE ILLUSTRATION — CAR ANIMATION ===== */
.gate-car {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  animation: carMove 4s ease-in-out infinite alternate;
}

@keyframes carMove {
  0%   { transform: translateX(-80%) scale(0.85); }
  100% { transform: translateX(20%)  scale(1); }
}

/* ===== RESPONSIVE EXTRA ===== */
@media (max-width: 640px) {
  .offer-countdown { gap: 8px; }
  .countdown-num { width: 56px; height: 56px; font-size: 26px; }
  .ac-product-img { width: 180px; }
  #whatsapp-btn { bottom: 130px; right: 20px; }
  #back-to-top { bottom: 85px; right: 20px; }
}

/* ===== HERO AC BANNER ===== */
.hero-ac-banner {
  position: relative;
  max-width: 680px;
  margin: 0 auto 36px;
  background: rgba(13, 27, 42, 0.45);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 16px;
  padding: 16px 24px;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.25),
    0 0 0 1px rgba(201,168,76,0.1),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  animation: fadeInUp 0.8s ease 0.7s both;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.hero-ac-banner:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--gold);
  box-shadow: 
    0 20px 40px rgba(201,168,76,0.15),
    0 0 15px rgba(201,168,76,0.1);
}

.ac-banner-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: bannerGlowRotate 8s linear infinite;
}

@keyframes bannerGlowRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ac-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.ac-banner-gift {
  font-size: 32px;
  animation: giftWobble 2s ease infinite;
}

@keyframes giftWobble {
  0%, 100% { transform: rotate(0) scale(1); }
  25%      { transform: rotate(-8deg) scale(1.1); }
  75%      { transform: rotate(8deg) scale(1.1); }
}

.ac-banner-text {
  flex: 1;
  text-align: left;
}

.ac-tag {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.ac-banner-text h4 {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.ac-banner-text p {
  color: var(--gold-light);
  font-family: 'Noto Sans Tamil', sans-serif;
  font-size: 11px;
  font-weight: 500;
  margin: 0;
  opacity: 0.95;
}

.ac-banner-product {
  width: 90px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ac-banner-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(255,255,255,0.15));
  transition: transform 0.3s ease;
}

.hero-ac-banner:hover .ac-banner-img {
  transform: scale(1.08) rotate(-2deg);
}

@media (max-width: 640px) {
  .ac-banner-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .ac-banner-text {
    text-align: center;
  }
  .ac-banner-product {
    width: 110px;
  }
}
