/* ============================================================
   DISTRICT QWAN KI DO ASSOCIATION ALIGARH
   Simple, Clean, Professional Website
   Color: White, Black, Red (#cc1515)
   Font: Poppins
============================================================ */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn-red {
  display: inline-block;
  background: #cc1515;
  color: #fff;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-red:hover { background: #a80f0f; }
.btn-red.full-width { width: 100%; text-align: center; }

.btn-outline {
  display: inline-block;
  border: 2px solid #111;
  color: #111;
  padding: 11px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}
.btn-outline:hover { background: #111; color: #fff; }

.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
  transition: background 0.2s ease;
}
.btn-whatsapp:hover { background: #1aad53; }


/* ============================================================
   HEADER
============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  transition: box-shadow 0.2s ease;
}
#header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-top {
  font-size: 13px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.logo-bottom {
  font-size: 11px;
  font-weight: 500;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: #333;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover, .nav-link.active {
  color: #cc1515;
  background: rgba(204, 21, 21, 0.06);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 2000;
  padding: 70px 32px 40px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transition: right 0.28s ease;
}
.mobile-nav.open { right: 0; display: block; }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.15s ease;
}
.mobile-link:hover { color: #cc1515; }

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1500;
}
.overlay.active { display: block; }


/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title span { color: #cc1515; }

.hero-sub {
  font-size: clamp(14px, 2.2vw, 18px);
  color: rgba(255,255,255,0.80);
  font-weight: 400;
  margin-bottom: 36px;
  letter-spacing: 0.06em;
}


/* ============================================================
   SECTION SHARED STYLES
============================================================ */
.section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.section-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cc1515;
  margin-bottom: 10px;
}
.section-label.light { color: rgba(255,255,255,0.7); }

.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 15.5px;
  color: #555;
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.7;
}


/* ============================================================
   ABOUT SECTION
============================================================ */
.about-section { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.about-text p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-text p strong { color: #111; }
.about-text a { margin-top: 8px; }

.about-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
}


/* ============================================================
   TRAINING SECTION
============================================================ */
.training-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.training-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.training-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
}

.training-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
}

.training-title {
  font-size: clamp(28px, 4.5vw, 54px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.training-sub {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.78);
  margin-bottom: 44px;
}

.training-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.training-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 18px 20px;
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.training-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.training-feature span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}


/* ============================================================
   CHAMPIONSHIPS SECTION
============================================================ */
.champ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
  margin-top: 12px;
}

.champ-card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}
.champ-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.champ-card-img {
  height: 220px;
  overflow: hidden;
  background: #111;
}
.champ-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.champ-card:hover .champ-card-img img { transform: scale(1.04); }

.champ-card-img--solid { background: #f4f4f4; }
.champ-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #aaa;
}
.champ-placeholder span { font-size: 36px; }
.champ-placeholder p { font-size: 13px; font-weight: 500; }

.champ-card-body {
  padding: 22px 20px;
}
.champ-tag {
  display: inline-block;
  background: rgba(204, 21, 21, 0.09);
  color: #cc1515;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.champ-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.3;
}
.champ-card-body p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.65;
}


/* ============================================================
   GALLERY SECTION
============================================================ */
.gallery-section { background: #f8f8f8; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-top: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8e8e8;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  padding: 24px 14px 12px;
}

.gallery-item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
  background: #fff;
  cursor: pointer;
}
.gallery-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #bbb;
}
.gallery-add span { font-size: 32px; font-weight: 300; line-height: 1; }
.gallery-add p { font-size: 13px; font-weight: 500; }

.gallery-note {
  margin-top: 24px;
  font-size: 13px;
  color: #888;
  text-align: center;
}
.gallery-note code {
  background: #f0f0f0;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 12px;
  color: #cc1515;
}


/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section { background: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; font-size: 14px; font-weight: 700; color: #111; margin-bottom: 2px; }
.contact-info-item p { font-size: 14.5px; color: #555; }
.contact-info-item a { color: #cc1515; }
.contact-info-item a:hover { text-decoration: underline; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: #333; }
.form-group input,
.form-group textarea {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 11px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #111;
  transition: border-color 0.15s ease;
  background: #fafafa;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #cc1515;
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  font-size: 14px;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 5px;
  padding: 12px 16px;
}


/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #111;
  color: rgba(255,255,255,0.75);
  padding: 50px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo { width: 44px; height: 44px; object-fit: contain; }
.footer-brand strong { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: #cc1515; }

.footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  width: 100%;
  text-align: center;
}


/* ============================================================
   FLOATING WHATSAPP BUTTON
============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-logo-col { order: -1; }
  .about-logo { max-width: 180px; }

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

@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: none; }
  .mobile-nav.open { display: block; }

  .hero-title { font-size: clamp(28px, 7vw, 44px); }

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

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

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

  .footer-brand { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .wa-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }
}

/* Launch accessibility improvements */
section[id] { scroll-margin-top: 78px; }
:focus-visible { outline: 3px solid #cc1515; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
