/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #1a3a6b;
  --primary-dark: #102850;
  --primary-light: #2557a7;
  --accent: #e07b00;
  --accent-light: #f59e0b;
  --accent-dark: #b85e00;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #eef0f5;
  --text: #1e2d3d;
  --text-muted: #5a6880;
  --border: #dce3ef;
  --shadow: 0 4px 24px rgba(26, 58, 107, 0.10);
  --shadow-md: 0 8px 32px rgba(26, 58, 107, 0.14);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary-dark);
  color: #c8d8f0;
  font-size: 0.78rem;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar span,
.topbar a {
  color: #c8d8f0;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}

.topbar a:hover {
  color: var(--accent-light);
}

.topbar i {
  color: var(--accent-light);
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: rgba(224, 123, 0, 0.08);
  border-radius: 50%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.header-logo {
  width: 140px;
  /* height: 110px; */
  border-radius: 50%;
  /* border: 3px solid var(--accent-light); */
  object-fit: cover;
  /* background: white; */
  flex-shrink: 0;
  /* box-shadow: 0 4px 20px rgba(0,0,0,0.3); */
}

.header-text {
  flex: 1;
}

.college-name-en {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.college-name-hi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--accent-light);
  font-weight: 600;
  margin-top: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.college-affil {
  color: #b8cce4;
  font-size: 0.82rem;
  margin-top: 6px;
}

.college-affil strong {
  color: var(--accent-light);
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--primary-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(26, 58, 107, 0.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

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

.nav-menu>li {
  position: relative;
}

.nav-menu>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 14px 12px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-menu>li>a i {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-menu>li:hover>a {
  background: rgba(255, 255, 255, 0.15);
}

.nav-menu>li>a.active {
  background: var(--accent);
  color: white;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 999;
  animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.has-dropdown:hover .dropdown {
  display: block;
}

.has-dropdown:hover>a i {
  transform: rotate(180deg);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--text);
  border-bottom: 1px solid var(--light-gray);
  transition: background var(--transition), color var(--transition);
}

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

.dropdown li a:hover {
  background: var(--light-gray);
  color: var(--primary);
  padding-left: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 14px 0;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== NEWS TICKER ===== */
.news-ticker {
  background: var(--accent);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 38px;
}

.ticker-label {
  background: var(--accent-dark);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  color: white;
  font-size: 0.82rem;
  font-weight: 500;
  animation: ticker-scroll 28s linear infinite;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ===== SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.slides-wrapper {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 40, 80, 0.72) 0%, rgba(26, 58, 107, 0.45) 100%);
}

.slide-content {
  position: absolute;
  bottom: 80px;
  left: 60px;
  z-index: 2;
  max-width: 600px;
  color: white;
  animation: slideUp 0.8s ease;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 1rem;
  color: #d0e2fb;
  margin-bottom: 22px;
}

.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(224, 123, 0, 0.4);
}

.btn-hero:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(224, 123, 0, 0.5);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  font-size: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.prev {
  left: 18px;
}

.next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.dot.active {
  background: var(--accent-light);
  transform: scale(1.3);
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 18px;
  border-radius: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 12px;
}

.divider {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  border-left: 3px solid var(--accent);
}

.feature-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  margin-top: 6px;
  color: #c8d8f0;
}

/* ===== MANAGEMENT SECTION ===== */
.management-section {
  padding: 80px 0;
  background: var(--white);
}

.management-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.mgmt-card {
  background: var(--off-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 340px;
  width: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 2px solid var(--border);
}

.mgmt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.mgmt-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, #fffbf4 0%, #fff8ee 100%);
}

.mgmt-photo-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--light-gray), var(--border));
}

.mgmt-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.mgmt-card:hover .mgmt-photo {
  transform: scale(1.05);
}

.mgmt-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 3px 12px rgba(224, 123, 0, 0.5);
}

.mgmt-info {
  padding: 20px 22px 24px;
}

.mgmt-info h3 {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.mgmt-role {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.mgmt-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== COURSES SECTION ===== */
.courses-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.courses-section .section-header h2 {
  color: white;
}

.courses-section .section-tag {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.courses-wrapper {
  display: flex;
  justify-content: center;
}

.course-main-card {
  background: white;
  border-radius: var(--radius);
  padding: 48px 52px;
  text-align: center;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.course-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 6px 20px rgba(224, 123, 0, 0.35);
}

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

.course-subtitle {
  font-family: 'Noto Sans Devanagari', sans-serif;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.course-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.subject-tag {
  background: var(--light-gray);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}

.subject-tag:hover {
  background: var(--accent);
  color: white;
}

.btn-course {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 36px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}

.btn-course:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 80px 0;
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 58, 107, 0.75), rgba(224, 123, 0, 0.5));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity var(--transition);
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-overlay i {
  font-size: 1.8rem;
}

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

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--accent-light);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary-dark);
  color: #b8cce4;
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.footer-college-name {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.footer-college-hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  color: var(--accent-light);
  font-size: 0.85rem;
}

.footer-desc {
  font-size: 0.83rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8cce4;
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.footer-heading {
  color: var(--accent-light);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #9db8d8;
  font-size: 0.83rem;
  transition: color var(--transition), padding var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: #9db8d8;
}

.footer-contact i {
  color: var(--accent-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a {
  color: #9db8d8;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #5a7a9a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-slider {
    height: 400px;
  }

  .slide-content {
    left: 30px;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    text-align: center;
    padding: 8px 16px;
    gap: 4px;
  }

  .topbar-left,
  .topbar-right {
    justify-content: center;
    gap: 10px;
  }

  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .header-logo {
    width: 90px;
    height: 90px;
  }

  .college-name-en {
    font-size: 1.15rem;
  }

  .college-name-hi {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-height: 75vh;
    overflow-y: auto;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu>li {
    width: 100%;
  }

  .nav-menu>li>a {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    background: rgba(0, 0, 0, 0.15);
    display: none;
    border-radius: 0;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }

  .dropdown li a {
    color: #c8d8f0;
    border-bottom-color: rgba(255, 255, 255, 0.08);
    padding-left: 30px;
  }

  .dropdown li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding-left: 36px;
  }

  .hero-slider {
    height: 300px;
  }

  .slide-content {
    left: 18px;
    bottom: 60px;
    max-width: 90%;
  }

  .slide-content h2 {
    font-size: 1.1rem;
  }

  .slide-content p {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }

  .btn-hero {
    padding: 9px 22px;
    font-size: 0.82rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .course-main-card {
    padding: 32px 24px;
  }

  .management-grid {
    flex-direction: column;
    align-items: center;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .about-section,
  .management-section,
  .courses-section,
  .gallery-section {
    padding: 56px 0;
  }

  .footer-top {
    padding: 40px 0 28px;
  }
}

@media (max-width: 480px) {
  .topbar-right {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-num {
    font-size: 1.7rem;
  }

  .course-subjects {
    gap: 7px;
  }

  .subject-tag {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
}