:root {
  --primary-red: #e63946;
  --dark-red: #c1121f;
  --cream: #fff8f0;
  --dark: #1a1a2e;
  --text-dark: #2b2d42;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================
   NAVBAR
   ============================================ */
.premium-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.premium-navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar-brand img {
  height: 40px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.btn-contact {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
  color: white;
}

/* ============================================
   HERO SECTION - UPDATED
   ============================================ */
.hero {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  padding: 140px 0 100px; /* Increased bottom padding */
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2rem; /* Increased from 1rem to 2rem */
  color: white;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 650px;
}

/* Add spacing above Program Highlights section */
.hero .row.mt-5 {
  margin-top: 5rem !important; /* Increased spacing */
  padding-top: 3rem; /* Additional padding */
}

#highlights {
  color: white;
  font-size: clamp(2rem, 5vw, 2.5rem) !important; /* Made responsive */
  font-weight: 900;
  margin-top: 1.5rem;
}

.btn-premium {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
  color: #000;
}

.btn-outline-premium {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline-premium:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: white;
}

/* Date Card */
.date-card {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  padding: 2.5rem;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.4);
  position: relative;
  overflow: hidden;
}

.date-card::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  top: -50%;
  left: -50%;
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.starts {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.date {
  position: relative;
  z-index: 2;
}

.date span {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  display: block;
}

.date small {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  color: white;
}

.mode-pill {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.7rem 1.3rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  display: inline-block;
  position: relative;
  z-index: 2;
}

/* ============================================
   HERO FEATURE CARDS
   ============================================ */
.hero-feature-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), #ffd700);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.hero-feature-card:hover::before {
  transform: scaleX(1);
}

.hero-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.15);
}

.icon-circle {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.hero-feature-card:hover .icon-circle {
  transform: rotate(10deg) scale(1.1);
}

.hero-feature-card h5 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.hero-feature-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: #002b5b;
  color: white;
  padding: 50px 0 20px;
}

footer a {
  text-decoration: none;
  transition:
    color 0.3s,
    transform 0.3s;
}

.container101 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.paddig_top_bottom {
  padding: 20px 0;
}

/* Footer Intro */
.footer_intro {
  color: #fff;
  font-size: 0.9rem;
  text-align: left;
  line-height: 1.7;
}

.footer_intro img {
  width: 180px;
  margin-bottom: 15px;
}

.footer_intro p {
  margin-bottom: 20px;
}

.footer_intro ul {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  flex-wrap: wrap;
}

.footer_intro ul li a i {
  color: #fff;
  transition:
    color 0.3s,
    transform 0.3s;
}

.footer_intro ul li a:hover i {
  color: var(--primary-red);
  transform: scale(1.2);
}

