/* 
   Krida Prabodhini Official Portal Styling
   Aesthetics: Modern Government & Sports Portal
   Colors: Deep Blue, Saffron Orange, Gold Accent, Light Grey
   Typography: Mukta (Marathi/Devanagari) & Outfit (Latin/Numbers)
*/

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #1a365d;       /* Deep Tricolor Blue */
  --primary-light: #2a4d7c;
  --secondary-color: #ff6f00;     /* Vibrant Saffron */
  --secondary-light: #ff8f00;
  --accent-color: #ffb300;        /* Gold */
  --text-dark: #212529;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-marathi: 'Mukta', sans-serif;
  --font-english: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-marathi);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-saffron { color: var(--secondary-color); }
.text-blue { color: var(--primary-color); }

.section {
  padding: 60px 0;
}

.section-bg {
  background-color: var(--bg-white);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title.left-align::after {
  left: 0;
  transform: none;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Buttons */
.btn-kp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-kp-primary {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 6px rgba(255, 111, 0, 0.2);
}

.btn-kp-primary:hover {
  background-color: #e65100;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 111, 0, 0.3);
  color: var(--bg-white);
}

.btn-kp-secondary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 6px rgba(26, 54, 93, 0.2);
}

.btn-kp-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(26, 54, 93, 0.3);
  color: var(--bg-white);
}

.btn-kp-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-kp-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* TOP GOVT BAR */
.top-bar {
  background-color: #112233;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 2px solid var(--secondary-color);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  gap: 15px;
  align-items: center;
}

.top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.accessibility-tools {
  display: flex;
  gap: 8px;
}

.accessibility-tools button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}

.accessibility-tools button:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* HEADER MAIN */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-container img {
  height: 65px;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.logo-text p {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

/* Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-color);
  border-radius: 4px;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--secondary-color);
  background-color: rgba(255, 111, 0, 0.05);
}

/* Dropdown styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  border-top: 3px solid var(--secondary-color);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.25s ease;
  z-index: 1010;
  padding: 10px 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

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

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--secondary-color);
  padding-left: 25px;
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* Ticker Marquee */
.news-ticker {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  padding: 10px 0;
  font-weight: 600;
}

.ticker-wrap {
  display: flex;
  align-items: center;
}

.ticker-title {
  background-color: var(--primary-color);
  padding: 4px 15px;
  font-size: 0.9rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-right: 15px;
  box-shadow: var(--shadow-sm);
}

.ticker-content {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content marquee {
  vertical-align: middle;
  font-size: 0.95rem;
}

.ticker-content a {
  color: #fff;
  margin-right: 30px;
  text-decoration: underline;
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  height: 520px;
  background-color: #000;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(26,54,93,0.95) 0%, rgba(26,54,93,0.4) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--bg-white);
  max-width: 700px;
}

.slide-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: slideUp 0.8s ease forwards;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  animation: slideUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.slide-buttons {
  animation: slideUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

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

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background-color: var(--secondary-color);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* QUICK LINKS GRID */
.quick-links {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 25px 0;
}

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

.quick-link-card {
  background-color: rgba(255,255,255,0.08);
  border-left: 4px solid var(--secondary-color);
  padding: 15px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.quick-link-card:hover {
  background-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.quick-link-card i {
  font-size: 1.8rem;
  color: var(--accent-color);
}

.quick-link-card span {
  font-weight: 600;
  font-size: 1.1rem;
}

/* HOME ABOUT & STATS */
.home-about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.badge-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.badge-overlay span {
  font-size: 2rem;
  display: block;
  line-height: 1;
  color: var(--accent-color);
}

/* Stats Counter Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #102a45 100%);
  color: var(--bg-white);
  padding: 60px 0;
  position: relative;
}

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

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-icon {
  font-size: 2.8rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.stat-number {
  font-family: var(--font-english);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bg-white);
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

/* FACILITIES CARD GRID */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.facility-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.facility-icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(255, 111, 0, 0.1);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: var(--transition);
}

.facility-card:hover .facility-icon-circle {
  background-color: var(--secondary-color);
  color: #fff;
}

.facility-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.facility-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* RECENT TENDERS HOME CARD */
.home-tenders-section {
  background-color: #f1f5f9;
}

.tender-card-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.tender-item {
  background-color: var(--bg-white);
  border-radius: 6px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transition: var(--transition);
}

.tender-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--secondary-color);
}

.tender-info {
  flex: 1;
  min-width: 280px;
}

.tender-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.tender-item.new .tender-badge {
  background-color: #fee2e2;
  color: #ef4444;
}

.tender-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.tender-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.tender-dates {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  gap: 15px;
}

.tender-dates span strong {
  color: var(--text-dark);
}

.tender-action {
  white-space: nowrap;
}

/* PHOTO GALLERY PREVIEW */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-item-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26,54,93,0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  color: #fff;
  padding: 20px;
  text-align: center;
}

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


.gallery-item-hover i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.gallery-item-hover h4 {
  font-weight: 600;
  font-size: 1.1rem;
}

/* FOOTER STYLING */
footer {
  background-color: #0d1e33;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 20px;
  border-top: 4px solid var(--secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  width: 45px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
}

.footer-col p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.7;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* GENERAL INNER PAGES */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0d233c 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
  position: relative;
  border-bottom: 4px solid var(--secondary-color);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.breadcrumbs {
  display: flex;
  justify-content: left;
  gap: 8px;
  font-size: 0.95rem;
  color: #555;
}

.breadcrumbs a:hover {
  color: var(--secondary-color);
}

/* Information Blocks */
.info-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-color);
  margin-bottom: 30px;
}

.info-card h2 {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.info-card p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  text-align: justify;
}

.info-list {
  margin: 15px 0 25px 20px;
}

.info-list li {
  list-style-type: disc;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* Achievements Table */
.table-responsive {
  overflow-x: auto;
  margin-top: 25px;
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
}

.kp-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-white);
  text-align: left;
}

