/* =====================================================
   KK SPORTS FOUNDATION – Main CSS
   Light Theme Palette:
   Primary Blue #0B97F4 | Sky Blue #8BC8F8 | Aqua Mint #8BF8F1 | Coral Red #E93F3F | White #FFFFFF
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --primary: #E93F3F;       /* Coral Red – Minimal CTA Accent */
  --teal: #0B97F4;          /* Primary Blue – Main Brand Color */
  --sky: #8BC8F8;           /* Soft Sky Blue */
  --aqua: #8BF8F1;          /* Soft Aqua Mint */
  --accent: #0B97F4;        /* Primary Blue Accent */
  --accent-dark: #0778C7;   /* Deeper Blue for Hover */
  --secondary: #8BF8F1;     /* Aqua Mint */
  --white: #FFFFFF;
  --light: #B1DEFD;         /* Soft Sky Blue for Light Sections */
  --dark: #0F2634;          /* Deep Ocean Slate for Crisp Text */
  --text-main: #2C4251;     /* Readable Body Text */
  --grey: #5F7786;          /* Muted Text */
  --success: #28A745;
  --gold: #F5B800;
  --silver: #A8B5BF;
  --bronze: #CD7F32;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow: 0 6px 24px rgba(11, 151, 244, 0.09);
  --shadow-lg: 0 12px 36px rgba(11, 151, 244, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 14px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

.text-accent { color: var(--teal) !important; }
.text-primary-dark { color: var(--dark) !important; }
.bg-primary-dark { background-color: var(--teal) !important; }
.bg-accent { background: linear-gradient(90deg, var(--teal), var(--sky)) !important; }
.bg-light-custom { background-color: var(--light) !important; }

/* ─── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--sky), var(--teal)); border-radius: 4px; }

/* ─── SECTION TITLES ─────────────────────────────────── */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  position: relative;
}

.section-subtitle {
  color: var(--grey);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.title-divider {
  width: 68px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--aqua));
  border-radius: 3px;
  margin: 0.75rem auto 1rem;
}

.title-divider.left { margin-left: 0; }

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 5px 16px rgba(233, 63, 63, 0.28);
}

.btn-primary-custom:hover {
  background: #D12E2E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 63, 63, 0.38);
  color: white;
}

