/* ==========================================================================
   MINDFUL MOVERS CHESS CLUB - CHENNAI & ONLINE WORLDWIDE
   Custom Luxury Design System & Modern Responsive Stylesheet
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700&family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

/* --- Root Design Tokens --- */
:root {
  --gold: #c9a54c;
  --gold-light: #e8c97a;
  --gold-dark: #a88432;
  --gold-dim: rgba(201, 165, 76, 0.12);
  --gold-glow: rgba(201, 165, 76, 0.35);

  --dark: #0a0c0b;
  --dark-2: #121513;
  --dark-3: #1a1e1b;
  --dark-4: #232824;

  --green-deep: #081d13;
  --green-mid: #123824;
  --green-accent: #2e7d52;

  --ivory: #f5f0e8;
  --ivory-muted: #a3aca5;
  --ivory-dim: rgba(245, 240, 232, 0.65);

  --border: rgba(201, 165, 76, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-h: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-b: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-w: 1220px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 24px rgba(201, 165, 76, 0.25);
}

/* --- Base Resets & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--dark);
  color: var(--ivory);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  color: var(--ivory);
  line-height: 1.15;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

button {
  font-family: inherit;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.gt {
  color: var(--gold);
}

.gt-italic {
  color: var(--gold);
  font-style: italic;
}

.lbl {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.ttl {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

/* Checkerboard Background Texture */
.cp {
  background-image: repeating-conic-gradient(rgba(201, 165, 76, 0.038) 0% 25%, transparent 0% 50%);
  background-size: 54px 54px;
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  font-family: var(--font-b);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
  user-select: none;
}

.btn-g {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(201, 165, 76, 0.25);
}

.btn-g:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 165, 76, 0.4);
}

.btn-o {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(245, 240, 232, 0.8);
}

.btn-o:hover {
  background: var(--ivory);
  color: var(--dark);
  border-color: var(--ivory);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.topbar {
  background: var(--green-deep);
  border-bottom: 1px solid rgba(201, 165, 76, 0.18);
  padding: 9px 24px;
  font-size: 12.5px;
  position: relative;
  z-index: 101;
}

.topbar-in {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory-muted);
}

.topbar-loc strong {
  color: var(--ivory);
}

.topbar-contacts {
  display: flex;
  gap: 22px;
  align-items: center;
}

.topbar a {
  color: var(--ivory-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar a:hover {
  color: var(--gold);
}

/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 11, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition-fast);
}

.nav-in {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-ic {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--dark);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(201, 165, 76, 0.3);
  transition: transform var(--transition-fast);
}