.kp-table th, .kp-table td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  font-size: 1rem;
}

.kp-table th {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.kp-table tbody tr:nth-child(even) {
  background-color: var(--bg-light);
}

.kp-table tbody tr:hover {
  background-color: rgba(255, 111, 0, 0.05);
}

/* Coaches Card Grid */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.coach-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.coach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.coach-img-container {
  height: 260px;
  background-color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.coach-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-info {
  padding: 20px;
  text-align: center;
}

.coach-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.coach-sport {
  font-size: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.coach-exp {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Sports / Center Info */
.sports-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.tab-btn {
  padding: 8px 18px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary-color);
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.sport-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  align-items: center;
}

.sport-detail-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
  display: inline-block;
}

.sport-detail-content p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.sport-detail-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

/* ADMIN PORTAL */
.admin-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
}

.admin-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.admin-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.15);
}

/* Contact Page Map & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-item {
  background-color: var(--bg-white);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  display: flex;
  gap: 15px;
  box-shadow: var(--shadow-sm);
}

.contact-card-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.contact-card-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.contact-card-item p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Login Page */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-color) 0%, #0f2544 100%); padding: 20px; }
.login-box { background: white; border-radius: 12px; padding: 40px; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-logo { text-align: center; margin-bottom: 30px; }
.login-logo img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--secondary-color); }
.login-logo h2 { color: var(--primary-color); font-size: 1.3rem; margin-top: 10px; font-weight: 700; }
.login-logo p { color: var(--text-light); font-size: 0.85rem; }
.login-error { background: #fff5f5; color: #e74c3c; padding: 10px 15px; border-radius: 6px; margin-bottom: 20px; font-size: 0.9rem; text-align: center; border: 1px solid #fcc; }
.login-btn { width: 100%; padding: 12px; background: var(--primary-color); color: white; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: var(--font-marathi); }
.login-btn:hover { background: var(--primary-light); }

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .logo-text h1 { font-size: 1.35rem; }
  .nav-link { padding: 8px 10px; font-size: 0.95rem; }
  .hero-slider { height: 450px; }
  .slide-content h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .main-nav {
    position: fixed;
    top: 95px; /* below header */
    left: -100%;
    width: 280px;
    height: calc(100vh - 95px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
    display: block;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    width: 100%;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--secondary-color);
    padding-left: 15px;
    display: none; /* controlled via js toggler on mobile */
  }
  
  .nav-item.active-mobile .dropdown-menu {
    display: block;
  }
  
  .home-about-grid {
    grid-template-columns: 1fr;
  }
  
  .sport-detail-card {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .top-bar-right {
    display: none; /* simplify mobile view */
  }
}

/* Sports Academy Section */
.sports-academy-section {
  background-color: var(--bg-white);
  padding: 60px 0;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.sport-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 28px 16px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sport-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background-color: var(--sport-bg);
  color: var(--sport-theme);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sport-svg {
  width: 34px;
  height: 34px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sport-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.sport-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.3s ease;
}

.sport-coach {
  font-size: 0.82rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(26, 54, 93, 0.15);
  line-height: 1.4;
}

.coach-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--secondary-color);
  background: rgba(255, 111, 0, 0.1);
  display: inline-block;
  padding: 2px 12px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.sport-card:hover .coach-heading {
  color: var(--bg-white);
  background: rgba(255, 255, 255, 0.2);
}

/* Hover effect */
.sport-card:hover {
  background-color: var(--sport-theme);
  border-color: var(--sport-theme);
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px var(--sport-theme-glow);
}

.sport-card:hover h3 {
  color: var(--bg-white);
}

.sport-card:hover p {
  color: rgba(255, 255, 255, 0.85);
}

.sport-card:hover .sport-icon-wrapper {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--bg-white);
  transform: scale(1.05) rotate(8deg);
}

