/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; color: #222; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== COLORS ===== */
:root {
  --maroon: #6b0f2b;
  --dark-maroon: #4a0a1e;
  --orange: #e85d26;
  --orange-dark: #c94d1e;
  --light-bg: #f8f5f0;
  --grey-bg: #f2f2f2;
  --text-dark: #1a1a1a;
  --text-muted: #555;
  --white: #fff;
}

/* ===== TOP BAR ===== */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.top-bar {
  background: var(--maroon);
  color: #fff;
  font-size: 12px;
  padding: 5px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

/* Scrolling ticker wrapper — takes up all remaining space */
.top-bar-marquee-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.top-bar-marquee {
  display: inline-block;
  animation: marquee-scroll 45s linear infinite;
  white-space: nowrap;
}
.top-bar-marquee:hover { animation-play-state: paused; }
.top-bar-marquee span { font-weight: 500; opacity: 0.92; }

/* Fixed right side */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 12px;
}
.top-bar-right a { color: #fff; margin-left: 10px; }
.top-bar-right a:hover { text-decoration: underline; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--maroon);
  padding: 0 40px;
  display: flex;
  align-items: center;
  min-height: 80px;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--maroon);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.nav-logo { margin-right: 40px; }
.nav-logo .brand-name { color: #fff; font-size: 18px; font-weight: 700; line-height: 1.1; }
.nav-logo .brand-name span { color: var(--orange); }
.nav-logo .brand-sub { color: #ddd; font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 8px; flex: 1; }
.nav-links li { position: relative; }
.nav-links li > a {
  color: #fff;
  font-size: 13.5px; /* Slightly larger text */
  font-weight: 700; /* Bolder text */
  padding: 25px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.8px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-links li > a:hover { background: rgba(255,255,255,0.1); }
.nav-links li > a .arrow { font-size: 9px; opacity: 0.8; }
.nav-apply {
  background: var(--orange);
  color: #fff !important;
  padding: 10px 20px !important;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.2s !important;
}
.nav-apply:hover { background: var(--orange-dark) !important; }
.naac-bar {
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.naac-badge {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.naac-bar span { color: #fff; font-size: 13px; opacity: 0.9; }

/* ===== DROPDOWN MENU ===== */
.nav-links li:hover > .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  min-width: 180px;
  border-top: 3px solid var(--orange);
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #1a1a1a;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.15s, background 0.15s;
  position: relative;
  z-index: 10;
}
.dropdown-item:hover {
  background: #fdf4f0;
}
.dropdown-item .dl-arrow { color: var(--orange); font-size: 14px; }

/* Submenus (Schools & Course) */
.dropdown-item.has-sub:hover .dropdown-sub { display: block; }
.dropdown-sub {
  display: none;
  position: absolute;
  top: -3px;
  left: 100%;
  background: #fff;
  min-width: 180px;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
  border-top: 3px solid var(--orange);
  z-index: 100;
}
.dropdown-sub.wide-sub {
  min-width: 340px;
}
.dropdown-sub a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #1a1a1a;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.15s, background 0.15s;
}
.dropdown-sub a:hover {
  color: var(--orange);
  background: #fdf4f0;
}
.dropdown-sub a .dr-arrow { color: var(--orange); font-size: 14px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #111;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 40%, transparent 80%);
}
/* Bottom container stacks: button row, then tagline+actions row */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-bottom-top {
  padding: 0 0 12px 40px;
}
.hero-btn {
  background: var(--orange);
  color: #fff;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}
.hero-btn:hover { background: var(--orange-dark); }
/* Bottom bar: tagline left, action buttons right */
.hero-bottom-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.hero-tagline {
  background: rgba(255,255,255,0.93);
  padding: 14px 20px;
  max-width: 340px;
  font-size: 13px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.seal-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--dark-maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.hero-actions { display: flex; margin-left: auto; }
.hero-action-btn {
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.hero-action-btn.apply { background: var(--orange); color: #fff; }
.hero-action-btn.enquire { background: var(--dark-maroon); color: #fff; }

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 60px 40px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 320px;
  max-width: 380px;
  position: relative;
}
.about-images img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.about-images .b-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--maroon);
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}
.about-content { flex: 1; }
.about-content h2 {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.about-content .sub-tag {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.about-content p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.about-content p span { color: var(--orange); }
.know-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 10px;
  transition: all 0.2s;
}
.know-more-btn:hover { background: var(--orange); color: #fff; }
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 130px;
  padding-left: 20px;
  border-left: 2px solid #eee;
}
.stat-item .stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ===== FUTURE OF LEARNING ===== */
.future-section {
  background: var(--dark-maroon);
  padding: 60px 40px;
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.future-left { flex: 1; }
.future-left h2 {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.future-left img {
  width: 100%;
  max-width: 420px;
  height: 280px;
  object-fit: cover;
}
.future-right { flex: 1; }
.future-right .intro-text {
  color: #ccc;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.future-item {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.future-item.active { background: rgba(255,255,255,0.05); padding: 16px 14px; }
.future-item h3 { color: #fff; font-size: 15px; font-weight: 600; }
.future-item p { color: #bbb; font-size: 12.5px; line-height: 1.6; margin-top: 8px; }
.future-item .arrow-icon { color: var(--orange); font-size: 20px; flex-shrink: 0; margin-left: 16px; }

/* ===== PROGRAMMES ===== */
.programmes-section { padding: 60px 40px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.section-header h2 {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-dark);
}
.section-header p { font-size: 13px; color: var(--text-muted); max-width: 420px; line-height: 1.6; }
.prog-tabs { display: flex; gap: 0; border-bottom: 2px solid #eee; margin-bottom: 24px; overflow-x: auto; }
.prog-tab {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.prog-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.prog-tab .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prog-card { position: relative; overflow: hidden; background: #f0f0f0; }
.prog-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.prog-card .prog-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 600;
}
.prog-card.orange-card {
  background: var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 200px;
}
.prog-card.orange-card p { color: #fff; font-size: 12px; opacity: 0.9; margin-bottom: 8px; }
.prog-card .arrow-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--orange);
  color: #fff;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ===== PLACEMENTS ===== */
.placements-section { background: var(--dark-maroon); padding: 60px 40px; }
.placements-section h2 {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.placements-section .sub-p { color: #ccc; font-size: 13px; line-height: 1.6; max-width: 400px; margin-bottom: 24px; }
.recruiter-label { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.recruiters-logos { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.recruiter-logo {
  background: #fff;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}
.placements-layout { display: flex; gap: 20px; }
.placements-info { flex: 1; }
.placements-cards { display: flex; gap: 16px; }
.placement-card { position: relative; overflow: hidden; }
.placement-card img { width: 220px; height: 280px; object-fit: cover; }
.placement-card .card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.75);
  padding: 14px;
}
.placement-card .student-name { color: #fff; font-size: 15px; font-weight: 700; }
.placement-card .student-prog { color: #ccc; font-size: 12px; margin-top: 2px; }
.placement-card .company-logo { margin-top: 8px; }
.placement-card .company-logo span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}
.placement-card .arrow-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange);
  color: #fff;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== FACULTY ===== */
.faculty-section { 
  background: var(--orange); 
  background-image: linear-gradient(30deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05)),
                    linear-gradient(150deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05)),
                    linear-gradient(30deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05)),
                    linear-gradient(150deg, rgba(255,255,255,0.05) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.05) 87.5%, rgba(255,255,255,0.05)),
                    linear-gradient(60deg, rgba(255,255,255,0.05) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05)),
                    linear-gradient(60deg, rgba(255,255,255,0.05) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0.05));
  background-size: 80px 140px;
  padding: 60px 40px; 
}

.faculty-section h2 {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.faculty-tabs { 
  display: flex; 
  gap: 20px; 
  margin-bottom: 30px; 
  overflow-x: auto; 
  padding-bottom: 5px;
}

.faculty-tab {
  padding: 10px 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.faculty-tab.active { 
  color: #fff; 
  border-bottom-color: #fff; 
}

.faculty-tab:hover {
  color: #fff;
}
.faculty-grid { display: flex; gap: 14px; overflow-x: auto; margin-bottom: 24px; }
.faculty-card { flex-shrink: 0; width: 155px; }
.faculty-card img { width: 155px; height: 170px; object-fit: cover; object-position: top; }
.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #fff;
  color: #fff;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.2s;
}
.view-more-btn:hover { background: #fff; color: var(--orange); }

/* ===== COLLABORATIONS ===== */
.collab-section { padding: 50px 40px; display: flex; gap: 50px; align-items: flex-start; }
.collab-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-width: 340px; }
.collab-logo-box {
  border: 1.5px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  min-height: 80px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.collab-logo-box img { max-height: 36px; object-fit: contain; }
.collab-info { flex: 1; }
.collab-info h2 {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.collab-info .seal { width: 70px; margin-bottom: 12px; }
.collab-info p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.collab-dots { display: flex; gap: 5px; margin-top: 16px; }
.collab-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddd; }
.collab-dot.active { background: var(--maroon); }

/* ===== EVENTS ===== */
.events-section { padding: 50px 40px; background: var(--light-bg); }
.events-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.events-header h2 { font-size: 24px; font-weight: 900; text-transform: uppercase; }
.view-more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.events-grid { display: flex; gap: 20px; }
.event-main { flex: 1.2; position: relative; }
.event-main img { width: 100%; height: 310px; object-fit: cover; }
.event-main .event-label {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}
.event-side { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.event-item { display: flex; gap: 14px; align-items: flex-start; }
.event-item img { width: 100px; height: 80px; object-fit: cover; flex-shrink: 0; }
.event-item-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}
.event-item-text h4 a { color: var(--text-dark); }
.event-item-text h4 a:hover { color: var(--orange); }
.event-item-text .arrow { color: var(--orange); font-size: 14px; margin-top: 4px; display: block; }

/* ===== BLOG ===== */
.blog-section { padding: 50px 40px; }
.blog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.blog-header h2 { font-size: 24px; font-weight: 900; text-transform: uppercase; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-card img { width: 100%; height: 160px; object-fit: cover; margin-bottom: 10px; }
.blog-card .blog-date { font-size: 11px; color: var(--orange); font-weight: 600; margin-bottom: 6px; }
.blog-card h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; }
.blog-card p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.blog-card .read-more { color: var(--orange); font-size: 18px; margin-top: 8px; display: block; }

/* ===== HOMEPAGE EXPLORE SECTION FIX ===== */
.explore-prog { padding: 80px 40px; background: #fff; }
.explore-prog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.explore-prog-header h2 { font-size: 32px; font-weight: 900; color: #1a1a1a; }
.prog-level-btns { display: flex; gap: 10px; }
.level-btn { 
  padding: 12px 24px; 
  border: 1px solid #ddd; 
  font-size: 12px; 
  font-weight: 700; 
  cursor: pointer; 
  transition: all 0.3s;
  background: #fff;
  color: #333;
}

/* Active Level Button States */
#level-ug:checked ~ .explore-prog-header .level-btn[for="level-ug"],
#level-pg:checked ~ .explore-prog-header .level-btn[for="level-pg"] {
  background: var(--dark-maroon);
  color: #fff;
  border-color: var(--dark-maroon);
}

.prog-schools-tabs { 
  display: flex; 
  gap: 30px; 
  border-bottom: 1px solid #eee; 
  margin-bottom: 30px; 
  padding-bottom: 15px; 
  overflow-x: auto;
}
.school-tab { 
  font-size: 11px; 
  font-weight: 700; 
  color: #666; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  white-space: nowrap;
  transition: all 0.2s;
  position: relative;
}

/* Active School Tab States */
#tab-business:checked ~ .prog-schools-tabs label[for="tab-business"],
#tab-pharmacy:checked ~ .prog-schools-tabs label[for="tab-pharmacy"],
#tab-allied:checked ~ .prog-schools-tabs label[for="tab-allied"],
#tab-computing:checked ~ .prog-schools-tabs label[for="tab-computing"],
#tab-media:checked ~ .prog-schools-tabs label[for="tab-media"],
#tab-design:checked ~ .prog-schools-tabs label[for="tab-design"],
#tab-hospitality:checked ~ .prog-schools-tabs label[for="tab-hospitality"] {
  color: var(--orange);
}

#tab-business:checked ~ .prog-schools-tabs label[for="tab-business"]::after,
#tab-pharmacy:checked ~ .prog-schools-tabs label[for="tab-pharmacy"]::after,
#tab-allied:checked ~ .prog-schools-tabs label[for="tab-allied"]::after,
#tab-computing:checked ~ .prog-schools-tabs label[for="tab-computing"]::after,
#tab-media:checked ~ .prog-schools-tabs label[for="tab-media"]::after,
#tab-design:checked ~ .prog-schools-tabs label[for="tab-design"]::after,
#tab-hospitality:checked ~ .prog-schools-tabs label[for="tab-hospitality"]::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
}

/* Grid Visibility Logic */
.ug-grid-container, .pg-grid-container { display: none; }
.programs-grid { display: none; grid-template-columns: repeat(4, 1fr); gap: 24px; }

#level-ug:checked ~ .explore-programs .ug-grid-container { display: block; }
#level-pg:checked ~ .explore-programs .pg-grid-container { display: block; }

/* UG Grids */
#level-ug:checked ~ #tab-business:checked ~ .explore-programs #business-grid,
#level-ug:checked ~ #tab-pharmacy:checked ~ .explore-programs #pharmacy-grid,
#level-ug:checked ~ #tab-allied:checked ~ .explore-programs #allied-grid,
#level-ug:checked ~ #tab-computing:checked ~ .explore-programs #computing-grid,
#level-ug:checked ~ #tab-media:checked ~ .explore-programs #media-grid,
#level-ug:checked ~ #tab-design:checked ~ .explore-programs #design-grid,
#level-ug:checked ~ #tab-hospitality:checked ~ .explore-programs #hospitality-grid {
  display: grid;
}

/* PG Grids (Placeholder for PG content) */
#level-pg:checked ~ #tab-business:checked ~ .explore-programs #pg-business-grid {
  display: grid;
}

/* Card Styling */
.program-card { background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.program-card:hover { transform: translateY(-5px); }
.program-card img { width: 100%; height: 180px; object-fit: cover; }
.program-card-content { padding: 20px; }
.program-card-content h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; height: 42px; overflow: hidden; }
.program-meta { display: flex; gap: 15px; color: #777; font-size: 12px; }

/* ===== FOOTER ===== */
footer { background: var(--dark-maroon); padding: 50px 40px 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-col .footer-logo .brand { color: #fff; font-size: 18px; font-weight: 900; }
.footer-col .footer-logo .brand span { color: var(--orange); }
.footer-col .footer-logo .sub { color: #ddd; font-size: 13px; }
.footer-naac { margin: 10px 0; }
.footer-contact { color: #bbb; font-size: 12.5px; line-height: 2; }
.footer-contact span { display: block; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bbb; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.social-icons { display: flex; gap: 10px; margin-top: 4px; }
.social-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: all 0.2s;
}
.social-icon:hover { background: var(--orange); border-color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: #888; font-size: 11.5px; }
.footer-bottom a { color: #888; font-size: 11.5px; margin-left: 16px; }
.footer-bottom a:hover { color: #fff; }

/* ===== DIVIDER ===== */
.section-divider { height: 4px; background: var(--orange); width: 50px; margin-bottom: 16px; }
