/* Stacking Cards minimal styles */
#stacking-cards {
  padding: 64px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stacking-main {
  display: flex;
  justify-content: center;
}
.stacking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 600px;
  /* Ensure first sticky card reaches its top sticking position cleanly */
  padding-top: 250px;
  /* Give space so the last sticky card can reach its stick position */
  padding-bottom: 60vh;
}

.stacking-title {
  position: sticky;
  top: 150px;
  margin-bottom: 20px;
}

.stack-card {
  position: sticky;
  top: 250px;
  margin: 0 auto;
  border-radius: 16px;
  height: 300px;
  transform-origin: top center;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}
.stack-card + .stack-card {
  /* Visual gap between stacked cards */
  margin-top: 100px;
}
/* ========================================
   BRAND SECTION - Powered by badge
   ======================================== */
.brand-section .powered-by {
  margin-top: 8px;
  margin-left: 10px;
}
.brand-section .powered-by-img {
  height: 25px;
  display: block;
}
@media (max-width: 600px) {
  .brand-section .powered-by-img {
    height: 22px;
  }
}

.stacking-header {
  max-width: 680px;
  margin: 0 auto 32px auto;
  text-align: center;
}

.stacking-header h2 {
  font-family: "Geist", system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}

.stacking-subtitle {
  margin: 0;
  opacity: 0.8;
}

.stacking-main {
  display: flex;
  justify-content: center;
}

.stacking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 600px;
  will-change: transform;
}

/* Provide vertical space so each sticky card can stack visually */
.stack-card + .stack-card {
  margin-top: 120px;
}

/* Alternating background colors */
.stack-card:nth-child(1),
.stack-card:nth-child(2),
.stack-card:nth-child(3),
.stack-card:nth-child(4),
.stack-card:nth-child(5) {
  background: #4f1028;
}

.stack-card-title {
  margin: 0 0 8px 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stack-card-body {
  margin: 0;
  line-height: 1.6;
  opacity: 0.95;
}

/* Desktop spacing */
@media (min-width: 768px) {
  #stacking-cards {
    padding: 96px 24px;
  }
  .stack-card {
    padding: 28px;
    top: 24px;
  }
  .stack-card + .stack-card {
    margin-top: 140px;
  }
}

/* ========================================
   CUSTOM FONTS
   ======================================== */