.sport-card:hover .sport-svg {
  transform: scale(1.1);
}

/* Coach card hover effect */
#coaches-container > div {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

#coaches-container > div > div:first-child > div:first-child {
  transition: border-color 0.4s ease;
}

#coaches-container > div:hover {
  background-color: var(--sport-theme) !important;
  border-color: var(--sport-theme) !important;
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

#coaches-container > div:hover h3 {
  color: #fff !important;
}

#coaches-container > div:hover p {
  color: rgba(255, 255, 255, 0.85) !important;
}

#coaches-container > div:hover > div:first-child {
  color: rgba(255, 255, 255, 0.9);
}

#coaches-container > div:hover > div:first-child > div:first-child {
  border-color: #fff !important;
  transition: border-color 0.4s ease;
}

#coaches-container > div:hover > div:first-child > div:nth-of-type(2) {
  background-color: rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  transform: scale(1.05) rotate(8deg);
}

#coaches-container > div:hover > div:last-child {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

/* Gradient Card style */
.sport-card.gradient-card {
  background: linear-gradient(135deg, #0f766e 0%, #1d4ed8 50%, #ea580c 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.15);
  position: relative;
  overflow: hidden;
}

.sport-card.gradient-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.sport-card.gradient-card:hover::before {
  transform: translate(15%, 15%);
}

.sport-card.gradient-card:hover {
  background: linear-gradient(135deg, #0f766e 0%, #1d4ed8 50%, #ea580c 100%);
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.35);
}

.gradient-text-wrapper {
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gradient-text-wrapper .plus-text {
  font-family: var(--font-english);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.gradient-text-wrapper .sub-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Responsive queries for sports grid */
@media (min-width: 576px) {
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .sports-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .sports-grid > .sport-card {
    width: calc(25% - 20px);
  }
}

@media (max-width: 575px) {
  .sports-grid {
    gap: 15px;
  }
  .sport-card {
    padding: 20px 12px;
    border-radius: 16px;
  }
  .sport-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    margin-bottom: 12px;
  }
  .sport-svg {
    width: 28px;
    height: 28px;
  }
  .sport-card h3 {
    font-size: 1.1rem;
  }
  .sport-card p {
    font-size: 0.8rem;
  }
  .gradient-text-wrapper .plus-text {
    font-size: 2rem;
  }
  .gradient-text-wrapper .sub-text {
    font-size: 0.85rem;
  }
}

/* Read More Button */
.sport-summary {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 8px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;
}

.sport-read-more {
  margin-top: 14px;
  padding: 8px 18px;
  border: 2px solid var(--sport-theme);
  background: transparent;
  color: var(--sport-theme);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.sport-read-more:hover {
  background-color: var(--sport-theme);
  color: var(--bg-white);
}

.sport-card:hover .sport-read-more {
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.sport-card:hover .sport-read-more:hover {
  background-color: var(--bg-white);
  color: var(--sport-theme);
}

.sport-more-info {
  display: none;
}

/* Sport Info Modal */
.sport-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.sport-modal.active {
  display: flex;
  opacity: 1;
}

.sport-modal-dialog {
  background: var(--bg-white);
  border-radius: 20px;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: modalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from {
    transform: translateY(40px) scale(0.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.sport-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 24px;
  color: var(--bg-white);
  flex-shrink: 0;
}

.sport-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--bg-white);
}

.sport-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--bg-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sport-modal-close:hover {
  background: var(--bg-white);
  color: var(--sport-theme);
  transform: rotate(90deg);
}

.sport-modal-body {
  padding: 24px;
  overflow-y: auto;
  line-height: 1.7;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.sport-modal-body h3 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin: 18px 0 8px;
  font-weight: 700;
}

.sport-modal-body h3:first-child {
  margin-top: 0;
}

.sport-modal-body p {
  margin: 0 0 10px;
}

.sport-modal-body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.sport-modal-body li {
  margin-bottom: 6px;
  position: relative;
}

.sport-modal-body li::marker {
  color: var(--sport-theme);
}

.sport-modal-body strong {
  color: var(--primary-color);
}

.sport-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 0.85rem;
}

.sport-table caption {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  text-align: left;
}

.sport-table th,
.sport-table td {
  border: 1px solid var(--border-color);
  padding: 8px 10px;
  text-align: left;
  vertical-align: middle;
}

.sport-table th {
  background-color: var(--sport-theme);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.sport-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.sport-table tr:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sport-table .status-badge {
  display: inline-block;
  background-color: #16a34a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.sport-table-wrap {
  overflow-x: auto;
  margin-bottom: 6px;
}

.sport-table .player-link {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dotted rgba(251, 191, 36, 0.6);
  cursor: pointer;
}

.sport-table .no-link {
  color: inherit;
  font-weight: normal;
  cursor: default;
}

.sport-table .player-link:hover {
  color: #2563eb;
  border-bottom: 1px solid #2563eb;
}

@media (max-width: 575px) {
  .sport-modal {
    padding: 10px;
    align-items: flex-end;
  }
  .sport-modal-dialog {
    max-height: 90vh;
    border-radius: 18px 18px 0 0;
  }
  .sport-modal-header {
    padding: 15px 18px;
  }
  .sport-modal-header h3 {
    font-size: 1.1rem;
  }
  .sport-modal-body {
    padding: 18px;
    font-size: 0.9rem;
  }
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color), #ff8c00);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.6);
  background: linear-gradient(135deg, #ff8c00, var(--secondary-color));
}

/* High Contrast Theme Override */
body.high-contrast {
  --primary-color: #000000;
  --primary-light: #111111;
  --secondary-color: #ffff00;
  --secondary-light: #ffff33;
  --accent-color: #ffff00;
  --text-dark: #ffffff;
  --text-light: #dddddd;
  --bg-light: #000000;
  --bg-white: #121212;
  --border-color: #ffffff;
}
body.high-contrast header,
body.high-contrast footer,
body.high-contrast .top-bar,
body.high-contrast .news-ticker {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}
body.high-contrast .nav-link,
body.high-contrast .dropdown-item,
body.high-contrast .footer-col h3,
body.high-contrast .footer-col ul li a,
body.high-contrast .section-title {
  color: #ffffff !important;
}
body.high-contrast .btn-kp-primary,
body.high-contrast .btn-kp-secondary {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border: 2px solid #ffff00 !important;
}
body.high-contrast .btn-kp-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}


/**/
/* Homepage Coaches Section Styles */
.coaches-section-home {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.coaches-header-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 30px;
  text-align: left;
}

.coaches-header-left {
  flex: 1;
}

.coaches-header-right {
  flex: 1;
  max-width: 500px;
}

.coaches-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(26, 54, 93, 0.06);
  color: var(--primary-color);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(26, 54, 93, 0.1);
}

.coaches-main-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.25;
  margin: 0;
}

.coaches-subtitle-desc {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.coaches-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.coach-card-item {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-white);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.coach-img-wrapper {
  position: relative;
  width: 100%;
  height: 480px; /* Tall aesthetic as in image */
  overflow: hidden;
}

.coach-image-file {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.coach-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 30, 51, 0.9) 0%, rgba(13, 30, 51, 0.3) 50%, rgba(13, 30, 51, 0) 80%);
  z-index: 1;
  transition: background 0.4s ease;
}

