.heading-underline::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: #002247;
  margin: 6px auto 0;
  transition: width 0.4s ease;
}
.heading-underline:hover::after { width: 80%; }

/* 🔸 Tabs */
.nav-pills .nav-link {
  border-radius: 50px;
  font-weight: 600;
  color: #002247;
  border: 2px solid #002247;
  background: transparent;
  transition: all 0.4s ease;
}
.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #002247 0%, #004b8e 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,34,71,0.3);
}
.nav-pills .nav-link:hover {
  background: #002247;
  color: #fff;
  transform: translateY(-2px);
}

/* 🔸 Rank Card Design */
.rank-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
}
.rank-card .rank-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(135deg, #002247, #004b8e);
  opacity: 0.9;
  z-index: 0;
  border-bottom-left-radius: 50%;
  border-bottom-right-radius: 50%;
}
.rank-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,34,71,0.25);
}

/* 🔸 Image Style */
.rank-card .img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 4px solid #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}
.rank-card:hover .img-box img {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0,34,71,0.4);
}

/* 🔸 Animation */
.rank-card .img-box {
  position: relative;
  z-index: 2;
  margin-top: 20px;
}
.rank-card h6, .rank-card p {
  position: relative;
  z-index: 2;
}

/* 🔸 Responsive */
@media (max-width: 768px) {
  .rank-card .img-box img { width: 100px; height: 100px; }
  .nav-pills .nav-link { font-size: 14px; padding: 0.5rem 1.2rem; }
}
/* --- General Typography --- */
.text-shadow-large { text-shadow: 0 3px 8px rgba(0,0,0,0.4); }
.text-shadow-small { text-shadow: 0 1px 4px rgba(0,0,0,0.3); }

/* --- Section Title --- */
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #004aad, #00c6ff);
  animation: glowLine 2s infinite alternate;
}
@keyframes glowLine {
  from { width: 60px; opacity: 0.7; }
  to { width: 120px; opacity: 1; }
}

/* --- Tabs --- */
.syllabus-tabs .nav-link {
  background: #ffffff;
  border-radius: 30px;
  color: #004aad;
  font-weight: 600;
  border: 2px solid #e0e8ff;
  padding: 10px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.syllabus-tabs .nav-link.active, 
.syllabus-tabs .nav-link:hover {
  background: linear-gradient(90deg, #004aad, #007bff);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0,74,173,0.3);
  transform: translateY(-3px);
}

/* --- Cards (Glass Effect) --- */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
}
.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,74,173,0.15);
}

/* --- Icon Circle --- */
.circle-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8f0ff, #f9fbff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #004aad;
  transition: all 0.3s ease;
}
.glass-card:hover .circle-icon {
  background: linear-gradient(145deg, #004aad, #007bff);
  color: #fff;
}

/* --- Button --- */
.view-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 28px;
  border-radius: 25px;
  font-weight: 600;
  color: #004aad;
  border: 2px solid #004aad;
  text-decoration: none;
  transition: all 0.3s ease;
}
.view-btn:hover {
  background: linear-gradient(90deg, #004aad, #007bff);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,74,173,0.25);
  transform: translateY(-2px);
}