/* Footer Titles & Lists */
footer h4.title {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

ul.quick {
  list-style: none;
  padding: 0;
  column-count: 2;
  column-gap: 20px;
}

ul.quick li {
  margin-bottom: 10px;
}

ul.quick li a {
  color: #a2a2a2;
  font-size: 0.9rem;
  transition: color 0.3s;
}

ul.quick li a:hover {
  color: #007bff;
  text-decoration: underline;
}

/* Contact Info */
.adr_same {
  color: #a2a2a2;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.adr_same i {
  font-size: 1.1rem;
  margin-top: 3px;
}

.adrs i {
  color: var(--primary-red);
}

.phn i {
  color: #007bff;
}

.eml i {
  color: #ffcc00;
}

.whatsapp i {
  color: #25d366;
}

/* Footer Lower Text */
.footer_lower_txt {
  margin-top: 30px;
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_lower_txt h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer_lower_txt h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer_lower_txt p {
  color: #a2a2a2;
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer_lower_txt .badge {
  background: var(--primary-red);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 5px;
}

.footer_lower_txt a {
  color: #007bff;
}

.footer_lower_txt a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.colorgsfp {
  color: white;
}

/* Bottom Bar */
.bottom_bar {
  padding: 15px 0;
  text-align: center;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom_bar p {
  margin: 0;
  font-size: 0.85rem;
}

.bottom_bar a {
  color: #ff6900;
  font-weight: 600;
}

/* ============================================
   FLOATING CONTACT BUTTON
   ============================================ */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.floating-contact:hover {
  transform: scale(1.1);
  color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ============================================
   RESPONSIVE DESIGN - UPDATED
   ============================================ */

/* Tablets and below */
@media (max-width: 991px) {
  .premium-navbar {
    padding: 0.8rem 0;
  }

  .navbar-brand img {
    height: 35px;
  }

  .navbar-nav {
    padding: 1rem 0;
  }

  .nav-link {
    margin: 0.5rem 0;
    font-size: 0.9rem;
  }

  .btn-contact {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 120px 0 80px; /* Adjusted bottom padding */
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem; /* Adjusted */
  }

  .hero-copy {
    font-size: 1rem;
  }

  .date-card {
    padding: 2rem;
    margin-top: 2rem;
  }

  .hero-feature-card {
    padding: 1.8rem;
  }

  ul.quick {
    column-count: 1;
  }

  /* Reduce spacing on tablet */
  .hero .row.mt-5 {
    margin-top: 4rem !important;
    padding-top: 2rem;
  }

  #highlights {
    font-size: 2rem !important;
  }
}

/* Mobile devices */
@media (max-width: 576px) {
  body {
    font-size: 14px;
  }

  .premium-navbar {
    padding: 0.6rem 0;
  }

  .navbar-brand img {
    height: 32px;
  }

  .eyebrow {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .hero {
    padding: 100px 0 60px; /* Adjusted bottom padding */
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem; /* Adjusted */
  }

  .hero-copy {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .btn-premium,
  .btn-outline-premium {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }

  .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
  }

  .date-card {
    padding: 1.5rem;
  }

  .starts {
    font-size: 0.8rem;
  }

  .mode-pill {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .hero-feature-card {
    padding: 1.5rem;
  }

  .icon-circle {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  .hero-feature-card h5 {
    font-size: 1.1rem;
  }

  .hero-feature-card p {
    font-size: 0.9rem;
  }

  .floating-contact {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }

  .footer_intro img {
    width: 150px;
  }

  .footer_intro {
    font-size: 0.85rem;
  }

  footer h4.title {
    font-size: 1rem;
  }

  .adr_same {
    font-size: 0.85rem;
  }

  .footer_lower_txt h4 {
    font-size: 1rem;
  }

  .footer_lower_txt h5 {
    font-size: 0.9rem;
  }

  .footer_lower_txt p {
    font-size: 0.8rem;
  }

  /* Reduce spacing on mobile */
  .hero .row.mt-5 {
    margin-top: 3rem !important;
    padding-top: 1.5rem;
  }

  #highlights {
    font-size: 1.8rem !important;
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .hero-copy {
    font-size: 0.85rem;
  }

  .btn-premium,
  .btn-outline-premium {
    font-size: 0.85rem;
    padding: 0.7rem 1.2rem;
  }

  .date span {
    font-size: 2.5rem;
  }

  .date small {
    font-size: 1.2rem;
  }

  .hero-feature-card h5 {
    font-size: 1rem;
  }

  .hero-feature-card p {
    font-size: 0.85rem;
  }

  .hero .row.mt-5 {
    margin-top: 2.5rem !important;
    padding-top: 1rem;
  }

  #highlights {
    font-size: 1.5rem !important;
  }
}
/* ============================================
   PROGRAMS SECTION - TABLE LAYOUT
   ============================================ */
.programs-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.programs-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.programs-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #666;
  margin-bottom: 0;
}

/* Subject Block */
.subject-block {
  background: white;
  border-radius: 20px;
  padding: 0;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
}

.subject-block:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

/* Subject Header */
/* Subject Header - Base */
.subject-header {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Different Colors for Each Subject */

/* Sociology - Purple/Violet */
.subject-block:nth-child(2) .subject-header {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

/* Hindi Literature - Teal/Cyan */
.subject-block:nth-child(3) .subject-header {
  background: linear-gradient(135deg, #0891b2, #0e7490);
}

/* Public Administration - Orange/Red (Keep Original) */
.subject-block:nth-child(4) .subject-header {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

/* PSIR - Indigo/Blue */
.subject-block:nth-child(5) .subject-header {
  background: linear-gradient(135deg, #4f46e5, #3730a3);
}

/* Law - Emerald/Green */
.subject-block:nth-child(6) .subject-header {
  background: linear-gradient(135deg, #059669, #047857);
}

/* Anthropology - Amber/Yellow */
.subject-block:nth-child(7) .subject-header {
  background: linear-gradient(135deg, #d97706, #b45309);
}

/* Geography - Teal/Cyan */
.subject-block:nth-child(8) .subject-header {
  background: linear-gradient(135deg, #0891b2, #0e7490);
}

.subject-title {
  color: white;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 250px;
}

.subject-title i {
  font-size: 1.8rem;
  opacity: 0.9;
}

/* Download Brochure Button */
.btn-brochure {
  background: white;
  color: var(--primary-red);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-brochure:hover {
  background: transparent;
  color: white;
  border: 2px solid white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-brochure i {
  font-size: 1rem;
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Program Table */
.program-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.program-table thead {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.program-table th {
  padding: 20px 20px;
  text-align: left;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid var(--primary-red);
}

.program-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.program-table tbody tr:last-child {
  border-bottom: none;
}

.program-table tbody tr:hover {
  background: #f8f9fa;
  /* transform: scale(1.01); */
}

.program-table td {
  padding: 24px 20px;
  vertical-align: middle;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.program-table td strong {
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.05rem;
}

/* Fee Amount */
.fee-amount {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary-red);
  line-height: 1.2;
}

.fee-amount small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  text-transform: none;
}

/* Enroll Button */
.btn-enroll {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-enroll:hover {
  background: white;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN - TABLES
   ============================================ */

/* Large Tablets and below */
@media (max-width: 1200px) {
  .program-table th,
  .program-table td {
    padding: 18px 15px;
    font-size: 0.9rem;
  }

  .fee-amount {
    font-size: 1.2rem;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .programs-section {
    padding: 60px 0;
  }

  .subject-block {
    margin-bottom: 30px;
  }

  .subject-header {
    padding: 20px 25px;
  }

  .subject-title {
    font-size: 1.3rem;
  }

  .btn-brochure {
    width: 100%;
    justify-content: center;
  }

  .program-table th,
  .program-table td {
    padding: 15px 12px;
    font-size: 0.85rem;
  }

  .btn-enroll {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* Mobile - Stack Table */
@media (max-width: 768px) {
  .programs-section {
    padding: 50px 0;
  }

  .subject-header {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .subject-title {
    font-size: 1.2rem;
    min-width: auto;
    width: 100%;
  }

  .subject-title i {
    font-size: 1.5rem;
  }

  .btn-brochure {
    width: 100%;
    margin-top: 10px;
  }

  /* Mobile Table Layout */
  .program-table thead {
    display: none;
  }

  .program-table,
  .program-table tbody,
  .program-table tr,
  .program-table td {
    display: block;
    width: 100%;
  }

  .program-table tr {
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: white;
  }

  .program-table tr:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .program-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    position: relative;
    /*padding-left: 45%;*/
    min-height: 50px;
  }

  .program-table td:last-child {
    border-bottom: none;
  }


  .program-table td::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 15px;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 40%;
  }

  .program-table td strong {
    font-size: 1rem;
  }

  .fee-amount {
    font-size: 1.1rem;
  }

  .btn-enroll {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
  }
}

/* Extra Small Mobile */
@media (max-width: 576px) {
  .subject-title {
    font-size: 1.1rem;
  }

  .subject-title i {
    font-size: 1.3rem;
  }

  .btn-brochure {
    font-size: 0.85rem;
    padding: 8px 18px;
  }

  /*.program-table td {
    padding: 12px 15px;
    padding-left: 42%;
    font-size: 0.85rem;
  }*/

  .program-table td::before {
    font-size: 0.7rem;
    left: 15px;
    top: 12px;
    width: 38%;
  }

  .fee-amount {
    font-size: 1rem;
  }

  .fee-amount small {
    font-size: 0.7rem;
  }

  .btn-enroll {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
}

/* Very Small Devices */
@media (max-width: 375px) {
  .subject-header {
    padding: 15px;
  }

  .subject-title {
    font-size: 1rem;
    gap: 8px;
  }

  .program-table td {
    padding-left: 100%;
    padding-top: 50px;
  }

  .program-table td::before {
    position: absolute;
    left: 15px;
    top: 15px;
    width: calc(100% - 30px);
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
  }
}
/* ============================================
   NEW: PROGRAMS CARD (Replacing Date Card) - FIXED AUTO-SCROLL
   ============================================ */
.programs-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  max-height: 450px;
}

.programs-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.programs-card-header {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.programs-card-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0;
  letter-spacing: 1px;
}

.badge-new {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Programs Scroll Area - WITH AUTO SCROLL */
.programs-scroll {
  max-height: 250px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  background: #f8f9fa;
  position: relative;
  scroll-behavior: auto;
}

/* Custom Scrollbar */
.programs-scroll::-webkit-scrollbar {
  width: 6px;
}

.programs-scroll::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 10px;
}

.programs-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 10px;
}

.programs-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--dark-red);
}

/* Program Item - COMPACT */
.program-item {
  background: white;
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  cursor: pointer;
}

.program-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.15);
  border-color: var(--primary-red);
}

.program-item:last-child {
  margin-bottom: 0;
}

.program-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.program-name i {
  color: var(--primary-red);
  font-size: 1rem;
}

.program-name span {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.program-price {
  font-weight: 800;
  color: var(--primary-red);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Programs Card Footer - COMPACT */
.programs-card-footer {
  background: linear-gradient(to bottom, #f8f9fa, white);
  padding: 15px 20px;
  border-top: 2px solid #e9ecef;
}

.batch-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.batch-info i {
  font-size: 1.5rem;
  color: var(--primary-red);
}

.batch-info div {
  display: flex;
  flex-direction: column;
}

.batch-info strong {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
}

.batch-info span {
  font-size: 0.8rem;
  color: #666;
  font-weight: 600;
}

.mode-badge {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  color: white;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.mode-badge i {
  font-size: 1rem;
}

/* ============================================
   NEW: SUBJECTS NAVIGATION BAR (IN HERO)
   ============================================ */
.subjects-nav-bar {
  padding: 20px 0 0;
  margin-bottom: 0;
}

.subjects-nav-title {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.subjects-nav-title i {
  color: #ffd700;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.subjects-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.subjects-scroll::-webkit-scrollbar {
  height: 6px;
}

.subjects-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.subjects-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 10px;
}

.subjects-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffd700;
}

.subject-nav-item {
  /* background: rgba(255, 255, 255, 0.1); */
  /* backdrop-filter: blur(10px); */
  color: white;
  padding: 4px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  /* border: 2px solid rgba(255, 255, 255, 0.2); */
  position: relative;
  flex-shrink: 0;
}

/* Active state - Red background */
.subject-nav-item.active {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  color: white;
  border-color: var(--primary-red);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.subject-nav-item:hover {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  color: white;
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

/* Remove the ::before pseudo element that was causing issues */
.subject-nav-item::before {
  display: none;
}

@media (max-width: 991px) {
  .subjects-nav-bar {
    padding: 15px 0 0;
  }

  .subjects-nav-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .subject-nav-item {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .subjects-nav-bar {
    padding: 12px 0 0;
  }

  .subjects-nav-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .subjects-nav-title i {
    font-size: 1.2rem;
  }

  .subject-nav-item {
    padding: 7px 6px;
    font-size: 0.8rem;
  }

  .subjects-scroll {
    gap: 0px;
    padding: 8px 0;
  }
}

@media (max-width: 375px) {
  .subjects-nav-title {
    font-size: 0.9rem;
  }

  .subject-nav-item {
    padding: 6px 6px;
    font-size: 0.75rem;
  }
}

/* Update programs section spacing */
.programs-section {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Responsive updates for programs section */
@media (max-width: 768px) {
  .programs-section {
    padding: 40px 0 60px;
  }
}

@media (max-width: 576px) {
  .programs-section {
    padding: 30px 0 50px;
  }
}


/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;

  padding: 18px 20px;

  background: #fff;
  border-radius: 14px;

  border-left: 5px solid #0d6efd;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

  transition: all 0.3s ease;
}

.benefits-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(13, 110, 253, 0.18);
}

.benefits-list li i {
  color: #198754;
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.benefits-list li strong {
  color: #0d6efd;
  font-weight: 700;
}

@media (max-width: 768px) {
  .benefits-list li {
    padding: 16px;
    font-size: 0.95rem;
  }
}