/* ============================================
   BODYGRAPH FITNESS CENTER — MARKETING WEBSITE
   ============================================ */

:root {
  --red: #e03e27;
  --red-dark: #c23520;
  --dark: #1e3b55;
  --dark-2: #274968;
  --card: #1e232c;
  --gray: #9aa3af;
  --light: #f4f6f8;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 78px; }
#cricket { scroll-margin-top: 96px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 10px 22px rgba(224,62,39,.35); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-login { background: var(--red); color: var(--white); padding: 9px 16px; border-radius: 8px; font-size: 0.85rem; }
.btn-login:hover { background: var(--red-dark); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5a; box-shadow: 0 10px 22px rgba(37,211,102,.35); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  background: var(--dark);
  transition: box-shadow .2s ease;
}
.navbar.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; line-height: 1.2; }
.brand-icon { font-size: 1.6rem; color: var(--red); flex-shrink: 0; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name { font-family: 'Luckiest Guy', 'Montserrat', sans-serif; font-weight: 400; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .03em; }
.b-body { color: #ffa07a; }
.b-graph { color: #ff5722; }
.brand-sub { font-size: .72rem; font-weight: 700; color: #dbe4ea; font-family: 'Cinzel', 'Palatino Linotype', serif; text-transform: uppercase; letter-spacing: .18em; margin-top: 2px; }
.brand-accent { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: #fde047; font-weight: 600; font-size: 1.02rem; transition: color .15s ease; }
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-toggle { display: none; }
.nav-burger { display: none; color: var(--white); font-size: 1.4rem; cursor: pointer; }
.nav-drop { position: relative; }
.nav-drop-btn {
  background: none; border: none; cursor: pointer;
  color: #fde047; font-weight: 600; font-size: 1.02rem;
  font-family: inherit;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 0;
  transition: color .15s ease;
}
.nav-drop-btn:hover { color: var(--white); }
.nav-drop-caret { font-size: 0.75rem; transition: transform .2s ease; }
.nav-drop.open .nav-drop-caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 264px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
}
.nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.nav-drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.92rem; font-weight: 600;
  color: var(--white) !important;
}
.nav-drop-item i { width: 18px; color: var(--red); }
.nav-drop-item:hover { background: rgba(255,255,255,.07); }
.nav-links a.live { position: relative; }
.nav-links a.live::after {
  content: '';
  position: absolute;
  top: 4px; right: -8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: livePulse 1.4s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(224,62,39,.6); }
  100% { box-shadow: 0 0 0 8px rgba(224,62,39,0); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: heroFade 24s ease-in-out infinite;
  z-index: 0;
}
.hero-bg.slide-1 {
  background-image: url('https://images.unsplash.com/photo-1541534741688-6078c6bfb5c5?q=80&w=1800&auto=format&fit=crop');
  animation-delay: 0s;
}
.hero-bg.slide-2 {
  background-image: url('https://images.unsplash.com/photo-1581009146145-b5ef050c2e1e?q=80&w=1800&auto=format&fit=crop');
  animation-delay: -8s;
}
.hero-bg.slide-3 {
  background-image: url('https://images.unsplash.com/photo-1526406915894-7bcd65f60845?q=80&w=1800&auto=format&fit=crop');
  animation-delay: -16s;
}
@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1); }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  41%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.05); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(220,38,38,.28), transparent 45%),
    linear-gradient(105deg, rgba(11,13,17,.9) 0%, rgba(11,13,17,.62) 45%, rgba(11,13,17,.42) 100%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-tag {
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--red); }
.hero-sub {
  margin: 20px 0 30px;
  max-width: 520px;
  color: #c6ccd6;
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { background: var(--red); color: var(--white); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center; padding: 34px 0; gap: 20px; }
.stat-num { display: block; font-size: 2.3rem; font-weight: 900; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.stat-label { font-size: 0.85rem; font-weight: 600; opacity: 1; }
.stat-price { display: block; font-size: 2.3rem; font-weight: 900; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.stat-price-sub { font-size: 1.05rem; font-weight: 800; opacity: 1; }
.stat-badge-icon { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.stat-badge-title { display: block; font-weight: 900; font-size: 1.2rem; line-height: 1.3; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 1.9rem; font-weight: 800; }
.section-head h2 .brand-accent { color: #ff5722; }
.section-head p { color: #5a6472; margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid #e5e8ee;
  border-radius: 14px;
  padding: 28px 22px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15,17,21,.1); }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(220,38,38,.1);
  color: var(--red);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: #5a6472; font-size: 0.9rem; }

/* ---------- About ---------- */
.about { background: var(--dark); }
.about .section-head h2 { color: var(--white); }
.about .section-head p { color: #d5dbe3; }
.about .card {
  background: var(--card);
  border-color: #2a303b;
}
.about .card:hover { box-shadow: 0 16px 32px rgba(0,0,0,.35); }
.about .card h3 { color: var(--white); }
.about .card p { color: #c9d0da; }
.about .card-icon { background: rgba(220,38,38,.14); }

/* ---------- Calculator ---------- */
.calculator { background: var(--dark); }
.calculator .section-head h2 {
  font-size: 2.6rem;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #f87171 0%, #fb923c 50%, #fde047 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.calculator .section-head h2 .brand-accent {
  -webkit-text-fill-color: inherit;
  color: #ffa34f;
}
#calculator:target .section-head h2 { animation: headingPop .6s ease; }
.calculator .section-head p { color: var(--gray); }
.hidden { display: none !important; }
.calc-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.calc-tab {
  padding: 12px 26px;
  border: 1px solid #2a303b;
  background: var(--card);
  color: var(--gray);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.calc-tab:hover { color: var(--white); border-color: #3a4252; }
.calc-tab.active {
  background: linear-gradient(135deg, var(--red), #ef7a1a);
  color: var(--white);
  border-color: transparent;
}
.calculator-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.calc-card {
  background: var(--card);
  border: 1px solid #2a303b;
  border-radius: 16px;
  padding: 28px 26px;
}
.calc-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 22px;
}
.calc-card-title i { color: var(--red); font-size: 1.15rem; }
.calc-form { display: flex; flex-direction: column; gap: 16px; }
.calc-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.calc-field label {
  display: block;
  color: #c9d0da;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.calc-field input,
.calc-field select {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid #343a47;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color .18s ease;
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--red);
}
.calc-actions { display: flex; gap: 12px; padding-top: 6px; }
.calc-actions .btn { flex: 1; justify-content: center; }
.btn-ghost-dark {
  background: transparent;
  color: var(--gray);
  border: 2px solid #343a47;
}
.btn-ghost-dark:hover { color: var(--white); border-color: #5a6472; }
.calc-result { display: flex; flex-direction: column; }
.result-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--gray);
  min-height: 240px;
}
.result-empty i { font-size: 2.4rem; color: #343a47; }
.result-empty p { font-size: 0.95rem; max-width: 300px; }
.result-empty .result-empty-sub { font-size: 0.85rem; opacity: .85; }
.result-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; text-align: left; min-height: 240px; }

.bmi-box {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(34,197,94,.12);
}
.bmi-box-title { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.bmi-value { font-size: 2.6rem; font-weight: 900; color: var(--white); line-height: 1; }
.bmi-category { font-size: 1.05rem; font-weight: 700; margin-top: 6px; }
.bmi-icon { font-size: 1.6rem; opacity: .9; }

.calc-stats { display: grid; gap: 10px; }
.calc-stat {
  padding: 14px 16px;
  background: var(--dark-2);
  border: 1px solid #2a303b;
  border-radius: 12px;
}
.calc-stat span { display: block; color: var(--gray); font-size: 0.88rem; margin-bottom: 4px; }
.calc-stat b { color: var(--white); font-size: 2.6rem; line-height: 1.1; }
.calc-stat-high {
  background: linear-gradient(135deg, rgba(220,38,38,.18), rgba(239,122,26,.18));
  border-color: rgba(239,122,26,.35);
}
.calc-stat-high span { color: #fdba74; }

.calc-recs { border-top: 1px solid #2a303b; padding-top: 16px; }
.calc-recs-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}
.calc-recs-title i { color: var(--red); }
.calc-recs-list { list-style: none; display: grid; gap: 8px; }
.calc-recs-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c9d0da;
  font-size: 0.92rem;
}
.calc-recs-list li i { font-size: 0.42rem; margin-top: 7px; color: var(--red); flex-shrink: 0; }

/* ---------- Events ---------- */
.events { background: var(--dark-2); }
.events .section-head p { color: var(--gray); }
.events .section-head h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  font-size: 2.6rem;
  letter-spacing: .5px;
  background: linear-gradient(90deg, #f87171 0%, #fb923c 50%, #fde047 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.events .section-head h2 .brand-accent {
  -webkit-text-fill-color: inherit;
  color: #ffa34f;
}
.events .section-head h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 72px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--red), #ef7a1a, #fde047);
}
#events:target .section-head h2 { animation: headingPop .6s ease; }
@keyframes headingPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.event-card {
  display: flex;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), transparent 45%), var(--card);
  border: 1px solid #2a303b;
  border-radius: 16px;
  padding: 24px 22px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  animation: eventUp .45s ease both;
}
.event-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ef7a1a);
  opacity: .85;
}
.event-card::after {
  content: '\2192';
  position: absolute;
  bottom: 14px;
  right: 18px;
  color: var(--red);
  font-size: 1.25rem;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.event-card:hover { transform: translateY(-6px); border-color: rgba(239,122,26,.45); box-shadow: 0 18px 34px rgba(0,0,0,.42); }
.event-card:hover::after { opacity: 1; transform: translateX(0); }
.event-date {
  flex-shrink: 0;
  width: 62px;
  align-self: flex-start;
  text-align: center;
  background: linear-gradient(135deg, rgba(220,38,38,.3), rgba(239,122,26,.24));
  border: 1px solid rgba(239,122,26,.45);
  border-radius: 14px;
  padding: 12px 0;
}
.event-date b { display: block; color: #ffffff; font-size: 1.5rem; line-height: 1; }
.event-date span { display: block; color: #fde68a; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; margin-top: 4px; }
.event-body h3 { color: var(--white); font-size: 1.15rem; margin: 6px 0 8px; padding-right: 18px; }
.event-body p { color: var(--gray); font-size: 0.92rem; }
.event-time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #fde047;
  font-size: 0.85rem;
  font-weight: 700;
}
.event-time i { font-size: 0.9rem; }
.event-tag {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.tag-workshop { background: #dbeafe; color: #1d4ed8; }
.tag-seminar { background: #ede9fe; color: #6d28d9; }
.tag-challenge { background: #ea580c; color: #ffffff; }
.tag-yoga { background: #dcfce7; color: #15803d; }
.tag-other { background: #fce7f3; color: #be185d; }
@keyframes eventUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.event-card:nth-child(2) { animation-delay: .06s; }
.event-card:nth-child(3) { animation-delay: .12s; }
.event-card:nth-child(4) { animation-delay: .18s; }
.event-card:nth-child(5) { animation-delay: .24s; }
.event-card:nth-child(6) { animation-delay: .30s; }
.event-card:nth-child(7) { animation-delay: .36s; }
.event-card:nth-child(8) { animation-delay: .42s; }

.events-empty { text-align: center; color: var(--gray); padding: 40px 0; }
.events-empty i { font-size: 2.8rem; color: #343a47; margin-bottom: 12px; }
.events-empty p { font-size: 1.05rem; }
.events-empty .events-empty-sub { font-size: 0.85rem; opacity: .85; margin-top: 6px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--dark); }
.gallery .section-head h2 { color: var(--white); }
.gallery .section-head p { color: var(--gray); }

/* ---------- Cricket floating badge ---------- */
.cricket-badge {
  position: fixed;
  top: 120px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fde047;
  color: #17181c;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  animation: badgeFlicker 1.6s ease-in-out infinite;
}
.cricket-badge i { color: #b91c1c; }
.cricket-badge:hover { background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
@keyframes badgeFlicker {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253,224,71,.65); }
  50%      { box-shadow: 0 0 0 9px rgba(253,224,71,0); }
}

/* ---------- Training ---------- */
.training { background: var(--dark-2); }
.training .section-head h2 { color: var(--white); }
.training .section-head p { color: var(--gray); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item {
  border-radius: 14px;
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
}
.g-photo { height: 170px; background-size: cover; background-position: center; }
.g-1 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/3757957/pexels-photo-3757957.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.g-2 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/685530/pexels-photo-685530.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.g-3 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/38641906/pexels-photo-38641906.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.g-4 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/7289370/pexels-photo-7289370.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.g-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.g-title { color: var(--white); font-size: 1.35rem; font-weight: 800; margin: 0; display: flex; align-items: baseline; gap: 8px; }
.g-title i { color: #fde047; flex-shrink: 0; }
.g-desc { color: #c8d0da; font-size: 0.95rem; line-height: 1.6; margin: 0; text-align: left; }
.g-source { color: #fde047; font-size: 0.8rem; font-style: italic; margin: 0; }
.training-highlight {
  margin-top: 26px;
  background: linear-gradient(135deg, #24272f, #191c22);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.training-highlight-icon { font-size: 2.4rem; color: #fde047; flex-shrink: 0; }
.training-highlight-text { flex: 1 1 260px; min-width: 200px; }
.training-highlight-text h3 { color: var(--white); font-size: 1.3rem; margin: 0 0 6px; }
.training-highlight-text p { color: #c8d0da; margin: 0; font-size: .95rem; line-height: 1.5; }
.training-highlight .btn { transform: none; box-shadow: none; }
.training-highlight .btn:hover { transform: none; }

.gallery-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-tile { aspect-ratio: 4 / 3; border-radius: 14px; background-size: cover; background-position: center; }
.gal-1 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/3757957/pexels-photo-3757957.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.gal-2 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/685530/pexels-photo-685530.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.gal-3 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/38641906/pexels-photo-38641906.jpeg?auto=compress&cs=tinysrgb&w=1400'); }
.gal-4 { background-image: linear-gradient(180deg, rgba(15,17,21,.15) 0%, rgba(15,17,21,.35) 100%), url('https://images.pexels.com/photos/7289370/pexels-photo-7289370.jpeg?auto=compress&cs=tinysrgb&w=1400'); }

/* ---------- Contact ---------- */
.contact { background: var(--dark-2); }
.contact .section-head h2 { color: var(--white); }
.contact .section-head p { color: var(--gray); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: var(--card);
  border: 1px solid #2a303b;
  border-radius: 14px;
  padding: 26px 20px;
  text-align: center;
}
.contact-card i { font-size: 1.6rem; color: var(--red); margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--white); }
.contact-card p { color: #d5dbe3; font-size: 0.9rem; }
.contact-link { color: var(--red); text-decoration: underline; font-weight: 600; }
.contact-link:hover { color: var(--white); }
.map-wrap {
  margin-top: 26px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #2a303b;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.map-wrap iframe { display: block; }
.cta-strip {
  margin-top: 40px;
  background: var(--dark);
  color: var(--white);
  border: 1px solid #2a303b;
  border-radius: 16px;
  padding: 36px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-strip h3 { font-size: 1.3rem; }

/* ---------- Member Reviews (Grid) ---------- */
.reviews { background: var(--dark-2); }
.reviews .section-head h2 { color: var(--white); }
.reviews .section-head p { color: var(--gray); }

.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.review-card {
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  min-height: 250px;
  background: var(--card);
  border: 1px solid #2a303b;
  border-radius: 16px;
}
.review-avatar {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #2a303b;
  border: 2px solid rgba(220,38,38,.35);
}
.review-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  flex: 1;
}
.review-stars {
  display: flex;
  gap: 3px;
  color: #fbbf24;
  font-size: 0.85rem;
}
.review-text {
  color: #d7dbe2;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-author strong { color: var(--white); font-size: 0.95rem; }
.review-author span { color: var(--gray); font-size: 0.78rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--gray); padding: 40px 0 24px; border-top: 1px solid #3a5a7a; }
.footer-inner { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.footer .brand { color: var(--white); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }
.footer-note { font-size: 0.82rem; opacity: .75; }

/* ---------- Event Popup ---------- */
.event-popup { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.event-popup-backdrop { position: absolute; inset: 0; background: rgba(8,10,14,.72); backdrop-filter: blur(2px); }
.event-popup-card {
  position: relative;
  width: min(420px, 92%);
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 50%), var(--card);
  border: 1px solid #343a47;
  border-radius: 18px;
  padding: 30px 26px 26px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 26px 60px rgba(0,0,0,.6);
  overflow: hidden;
  animation: popupIn .35s ease both;
}
.event-popup-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), #ef7a1a); }
.event-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.event-popup-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.event-popup-date b { display: block; font-size: 2.8rem; font-weight: 900; color: var(--red); margin-top: 14px; }
.event-popup-date span { display: block; font-size: .8rem; font-weight: 800; text-transform: uppercase; color: var(--gray); }
.event-popup-card h3 { font-size: 1.4rem; margin: 12px 0 10px; }
.event-popup-card p { color: var(--gray); font-size: .92rem; margin-bottom: 18px; }
.event-popup-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fde047;
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.popup-timer-label { font-size: .78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 12px; }
.popup-timer { display: flex; gap: 10px; justify-content: center; margin-bottom: 22px; }
.popup-timer-box {
  flex: 1;
  max-width: 78px;
  background: var(--dark-2);
  border: 1px solid #343a47;
  border-radius: 12px;
  padding: 12px 0 10px;
}
.popup-timer-box b { display: block; font-size: 1.7rem; font-weight: 900; color: #fde047; line-height: 1; }
.popup-timer-box span { display: block; font-size: .68rem; color: var(--gray); text-transform: uppercase; margin-top: 6px; font-weight: 700; }
@keyframes popupIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Offer Popup ---------- */
.offer-popup { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px; box-sizing: border-box; }
.offer-popup-backdrop { position: absolute; inset: 0; background: rgba(8,10,14,.72); backdrop-filter: blur(2px); }
.offer-popup-card {
  position: relative;
  width: min(460px, 96%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 50%), var(--card);
  border: 1px solid #343a47;
  border-radius: 18px;
  padding: 30px 26px 26px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 26px 60px rgba(0,0,0,.6);
  animation: popupIn .35s ease both;
}
.offer-popup-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), #ef7a1a); }
.offer-popup-icon {
  width: 84px;
  height: 84px;
  margin: 16px auto 0;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: var(--red);
  background: rgba(220,38,38,.14);
  border-radius: 50%;
}
.offer-popup-card h3 { font-size: 1.4rem; margin: 16px 0 12px; color: var(--white); }
#offerPopupText p { color: #e6e9ee; font-size: 1rem; line-height: 1.55; margin-bottom: 8px; }
.offer-popup-card .btn { margin-top: 12px; }

/* ---------- Offer Banner (persistent strip below nav) ---------- */
.offer-banner {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;
  background: linear-gradient(90deg, var(--red), #ef7a1a);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  animation: offerFlash 1s ease-in-out infinite;
}
@keyframes offerFlash {
  0%, 100% {
    background: linear-gradient(90deg, var(--red), #ef7a1a);
    box-shadow: 0 4px 14px rgba(0,0,0,.28);
  }
  50% {
    background: linear-gradient(90deg, #ffd400, #ff8a00);
    box-shadow: 0 0 24px rgba(255,212,0,.95), 0 4px 14px rgba(0,0,0,.3);
  }
}
.offer-banner-icon { color: #7a1a00; font-size: 1.05rem; flex-shrink: 0; animation: offerIconPulse 1s ease-in-out infinite; }
.offer-banner-text { font-weight: 800; font-size: 0.98rem; line-height: 1.4; animation: offerTextFlash 1s steps(1,end) infinite; }
@keyframes offerTextFlash {
  0%, 49% { color: var(--white); }
  50%, 100% { color: #3a0d00; }
}
@keyframes offerIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
.offer-banner-inner {
  width: min(1120px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 14px;
  text-align: center;
  flex-wrap: wrap;
  cursor: pointer;
}
.offer-banner-icon { color: #ffe28a; font-size: 1rem; flex-shrink: 0; }
.offer-banner-text { font-weight: 700; font-size: 0.95rem; line-height: 1.4; }
.offer-banner-text span { display: inline; }
.offer-banner-text span + span::before { content: '  •  '; color: #ffe28a; }
.offer-banner:hover .offer-banner-text { text-decoration: underline; }

/* ---------- Contact Popup ---------- */
.contact-popup { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; }
.contact-popup-backdrop { position: absolute; inset: 0; background: rgba(8,10,14,.72); backdrop-filter: blur(2px); }
.contact-popup-card {
  position: relative;
  width: min(440px, 92%);
  max-height: 92vh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 50%), var(--card);
  border: 1px solid #343a47;
  border-radius: 18px;
  padding: 28px 26px 26px;
  color: var(--white);
  box-shadow: 0 26px 60px rgba(0,0,0,.6);
  animation: popupIn .35s ease both;
}
.contact-popup-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), #ef7a1a); }
.contact-popup-card h3 { font-size: 1.35rem; text-align: center; margin-bottom: 6px; }
.contact-popup-card h3 i { color: var(--red); }
.contact-popup-sub { text-align: center; color: var(--gray); font-size: .9rem; margin-bottom: 20px; }
.contact-popup-field { margin-bottom: 14px; }
.contact-popup-field label { display: block; font-size: .85rem; font-weight: 600; color: #cfd6df; margin-bottom: 6px; }
.contact-popup-field input,
.contact-popup-field textarea {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid #343a47;
  border-radius: 10px;
  color: var(--white);
  padding: 11px 14px;
  font-size: .95rem;
  font-family: inherit;
  box-sizing: border-box;
}
.contact-popup-field input:focus,
.contact-popup-field textarea:focus { outline: none; border-color: var(--red); }
.contact-popup-note { display: none; margin-top: 14px; font-size: .9rem; font-weight: 600; text-align: center; }
.contact-popup-note.ok { display: block; color: #86efac; }
.contact-popup-note.err { display: block; color: #fca5a5; }
.contact-email-line { margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .cards, .gallery-grid, .gallery-photos, .contact-grid, .reviews-grid, .calculator-grid, .events-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
    transform: translateX(105%);
    transition: transform .25s ease;
  }
  .nav-toggle:checked ~ .nav-links { transform: translateX(0); }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .16em; }
  .brand-icon { font-size: 1.3rem; }
  .nav-drop-menu {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    min-width: 0; width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
  .nav-drop.open .nav-drop-menu { transform: none; }
  .cards, .gallery-grid, .gallery-photos, .reviews-grid, .contact-grid, .calculator-grid, .events-grid { grid-template-columns: 1fr; }
  .calc-tabs { flex-wrap: wrap; }
  .calc-tab { flex: 1 1 100%; text-align: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cricket-badge {
    top: auto; bottom: 16px; right: 12px; left: 12px;
    justify-content: center;
    font-size: .85rem;
    padding: 9px 12px;
  }
}