.logo:hover .logo-ic {
  transform: rotate(-6deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-nm {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.3px;
  line-height: 1.15;
}

.logo-tg {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav-ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-ul a {
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ivory-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-ul a:hover {
  color: var(--gold);
  background: var(--gold-dim);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 800 !important;
  padding: 10px 22px !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 12.5px !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(201, 165, 76, 0.35);
}

.hbg {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hbg span {
  width: 26px;
  height: 2.5px;
  background: var(--ivory);
  display: block;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hbg.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hbg.open span:nth-child(2) {
  opacity: 0;
}

.hbg.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mob-menu {
  display: none;
  flex-direction: column;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  gap: 6px;
}

.mob-menu.open {
  display: flex;
}

.mob-menu a {
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ivory-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mob-menu a:hover {
  color: var(--gold);
  background: var(--gold-dim);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: calc(100vh - 120px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.h-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-conic-gradient(rgba(201, 165, 76, 0.04) 0% 25%, transparent 0% 50%);
  background-size: 58px 58px;
  pointer-events: none;
}

.h-gr {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 45%, rgba(18, 56, 36, 0.45) 0%, transparent 62%),
              radial-gradient(circle at 15% 90%, rgba(201, 165, 76, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 50% 10%, rgba(10, 12, 11, 0.7) 0%, var(--dark) 100%);
  pointer-events: none;
}

/* Subtle Chess Crown / Piece Watermark */
.h-piece {
  position: absolute;
  right: -30px;
  top: 48%;
  transform: translateY(-50%);
  font-size: clamp(220px, 34vw, 460px);
  opacity: 0.042;
  line-height: 1;
  user-select: none;
  color: var(--gold);
  pointer-events: none;
}

.h-con {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 140px;
  width: 100%;
}

.slide {
  display: none;
  animation: fadeInSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.slide.active {
  display: block;
}

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

.eye {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eye::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
}

.h-title {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 26px;
  max-width: 780px;
  letter-spacing: -1px;
}

.h-desc {
  font-size: 1.15rem;
  color: var(--ivory-muted);
  max-width: 580px;
  margin-bottom: 42px;
  line-height: 1.85;
}

.h-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Slider Dots */
.dots {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 56px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ivory-muted);
  opacity: 0.5;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  padding: 0;
}

.dot:hover {
  opacity: 0.85;
}

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
  opacity: 1;
}

/* ==========================================================================
   KEY STATS BAR (Sits at Hero bottom)
   ========================================================================== */
.h-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 17, 15, 0.96);
  border-top: 1px solid var(--border);
  z-index: 5;
  backdrop-filter: blur(10px);
}

.h-stats-in {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background-color var(--transition-fast);
}

.stat:last-child {
  border-right: none;
}

.stat:hover {
  background: rgba(201, 165, 76, 0.04);
}

.stat-n {
  font-family: var(--font-h);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stat-n .stat-icon {
  font-size: 1.85rem;
}

.stat-l {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

/* ==========================================================================
   GLOBAL REACH STRIP
   ========================================================================== */
.global-strip {
  background: var(--green-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  position: relative;
  z-index: 6;
}

.gs-in {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.gs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--ivory-muted);
}

.gs-code {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1px;
}

.gs-item strong {
  color: var(--ivory);
  font-weight: 700;
}

.gs-div {
  width: 1px;
  height: 22px;
  background: var(--border);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  padding: 100px 24px;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}

.ab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.ab-vis {
  position: relative;
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border: 1.5px solid var(--border);
  overflow: hidden;
}

.coach-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  margin: 10px 0 24px;
}

.coach-tag span {
  font-weight: 800;
  color: var(--gold);
  font-size: 0.95rem;
}

.ab-con p {
  color: var(--ivory-muted);
  margin-bottom: 20px;
  line-height: 1.85;
  font-size: 1.02rem;
}

/* ==========================================================================
   WHY CHESS? (BENEFITS SECTION)
   ========================================================================== */
.benefits {
  padding: 100px 24px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.benefits .cp {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.benefits .container {
  position: relative;
  z-index: 2;
}

.bg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.bc {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 42px 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.bc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.bc:hover {
  border-color: rgba(201, 165, 76, 0.45);
  transform: translateY(-6px);
  background: var(--dark-3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.bc:hover::before {
  transform: scaleX(1);
}

.bi {
  font-size: 38px;
  margin-bottom: 22px;
  display: block;
}

.bc h3 {
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ivory);
}

.bc p {
  color: var(--ivory-muted);
  font-size: 0.96rem;
  line-height: 1.78;
}

/* ==========================================================================
   PROGRAMS & PRICING
   ========================================================================== */
.programs {
  padding: 100px 24px;
  background: var(--green-deep);
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.pc {
  background: rgba(20, 26, 23, 0.7);
  border: 1px solid rgba(201, 165, 76, 0.22);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.pc:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.pc.feat {
  border-color: var(--gold);
  background: rgba(201, 165, 76, 0.08);
  position: relative;
}

.p-head {
  padding: 34px 30px 24px;
  border-bottom: 1px solid rgba(201, 165, 76, 0.15);
}

.p-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 165, 76, 0.12);
  padding: 5px 14px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 16px;
}

.feat .p-badge {
  background: var(--gold);
  color: var(--dark);
}

.p-head h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.p-head p {
  color: var(--ivory-muted);
  font-size: 0.92rem;
}

.p-body {
  padding: 26px 30px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.p-feats {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.p-feats li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.92rem;
  color: var(--ivory-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.p-feats li:last-child {
  border-bottom: none;
}

.fd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}

.p-fee {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.fee-c {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 800;
}

.fee-a {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.fee-p {
  font-size: 13.5px;
  color: var(--ivory-muted);
}

.fee-n {
  font-size: 11.5px;
  color: var(--gold-light);
  margin-bottom: 22px;
  font-weight: 600;
}

/* ==========================================================================
   HALL OF FAME / OUR CHAMPIONS
   ========================================================================== */
.ach {
  padding: 100px 24px;
  background: var(--dark-2);
  position: relative;
}

.ah {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.ag {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.acard {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.acard:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 165, 76, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.acard-img-wrap {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #080908;
  position: relative;
}

.acard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.acard:hover .acard-img {
  transform: scale(1.05);
}

.acard-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.at {
  font-size: 11px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.an {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ivory);
}

.ad {
  font-size: 0.88rem;
  color: var(--ivory-muted);
  line-height: 1.65;
}

.acard-cta {
  border: 1px dashed rgba(201, 165, 76, 0.4);
  background: rgba(201, 165, 76, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
  padding: 36px 24px;
}

/* ==========================================================================
   UPCOMING EVENTS
   ========================================================================== */
.events {
  padding: 70px 24px;
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.events-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.ev-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  transition: all var(--transition-normal);
}

.ev-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.ev-date {
  font-family: var(--font-h);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.ev-month {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-bottom: 12px;
}

.ev-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--ivory);
}

.ev-loc {
  font-size: 0.84rem;
  color: var(--ivory-muted);
}

/* ==========================================================================
   PARENT TESTIMONIALS
   ========================================================================== */
.testi {
  padding: 100px 24px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.testi::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-h);
  font-size: 320px;
  color: rgba(201, 165, 76, 0.03);
  line-height: 1;
  pointer-events: none;
}

.tg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.tcard {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 42px 34px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.tcard:hover {
  border-color: rgba(201, 165, 76, 0.45);
  transform: translateY(-4px);
}

.tstars {
  color: var(--gold);
  font-size: 19px;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.ttxt {
  font-style: italic;
  color: var(--ivory-muted);
  line-height: 1.85;
  margin-bottom: 30px;
  font-size: 0.98rem;
}

.tau {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tau-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.tau-nm {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 2px;
  color: var(--ivory);
}

.tau-rl {
  font-size: 12px;
  color: var(--ivory-muted);
}

/* ==========================================================================
   PUZZLE OF THE WEEK
   ========================================================================== */
.puzzle {
  padding: 80px 24px;
  background: var(--green-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.puzzle-in {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.puzzle-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  width: 290px;
  margin: 32px auto 28px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.sq {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.sq.l {
  background: rgba(201, 165, 76, 0.16);
}

.sq.d {
  background: rgba(11, 28, 18, 0.95);
}

.sq.piece {
  font-size: 24px;
  line-height: 1;
}

/* ==========================================================================
   CHESS BLOG
   ========================================================================== */
.blog {
  padding: 100px 24px;
  background: var(--dark-2);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 165, 76, 0.5);
}

.blog-thumb {
  width: 100%;
  height: 190px;
  background: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 58px;
  color: rgba(201, 165, 76, 0.35);
  border-bottom: 1px solid rgba(201, 165, 76, 0.15);
}

.blog-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.blog-title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--ivory);
}

.blog-ex {
  font-size: 0.9rem;
  color: var(--ivory-muted);
  line-height: 1.72;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-meta {
  font-size: 12.5px;
  color: var(--ivory-muted);
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
  padding: 100px 24px;
  background: var(--dark);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: var(--font-b);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color var(--transition-fast);
}

.faq-q:hover {
  color: var(--gold);
}

.faq-q .arr {
  color: var(--gold);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-q.open .arr {
  transform: rotate(45deg);
}

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

.faq-a.open {
  max-height: 250px;
}

.faq-a p {
  padding-bottom: 24px;
  color: var(--ivory-muted);
  line-height: 1.85;
  font-size: 0.98rem;
}

/* ==========================================================================
   CONTACT & ENROLLMENT SECTION
   ========================================================================== */
.contact {
  padding: 100px 24px;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}

.cg {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 70px;
  align-items: start;
}

.ci p {
  color: var(--ivory-muted);
  margin-bottom: 40px;
  line-height: 1.85;
  font-size: 1.05rem;
}

.cd {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.cd-ic {
  width: 44px;
  height: 44px;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cd-lb {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.cd-vl {
  color: var(--ivory-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  margin-top: 12px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.wa-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.cform {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

.cf-ttl {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cf-sub {
  color: var(--ivory-muted);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

.fr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fg {
  margin-bottom: 22px;
}

.fg label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-bottom: 8px;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: var(--dark-4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--ivory);
  font-family: var(--font-b);
  font-size: 14.5px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 165, 76, 0.18);
}

.fg select option {
  background: var(--dark-3);
  color: var(--ivory);
}

.fg textarea {
  resize: vertical;
  min-height: 110px;
}

.fsub {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-b);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(201, 165, 76, 0.25);
}

.fsub:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 165, 76, 0.4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #060706;
  border-top: 1px solid var(--border);
}

.f-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.f-brand p {
  color: var(--ivory-muted);
  font-size: 0.94rem;
  line-height: 1.82;
  margin-bottom: 26px;
  max-width: 440px;
}

.f-soc {
  display: flex;
  gap: 12px;
}

.soc {
  width: 40px;
  height: 40px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ivory-muted);
  transition: all var(--transition-fast);
}

.soc:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.f-col h4 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.f-col ul {
  list-style: none;
}

.f-col ul li {
  margin-bottom: 12px;
}

.f-col ul li a {
  color: var(--ivory-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.f-col ul li a:hover {
  color: var(--gold);
}

.f-bot {
  border-top: 1px solid var(--border);
  padding: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ivory-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   FLOATING WHATSAPP CHAT BUTTON
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #ffffff;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  animation: pulseWa 2.8s infinite;
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.65);
}

@keyframes pulseWa {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 4px 38px rgba(37, 211, 102, 0.85);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (Breakpoints)
   ========================================================================== */
@media (max-width: 980px) {
  .ab-grid,
  .cg {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .f-main {
    grid-template-columns: 1fr 1fr;
  }

  .h-stats-in {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  .nav-ul {
    display: none;
  }

  .hbg {
    display: flex;
  }

  .fr {
    grid-template-columns: 1fr;
  }

  .cform {
    padding: 34px 22px;
  }

  .f-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .h-stats-in {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .topbar {
    display: none; /* Hide topbar on small mobile to keep viewport clean */
  }

  .hero {
    min-height: auto;
  }

  .h-con {
    padding: 40px 20px 80px;
  }

  .h-stats {
    position: static;
  }

  .gs-in {
    gap: 16px;
  }

  .gs-div {
    display: none;
  }

  .wa-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}