@font-face {
  font-family: "SportsWorldFont";
  src: url("../fonts/sports-world.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DangerOnMotorway";
  src: url("../fonts/danger-on-the-motorway.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   PRELOADER - Loading screen with gradient background
   ======================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111630 0%, #4e1028 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
  will-change: opacity, visibility;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  color: white;
  max-width: 600px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 20px;
}

.preloader-logo {
  margin-bottom: 10px;
}

.preloader-logo img {
  max-width: 300px;
  object-fit: contain;
}

/* Loader GIF */
.preloader-gif {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-gif img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preloader-text {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: "SportsWorldFont", "Arial Black", "Helvetica Bold", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   CONTENT LOADING STATES - Fade in animation
   ======================================== */
/* Hide main content initially during preloader */
body.loading .hero,
body.loading .features,
body.loading .overview,
body.loading .membership,
body.loading .brand-section,
body.loading .sticky-footer {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* Show content after preloader completes */
body.loaded .hero,
body.loaded .features,
body.loaded .overview,
body.loaded .membership,
body.loaded .brand-section,
body.loaded .sticky-footer {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   GLOBAL RESET & BASE STYLES
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  background: transparent;
  overflow-x: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.container {
  position: relative;
  z-index: 0;
}

/* Main background gradient overlay */
.container::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #10152f 0%,
    #10152f 20%,
    #4e1028 55%,
    #4e1028 80%,
    #4e1028 100%
  );
  z-index: -1;
  pointer-events: none;
}

/* Prevent background scroll when a modal is open */
body.no-scroll {
  overflow: hidden;
}

/* CSS Custom Properties for sticky footer spacing */
:root {
  --sticky-footer-offset: 80px;
}

body {
  padding-bottom: var(--sticky-footer-offset);
}

/* ========================================
   HEADER - Fixed navigation with scroll effects
   ======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 150px;
  z-index: 1000;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  overflow: visible;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.3s ease, -webkit-backdrop-filter 0.3s ease,
    backdrop-filter 0.3s ease, opacity 0.3s ease;
  /* Ensure pseudo-elements layer correctly */
  isolation: isolate;
}

.header-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  z-index: 111;
}

/* Full-height gradient overlay for smooth reveal */
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: opacity 0.4s ease, -webkit-backdrop-filter 0.4s ease,
    backdrop-filter 0.4s ease;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    rgb(0, 0, 0) 50%,
    rgba(0, 0, 0, 0.8) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    rgb(0, 0, 0) 50%,
    rgba(0, 0, 0, 0.8) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  inset: -1rem 0;
}

/* Apply gradient/blur only after scroll starts */
header.header-scrolled {
  /* Keep header itself transparent; overlay handles gradient */
  background: transparent;
}

/* Animate overlay in when scrolled */
header.header-scrolled::before {
  opacity: 1;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.logo_img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* ========================================
   HERO SECTION - Full-screen background with overlay content
   ======================================== */
.hero {
  background-image: url("../images/top-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh; /* fallback */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  will-change: opacity, transform;
}
/* Keep hero fixed and prevent any load-time shifts */
body.loading .hero {
  transform: none !important;
}
body.loaded .hero {
  transform: none !important;
}

.here_svg {
  position: absolute;
  bottom: -580px;
  right: 0;
  z-index: 1;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Responsive styles for here_svg */
@media (max-width: 768px) {
  .here_svg {
    max-width: 80%;
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 560px) {
  .here_svg {
    max-width: 100%;
    bottom: -350px;
    right: 5px;
  }
}

/* Prefer modern dynamic viewport units for mobile browser chrome */
@supports (height: 100dvh) {
  .hero {
    height: 100dvh;
  }
}
@supports (height: 100svh) {
  .hero {
    height: 100svh;
  }
}
@media (max-width: 786px) and (orientation: landscape) {
  /* Ensure full height in landscape on mobile */
  .hero {
    height: 100lvh;
  }
}

/* .hero-container removed - no longer needed */

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    #121a40 0%,
    #121a40 30%,
    rgba(18, 26, 64, var(--overlayAlpha, 0)) var(--overlayStop, 60%)
  );
  z-index: 1;
}

/* Hero Content Overlay - Separate Section Overlapping from Bottom */
.hero-content-overlay {
  position: relative;
  margin-top: -500px; /* Start from the top */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  background: transparent;
  min-height: 100vh;
  /* padding-top: 100vh; Push content down to start below hero */
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-top: -50px;
}

.logo img {
  height: 80px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.top-cta-button {
  background: #e6000e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: visible;
  margin-top: -50px;
}

.top-cta-button:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Subtle pulse to draw attention */
.top-cta-button {
  animation: ctaPulse 1.2s ease-in-out infinite;
}

/* Shine on hover */
.top-cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;

  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.top-cta-button:hover::after {
  left: 140%;
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 2;
  margin-top: -100vh; /* Pull content up to overlay on hero */
  padding-top: 100vh; /* Ensure content starts at the top */
  background: transparent;
}

.hero-content h1 {
  color: white;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
  text-transform: none;
  line-height: 1.2;
  letter-spacing: 0;
  font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.hero-subtitle {
  line-height: 1.2;
  color: white;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 10px;
  text-transform: none;
}

.hero-location {
  color: white;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-decoration: underline;
  font-family: "SportsWorldFont", "Arial Black", "Helvetica Bold", sans-serif;
  text-underline-offset: 8px;
}

.opening-in-text {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 60px;
  margin-bottom: 15px;
}

.countdown-label {
  color: white;
  font-size: 0.7rem;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* ========================================
   COUNTDOWN TIMER - Opening countdown display
   ======================================== */
.countdown {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 18px;
  flex-wrap: nowrap;
  align-items: center;
}

.countdown-item {
  background: transparent;
  padding: 0;
  text-align: center;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.countdown-number {
  color: white;
  font-size: 3rem;
  font-weight: 300;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
  font-family: "DangerOnMotorway", "Arial Black", "Helvetica Bold", sans-serif;
}

.ticker-item-renovation {
  position: absolute;
  left: 0;
  top: 500px;
  z-index: 1111;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 1.125rem;
}

.renovation-image {
  position: relative;
  top: 8px;
  left: 3px;
  display: inline-block;
  transform-origin: center center;
  width: 25px;
  height: 25px;
  /* animation: rotate-buffer 1s linear infinite; */
}

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

.countdown-label {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* ========================================
   CTA BUTTONS - Call-to-action buttons with animations
   ======================================== */
.cta-button {
  background: #e6000e;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  overflow: visible;
}

/* Subtle pulse animation to draw attention */
.cta-button {
  animation: ctaPulse 2.6s ease-in-out infinite;
}

/* Shine on hover */
.cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;

  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.cta-button:hover::after {
  left: 140%;
}

/* CTA button pulse animation to draw attention */
@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(230, 0, 14, 0.25), 0 0 0 0 rgba(230, 0, 14, 0);
    transform: translateZ(0) scale(1);
  }
  50% {
    box-shadow: 0 6px 18px rgba(230, 0, 14, 0.35),
      0 0 0 6px rgba(230, 0, 14, 0.12);
    transform: translateZ(0) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-button,
  .top-cta-button {
    animation: none !important;
  }
  .cta-button::after,
  .top-cta-button::after {
    transition: none;
  }
}

/* Gradient Filler between hero-overlay and location */
.hero-content-overlay::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  z-index: -1;
}

/* ========================================
   LOCATION SECTION - Map and location details
   ======================================== */
.location {
  background: transparent;
  margin-top: 120px;
  padding: 50px 150px;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-title {
  color: white;
  font-family: "SportsWorldFont", "Arial Black", "Helvetica Bold", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.map-container {
  position: relative;

  width: 100%;
  z-index: 2;
  overflow: visible; /* Ensure markers are visible */
}

.map-placeholder {
  position: relative;
  background: transparent; /* allow body background to show through faded areas */
  border-radius: 35px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* Allow markers to be visible outside the container */
}

/* Top overlay bar inside map placeholder */
.map-top-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
  pointer-events: none; /* let underlying map remain interactive */
}

.map-top-text {
  font-family: "sports-world", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.map-top-image {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

/* Whitish bottom tint so background looks lighter while fading out */
.map-placeholder::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  border-radius: 35px;
  pointer-events: none;
  z-index: 2; /* below ticker (z-index:5) and markers (10) */
}

/* Removed side overlays to avoid any color tint; edges remain fully transparent via image mask only */

/* removed conflicting full-cover ::after rule */

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 35px;
  /* Fade out the image towards the bottom without affecting children like the ticker */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.12) 15%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.8) 40%,
    rgba(0, 0, 0, 0.8) 60%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.12) 85%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.12) 15%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.8) 40%,
    rgba(0, 0, 0, 0.8) 60%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.12) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

.map-marker {
  position: absolute;
  text-align: center;
  color: white;
  z-index: 10;
  padding: 10px;
  border-radius: 8px;
}

/* Red marker for Century Cricket Centres (Center) */
.red-marker {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  padding: 0;
  position: absolute;
  z-index: 15;
  width: 100px;
  height: 90px;
  animation: markerFloat 3s ease-in-out infinite,
    markerPulse 2s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Map marker floating animation */
@keyframes markerFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}

/* Map marker pulsing animation */
@keyframes markerPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Ripple/ground highlight effect animation anchored to marker tip */
@keyframes markerRipple {
  0% {
    transform: translate(-50%, 0) rotateX(25deg) rotateZ(-1deg) scale(0.75);
    opacity: 0.85;
  }
  100% {
    transform: translate(-50%, 0) rotateX(25deg) rotateZ(-1deg) scale(1.35);
    opacity: 0;
  }
}

/* Ripple effect pseudo-element */
.red-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px; /* anchor near bottom tip of marker */
  width: 140px; /* elliptical shape for ground highlight */
  height: 44px;
  border: 3px solid rgba(255, 0, 0, 0.6);
  border-radius: 50%;
  transform: translate(-50%, 0) rotateX(25deg) rotateZ(-1deg);
  transform-origin: center center;
  animation: markerRipple 2s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

/* Second ripple effect with delay */
.red-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 170px;
  height: 54px;
  border: 2px solid rgba(255, 0, 0, 0.4);
  border-radius: 50%;
  transform: translate(-50%, 0) rotateX(25deg) rotateZ(-1deg);
  transform-origin: center center;
  animation: markerRipple 2s ease-out infinite 1s; /* delayed second ring */
  pointer-events: none;
  z-index: -1;
}

/* Hover effects */
.red-marker:hover {
  transform: translate(-50%, -50%) scale(1.1);
  animation-play-state: paused;
}

.red-marker:hover::before,
.red-marker:hover::after {
  animation-play-state: paused;
}

.cricket-logo {
  width: 43px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  animation: logoGlow 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

/* Glow animation for the cricket logo */
@keyframes logoGlow {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }
  50% {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
  }
}

/* Hover effect for cricket logo */
.red-marker:hover .cricket-logo {
  animation-play-state: paused;
  transform: scale(1.1);
  filter: brightness(1.3) drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

/* Address text positioned outside the red marker */
.red-marker .marker-address {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 24px;
  background: transparent;
  border: none;
  padding: 5px 10px;
  border-radius: 0;
  color: white;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  white-space: pre-line;
  line-height: 0.7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  min-width: 250px;
  animation: addressFade 4s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Fade animation for address text */
@keyframes addressFade {
  0%,
  100% {
    opacity: 0.8;
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
  }
}

/* Hover effect for address text */
.red-marker:hover .marker-address {
  animation-play-state: paused;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* Blue marker for Boat Basin (Left side) */
.blue-marker {
  top: 40%;
  left: 10%;
  background: transparent;
  border: none;
  padding: 0;
  position: absolute;
  z-index: 15;
  width: 50px;
  height: 60px;
  /* No animations for blue marker */
  animation: none;
  cursor: default;
}

/* Ensure blue marker image has no animations */
.blue-marker .marker-image {
  animation: none;
  transition: none;
}

/* Ensure blue marker content has no animations */
.blue-marker .marker-content {
  animation: none;
  transition: none;
}

.marker-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}

/* Animation only for red marker image */
.red-marker .marker-image {
  animation: markerImageBounce 2.5s ease-in-out infinite;
}

/* Bounce animation for the marker image */
@keyframes markerImageBounce {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-3px) rotate(1deg);
  }
  50% {
    transform: translateY(-6px) rotate(0deg);
  }
  75% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

/* Hover effect for marker image */
.red-marker:hover .marker-image {
  animation-play-state: paused;
  transform: scale(1.1) rotate(5deg);
}

.marker-content {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 16;
  color: white;
}

.truck-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* No animations for truck logo */
  animation: none;
  transition: none;
}

/* Address text positioned outside the marker */
.blue-marker .marker-address {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 20px;
  background: transparent;
  border: none;
  padding: 5px 10px;
  border-radius: 0;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  /* No animations for blue marker address */
  animation: none;
  transition: none;
}

.marker-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.marker-address {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  max-width: 150px;
}

.new-team-image {
  position: relative;
  top: 3px;
  left: -5px;
  object-fit: contain;
}

/* Auto-scrolling text ticker inside background image container */
.scrolling-ticker {
  position: absolute;
  bottom: 20px;
  height: 30px;
  overflow: hidden;
  white-space: nowrap;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 30px;
  cursor: pointer;
  opacity: 1;
  /* Fade visibility at left/right edges; center shows fewer items */
}

/* Blur only the sides; center remains sharp */
.scrolling-ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  /* Apply blur overlay only at sides via mask (narrow clear center) */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 42%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 58%,
    rgba(0, 0, 0, 1) 66%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 42%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 58%,
    rgba(0, 0, 0, 1) 66%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* Keep scrolling on hover */
.ticker-content {
  display: inline-flex;
  /* animation disabled to keep ticker fixed */
  animation: none;
  animation-delay: 0s;
  animation-play-state: paused;
  gap: 40px;

  align-items: center;
  flex-wrap: nowrap;
  width: max-content;

  transition: opacity 0.6s ease;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Do not pause on hover */
.ticker-content:hover {
  animation-play-state: paused;
  opacity: 1;
}

@keyframes location-scroll-left {
  0% {
    transform: translate3d(0%, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticker-item {
  display: inline-block;
  white-space: nowrap;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 400;
  flex-shrink: 0;
}

/* Navigation dots in ticker - styles are now in the main .nav-dot rule below */

.location-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Horizontal scrolling news ticker */
.news-ticker {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.news-ticker-content {
  display: inline-block;
  animation: scroll-left 30s linear infinite;
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

.news-ticker-content:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.hero-subtitle-extra{
  font-size: 23px !important;
}

.news-item {
  display: inline-block;
  margin-right: 50px;
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.news-item:last-child {
  border-right: none;
}

.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  display: inline-block;
  margin: 0 5px;
  vertical-align: middle;
  transition: background 0.3s ease;
}

.nav-dot.active {
  background: white;
  height: 12px;
}

.nav-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========================================
   TECHNOLOGY SECTION - Interactive tech cards with hover effects
   ======================================== */
.technology {
  background: transparent;
  margin-top: 120px;
  padding: 0px 150px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.technology .section-title {
  margin-bottom: 50px;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;

  margin: 0 auto;
}
.tech-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  z-index: 1;
  inset: -1rem 0;
}

.tech-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  letter-spacing: 1px;
  z-index: 30;
}

.sd-logo {
  width: 180px;
  object-fit: contain;
}

.sb-logo {
  width: 30%;
  object-fit: contain;
}
.tech-desc {
  font-size: 18px;
  margin-top: 10px;
  font-weight: 400;
}
.tech-powered {
  font-size: 10px;
  font-weight: 600;
  /* margin-bottom: 10px; */
  letter-spacing: 1px;
}

.tech-card:nth-child(1),
.tech-card:nth-child(2) {
  grid-column: span 3; /* Each takes 50% (3 out of 6 columns) */
}

/* Ensure top two tech cards are perfect squares */
.tech-card:nth-child(1) .tech-image,
.tech-card:nth-child(2) .tech-image {
  width: 100%;
  /* max-width: 300px;
  height: 360px;   */
  margin: 0 auto;
  height: 320px;
}

/* Bottom three slightly smaller */
.tech-card:nth-child(3) .tech-image,
.tech-card:nth-child(4) .tech-image,
.tech-card:nth-child(5) .tech-image {
  width: 100%;
  /* max-width: 300px;
  height: 360px;   */
  margin: 0 auto;
  height: 300px;
}

.tech-card:nth-child(3),
.tech-card:nth-child(4),
.tech-card:nth-child(5) {
  grid-column: span 2; /* Each takes 33.33% (2 out of 6 columns) */
  grid-row: 2;
}

.tech-content {
  padding: 12px 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-12px) translateZ(20px) rotateX(4deg) rotateY(2deg)
    scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 10px 25px rgba(0, 0, 0, 0.2),
    0 0 0 2px rgba(255, 255, 255, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.3),
    0 0 30px rgba(255, 255, 255, 0.1);
  filter: brightness(1.15) saturate(1.2) contrast(1.05);
  backdrop-filter: blur(10px);
}

.tech-image,
.tech-image-img {
  display: flex;
  flex-direction: column;
  border-radius: inherit; /* match card rounding */
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: relative;
}

/* Apply bottom fade only to the image, not the whole card/content */
.tech-image-img {
  -webkit-mask-image: linear-gradient(
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.8) 68%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    rgb(0, 0, 0) 28%,
    rgba(0, 0, 0, 0.8) 38%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Hover image overlay effect */
.tech-image {
  position: relative;
  overflow: hidden;
}

.tech-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: rotateY(180deg);
  transition: opacity 0.7s ease, transform 0.7s ease;
  z-index: 2;
  border-radius: 12px;
}

/* Specific hover images for each card */
.tech-card:nth-child(1) .tech-image::before {
  background-image: url("../images/ball_tracking_hover.webp");
}

.tech-card:nth-child(2) .tech-image::before {
  background-image: url("../images/bat_sensor_hover.webp");
  margin-top: 20px;
}

.tech-card:hover .tech-image::before {
  opacity: 1;
  transform: rotateY(0deg) scale(1.1) rotate(2deg);
  filter: brightness(1.1) saturate(1.2);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.tech-card:hover .tech-image img {
  opacity: 0.2;
  transform: scale(1.15) rotate(-1deg);
  filter: blur(1px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* First card - completely hide original image on hover */
.tech-card:nth-child(1):hover .tech-image img {
  opacity: 0;
  transform: scale(1.15) rotate(-1deg);
  filter: blur(2px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Second card - completely hide original image on hover */
.tech-card:nth-child(2):hover .tech-image img {
  opacity: 0;
  transform: scale(1.15) rotate(-1deg);
  filter: blur(2px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Cards 3, 4, 5 - hover image covers entire card including text */
.tech-card:nth-child(3)::before,
.tech-card:nth-child(4)::before,
.tech-card:nth-child(5)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: rotateY(180deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 10;
  border-radius: 16px;
  pointer-events: none;
}

.tech-card:nth-child(3)::before {
  background-image: url("../images/fully_automated_bowling_machine_hover.webp");
}

.tech-card:nth-child(4)::before {
  background-image: url("../images/cricket_simulator_and_live_replay_hover.webp");
}

.tech-card:nth-child(5)::before {
  background-image: url("../images/century_cricket_member_app_hover.webp");
}

.tech-card:nth-child(3):hover::before,
.tech-card:nth-child(4):hover::before,
.tech-card:nth-child(5):hover::before {
  opacity: 1;
  transform: rotateY(0deg) scale(1.05) rotate(1deg);
  filter: brightness(1.1) saturate(1.2);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Cards 3, 4, 5 - hide all content on hover */
.tech-card:nth-child(3):hover .tech-content,
.tech-card:nth-child(4):hover .tech-content,
.tech-card:nth-child(5):hover .tech-content {
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  filter: blur(2px);
}
.tech-card:nth-child(1):hover .hover-content,
.tech-card:nth-child(2):hover .hover-content,
.tech-card:nth-child(3):hover .hover-content,
.tech-card:nth-child(4):hover .hover-content,
.tech-card:nth-child(5):hover .hover-content {
  opacity: 1;
  transform: translate(-50%, -52%) scale(1.05);
  filter: brightness(1.1) saturate(1.1);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
/* Cards 1, 2 - hide bottom content on hover flip */
.tech-card:nth-child(1):hover .tech-content,
.tech-card:nth-child(2):hover .tech-content {
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  filter: blur(2px);
}

.tech-card:nth-child(3):hover .tech-image img,
.tech-card:nth-child(4):hover .tech-image img,
.tech-card:nth-child(5):hover .tech-image img {
  opacity: 0;
  transform: scale(1.15) rotate(-1deg);
  filter: blur(2px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Premium transition for tech card hover */
.tech-card {
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}
.hover-content {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 100%;
  padding: 0 15px;
  text-align: center;
  z-index: 10;
}
.hover-content .hover-content-title {
  font-size: 1.3rem;
}
.tech-card:nth-child(1):hover .hover-content .hover-content-title,
.tech-card:nth-child(2):hover .hover-content .hover-content-title {
  font-size: 1.5rem;
}
/* Fade out images from bottom in cards 3, 4, and 5 */
/* Bottom cards now use the same image mask as top cards */

.tech-card h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.tech-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
}
/* ========================================
   FACILITIES SECTION - Gym amenities and features
   ======================================== */
.facilities {
  background: transparent;
  margin-top: 120px;
  padding: 0px 150px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.facilities-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0 auto;
}

.facility-card {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.09) 70%,
    rgba(255, 255, 255, -0.88) 100%
  );
  border-radius: 12px;
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}

.facility-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  border-radius: 16px; /* Match the card's border-radius */
  pointer-events: none;
  z-index: 1;
}

.facility-image {
  margin-bottom: 20px;
  border-radius: 12px;
}

.facility-image img {
  width: 100%;
  height: 100%;
  height: 240px;
  border-radius: 12px;

  object-fit: cover;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0.6) 75%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0.6) 75%,
    rgba(0, 0, 0, 0) 100%
  );
}

.facility-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 22px;
  z-index: 2;
  position: relative;
  margin-bottom: 30px;
}

/* Community Section */
.community {
  background: transparent;
  margin-top: 120px;
  padding: 0px 150px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.community-grid {
  display: flex;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  /* Hide scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.community-grid::-webkit-scrollbar {
  display: none; /* WebKit */
}

.community-scroll-container {
  display: flex;
  gap: 10px;
  animation: autoScroll 20s linear infinite;
  width: max-content;
}

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

.community-scroll-container:hover {
  animation-play-state: paused;
}

.community-card {
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  height: auto;
  width: auto;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.community-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.09) 70%,
    rgba(255, 255, 255, 0.12) 100%
  );

  border-radius: 16px; /* Match the card's border-radius */
  pointer-events: none;
  z-index: 1;
}

.community-card .community-desc {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding-bottom: 10px;
}

.community-image {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  height: 100%;
  width: 100%;
}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0.6) 65%,
    rgba(0, 0, 0, 0.2) 75%,
    rgba(0, 0, 0, 0) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 55%,
    rgba(0, 0, 0, 0.6) 65%,
    rgba(0, 0, 0, 0.2) 75%,
    rgba(0, 0, 0, 0) 90%,
    rgba(0, 0, 0, 0) 100%
  );
}

.community-desc {
  color: white;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  position: absolute;
  bottom: 0;
  padding: 0 10px;
  z-index: 2;
}

/* Scroll dots indicator */
.community-scroll-dots {
  display: flex;
  justify-content: center;
  gap: 12px;

  position: relative;
  z-index: 10;
}

.scroll-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.scroll-dot.active {
  background: white;
  transform: scale(1.2);
}

.scroll-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s ease;
}

.scroll-dot:hover::before {
  background: rgba(255, 255, 255, 0.1);
}

/* Pulsing animation for active dot */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.scroll-dot.active {
  animation: pulse 2s infinite;
}

/* ========================================
   MEMBERSHIP SECTION - Pricing plans and features
   ======================================== */
.membership {
  background: transparent;
  margin-top: 100px;
  padding: 0px 150px;
  text-align: center;
  position: relative;
  z-index: 1;
  position: relative;
  z-index: 2;
}

.membership-table {
  background: rgba(255, 255, 255, 0.1); /* White background with low opacity */
  border-radius: 12px;
  overflow: visible;
  width: 100%;
  padding: 20px 24px;
  margin: 0 auto 30px;
}

.table-container {
  display: flex;
  min-height: 500px;
}

.plan-offering-column {
  flex: 2;

  display: flex;
  flex-direction: column;
}

.plan-offering-header {
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 20px 0 20px 0;
  font-size: 1.5rem;
}

.plan-offering-features {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-offering-features .feature-name {
  color: white;
  font-weight: 400;
  text-align: left;
  padding: 15px 0 15px 0;
  font-size: 1.2rem;
  min-height: 60px;
  flex: 1;
  display: flex;
  align-items: center;
}

.table-divider {
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  margin: 40px 0;
  align-self: stretch;
}

.plans-container {
  flex: 3;
  display: flex;
}

.plan-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-header {
  color: white;
  font-weight: 600;
  text-align: center;
  padding: 20px 5px;
  font-size: 1.5rem;
}

.popular-overlay {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #f7cc19;
  color: #000;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-features .feature-check,
.plan-features .feature-dot,
.plan-features .feature-value {
  padding: 15px 10px;
  text-align: center;

  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-check img,
.feature-dot img {
  width: 20px;
  height: 20px;
}

.feature-value {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Highlight the Standard column (2nd plan column) with a complete rounded box */
.plan-column:nth-child(2) {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  border-radius: 12px;
  margin: 0 5px;
}

.feature-check {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-dot {
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-dot img {
  width: 20px;
  height: 20px;
}

.feature-value {
  color: white;
  font-size: 0.9rem;
  text-align: center;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.view-all {
  margin-top: 20px;
  display: block;
  text-align: center;
  position: relative;
  z-index: 5;
}

.view-all-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid white;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.view-all-link:hover {
  background: white;
  color: #111630;
}

/* Perks Section */
.perks {
  background: transparent;
  padding: 60px 150px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.perks-grid {
  display: flex; /* Single horizontal row */
  flex-wrap: nowrap;
  max-width: 100%;
  margin: 0 auto;
  justify-content: space-around;
  gap: 40px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 10px; /* breathing room for scrollbar */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  justify-items: center;
}

/* Perks background overlay */
.perks::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-size: cover;
  opacity: 0.35;
  z-index: 0;
}

.perks > * {
  position: relative;
  z-index: 1;
}

.perk-card {
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease;
  flex: 0 0 280px; /* fixed width for single-row layout */
}

.perk-icon {
  margin-bottom: 10px;
}

.perk-icon img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.perk-desc {
  color: white;
  font-size: 1.25rem;
  font-weight: 400;
}

/* Features Section - Mobile Optimized */
.features {
  background: transparent;
  text-align: center;
  position: relative;
  height: 720px;
  z-index: 1;
}
.brand-section-bg {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/footer_bg_1.svg") no-repeat left center;
  background-size: 80% 100%;
  opacity: 0.6;
  z-index: 0;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/features-vector.svg") no-repeat center center;
  background-size: cover;
  z-index: 0;
}

.features-content {
  position: relative;
  height: 100%;
  padding: 64px 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.feature-text {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 400;
  width: 100%;
  line-height: 1.5;
  font-family: "SportsWorldFont", "Arial Black", "Helvetica Bold", sans-serif !important;
}

.features-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  flex: 1;
  gap: 0;
}

.feature-item {
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  /* width: 100px;
    height: 45px; */
  /* border: 2px solid white; */
  /* border-radius: 50%; */
  /* display: flex; */
  align-items: center;
  justify-content: center;
  /* font-size: 1.1rem; */
  /* font-weight: 400; */
  /* background: rgba(255,255,255,0.1); */
}

.feature-icon img {
  width: 100px;
  height: 100px;
}

.feature-item-text {
  font-weight: 400;
  font-size: 1.2rem;
}

/* Center Overview Section - Mobile Optimized */
.overview {
  background: #fff;
  z-index: 1;
  position: relative;
}

.overview-description {
  text-align: center;
  margin: 0 auto 20px;
  color: #21295a;
  font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  justify-items: center;
}

.overview-card {
  display: flex;
  flex: 1;
  width: 100%;
  /* width: 342px; */
  height: 300px;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  font-size: 1.75rem;
  border: none;
  border-radius: 16px;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: lightgray 50% / cover no-repeat;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.overview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.overview-card img {
  display: none;
}

/* Background images for each card */
.overview-card.lanes {
  background-image: url("../images/7laneimg.png");
}

.overview-card.technology {
  background-image: url("../images/advance_technologyimg.png");
}

.overview-card.parking {
  background-image: url("../images/loads_of_free_parkingimg.png");
}

.overview-card.gym {
  background-image: url("../images/fully_quipped_gymimg.png");
}

.overview-card.hours {
  background-image: url("../images/24_7_operational_hours.png");
  background-position: 80% 40%;
}

.overview-card-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  padding: 0 20px;
}

.toggle-buttons {
  display: flex;
  justify-content: center;
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 4px;
  margin: 24px auto;
  width: fit-content;
  position: relative;
}

.toggle-btn {
  padding: 0.75rem 2rem;
  background: #ffffff;
  color: #1a237e;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 0.8rem;
  min-height: 40px;
  position: relative;
  overflow: hidden;
}

.toggle-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s ease;
}

.toggle-btn:hover::before {
  left: 100%;
}

.toggle-btn.active {
  color: #ffffff;
  background: #21295a;
  box-shadow: 0 2px 8px rgba(26, 35, 126, 0.15);
  transform: scale(1.02);
}

.toggle-btn.active:hover {
  color: #ffffff;
  background: #21295a;
}

.toggle-btn:hover {
  color: #21295a;
  background: rgba(26, 35, 126, 0.05);
}
.membership-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  max-width: 1400px;
  /* padding: 40px 40px; */
  margin-bottom: 20px;
  min-height: 0;
}

.membership-card {
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: white;
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #1a2148;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 400px;
  max-width: 380px;
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Add subtle inset border to membership variants without affecting layout */
.plan-column {
  border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.10); 
}

.plan-column:nth-child(2) {
  border: none;
}

.membership-card::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 200px;
  height: 200px;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 0.8;
}

.membership-card.standard {
  /* background: linear-gradient(135deg, #00695C 0%, #004D40 100%); */
  background-image: url("../images/standard.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.membership-title-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.membership-card.premium {
  background-image: url("../images/premium.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.membership-card.family {
  background-image: url("../images/family.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.membership-header {
  text-align: left;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.membership-description {
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: left;
}

.popular-tag {
  position: absolute;
  right: 0;
  margin-right: 30px;
  background: #ffd700;
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  width: fit-content;
  white-space: nowrap;
}

.membership-title {
  font-size: 1.5rem;
  font-weight: 500;
}

.price-old {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}
.price-current {
  font-size: 1.75rem;
  font-weight: 500;
  color: #ffd700;
  transition: all 0.3s ease;
}

.price-period {
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Price transition effects - Safari optimized */
.price-current {
  position: relative;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  will-change: transform, opacity;
}

.price-current .price-value {
  display: inline-block;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  -webkit-transform-origin: center;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.price-current .price-value.slide-out-left {
  transform: translate3d(-100%, 0, 0) scale(0.8);
  -webkit-transform: translate3d(-100%, 0, 0) scale(0.8);
  opacity: 0;
}

.price-current .price-value.slide-in-right {
  transform: translate3d(100%, 0, 0) scale(0.8);
  -webkit-transform: translate3d(100%, 0, 0) scale(0.8);
  opacity: 0;
}

.price-current .price-value.slide-in-center {
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.price-old {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  will-change: transform, opacity;
}
/* Hidden offering styles for table */
.hidden-offering {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(-10px);
  display: none !important;
  max-height: 0;
  overflow: hidden;
}

.hidden-offering.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  display: flex !important;
  max-height: 100px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure proper alignment in table */
.plan-offering-features .feature-name.hidden-offering.visible {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important; /* Left align for plan offerings */
  text-align: left !important; /* Ensure text alignment is left */
  padding: 15px 20px 15px 0 !important; /* Match the padding of regular feature-name */
  font-size: 1.2rem; /* Match the font size */
  color: white !important; /* Match the color */
  font-weight: 400 !important; /* Match the font weight */
}

.plan-features .hidden-offering.visible {
  display: flex !important;
  align-items: center;
  justify-content: center; /* Center align for plan features (check/cross icons) */
}

/* Button states */
.view-all-link.expanded {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.view-all-link.expanded:hover {
  background: rgba(255, 255, 255);
  transform: translateY(-2px);
}

.view-all-link {
  transition: all 0.3s ease;
  position: relative;
}

.popular-plan {
  position: relative;
  background: linear-gradient(135deg, #21295a 0%, #1a237e 100%);
  color: white;
}

.popular-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: #ff6b35;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.feature-value-text {
  font-weight: 500;
  color: #fff;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #666;
}

/* For feature-check and feature-dot classes */
.feature-check.hidden-offering.visible,
.feature-dot.hidden-offering.visible,
.feature-value.hidden-offering.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
}

/* Desktop hover effects - full 3D lift effects for mouse users */
@media (hover: hover) and (pointer: fine) {
  .membership-card:hover {
    transform: translateY(-12px) translateZ(20px);

    background-color: #1e2552;
  }

  .membership-card.standard:hover {
    background-color: #1e2552;
  }

  .membership-card.premium:hover {
    transform: translateY(-15px) translateZ(25px);

    background-color: #1e2552;
  }

  .membership-card.family:hover {
    background-color: #1e2552;
  }
}

@keyframes priceGlow {
  0% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: translate3d(0, 0, 0) scale(1.05);
    -webkit-transform: translate3d(0, 0, 0) scale(1.05);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    transform: translate3d(0, 0, 0) scale(1.02);
    -webkit-transform: translate3d(0, 0, 0) scale(1.02);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    transform: translate3d(0, 0, 0) scale(1);
    -webkit-transform: translate3d(0, 0, 0) scale(1);
  }
}

@-webkit-keyframes priceGlow {
  0% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    -webkit-transform: translate3d(0, 0, 0) scale(1.05);
  }
  50% {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    -webkit-transform: translate3d(0, 0, 0) scale(1.02);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    -webkit-transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Safari-specific optimizations */
@supports (-webkit-appearance: none) {
  .price-current .price-value,
  .price-old .old-price-value {
    transition-duration: 0.7s;
    -webkit-transition-duration: 0.7s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .price-current .price-value.slide-out-left,
  .price-old .old-price-value.slide-out-left {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .price-current .price-value.slide-in-center,
  .price-old .old-price-value.slide-in-center {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Force hardware acceleration for Safari */
  .price-current,
  .price-old {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
}

.price-savings {
  background: #10b981;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin: 8px 0;
  display: inline-block;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.membership-description {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.membership-features {
  gap: 4px;
  list-style: none;
  margin: 5px 0;
  flex-grow: 1;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hidden-feature {
  margin-top: 0;
  display: none;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
}

.hidden-feature.visible {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  max-height: 100px !important;
  margin-top: 0;
  padding-top: 4px;
  transition: all 0.3s ease;
  align-items: flex-start;
}

/* Smooth transition for the Show More button text change */
.centralized-show-more-btn {
  transition: all 0.3s ease, transform 0.2s ease;
}

/* Ensure hidden features are properly scoped to their parent cards */

.show-more-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: center;
  flex-shrink: 0;
  width: fit-content;
  margin-top: 0px;
}

.show-more-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.show-more-btn.expanded {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.show-more-btn.expanded:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Mobile-only show more buttons */
.mobile-only {
  display: block;
}

/* Common Show More button for desktop/tablet */
.common-see-more-container {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 30px;
  display: none;
  /* Hidden by default on mobile */
}

.common-see-more-btn {
  background: #1a237e;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.common-see-more-btn:hover {
  background: #0d47a1;
  transform: translateY(-2px);
}

.common-see-more-btn.expanded {
  background: #0d47a1;
}

.common-see-more-btn.expanded:hover {
  background: #0a3d91;
  transform: translateY(-2px);
}

.visible-feature {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.membership-features li:last-child {
  margin-bottom: 0;
}

.plan-offering-column {
 padding-right: 40px;
}

.membership-features {
  list-style: none;
  margin: 5px 0;
  text-align: left;

  width: 100%;
}

.checkmark {
  width: 12px;
  height: 12px;
  margin-right: 0.75rem;
  margin-top: 0.15rem;
  background-image: url("../images/tick.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 5px;
  flex-shrink: 0;
}

/* Brand Section - Below Membership */
.brand-section {
  background: linear-gradient(to bottom, #111630 0%, #4e1028 100%);
  color: white;
  padding: 60px 0px;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.brand-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 35%;
  right: 0;
  bottom: 0;
  background: url("../images/footer_bg.svg") no-repeat center center;
  background-size: 60% 100%;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* Fill the rounded corners of sticky footer */
.brand-section::after {
  content: "";
  position: absolute;
  bottom: -2rem;
  left: 0;
  right: 0;
  height: 2rem;
  background: transparent;
  z-index: 1;
}

.brand-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px 150px;
  position: relative;
  z-index: 1;
}

.brand_logo_img {
  width: 11.5rem;
  height: 8.625rem;
}

.brand-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  text-align: left;
  margin-top: 20px;
}

.brand-copyright {
  font-size: 0.75rem;
  color: #fff;
  margin-top: 20px;
}

.brand-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 20px;
}

.brand-links a {
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.brand-links a:hover {
  opacity: 1;
}

/* Footer removed */

/* ========================================
   REGISTRATION MODAL - Waitlist signup form
   ======================================== */
.register-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  /* Prevent zoom on Android devices */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Ensure modal stays within viewport */
  overflow: hidden;
  /* Prevent Android zoom on input focus */
  touch-action: manipulation;
}

.register-overlay.visible {
  display: flex;
}

.register-modal {
  width: min(92vw, 420px);
  max-width: 420px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 22px 18px;
  box-shadow: 0 100px 80px rgba(0, 0, 0, 0.07), 0 41px 33px rgba(0, 0, 0, 0.05),
    0 22px 18px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03),
    0 6px 5px rgba(0, 0, 0, 0.02), 0 3px 2px rgba(0, 0, 0, 0.02);
  position: relative;
  /* Prevent zoom on Android devices */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Ensure modal content is scrollable if needed */
  overflow-y: auto;
  /* Prevent Android zoom on input focus */
  touch-action: manipulation;
  /* Ensure modal stays centered and within viewport */
  margin: auto;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.register-title {
  margin: 4px 0 2px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: rgba(21, 29, 65, 1);
}

.register-subtitle {
  margin: 0 0 1.5rem;
  font-size: 12px;
  color: rgba(16, 21, 47, 1);
}

.register-form {
  display: grid;
}

.register-label {
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 0.125rem;
}

/* Make asterisks red in register labels */
.email-label::after,
.name-label::after {
  content: " *";
  color: #dc2626;
}

.register-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 12px 14px;
  margin-bottom: 1rem;
  font-size: 16px;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  height: 48px;
  box-sizing: border-box;
  /* Prevent Android zoom on input focus */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Ensure minimum font size to prevent zoom */
  font-size: max(16px, 1rem);
  /* Prevent zoom on Android devices */
  touch-action: manipulation;
  /* Prevent iOS zoom */
  -webkit-appearance: none;
  appearance: none;
}

.register-input::placeholder {
  color: #9ca3af;
}

.register-input:focus {
  border-color: #1a237e;
  box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.12);
}

.register-phone-container {
  position: relative;
  margin-bottom: 1rem;
}

.register-country-code {
  position: absolute;
  left: 12px;
  top: calc(50% - 7px);
  transform: translateY(-50%);
  font-size: 17px;
  color: rgba(33, 41, 90, 1);
  font-weight: 500;
  z-index: 2;
  text-align: center;
  min-width: 40px;
  pointer-events: none;
}

.register-phone {
  padding-left: 70px !important;
}

/* Error message container styles */
.error-message-container {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 0.875rem;
}

.error-message-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.error-message-content .error-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Field-specific error styles */
.field-error {
  position: relative;
  top: -18px;
  margin-bottom: 0.5rem;
  color: #dc2626;
  font-size: 0.8rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  animation: slideDown 0.2s ease-out;
}

#email-error {
  top: -2px;
  left: 0;
}

#phone-error {
  top: -18px;
}

.field-error-icon {
  font-size: 0.875rem;
  flex-shrink: 0;
}

.field-error-text {
  flex: 1;
}

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

/* Input field error state */
.register-input.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px #dc2626;
}

.register-input.error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

/* Global Android zoom prevention */
@media screen and (max-width: 768px) {
  /* Prevent zoom on Android devices globally */
  html, body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    /* Prevent zoom on Android */
    touch-action: manipulation !important;
  }
  
  /* Ensure all inputs have minimum font size to prevent zoom */
  input, textarea, select {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    touch-action: manipulation !important;
  }
}

/* Android-specific fixes to prevent modal zoom */
@media screen and (max-width: 768px) {
  .register-overlay {
    /* Force viewport to stay stable on Android */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    /* Prevent Android zoom */
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    /* Ensure modal stays within bounds */
    overflow: hidden !important;
  }
  
  .register-modal {
    /* Ensure modal fits within viewport */
    max-width: 90vw !important;
    max-height: 85vh !important;
    /* Prevent zoom on Android */
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    /* Force hardware acceleration */
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    /* Ensure modal is scrollable if content overflows */
    overflow-y: auto !important;
    /* Prevent Android zoom on input focus */
    touch-action: manipulation !important;
  }
  
  /* Prevent Android zoom when inputs are focused */
  .register-input:focus {
    /* Prevent zoom by ensuring font size is at least 16px */
    font-size: 16px !important;
    /* Prevent Android zoom */
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    /* Prevent zoom on Android devices */
    touch-action: manipulation !important;
  }
}

.register-submit {
  margin: 1.5rem 0;
  width: 100%;
  border: none;
  border-radius: 9999px;
  background: #1a237e;
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(26, 35, 126, 0.25);
}

.register-submit:hover {
  filter: brightness(1.05);
}

.register-fineprint {
  margin: -5px 0 0;
  text-align: center;
  color: #6b7280;
  font-size: 12px;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: #fff url("../images/cross_img.svg") no-repeat center;
  background-size: 20px 20px;
  cursor: pointer;
  font-size: 0;
  color: transparent;
  z-index: 10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.close-btn:hover {
  background: #f3f4f6 url("../images/cross_img.svg") no-repeat center;
  background-size: 20px 20px;
}

.submit-btn {
  margin-bottom: 1rem;
  width: 100%;
  border: none;
  border-radius: 9999px;
  background: #21295a;
  color: #fff;
  padding: 1rem;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
}

.submit-btn:hover {
  filter: brightness(1.05);
}

.submit-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  filter: none;
}

.submit-btn:disabled:hover {
  filter: none;
}

/* reCAPTCHA styling */
.g-recaptcha {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  transform: scale(0.9);
  transform-origin: center;
}

.g-recaptcha {
  transform: scale(0.8);
  margin-bottom: 0.75rem;
}

/* Membership grid styling */
.membership-grid {
  display: flex;
  gap: 15px;
  padding: 0 15px;
  margin: 0 auto;
  max-width: 100%;
  justify-content: center;
}

/* Ensure Show More button is properly positioned below the scrollable grid */
.centralized-show-more {
  margin-top: 20px;
  padding: 15px 0;
}

.membership-card {
  flex: 1;
  max-width: 300px;
  min-width: 250px;
  margin: 0;
  /* min-height: 360px; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Remove the scroll indicators since we want clean one-at-a-time viewing */
.membership-grid::before,
.membership-grid::after {
  display: none;
}

/* Mobile centralized show more button */
.centralized-show-more {
  margin-top: 30px;
  padding: 20px 0;
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Membership section styling */
.membership {
  padding-bottom: 40px;
}

.centralized-show-more-btn {
  font-size: 14px;
}

/* Centralized Show More Button */
.centralized-show-more {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 30px;
  padding: 20px 0;
  display: block;
  /* Ensure it's visible by default */
}

.centralized-show-more-btn {
  background: white;
  color: black;
  border: 1px solid black;
  border-radius: 100px;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;

  position: relative;
  overflow: hidden;
}

.centralized-show-more-btn:hover {
  background: #f8f9fa;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Edge-to-edge membership slider on mobile */
/* moved into consolidated tablet-only rules above */

.centralized-show-more-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.centralized-show-more-btn.expanded {
  background: #f8f9fa;
  border-color: #333;
}

.centralized-show-more-btn.expanded:hover {
  background: white;
  color: black;
  border-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Error Modal Styling */
.error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.error-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.error-modal {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.error-overlay.visible .error-modal {
  transform: scale(1);
}

.error-icon {
  margin-bottom: 20px;
}

.error-title {
  color: #dc2626;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.error-message {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 24px;
  font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  max-width: 100%;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.error-retry-btn {
  background: #dc2626;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.error-retry-btn:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.error-close-btn {
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.powered-by {
  display: flex;
  align-items: start;
  justify-content: start;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}
.error-close-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}
/* ========================================
   STICKY FOOTER - Mobile CTA that slides up on scroll
   ======================================== */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
  background: linear-gradient(135deg, #111630 0%, #4e1028 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.3);
  gap: 1rem;
  width: 100%;
  max-width: 1500px;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.3s ease-out, visibility 0.3s ease-out;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  padding: 0 1rem;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity, visibility;
  padding-bottom: calc(env(safe-area-inset-bottom) + 8px);
}

.sticky-footer.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  animation: stickyFooterSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Sticky footer slide-in animation */
@keyframes stickyFooterSlideIn {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.sticky-footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px 20px 10px;
  gap: 8px;
}

.sticky-footer-text {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Ensure CTA inside sticky footer doesn't animate separately */
.sticky-footer .cta-button {
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.2s ease;
}

.sticky-footer .cta-button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile-specific optimizations */
.countdown {
  flex-direction: row;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.hero-subtitle-text {
  font-weight: 600;
}

.countdown-item {
  min-width: 60px;
  padding: 0;
}

.countdown-number {
  font-size: 45px;
}

.countdown-label {
  font-size: 0.8rem;
}

.overview-grid {
  gap: 16px;
  margin: 0 auto;
}

.overview-card-content {
  font-size: 20px;
  line-height: 24px;
}

.membership-grid {
  gap: 6px;
}

/* Ensure proper mobile spacing */
.hero {
  padding: 10px;
}

.persk-button {
  margin-top: 20px;
}

.footer {
  padding: 20px 15px 12px;
}

/* Mobile touch improvements */
.cta-button,
.toggle-btn,
.membership-card,
.overview-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Remove blue highlight/background on focused/active links and icons */
a,
.social-icons a,
.social-item a {
  -webkit-tap-highlight-color: transparent;
}
.social_logo {
  padding: 0px 20px;
}
.social_logo_item {
  padding: 0px 10px;
}

.social-item button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

a:focus,
a:active,
.social-icons a:focus,
.social-icons a:active,
.social-item a:focus,
.social-item a:active,
.social-icon:focus,
.social-icon:active {
  outline: none;
  box-shadow: none;
  background: transparent;
}

/* Prevent text selection on mobile */
.cta-button,
.toggle-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Success Modal - Exact Match */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 10000;
  backdrop-filter: blur(2px);
}

.success-overlay.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.success-modal {
  background: white;
  border-radius: 12px;
  padding: 32px 28px 28px 28px;
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease-out;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.success-content {
  text-align: center;
}

.success-checkmark {
  margin-bottom: 24px;
}

.checkmark-circle {
  width: 56px;
  height: 56px;
  background: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: scaleIn 0.4s ease-out;
}

.success-title {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 32px 0;
  line-height: 1.3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.separator-line {
  height: 1px;
  background: #bcbfce;
  margin: 0 0 24px 0;
}

.share-section {
  text-align: center;
}

.share-heading {
  font-size: 16px;
  color: rgba(33, 41, 90, 1);
  margin: 0 0 16px 0;
  font-weight: 400;
  text-align: left;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.social-item img {
  width: 48px;
  height: 48px;
}

.mail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #bdbdbd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mail-icon img {
  width: 24px;
  height: 24px;
}

.social-icon:hover {
  transform: scale(1.05);
}

.social-icon.whatsapp {
  background: #25d366;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.social-icon.email {
  background: #999;
}

.social-label {
  font-size: 12px;
  color: rgba(33, 41, 90, 1);
  font-weight: 400;
}

.share-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
}

.share-input-group input {
  color: rgba(33, 41, 90, 1);
}

#share-link {
  flex: 1;
  background: transparent;
  border: 1px solid #bcbfce;

  padding: 12px 16px;
  font-size: 14px;
  color: #666;
  outline: none;
  border-radius: 8px;
}

.copy-btn {
  background: #21295a;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent; /* remove blue tap highlight on iOS */
}

.copy-btn:hover {
  background: #2c3e50;
}

.copy-btn:active {
  background: #1a252f;
}

/* Remove blue outline/glow on focus/active */
.copy-btn:focus,
.copy-btn:focus-visible,
.copy-btn:active {
  outline: none;
  box-shadow: none;
}

/* Copied state */
.copy-btn.copied {
  background: #16a34a; /* green */
}

.copy-btn.copied:hover {
  background: #15803d; /* darker green */
}

.copy-btn.copied:active {
  background: #166534; /* even darker */
}

/* Disabled state while copied */
.copy-btn:disabled,
.copy-btn.copied:disabled {
  cursor: not-allowed;
  opacity: 0.9;
}

/* FAQ Section Styles */
.faq {
  padding: 80px 150px;
  position: relative;

  overflow: hidden;
}

.faq-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border-radius: 16px;
  padding: 0px 20px;
  background: rgba(255, 255, 255, 0.1);
}

.faq-title {
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  color: #ffffff;
  font-family: "SportsWorldFont", "Arial Black", "Helvetica Bold", sans-serif !important;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}
.faq .section-title {
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:focus {
  outline: none;
  background: none;
}

.faq-question:active {
  background: none;
  outline: none;
}

.faq-question h3 {
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  flex: 1;
  padding-right: 20px;
  line-height: 1.4;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.6;
  padding: 0 30px 25px 0;
}

.faq-answer-p {
  padding: 0 30px 5px 0 !important;
}

.faq-answer ul {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  padding: 0 0 24px 30px;
  list-style: none;
}

.faq-answer li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.faq-answer li::before {
  content: "•";
  color: #ffffff;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}
/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@media (max-width: 400px) {
  .plan-offering-header {
    font-size: 12px !important;
  }
  .plan-header {
    font-size: 12px !important;
  }
  .plan-offering-features .feature-name {
    padding: 20px 15px !important;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
/* ========================================
   MOBILE RESPONSIVE STYLES (max-width: 560px)
   ======================================== */
@media (max-width: 560px) {
  .hero::before {
    background: linear-gradient(
      to top,
      #121a40 40%,
      #121a40 10%,
      rgba(18, 26, 64, var(--overlayAlpha, 0)) var(--overlayStop, 60%)
    );
  }
  .persk-button {
    display: none;
  }

  .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #111630 20%, #4e1028 100%);
    z-index: -1;
    pointer-events: none;
  }

  .membership-table {
    display: flex;
    flex-direction: row;
    border-radius: 0;
  }

  .facility-image {
    margin-bottom: 10px;
  }

  .facility-image img {
    height: 120px;
  }
  .facility-desc {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .hero-content {
    padding-top: 70vh;
  }

  header {
    display: flex;
  }

  .location {
    padding: 25px 20px;
    margin-top: 30px;
  }
  .scrolling-ticker .ticker-content {
    animation: none !important;
    animation-play-state: paused !important;
    transform: translate3d(0, 0, 0) !important;
    gap: 20px;
  }
  .section-title {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .map-container {
    height: 500px;
  }
  .map-placeholder {
    height: 500px;
    min-height: 450px;
  }
  .truck-logo {
    width: 20px;
    height: 20px;
  }
  .logo {
    padding: 0;
    margin-top: 0;
  }

  .red_marker_image {
    left: 20px;
  }

  .cricket-logo {
    position: relative;
    top: -5px;
    left: 20px;
  }

  .top-cta-button {
    display: none;
  }

  .header-content {
    justify-content: center;
  }
  /* Technology section: sticky title and stacked reveal on scroll */
  .technology {
    padding: 0 20px;
    /* Extra bottom space so the last sticky card can reach its pin position */
    padding-bottom: 16px;
  }
  /* Make card 5 non-interactive on small screens */
  .tech-card:nth-child(5),
  .tech-card:nth-child(4),
  .tech-card:nth-child(3),
  .tech-card:nth-child(2),
  .tech-card:nth-child(1) {
    pointer-events: none !important;
  }
  .technology .section-title {
    top: 100px; /* keep below header */
    z-index: 5;

    padding: 0 0 0;
  }

  .map-image {
    border-radius: 20px;
  }

  .tech-card:nth-child(1):hover,
  .tech-card:nth-child(4):hover,
  .tech-card:nth-child(5):hover {
    transform: translateY(0);
  }

  .technology-grid {
    gap: 20px;
    max-width: 700px;
  }
  .tech-image-img {
    height: 70%;
  }
  /* Stacked sticky cards: each pins with slight offset so they appear sequentially */
  .technology-grid {
    display: block;
  }

  .technology {
    padding-bottom: 16px; /* ensure immediate transition to next section */
    margin-top: -20px;
  }

  .logo img {
    height: 70px;
    display: block;
    margin: 0 auto;
    position: relative;
    top: -23px;
  }

  .tech-card {
    position: sticky;
    top: 100px; /* base pin point below the sticky title/header */
    margin-bottom: 140px; /* reduce stack spacing to avoid long blank tail */
    z-index: 3;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #4e1028;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .tech-card:hover .tech-image::before {
    background-image: none;
  }
  .ticker-item-renovation {
    font-size: 12px;
    top: 72%;
  }

  /* Collapse trailing space after the last card so next section shows immediately */
  .tech-card:last-child {
    margin-bottom: 16px;
  }

  .technology-grid .tech-card {
    pointer-events: none;
  }
  .tech-card.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  /* Make later cards stack above earlier ones so the newest is on top */
  .tech-card:nth-child(1) {
    top: 220px;
    z-index: 3;
  }
  .tech-card:nth-child(2) {
    top: 220px;
    z-index: 4;
  }

  .community {
    margin-top: 70px;
    padding: 0;
  }
  .tech-card:nth-child(3) {
    top: 220px;
    z-index: 5;
  }
  .tech-card:nth-child(4) {
    top: 220px;
    z-index: 6;
  }
  .tech-card:nth-child(5) {
    top: 220px;
    z-index: 7;
  }

  /* Scroll-driven stacking-scale (progressive enhancement, keeps sizes intact) */
  @supports (animation-timeline: works) {
    /* Timeline scoped to the whole page scroll, keyed to technology grid entering/leaving */
    @scroll-timeline tech-cards-scroll {
      source: selector(body);
      start: selector(.technology-grid) start 1;
      end: selector(.technology-grid) start 0;
      time-range: 5s;
    }

    .technology-grid .tech-card:nth-child(1) {
      --index: 1;
    }
    .technology-grid .tech-card:nth-child(2) {
      --index: 2;
    }
    .technology-grid .tech-card:nth-child(3) {
      --index: 3;
    }
    .technology-grid .tech-card:nth-child(4) {
      --index: 4;
    }
    .technology-grid .tech-card:nth-child(5) {
      --index: 5;
    }

    .technology-grid {
      --numcards: 5;
    }

    .technology-grid .tech-card {
      --index0: calc(var(--index) - 1);
      --reverse-index: calc(var(--numcards) - var(--index0));
      --reverse-index0: calc(var(--reverse-index) - 1);
    }

    /* Animate a subtle scale on the visual image layer only (no layout change) */
    .technology-grid .tech-card .tech-image {
      transform-origin: 50% 0%;
      will-change: transform;
      --duration: calc(var(--reverse-index0) * 1s);
      --delay: calc(var(--index0) * 1s);
      animation: var(--duration) linear tech-card-scale var(--delay) forwards;
      animation-timeline: tech-cards-scroll;
    }

    @keyframes tech-card-scale {
      to {
        transform: scale(calc(1.06 - calc(0.06 * var(--reverse-index))));
      }
    }
  }
  .plan-offering-column {
    padding-right: 0;
   }
   

  .scroll-dot {
    width: 10px;
    height: 10px;
  }

  .facilities {
    padding: 0 20px;
    margin-top: -25px;
  }

  .brand-section::before {
    background: none;
  }

  .brand-section {
    padding: 0;
    padding-bottom: 40px;
  }

  .tech-card {
    height: 300px;
  }

  .powered {
    font-size: 12px;
    font-weight: 300;
  }
  .powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
  }

  .powered-by-img {
    height: 17px;
  }

  .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
  }
  .brand_logo_img {
    width: 8.5rem;
    height: 8.625rem;
  }

  .preloader-content {
    max-width: 400px;
    padding: 15px;
  }

  .location-marker {
    width: 25px;
    height: 25px;
    position: relative;
    top: -1px;
    left: 3px;
  }
  .community-scroll-container:nth-child(1) {
    position: relative;
    left:35px;
  }

  .location-marker img {
    width: 100%;
    height: 100%;
  }

  .preloader-logo img {
    height: 80px;
    max-width: 200px;
  }

  .preloader-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .progress-bar {
    height: 10px;
  }

  .progress-text {
    font-size: 1rem;
  }

  .hero {
    padding: 20px 15px 40px 15px;
    background-size: cover;
    background-size: 250%;
  }
  .hero-content {
    margin-top: 360px;
  }
  .technology .section-title {
    margin-bottom: 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0;
    padding: 0 10px;
    margin-bottom: 10px;
  }

  .hero-subtitle::before {
    content: "Century Cricket \A Cricket 100% of the time! \A \A A 24/7 tech-powered \A cricket training facility is coming to";
    white-space: pre;
    display: block;
    font-size: 20px;
  }

  .hero-subtitle-text {
    font-size: 22px !important;
  }

  .hero-location {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .countdown {
    gap: 0;
    flex-wrap: nowrap;
    margin-bottom: 20px;
  }

  .countdown-item {
    min-width: 60px;
    padding: 0;
    font-size: 50px;
  }

  .countdown-number {
    font-size: 25px;
  }

  .countdown-label {
    font-size: 0.7rem;
  }

  .perks {
    padding: 20px 10px;
    margin-top: 20px;
  }
  .perks-grid {
  }

  .perk-card {
    padding: 10px;
    flex: 0;
  }

  .perk-icon img {
    width: 75px;
    height: 75px;
  }

  .perk-desc {
    font-size: 15px;
  }

  .brand-section-bg {
    background-size: 280% 100%;
  }

  .technology-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .tech-card:nth-child(1),
  .tech-card:nth-child(2),
  .tech-card:nth-child(3),
  .tech-card:nth-child(4),
  .tech-card:nth-child(5) {
    grid-column: span 1;
    grid-row: auto;
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Reduce facility box sizes in 2x2 layout (mobile breakpoint) */
  .facility-card {
    min-height: 200px;
  }
  .facility-image img {
    height: 110px;
  }
  .facility-desc {
    font-size: 1rem;
  }

  .perks-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-content: center;
    padding-bottom: 0;
    background: none;
  }

  .community-scroll-container {
    gap: 20px;
    animation: none;
  }

  .community-card {
    width: 330px;
    height: 330px;
  }

  .community-scroll-dots {
    margin-top: 20px;
  }

  .scroll-dot {
    width: 10px;
    height: 10px;
  }

  .scrolling-ticker {
    height: 30px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    padding: 0 10px;
  }

  .ticker-content {
    animation: location-scroll-left 100s linear infinite;
  }

  .ticker-item {
    font-size: 12px;
  }

  .membership-table {
    font-size: 0.8rem;
    padding: 15px 10px;
  }

  .table-container {
    flex-direction: row;
    min-height: auto;
    width: 100%;
  }

  .plan-offering-header {
    padding: 15px;
    font-size: 15px;
  }
  .marker-image {
    width: 60%;
  }
  .community-scroll-container{
    padding-right: 60px;
  }

  .community-card .community-desc {
    bottom: 0;
  }
  .community-image img {
    height: auto;
  }
  .community-card {
    height: auto;
  }
  .marker-content {
    top: 48%;
    left: 30%;
  }
  .red-marker {
    top: 33%;
    left: 70%;
    animation: none;
  }

  .red-marker .marker-address {
    top: 93%;
    left: 95%;
  }

  .blue-marker {
    top: 32%;
    left: 15%;
  }

  .plan-offering-features .feature-name {
    padding: 10px 15px;
    font-size: 0.8rem;
    font-weight: 300;
    min-height: 60px;
  }

  .plan-offering-features .feature-name.hidden-offering.visible {
    padding: 10px 15px !important; /* Match mobile padding */
    justify-content: flex-start !important; /* Ensure left alignment on mobile */
    font-size: 0.8rem;
  }

  .community-card .community-desc {
    font-size: 16px;
    left: 0;
    right: 0;
  }

  .table-divider {
    width: 100%;
    height: 2px;
    margin: 10px 0;
  }

  .plans-container {
    flex-direction: row;
  }

  .plan-column {
    flex: none;
    width: 32%;
    max-width: 100%;
    min-width: 30%;
  }

  .plan-header {
    padding: 15px 5px;
    font-size: 15px;
  }

  .plan-features .feature-check,
  .plan-features .feature-dot,
  .plan-features .feature-value {
    padding: 10px;
    font-size: 1rem;
  }

  .plan-features .feature-check {
    padding: 10px;
    font-size: 0.8rem;
  }
  .feature-check.hidden-offering.visible {
    font-size: 0.8rem;
  }
  .feature-check {
    font-weight: 300;
  }

  .popular-overlay {
    font-size: 10px;
    padding: 5px 15px;
    top: -15px;
    border-radius: 10px;
  }

  .map-placeholder {
    height: 200px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 15px;
    margin-top: 10px;
  }

  .features {
    height: 100vh;
  }

  .feature-icon {
    width: 140px;
    height: 140px;
  }

  .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .section-title.sports-world-font {
    font-size: 30px;
  }

  .overview-description {
    font-size: 15px;
    padding: 0 20px;
    margin-bottom: 30px;
  }

  .overview-card img {
    height: 80px;
  }

  .overview-card-content {
    font-size: 20px;
    line-height: 24px;
  }
  .overview {
    padding: 0;
    margin: 0;
    margin-top: 40px;
  }

  .membership {
    padding: 0;
    margin: 0;
    margin-top: 50px;
  }

  .membership-grid {
    padding-left: 0;
    padding-right: 0;
    gap: 20px;
    width: full;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }

  .membership-card {
    padding: 15px 15px;
    min-height: 280px;
    max-width: 310px;
  }
  .brand-container {
    padding: 0px 10px;
  }
  .faq {
    padding: 40px 20px;
  }

  .faq-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .faq-question {
    padding: 13px 0;
  }

  .faq-question h3 {
    font-size: 1rem;
    padding-right: 12px;
  }

  .faq-icon {
    width: 26px;
    height: 26px;
    font-size: 1.2rem;
  }

  .faq-answer p,
  .faq-answer ul {
    padding: 0 16px 16px 0;
    font-size: 0.9rem;
  }
  .brand-section {
    padding-bottom: calc(40px + 2rem);
    margin-bottom: -2rem;
  }
  .sticky-footer {
    padding: 8px 10px;
    transform-style: preserve-3d;
    will-change: auto;
  }

  .sticky-footer .cta-button {
    transform: translateZ(0);
    will-change: transform;

    animation: none;
  }
  .cta-button {
    animation: none;
  }
  @keyframes ctaPulseContained {
    0%,
    100% {
      box-shadow: 0 4px 12px rgba(230, 0, 14, 0.25), 0 0 0 0 rgba(230, 0, 14, 0);
      transform: translateZ(0) scale(1);
    }
    50% {
      box-shadow: 0 6px 18px rgba(230, 0, 14, 0.35),
        0 0 0 6px rgba(230, 0, 14, 0.12);
      transform: translateZ(0) scale(1.02); /* Reduced scale to minimize movement */
    }
  }
}
/* ========================================
   TABLET RESPONSIVE STYLES (561px - 786px)
   ======================================== */
@media (min-width: 561px) and (max-width: 786px) {
  .ticker-item-renovation {
    top: 490px;
  }
  header {
    padding: 0 70px;
  }
  /* Ensure corner fillers work on mobile */
  .brand-section {
    padding-bottom: calc(40px + 2rem);
    margin-bottom: -2rem;
  }
  .brand-container {
    padding: 0px 70px;
  }

  .membership-grid {
    padding-left: 0;
    padding-right: 0;
    gap: 0;
    scroll-snap-type: x mandatory;
  }

  .membership-card {
    flex: 0 0 100vw;
    scroll-snap-align: center;
  }

  /* Edge paddings at the ends */
  .membership-card:first-child {
    margin-left: 15px;
  }

  .membership-card:last-child {
    margin-right: 15px;
  }
  .plan-offering-header {
    font-size: 1rem;
  }
  .plan-header {
    font-size: 0.9rem;
  }
  .plan-offering-features .feature-name {
    font-size: 0.9rem;
  }
  .brand-section::before {
    display: none;
  }

  .preloader-content {
    max-width: 500px;
    padding: 20px;
  }

  .preloader-logo img {
    height: 100px;
    max-width: 250px;
  }

  .preloader-text {
    font-size: 1.4rem;
    margin-bottom: 35px;
  }

  .progress-bar {
    height: 11px;
  }

  .progress-text {
    font-size: 1.2rem;
  }

  .hero {
    padding: 24px 18px 48px 18px;
    background-size: cover;
    background-position: center;
  }

  .hero-content {
    margin-top: 200px;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 22px;
  }
 

  .hero-content .line3 {
    font-size: 2.2rem;
  }
  .hero-content-overlay {
    margin-top: -530px;
  }
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .hero-subtitle-extra{
    font-size: 15px !important;
  }

  .location-marker {
    width: 36px;
    height: 36px;
    position: relative;
    top: -4px;
    left: 4px;
  }

  .opening-in-text {
    font-size: 1.25rem;
  }

  .countdown {
    gap: 0px;
    margin: 28px 0px;
  }

  .countdown-item {
    width: 84px;
    height: 84px;
    padding: 12px 5px;
  }

  .countdown-number {
    font-size: 2.2rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .cta-button {
    padding: 12px 24px;
  }
  .location {
    padding: 0 70px;
    margin-top: 80px;
  }
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    line-height: 30px;
  }

  .technology {
    padding: 0 70px;
    margin-top: 80px;
  }
  .technology .section-title {
    margin-bottom: 40px;
  }
  .technology-grid {
    gap: 23px;
  }

  .facilities {
    padding: 0 70px;
    margin-top: 80px;
  }
  .facilities-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0 auto;
  }

  /* Reduce facility box sizes in 2x2 layout */
  .facility-card {
    min-height: 220px;
  }
  .facility-image img {
    height: 130px;
  }
  .facility-desc {
    font-size: 17px;
  }

  .facility-image img {
    height: 160px;
  }
  .facility-desc {
    margin-bottom: 20px;
  }
  .community {
    margin-top: 80px;
    padding: 0 70px;
  }
  .community-image img {
    
    height: auto;
  }

  

  .community-card {
    height: 190px;
    width: 400px;
  }

  .community-desc {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .features {
    height: 100vh;
  }

  .feature-icon {
    width: 150px;
    height: 150px;
  }

  .feature-icon img {
    width: 80%;
    height: 100%;
    object-fit: contain;
  }

  .overview-description {
    font-size: 15px;
    padding: 0 18px;
    margin-bottom: 32px;
  }

  .overview-card {
    height: 280px;
  }

  .overview-card-content {
    font-size: 22px;
    line-height: 1.2;
  }

  .membership {
    padding: 0 70px;
  }

  .membership-grid {
    padding-left: 0;
    padding-right: 0;
    gap: 20px;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }

  .membership-card {
    padding: 20px 18px;

    /* max-width: 360px; */
    scroll-snap-align: center;
  }
  .feature-check {
    font-size: 0.9rem;
  }
  .plan-offering-features .feature-name.hidden-offering.visible {
    font-size: 0.9rem !important;
  }
  .feature-check.hidden-offering.visible {
    font-size: 0.9rem;
  }
  .centralized-show-more {
    margin-top: 22px;
    padding: 16px 0;
  }

  .centralized-show-more-btn {
    padding: 11px 18px;
    font-size: 15px;
  }

  .perks {
    padding: 0px 70px;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .perks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    justify-items: center;
  }
  .membership {
    margin-top: 40px;
  }

  .perk-card {
    padding: 15px 15px;
  }
  .perk-icon img {
    width: 110px;
    height: 110px;
    object-fit: contain;
  }
  .perk-desc {
    font-size: 1rem;
    font-weight: 400;
  }
  .faq {
    padding: 60px 70px;
  }

  .brand-section::before {
    display: none;
  }

  .brand-section-bg {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/footer_bg_1.svg") no-repeat left center;
    background-size: 100% 100%;
    opacity: 0.6;
    z-index: 0;
  }

  /* Ensure corner fillers work on small mobile */
  .brand-section {
    padding-bottom: calc(40px + 2rem);
    margin-bottom: -2rem;
  }

  .sticky-footer {
    padding: 10px 14px;
  }
}

/* Tablet Styles (787px - 1023px) */
@media (min-width: 787px) and (max-width: 1149px) {
  
  .ticker-item-renovation {
    top: 500px;
  }
  .preloader-content {
    max-width: 700px;
    padding: 30px;
  }

  .line3 img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .preloader-logo img {
    height: 140px;
    max-width: 350px;
  }

  .preloader-text {
    font-size: 1.8rem;
    margin-bottom: 50px;
  }

  .progress-bar {
    height: 12px;
  }

  .progress-text {
    font-size: 1.4rem;
  }

  /* Hide mobile-only buttons on tablet and above */
  .mobile-only {
    display: none !important;
  }

  /* Hide common see more button - use individual card expansion instead */
  .common-see-more-container {
    display: none !important;
  }

  :root {
    --sticky-footer-offset: 80px;
  }

  .logo img {
    height: 80px;
    max-width: 280px;
  }
  header {
    padding: 0 100px;
  }

  .hero-content {
    max-width: 600px;
    margin-top: 140px;
  }
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .hero-subtitle-extra{
    font-size: 18px !important;
  }
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 35px;
  }
  .hero-content .line3 {
    font-size: 2.5rem;
  }
  .hero-content-overlay {
    margin-top: -500px;
  }

  .location-marker {
    width: 40px;
    height: 35px;
    position: relative;
    left: 3px;
    top: -8px;
  }

  .opening-in-text {
    font-size: 28px;
  }

  .location-marker img {
    width: 100%;
    height: 100%;
  }
  .facilities-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto;
  }
 
  .facility-image img {
    height: 200px;
  }

  .countdown {
    flex-direction: row;
    gap: 6px;
    margin-bottom: 40px;
  }

  .countdown-item {
    width: 80px;
    height: 80px;
    padding: 15px 10px;
  }

  .countdown-colon {
    font-size: 1.8rem;
  }

  .countdown-number {
    font-size: 2.2rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .cta-button {
    padding: 12px 24px;
  }
  .location {
    margin-top: 80px;
    padding: 0px 100px;
  }
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .technology .section-title {
    margin-bottom: 40px;
  }

  .cta-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .features {
    height: 100vh;
  }

  .features-content {
    padding: 64px 150px;
  }

  .feature-text {
    font-size: 35px;
  }

  .features-grid {
    flex-direction: column;
    padding: 20px;
  }

  .feature-icon {
    width: 120px;
    height: 120px;
  }

  .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .feature-item {
    width: 300px;
    gap: 10px;
  }

  .feature-item-text {
    font-size: 25px;
    margin-bottom: 30px;
  }

  .visible-feature {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  /* Style individual show more buttons for desktop */
  .show-more-btn {
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 0px;
  }

  .checkmark {
    width: 9px;
    height: 9px;
    margin-right: 0.6rem;
    margin-top: 0.1rem;
  }

  .overview {
    padding: 64px 40px;
  }

  .overview-description {
    font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 30px;
    letter-spacing: -0.2px;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    justify-items: center;
  }

  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
  }

  .overview-card {
    height: 280px;
    padding: 0;
  }

  .overview-card:nth-child(1) {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .overview-card-content {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 0 20px;
    position: relative;
    top: 10px;
  }

  .toggle-buttons {
    gap: 10px;
    margin: 6px auto;
  }

  .toggle-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  .technology {
    padding: 0px 100px;
    margin-top: 80px;
  }

  .technology-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 25px;

    margin: 0 auto;
  }

  .tech-card:nth-child(1),
  .tech-card:nth-child(2) {
    grid-column: span 3; /* Each takes 50% (3 out of 6 columns) */
  }

  .tech-card:nth-child(3),
  .tech-card:nth-child(4),
  .tech-card:nth-child(5) {
    grid-column: span 2; /* Each takes 33.33% (2 out of 6 columns) */
    grid-row: 2;
  }
  .facilities {
    padding: 0px 100px;
    margin-top: 80px;
  }
  .facility-card {
    height: 200px;
  }
  .facility-image img {
    height: 130px;
  }
  .facility-desc {
    font-size: 15px;
  }

  .community {
    padding: 0px 100px;
    margin-top: 80px;
  }

  .membership {
    padding: 0px 100px;
    margin-top: 80px;
  }

  .membership-grid {
    margin: 0 auto;
    padding: 20px 20px;
    gap: 15px;
    /* max-width: 900px; */
  }

  .membership-title {
    font-size: 1.5rem;
  }
  .plan-offering-header {
    font-size: 1.3rem;
  }
  .plan-offering-features .feature-name {
    font-size: 1rem !important;
  }
  .feature-check {
    font-size: 1rem;
  }
  .feature-check.hidden-offering.visible {
    font-size: 1rem;
  }
  .price-current {
    font-size: 1.4rem;
  }

  .perks {
    padding: 0px 100px;
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .perks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    justify-items: center;
  }
  .perk-card {
    padding: 15px 15px;
  }
  .perk-icon img {
    width: 110px;
    height: 110px;
    object-fit: contain;
  }
  .perk-desc {
    font-size: 1rem;
    font-weight: 400;
  }

  .brand-container {
    padding: 0px 100px;
  }

  .sticky-footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 30px;
    max-width: 100%;
    left: 0;
    transform: translateY(100%);
    gap: 8px;
    flex-wrap: wrap;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      opacity 0.3s ease-out, visibility 0.3s ease-out;
  }

  .community-card {
    height: 240px;
  }

  .community-image img {
    height: auto;
  }
  .sticky-footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .sticky-footer-text {
    max-width: 60%;
    font-size: 0.9rem;
  }

  .sticky-footer.visible {
    transform: translateY(0);
    animation: stickyFooterSlideInTablet 0.4s
      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
}

@keyframes stickyFooterSlideInTablet {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Desktop Styles (1024px and above) */
@media (min-width: 1150px) and (max-width: 1360px) {
  .ticker-item-renovation {
   top: 360px;
  }
  .preloader-content {
    max-width: 800px;
    padding: 40px;
  }

  .preloader-logo img {
    height: 160px;
    max-width: 400px;
  }

  .preloader-text {
    font-size: 2rem;
    margin-bottom: 60px;
  }

  .progress-bar {
    height: 16px;
  }

  .progress-text {
    font-size: 1.6rem;
  }

  :root {
    --sticky-footer-offset: 90px;
  }

  .logo img {
    height: 100px;
    max-width: 350px;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }

  .hero-subtitle-extra{
    font-size: 20px !important;
  }

  .hero-content {
    max-width: 800px;
    margin-top: 150px;
  }

  .hero-location {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 26px;
    margin-bottom: 4px;
  }
  .hero-content-overlay {
    margin-top: -430px;
  }
  .countdown {
    margin-bottom: 0;
    margin-top: 12px;
    gap: 0;
  }

  .countdown-item {
    width: 80px;
    height: 94px;
    padding: 18px 12px;
  }

  .community-card {
    height: 300px;
  }

  .community-image img {
    height: 80%;
  }

  .countdown-colon {
    font-size: 2.5rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-label {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 12px 20px;

    font-size: 1.2rem;
  }

  .cta-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .feature-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .feature-text {
    font-size: 40px;
    margin-bottom: 40px;
    max-width: 800px;
  }

  .tech-desc {
    margin-top: 6px;
  }

  .tech-powered {
    margin-bottom: 6px;
  }

  .features-grid {
    margin-bottom: 40px;
    flex-direction: row;
    gap: 50px;
  }

  .facility-image img {
    height: 250px;
  }

  .feature-icon {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .feature-item-text {
    font-size: px;
    align-items: center;
    justify-content: center;
  }

  .overview {
    padding: 70px 40px;
  }

  .overview-description {
    font-family: "Geist", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 1500px;
    line-height: 25px;
    letter-spacing: -0.2px;
    padding: 0 20px;
  }

  .overview {
    padding: 64px 50px;
  }

  .overview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    justify-items: center;
  }

  .overview-card {
    height: 320px;
    padding: 0;
  }

  .overview-card:nth-child(1) {
    grid-column: 1 / 3;
    max-width: 100%;
  }

  .overview-card:nth-child(2) {
    grid-column: 3 / 4;
    max-width: 100%;
  }

  .overview-card-content {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 20px;
    padding: 5px 20px;
  }

  .tech-card:nth-child(1) .tech-image,
  .tech-card:nth-child(2) .tech-image,
  .tech-card:nth-child(3) .tech-image,
  .tech-card:nth-child(4) .tech-image,
  .tech-card:nth-child(5) .tech-image {
    height: 240px;
  }

  .toggle-buttons {
    gap: 15px;
    margin-bottom: 24px;
  }

  .toggle-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .technology-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 25px;
  }

  .tech-card:nth-child(1),
  .tech-card:nth-child(2) {
    grid-column: span 3;
  }

  .tech-card:nth-child(3),
  .tech-card:nth-child(4),
  .tech-card:nth-child(5) {
    grid-column: span 2;
    grid-row: 2;
  }

  .membership-grid {
    grid-template-columns: repeat(3, 1fr);
    /* max-width: 1200px; */
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto;
    min-height: 0;
  }

  .error-message {
    padding: 30px 20px;
    margin: 15px 0;
  }

  .retry-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .membership-card {
    padding: 35px 25px;
    height: auto;
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
  }

  .map-placeholder {
    height: 460px;
  }

  /* Show mobile buttons on mobile */
  .mobile-only {
    display: block !important;
  }

  /* Hide common see more button on mobile */
  .common-see-more-container {
    display: none;
  }

  .show-more-btn {
    padding: 6px 12px;
    font-size: 12px;
    margin-top: 5px;
  }

  .visible-feature {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
  }

  .checkmark {
    width: 8px;
    height: 8px;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
  }

  .facility-desc {
    font-size: 20px;
  }
  .facilities-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto;
  }

  .membership-title {
    font-size: 1.5rem;
  }

  .price-current {
    font-size: 1.8rem;
  }

  .perks-grid {
    gap: 20px;
  }
  /* Loading Spinner */
  .loading-spinner {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
  }

  .loading-spinner::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #1a237e;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  /* Error Message */
  .error-message {
    text-align: center;
    padding: 40px;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    margin: 20px 0;
  }

  .error-message p {
    margin: 10px 0;
    color: #991b1b;
  }

  .retry-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.2s ease;
  }

  .retry-btn:hover {
    background: #b91c1c;
  }

  .sticky-footer {
    padding: 20px 40px;
  }

  .sticky-footer-text {
    max-width: 50%;
    font-size: 1.2rem;
  }
}

/* ========================================
   DESKTOP RESPONSIVE STYLES (min-width: 1361px)
   ======================================== */
@media (min-width: 1361px) {
  /* Hide mobile-only buttons on desktop */
  .mobile-only {
    display: none !important;
  }

  /* Hide common see more button - use individual card expansion instead */
  .common-see-more-container {
    display: none !important;
  }

  .hero-content {
    max-width: 1000px;
    margin-top: 190px;
  }

  .overview-grid {
    max-width: 1400px;
  }

  .membership-grid {
    max-width: 1400px;
  }

  /* Style individual show more buttons for large desktop */
  .show-more-btn {
    padding: 12px 24px;
    font-size: 16px;
    margin-top: 20px;
  }

  .footer-content {
    max-width: 1400px;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 786px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .countdown {
    flex-wrap: nowrap;
  }

  .features-grid {
    flex-direction: row;
    gap: 20px;
  }
}

/* Disable hover/flip effects for tech card 5 on small phones */

/* Hide sticky footer on widths above mobile */
@media (min-width: 561px) {
  .sticky-footer {
    display: none !important;
  }

  .brand-section::after {
    bottom: 0;
  }
  /* For screens larger than 480px - remove auto scroll and show 3 items in a row */

  .community-grid {
    overflow-x: visible;
    justify-content: space-around;
  }

  .community-scroll-container {
    animation: none;
    width: auto;
    max-width: 100%;
    justify-content: center;
    gap: 20px;
  }

  .community-scroll-container:hover {
    animation-play-state: unset;
  }

  .community-scroll-dots {
    display: none;
  }

  .community-card {
    width: 100%;

    flex: 1;
    min-width: 0;
  }
  /* Show only first 3 community cards on >=481px */
  .community-card:nth-child(n + 4) {
    display: none;
  }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .faq-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .faq-question {
    padding: 20px 0;
  }

  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 15px;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
  }

  .faq-answer p,
  .faq-answer ul {
    padding: 0 20px 20px 0;
    font-size: 0.95rem;
  }

  .faq-item:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  /* ===== Tech cards: remove animations and stack vertically on small screens ===== */
  .technology-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .technology-grid .tech-card {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .technology-grid .tech-card .tech-image,
  .technology-grid .tech-card .tech-content,
  .technology-grid .tech-card .hover-content {
    transform: none !important;
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  /* Remove hover overlays/effects */
  .technology-grid .tech-card::before,
  .technology-grid .tech-card .tech-image::before {
    content: none !important;
    background: none !important;
    display: none !important;
  }

  .technology-grid .tech-card:hover .tech-image img,
  .technology-grid .tech-card:hover .tech-content,
  .technology-grid .tech-card:hover .hover-content {
    transform: none !important;
    opacity: 1 !important;
  }

  /* Turn off scroll-timeline driven animation on image layer */
  .technology-grid .tech-card .tech-image {
    animation: none !important;
  }
}
 
/* ========================================
   COOKIE CONSENT POPUP STYLES
   ======================================== */
.cookie-consent-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  z-index: 10000;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  animation: slideUpIn 0.3s ease-out;
}

@keyframes slideUpIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-content {
  padding: 10px;
}

.cookie-consent-header h3 {
  margin: 0 0 3px 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.cookie-consent-body p {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666666;
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-accept-btn,
.cookie-decline-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-accept-btn {
  background: #21295a;
  color: white;
}

.cookie-accept-btn:hover {
  transform: translateY(-1px);
}

.cookie-decline-btn {
  background: #cc000c;

  color: white;
  border: 1px solid #cc000c;
}

 
/* Mobile responsiveness */
@media (max-width: 768px) {
  .cookie-consent-popup {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
  
  .cookie-consent-content {
    padding: 16px;
  }
  
  .cookie-consent-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .cookie-accept-btn,
  .cookie-decline-btn {
    width: 100%;
    padding: 12px 20px;
  }
}
 