.coach-certified-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(26, 54, 93, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.coach-details-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  color: var(--bg-white);
  text-align: left;
}

.coach-details-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.coach-details-role {
  font-size: 1.1rem;
  font-weight: 600;
   color: #555;
  margin-bottom: 4px;
}

.coach-details-exp {
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
}

/* Hover Interactive Animations */
.coach-card-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.coach-card-item:hover .coach-image-file {
  transform: scale(1.06);
}

.coach-card-item:hover .coach-gradient-overlay {
  background: linear-gradient(to top, rgba(13, 30, 51, 0.95) 0%, rgba(13, 30, 51, 0.45) 50%, rgba(13, 30, 51, 0) 80%);
}

.coach-card-item:hover .coach-certified-badge {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

/* महत्वाच्या व्यक्ती - Officials Grid (Government Site Style) */
.officials-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.officials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.official-card {
  padding: 30px 20px 25px;
  border: none;
  border-radius: 16px;
  background-color: #e8f4fd;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.official-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #ffb300, var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.official-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.official-card:hover::before {
  opacity: 1;
}

.official-img-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.official-card:hover .official-img-wrapper {
  border-color: var(--secondary-color);
  box-shadow: 0 8px 20px rgba(255, 111, 0, 0.2);
  transform: scale(1.05);
}

.official-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.official-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
  line-height: 1.3;
}