.btn-outline-custom {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: white;
  border: 2px solid white;
  padding: 0.73rem 1.9rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-custom:hover {
  background: white;
  color: var(--teal);
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-outline-accent:hover {
  background: var(--teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(11, 151, 244, 0.28);
}

/* ─── TOP ANNOUNCEMENT BAR ────────────────────────────── */
.announcement-bar {
  background:  #0B97F4;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 0;
  overflow: hidden;
}

.announcement-bar .marquee-text {
  display: inline-block;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.announcement-bar:hover .marquee-text { animation-play-state: paused; }

/* ─── TOP INFO STRIP ──────────────────────────────────── */
.top-info-strip {
  background: #F4FBFE;
  color: var(--text-main);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(11, 151, 244, 0.14);
}

/* ─── NAVBAR ──────────────────────────────────────────── */
.navbar-main {
  background: #0B97F4;
  padding: 0.9rem 0;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(0, 122, 135, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-main.scrolled {
  padding: 0.6rem 0;
  background: #0B97F4;
  box-shadow: 0 8px 28px rgba(11, 151, 244, 0.35);
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.navbar-brand-wrapper:hover {
  transform: translateY(-1px);
}

.navbar-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.navbar-brand-wrapper:hover .navbar-logo,
.navbar-brand-wrapper:hover .navbar-logo-placeholder {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(139, 248, 241, 0.4);
}

.navbar-logo-placeholder {
  width: 55px;
  height: 55px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: #0B97F4;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: var(--transition);
}

.navbar-brand-text .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.navbar-brand-text .brand-tagline {
  font-size: 0.65rem;
  color: #D6FEFB;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-toggler {
  color: #FFFFFF !important;
  transition: var(--transition);
}

.navbar-toggler:hover {
  transform: scale(1.08);
}

.navbar-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.94) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.95rem !important;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2.5px;
  background: var(--aqua);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(139, 248, 241, 0.7);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link.show::after {
  width: 62%;
}

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

.navbar-nav .dropdown-menu {
  background: #B1DEFD;
  border: 1px solid rgba(11, 151, 244, 0.35);
  border-radius: 12px;
  padding: 0.5rem;
  margin-top: 10px;
  box-shadow: 0 12px 32px rgba(11, 151, 244, 0.22);
  animation: dropdownFadeIn 0.22s ease-out;
}

.navbar-nav .dropdown-item {
  color: var(--dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-nav .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.75);
  color: #0B97F4;
  transform: translateX(4px);
}

.navbar-search-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-left: 0.5rem;
}

.navbar-search-btn:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0B97F4;
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.btn-register-nav {
  background: var(--primary) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 0.52rem 1.35rem !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 14px rgba(233, 63, 63, 0.28);
  transition: var(--transition);
}

.btn-register-nav::after {
  display: none !important;
}

.btn-register-nav:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(233, 63, 63, 0.4);
  background: #D12E2E !important;
  color: white !important;
}

/* ─── HERO SECTION ─────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--sky) 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(117, 124, 122, 0.379);
  color: var(--aqua);
  border: 1.5px solid var(--aqua);
  border-radius: 50px;
  padding: 0.45rem 1.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.12;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 6px 24px rgba(0, 0, 0, 0.65);
  -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.28);
}

.hero-title span {
  color: var(--aqua);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 18px rgba(139, 248, 241, 0.35);
}

.hero-description {
  color: #FFFFFF;
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 2.25rem;
  max-width: 620px;
  line-height: 1.75;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 18px rgba(0, 0, 0, 0.7);
}

/* Carousel Hero Buttons with Crisp Visible Borders & Text */
.hero-section .btn-primary-custom {
  background: linear-gradient(135deg, #E93F3F 0%, #CC2929 100%);
  color: #FFFFFF !important;
  border: 2.5px solid #FFFFFF;
  padding: 0.8rem 2.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(233, 63, 63, 0.6);
}

.hero-section .btn-primary-custom:hover {
  background: linear-gradient(135deg, #F54B4B 0%, #D92B2B 100%);
  border-color: #0B97F4;
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 16px rgba(11, 151, 244, 0.55);
}

.hero-section .btn-outline-custom {
  background: rgba(15, 38, 52, 0.448);
  color: #FFFFFF !important;
  border: 2.5px solid #0B97F4;
  padding: 0.8rem 2.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.hero-section .btn-outline-custom:hover {
  background: #0B97F4;
  border-color: #0B97F4;
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 16px rgba(11, 151, 244, 0.55);
}

.hero-stats {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
  background: rgba(15, 38, 52, 0.152);
  border: 1.5px solid rgba(139, 248, 241, 0.55);
  border-radius: 14px;
  padding: 0.75rem 1.15rem;
  min-width: 96px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.hero-stat-item:hover {
  transform: translateY(-3px);
  border-color: #FFFFFF;
  background: rgba(11, 151, 244, 0.82);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--aqua);
  display: block;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-stat-label {
  font-size: 0.72rem;
  color: #FFFFFF;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-top: 0.2rem;
  display: block;
}

.hero-graphic {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle-bg {
  width: 390px;
  height: 390px;
  background: rgba(15, 38, 52, 0.42);
  border: 2.5px solid rgba(139, 248, 241, 0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(139, 248, 241, 0.15);
  animation: pulse 3s ease-in-out infinite;
}

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

.hero-sports-icons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.4rem;
  text-align: center;
}

.hero-sport-icon {
  width: 66px;
  height: 66px;
  background: rgba(15, 38, 52, 0.76);
  border: 2px solid rgba(139, 248, 241, 0.65);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #FFFFFF;
  transition: var(--transition);
  margin: 0 auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.hero-sport-icon:hover {
  background: var(--teal);
  border-color: #FFFFFF;
  transform: translateY(-5px) scale(1.06);
}

/* Carousel Prev / Next & Indicators Polish */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 5%;
  z-index: 5;
  opacity: 0.95;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(15, 38, 52, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.9);
  background-size: 50% 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

#heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#heroCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--teal);
  border-color: var(--aqua);
  transform: scale(1.08);
}

#heroCarousel .carousel-indicators {
  z-index: 5;
  margin-bottom: 1.25rem;
}

#heroCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.65);
  border: 2px solid rgba(15, 38, 52, 0.7);
  opacity: 1;
  transition: var(--transition);
}

#heroCarousel .carousel-indicators button.active {
  width: 30px;
  border-radius: 20px;
  background-color: var(--aqua);
  border-color: #FFFFFF;
}

/* ─── CARDS ────────────────────────────────────────────── */
.card-sport {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: none;
  height: 100%;
}

.card-sport:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-sport .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.card-sport:hover .card-img-top { transform: scale(1.05); }

.card-sport-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: var(--transition);
}

.card-sport .card-body { padding: 1.5rem; }

.card-sport .card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.card-sport .card-text {
  color: var(--grey);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ─── COACH CARD ───────────────────────────────────────── */
.card-coach {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  padding: 2rem 1.5rem;
  border: none;
  height: 100%;
}

.card-coach:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.coach-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--light);
  margin-bottom: 1rem;
}

.coach-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 1rem;
}

.coach-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.coach-spec {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.coach-centre {
  color: var(--grey);
  font-size: 0.8rem;
}

/* ─── ACHIEVEMENT CARD ─────────────────────────────────── */
.card-achievement {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: none;
  height: 100%;
}

.card-achievement:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.achievement-medal-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.medal-gold { background: rgba(255, 215, 0, 0.15); color: var(--gold); }
.medal-silver { background: rgba(192, 192, 192, 0.15); color: #888; }
.medal-bronze { background: rgba(205, 127, 50, 0.15); color: var(--bronze); }
.medal-award { background: rgba(255, 107, 36, 0.15); color: var(--accent); }

.achievement-level-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.level-national { background: rgba(220, 53, 69, 0.1); color: #DC3545; }
.level-state { background: rgba(0, 102, 204, 0.1); color: #0066CC; }
.level-district { background: rgba(40, 167, 69, 0.1); color: var(--success); }
.level-international { background: rgba(255, 107, 36, 0.1); color: var(--accent); }

/* ─── EVENT CARD ───────────────────────────────────────── */
.card-event {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-event:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.event-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-upcoming { background: rgba(23, 162, 184, 0.15); color: #17A2B8; }
.status-ongoing { background: rgba(40, 167, 69, 0.15); color: var(--success); }
.status-completed { background: rgba(108, 117, 125, 0.15); color: var(--grey); }

/* ─── STAT COUNTER SECTION ─────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #0B97F4 0%, #3AB8D6 55%, #8BC8F8 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(139, 248, 241, 0.22) 0%, transparent 60%);
}

.stat-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: #FFFFFF;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 100, 110, 0.2);
}

.stat-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--aqua);
  margin-bottom: 1rem;
  display: block;
}

/* ─── SECTION STYLES ───────────────────────────────────── */
.section-padding { padding: 5rem 0; }
.section-padding-sm { padding: 3rem 0; }

.bg-primary-section {
  background: linear-gradient(135deg, #0B97F4 0%, #8BC8F8 100%);
  color: white;
}

.bg-primary-section .section-title { color: white; }

/* ─── CENTRE CARD ──────────────────────────────────────── */
.card-centre {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: none;
  height: 100%;
}

.card-centre:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-centre .centre-cover {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

.card-centre .centre-cover-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.4);
}

/* ─── GALLERY GRID ─────────────────────────────────────── */
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 29, 53, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ─── NEWS CARD ────────────────────────────────────────── */
.card-news {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-news:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-news .news-img {
  height: 200px;
  object-fit: cover;
}

.card-news .news-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--light), #E0E5F0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--grey);
}

.card-news .card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

/* ─── TESTIMONIAL CARD & AUTO MARQUEE ──────────────────── */
.testimonial-marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.testimonial-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: testimonialScroll 32s linear infinite;
}

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

.testimonial-marquee-item {
  flex: 0 0 360px;
  display: flex;
}

.testimonial-marquee-item .card-testimonial {
  width: 100%;
  display: flex;
  flex-direction: column;
}

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

@media (max-width: 575px) {
  .testimonial-marquee-item {
    flex: 0 0 290px;
  }
}

.card-testimonial {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  border: none;
  height: 100%;
}

.card-testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 5rem;
  color: rgba(255, 107, 36, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars { color: #FFB400; margin-bottom: 1rem; }

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-avatar-placeholder {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* ─── REGISTRATION FORM ─────────────────────────────────── */
.form-section {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-control, .form-select {
  border: 1.5px solid #E0E5F0;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  transition: var(--transition);
  color: #333;
}

.form-control:focus, .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(11, 151, 244, 0.16);
  outline: none;
}

.form-section-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  padding: 0.75rem 1rem;
  background: var(--light);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent);
}

/* ─── BREADCRUMB ───────────────────────────────────────── */
.breadcrumb-section {
  background: #B1DEFD;
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(11, 151, 244, 0.22);
}

.breadcrumb-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--aqua));
}

.breadcrumb-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.breadcrumb-nav .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-nav .breadcrumb-item a {
  color: var(--grey);
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-nav .breadcrumb-item a:hover { color: var(--teal); }
.breadcrumb-nav .breadcrumb-item.active { color: var(--teal); font-size: 0.9rem; font-weight: 600; }
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before { color: var(--grey); }

/* ─── FOOTER ───────────────────────────────────────────── */
.footer {
  background: #B1DEFD;
  color: var(--text-main);
  padding: 4rem 0 0;
  font-size: 0.9rem;
  border-top: 2px solid rgba(11, 151, 244, 0.25);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-about { line-height: 1.8; margin-top: 1rem; color: var(--text-main); }

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 38px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover { color: var(--teal); padding-left: 5px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.footer-contact-link {
  color: var(--text-main);
  transition: var(--transition);
}

.footer-contact-link:hover { color: var(--teal); }

.footer-newsletter-title { color: var(--dark); }

.footer-contact-icon {
  color: var(--teal);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(11, 151, 244, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(11, 151, 244, 0.1);
}

.footer-social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  background: #0B97F4;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem 0;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.footer-bottom-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.footer-bottom-link:hover { color: var(--aqua); }

/* ─── SEARCH BAR ───────────────────────────────────────── */
.search-modal .modal-content {
  background: #FFFFFF;
  border: 1px solid rgba(11, 151, 244, 0.2);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.search-modal .search-input {
  background: var(--light);
  border: 2px solid rgba(11, 151, 244, 0.28);
  color: var(--dark);
  font-size: 1.05rem;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
}

.search-modal .search-input:focus {
  background: #FFFFFF;
  border-color: var(--teal);
  color: var(--dark);
  box-shadow: 0 0 0 0.2rem rgba(11, 151, 244, 0.16);
}

.search-modal .search-input::placeholder { color: var(--grey); }

/* ─── ALERTS & MESSAGES ─────────────────────────────────── */
.alert {
  border-radius: 10px;
  border: none;
  font-weight: 500;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: #155724;
  border-left: 4px solid var(--success);
}

.alert-danger {
  background: rgba(220, 53, 69, 0.1);
  color: #721c24;
  border-left: 4px solid #DC3545;
}

/* ─── SCROLL TO TOP ─────────────────────────────────────── */
#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 5px 18px rgba(11, 151, 244, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  cursor: pointer;
}

#scrollToTop.visible { opacity: 1; visibility: visible; }
#scrollToTop:hover { background: var(--primary); color: white; transform: translateY(-3px); }

/* ─── LIGHTBOX ──────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.lightbox-overlay.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: 8px; }

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: white; font-size: 2rem;
  cursor: pointer; background: none; border: none;
  transition: var(--transition);
}

.lightbox-close:hover { color: var(--accent); transform: rotate(90deg); }

/* ─── FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
  background: var(--light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination .page-link {
  color: var(--dark);
  border: 1.5px solid #E0E5F0;
  border-radius: 8px !important;
  margin: 0 3px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ─── MEDAL STATS SECTION ───────────────────────────────── */
.medal-stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.medal-stat-card:hover { transform: translateY(-3px); }

.medal-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  display: block;
}

/* ─── SPORT DETAIL ──────────────────────────────────────── */
.sport-detail-hero {
  background: linear-gradient(135deg, var(--teal), var(--sky));
  min-height: 350px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.sport-icon-large {
  font-size: 8rem;
  color: rgba(255,255,255,0.08);
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

/* ─── REGISTRATION SUCCESS ──────────────────────────────── */
.success-card {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  width: 90px;
  height: 90px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--success);
  margin: 0 auto 1.5rem;
}

.registration-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  background: rgba(139, 200, 248, 0.15);
  border: 2px dashed rgba(11, 151, 244, 0.4);
  padding: 0.75rem 2rem;
  border-radius: 10px;
  display: inline-block;
  margin: 1rem 0;
  letter-spacing: 2px;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #0B97F4;
    border-radius: 12px;
    margin-top: 0.85rem;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(11, 151, 244, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.22);
  }
  .hero-circle-bg { width: 250px; height: 250px; }
  .hero-sports-icons { gap: 1rem; }
  .hero-sport-icon { width: 55px; height: 55px; font-size: 1.5rem; }
}

@media (max-width: 767px) {
  .section-padding { padding: 3rem 0; }
  .hero-section { min-height: 65vh; padding: 3rem 0; }
  .stat-number { font-size: 2rem; }
  .hero-graphic { display: none; }
  .hero-stats { gap: 1rem; }
}

@media (max-width: 575px) {
  .navbar-brand-text .brand-name { font-size: 1rem; }
  .hero-title { font-size: 1.8rem; }
}

