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

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #f8f9fa;
}

/* ====================================
   NAVBAR
   ==================================== */
.navbar {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand img {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.nav-link {
  color: #000 !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 1rem !important;
  margin: 0 0.3rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0d6efd !important;
  background: rgba(13, 110, 253, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

/* ====================================
   HERO CAROUSEL (500px Fixed Height)
   ==================================== */
.hero {
  height: 600px;
  margin-top: -90px;
  overflow: hidden;
  position: relative;
}

.hero .carousel-item,
.hero img {
  height: 766px;
  width: 100%;
  object-fit: cover;
  filter: brightness(1);
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: fit-content;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.text-shadow {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* ====================================
   SECTION TITLES
   ==================================== */
.section-title {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 2.2rem;
  color: #1a1a1a;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  border-radius: 3px;
}

/* ====================================
   CARDS
   ==================================== */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  transition: transform 0.5s ease;
}

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

/* ====================================
   TABS
   ==================================== */
.nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
  color: #555;
  font-weight: 600;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0.75rem 1.5rem;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  border-bottom: 3px solid #0d6efd;
}

.tab-content {
  padding: 2rem 0;
}
/* ===== RULES PAGE HERO ===== */
.hero-rules {
    background: linear-gradient(135deg, #2651dc, #61ea0c) !important;  border-bottom: 5px solid #fbbf24;
} 
/* ====================================
   COUNTER SECTION
   ==================================== */
.bg-gradient-primary {
  background: linear-gradient(135deg, #0d6efd, #6610f2) !important;
}

.counter-item {
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.counter-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.counter {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}
/* HERO - CO-CURRICULAR */
.hero-co {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border-bottom: 6px solid #fbbf24;
}

/* ICON CIRCLE */
.icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.card:hover .icon-circle {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* GRADIENT CARD */
.bg-gradient-warning {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #1a1a1a !important;
}

.bg-gradient-warning .card-title {
  color: #1a1a1a;
}

/* HOVER CARD */
.hover-card {
  transition: all 0.4s ease;
  border-radius: 20px !important;
}

.hover-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}
/* COLORFUL SCHOOL NAME */
.school-name strong {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6f42c1, #d63384, #f59e0b, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.school-name:hover strong {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(111, 66, 193, 0.4));
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Responsive Adjustment */
@media (max-width: 576px) {
  .school-name strong {
    font-size: 1.1rem;
  }
}
/* ====================================
   UNIFORM PAGE STYLES
   ==================================== */
.hero-uniform {
  background: linear-gradient(135deg, #6f42c1, #d63384);
  /* border-bottom: 5px solid #ffc107;
  padding: 4rem 0; */
}

.hover-card {
  transition: all 0.4s ease;
  border-radius: 16px !important;
}

.hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(13, 110, 253, 0.2);
}

/* Icon Colors */
.bi-check-circle-fill { color: #198754; }
.bi-arrow-right-circle { color: #0d6efd; }
.bi-x-octagon-fill { color: #dc3545; }
.bi-trophy-fill { color: #ffc107; }
.bi-shield-check { color: #198754; }
.bi-bookmark-star-fill { color: #0d6efd; }

/* Sticky Sidebar */
@media (min-width: 992px) {
  .sticky-top {
    position: sticky;
    top: 100px;
  }
}

/* ====================================
   RESPONSIVE ADJUSTMENTS
   ==================================== */
@media (max-width: 992px) {
  .navbar-nav {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
  }
  .nav-link {
    text-align: center;
    margin: 0.3rem 0;
  }
}

@media (max-width: 768px) {
  .hero,
  .hero .carousel-item,
  .hero img {
    height: 400px !important;
  }
  .carousel-caption {
    padding: 1rem !important;
    bottom: 10%;
  }
  .carousel-caption h1 {
    font-size: 1.8rem !important;
  }
  .counter {
    font-size: 2.3rem !important;
  }
}

@media (max-width: 576px) {
  .hero,
  .hero .carousel-item,
  .hero img {
    height: 350px !important;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .navbar-brand {
    font-size: 1.2rem;
  }
  .navbar-brand img {
    width: 40px;
    height: 40px;
  }
}

/* ====================================
   SMOOTH SCROLL
   ==================================== */
html {
  scroll-behavior: smooth;
}