.official-designation {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 14px;
}

.official-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
}

.official-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--bg-white);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.official-social-link:hover {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.official-social-link:hover {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .officials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .officials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .official-img-wrapper {
    width: 100px;
    height: 100px;
  }
}

/* Scroll entrance animations initial state */
.scroll-animate-fade {
  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);
}

.scroll-animate-card {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll entrance animations active state */
.scroll-animate-fade.visible,
.scroll-animate-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .coaches-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .coach-img-wrapper {
    height: 420px;
  }
  .coaches-main-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .coaches-header-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 35px;
  }
  .coaches-header-right {
    max-width: 100%;
  }
  .coaches-grid-home {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .coach-img-wrapper {
    height: 400px;
  }
}

/* ===== Player Profile Pages (Cycling etc.) ===== */
.player-page-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin: 0 auto 35px;
}

.player-page-card h2 {
  color: var(--primary-color);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--secondary-color);
  display: inline-block;
}

.player-info-table-wrap {
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.player-info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 0.95rem;
}

.player-info-table th,
.player-info-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.player-info-table thead th {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.player-info-table tbody tr:nth-child(even) {
  background-color: var(--bg-light);
}

.player-info-table tbody td:first-child {
  text-align: center;
  font-weight: 700;
  color: var(--primary-color);
  width: 55px;
}

.player-info-table tbody td:nth-child(2) {
  font-weight: 600;
  color: var(--primary-color);
  width: 300px;
}

.player-photo-cell {
  text-align: center;
  vertical-align: top;
  width: 140px;
}

.player-photo {
  width: 110px;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.performance-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  max-width: 1100px;
  margin: 0 auto;
}

.performance-card h2 {
  color: var(--primary-color);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.performance-card .report-name {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.performance-card h3 {
  color: var(--secondary-color);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 10px;
}

.performance-card h3:first-of-type {
  margin-top: 0;
}

.performance-table-wrap {
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.performance-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 0.9rem;
}

.performance-table th,
.performance-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.performance-table thead th {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}

.performance-table tbody tr:nth-child(even) {
  background-color: var(--bg-light);
}

.performance-table tbody tr:hover {
  background-color: rgba(255, 111, 0, 0.05);
}

.performance-table td:first-child {
  white-space: nowrap;
  font-weight: 600;
  color: var(--primary-color);
}

.performance-table td:last-child {
  min-width: 200px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--secondary-color);
}

@media (max-width: 575px) {
  .player-page-card,
  .performance-card {
    padding: 15px;
  }
  .player-page-card h2,
  .performance-card h2 {
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .player-info-table-wrap {
    overflow-x: visible;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .player-info-table {
    display: block;
    font-size: 0.9rem;
  }
  .player-info-table thead {
    display: none;
  }
  .player-info-table tbody {
    display: block;
  }
  .player-info-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-color);
  }
  .player-info-table tbody tr:nth-child(even) {
    background: transparent;
  }
  .player-info-table td {
    display: block;
    border: none;
    padding: 2px 6px;
  }
  .player-info-table tbody td:first-child {
    width: 30px;
    flex-shrink: 0;
  }
  .player-info-table tbody td:nth-child(2) {
    width: 34%;
    flex-shrink: 0;
  }
  .player-info-table tbody td:nth-child(3) {
    width: auto;
    flex: 1;
  }
  .player-photo-cell {
    width: 100%;
    order: -1;
    text-align: center;
    padding: 0 0 12px;
    flex-shrink: 0;
  }
  .player-photo {
    width: 90px;
    height: 110px;
  }
}