/* =============================================
   SHIVALIK MAHAVIDYALAYA - Main Stylesheet
   Color Palette: Deep Saffron + Navy + Gold
   ============================================= */

/* Scroll Reveal Classes */
.reveal-el {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-el.revealed {
  opacity: 1;
  transform: translateY(0);
}


:root {
  --primary: #1a3a5c;
  /* Deep Navy Blue */
  --primary-dark: #0f2540;
  --accent: #d4760a;
  /* Saffron/Orange */
  --accent-light: #f0a030;
  --gold: #c9a227;
  --white: #ffffff;
  --light-bg: #f4f7fb;
  --soft-bg: #eef2f7;
  --text-dark: #1a2340;
  --text-mid: #3a4a6a;
  --text-light: #6a7a9a;
  --border: #d0dae8;
  --gradient-hero: linear-gradient(135deg, #0f2540 0%, #1a3a5c 50%, #d4760a 100%);
  --shadow-sm: 0 2px 8px rgba(26, 58, 92, 0.10);
  --shadow-md: 0 4px 20px rgba(26, 58, 92, 0.15);
  --shadow-lg: 0 8px 40px rgba(26, 58, 92, 0.20);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.3s ease;
  --font-sans: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  --font-deva: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

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

.section-padding {
  padding: 80px 0;
}

.mt-4 {
  margin-top: 20px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212, 118, 10, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 118, 10, 0.5);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid var(--white);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

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

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-deva);
  line-height: 1.3;
}

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

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 2px solid var(--accent);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

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

.top-bar i {
  color: var(--accent-light);
  font-size: 0.85rem;
}

/* =============================================
   HEADER
   ============================================= */
.header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e4570 100%);
  padding: 18px 0;
  position: relative;
  box-shadow: var(--shadow-md);
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-light));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.25), var(--shadow-md);
  background: white;
  padding: 2px;
}

.college-title .college-name-hindi {
  font-family: var(--font-deva);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.college-title .college-name-english {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.college-title .affiliation {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.header-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  justify-content: flex-end;
}

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

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background: linear-gradient(90deg, var(--primary) 0%, #1e4d7b 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 3px 15px rgba(15, 37, 64, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

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

.nav-menu>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 16px 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
}

.nav-menu>li>a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--accent-light);
  transition: all var(--transition);
}

.nav-menu>li>a:hover,
.nav-menu>li.active>a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-menu>li>a:hover::after,
.nav-menu>li.active>a::after {
  left: 0;
  right: 0;
}

.arrow-icon {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-menu>li:hover .arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 30px rgba(15, 37, 64, 0.22);
  z-index: 999;
  border-top: 3px solid var(--accent);
  animation: dropDown 0.25s ease;
}

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

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

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

.dropdown li a {
  display: block;
  padding: 11px 18px;
  font-size: 0.84rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

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

.dropdown li a:hover {
  background: var(--soft-bg);
  color: var(--accent);
  padding-left: 24px;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   NEWS TICKER
   ============================================= */
.news-ticker {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 42px;
}

.ticker-label {
  background: var(--primary-dark);
  color: white;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  gap: 60px;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ticker-content span {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
}

@keyframes ticker {
  0% {
    transform: translateX(100vw);
  }

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

/* =============================================
   SLIDER SECTION
   ============================================= */
.slider-section {
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(10, 25, 50, 0.80) 0%,
      rgba(10, 25, 50, 0.50) 50%,
      rgba(10, 25, 50, 0.20) 100%);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 600px;
  z-index: 2;
}

.slide-content h2 {
  font-family: var(--font-deva);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 6px;
}

.slide-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.slide-content p {
  color: rgba(255, 255, 255, 0.90);
  font-size: 1rem;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: all var(--transition);
}

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

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

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

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

.dot.active {
  background: var(--accent-light);
  width: 28px;
  border-radius: 5px;
  border-color: var(--accent);
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 30px 0;
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
}

.stat-item i {
  font-size: 2.2rem;
  color: var(--accent-light);
  flex-shrink: 0;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
  background: var(--white);
}

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

.about-content h3 {
  font-family: var(--font-deva);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.8;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.8;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 500;
}

.feature-item i {
  color: var(--accent);
}

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 420px;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}

.about-badge span {
  font-size: 0.75rem;
  font-weight: 600;
}

.about-badge strong {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

/* =============================================
   MANAGEMENT SECTION
   ============================================= */
.management-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-bg) 100%);
}

.management-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.leader-img-wrap {
  position: relative;
  height: 350px;
  overflow: hidden;
}

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

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

.leader-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founder-badge {
  background: linear-gradient(135deg, var(--primary), #1e4d7b);
}

.manager-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.leader-info {
  padding: 24px;
}

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

.designation {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-deva);
  margin-bottom: 12px;
  background: rgba(212, 118, 10, 0.08);
  padding: 3px 12px;
  border-radius: 50px;
}

.leader-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* =============================================
   COURSES SECTION
   ============================================= */
.courses-section {
  background: var(--white);
}

.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.course-card {
  background: linear-gradient(135deg, var(--light-bg), var(--white));
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(26, 58, 92, 0.06);
}

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

.course-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1e4d7b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.course-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.course-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #1e4d7b);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.science-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.course-content h3 {
  font-family: var(--font-deva);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.course-content>p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

.course-subjects h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-subjects ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 22px;
}

.course-subjects li {
  font-size: 0.86rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-subjects li i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-section .section-tag {
  background: rgba(212, 118, 10, 0.8);
}

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

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

.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(to top, rgba(15, 37, 64, 0.85) 0%, rgba(15, 37, 64, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  gap: 8px;
}

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

.gallery-overlay i {
  font-size: 1.8rem;
  color: var(--white);
}

.gallery-overlay span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

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

.lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 35, 0.93);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 95vw;
  padding: 0 60px;
}

.lb-img-wrap {
  text-align: center;
}

.lb-img-wrap img {
  max-height: 80vh;
  max-width: 80vw;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#lb-caption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 12px;
  font-size: 0.9rem;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
  z-index: 2;
  backdrop-filter: blur(5px);
}

.lb-close {
  top: -20px;
  right: -20px;
  background: var(--accent);
  border-color: var(--accent);
}

.lb-prev {
  left: 0;
}

.lb-next {
  right: 0;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid transparent;
  transition: all var(--transition);
}

.contact-card:hover {
  border-bottom-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1e4d7b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-icon i {
  font-size: 1.3rem;
  color: white;
}

.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: var(--font-deva);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--primary);
}

.closed {
  color: var(--text-light);
  font-size: 0.82rem;
}

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

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

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

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

.footer-logo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  background: white;
}

.footer-logo h3 {
  font-family: var(--font-deva);
  font-size: 1rem;
  color: var(--gold);
  line-height: 1.2;
}

.footer-logo p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-about {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(201, 162, 39, 0.3);
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 5px 0;
  transition: all var(--transition);
}

.footer-links li a i {
  color: var(--accent-light);
  font-size: 0.7rem;
}

.footer-links li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 0;
}

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

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-list a:hover {
  color: var(--white);
}

.affil-footer {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 118, 10, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all var(--transition);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

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

  .about-image-wrap {
    order: -1;
  }

  .about-img {
    height: 300px;
  }

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

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

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

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

  .stats-inner {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu>li>a {
    padding: 16px 10px;
    font-size: 0.8rem;
  }
}

/* =============================================
   RESPONSIVE – MOBILE
   ============================================= */
@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }

  .top-bar-left {
    font-size: 0.78rem;
    gap: 12px;
  }

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

  .header-contact {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .logo-area {
    flex-direction: column;
    align-items: center;
  }

  .college-title {
    text-align: center;
  }

  .college-title .college-name-hindi {
    font-size: 1.5rem;
  }

  .college-title .college-name-english {
    font-size: 0.9rem;
  }

  /* Hamburger */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
    padding-bottom: 10px;
  }

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

  .nav-menu>li>a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

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

  .dropdown li a {
    padding: 10px 30px;
    border-bottom: none;
    color: rgba(255, 255, 255, 0.75);
  }

  .dropdown li a:hover {
    color: var(--accent-light);
    background: transparent;
    padding-left: 36px;
  }

  .slider-container {
    height: 360px;
  }

  .slide-content {
    left: 5%;
    max-width: 90%;
  }

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

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

  .slide-content p {
    font-size: 0.88rem;
  }

  .stats-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: 55px 0;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .lightbox-content {
    padding: 0 40px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

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

  .slider-container {
    height: 290px;
  }

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

  .slide-content h3 {
    font-size: 0.95rem;
  }

  .course-subjects ul {
    grid-template-columns: 1fr;
  }

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

  .logo-img {
    width: 70px;
    height: 70px;
  }
}

/* =============================================
   PAGE BANNER (Inner Pages)
   ============================================= */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1e4570 100%);
  padding: 50px 0 40px;
  text-align: center;
  position: relative;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-light));
}
.page-banner h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-deva);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a {
  color: var(--accent-light);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span { color: rgba(255,255,255,0.85); }

/* =============================================
   NEWS + MANAGEMENT 50-50 SECTION
   ============================================= */
.news-management-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-bg) 100%);
}

.nm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.nm-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nm-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-bottom: 3px solid var(--accent);
}

.nm-box-header h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nm-view-all {
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}
.nm-view-all:hover { color: var(--white); }

/* News Scroll */
.news-scroll-container {
  flex: 1;
  max-height: 400px;
  overflow-y: auto;
  padding: 0;
}

.news-scroll-container::-webkit-scrollbar { width: 5px; }
.news-scroll-container::-webkit-scrollbar-track { background: #f1f1f1; }
.news-scroll-container::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.news-item {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  align-items: flex-start;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--light-bg); }

.news-date-badge {
  min-width: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
  flex-shrink: 0;
}
.news-day {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}
.news-month {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  margin-top: 2px;
}
.news-year {
  display: block;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
}

.news-item-content h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

.news-item-content p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 4px;
}

.news-link {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.news-link:hover { color: var(--primary); }

.new-tag {
  display: inline-block;
  background: #ff5722;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: blink-tag 1.2s ease-in-out infinite;
  vertical-align: middle;
  margin-left: 5px;
}

@keyframes blink-tag {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Management Cards in 50-50 */
.management-scroll-container {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mgmt-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--light-bg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mgmt-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.mgmt-img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.mgmt-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.mgmt-role {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(212,118,10,0.08);
  padding: 1px 8px;
  border-radius: 50px;
}

.mgmt-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  margin-top: 2px;
}

.mgmt-info p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* =============================================
   COMMITTEE PAGES
   ============================================= */
.content-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.content-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-box h3 i { color: var(--accent); }
.content-box p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 10px;
}

.committee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.committee-table th, .committee-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--border);
}
.committee-table th {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.committee-table tbody tr:hover { background: var(--light-bg); }
.committee-table tbody tr:nth-child(even) { background: #fafcff; }
.committee-table td { color: var(--text-mid); }
.committee-table a { color: var(--accent); text-decoration: none; }
.committee-table a:hover { text-decoration: underline; }

.staff-table-wrap { overflow-x: auto; }

.committee-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent);
}

.info-card-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 8px;
  line-height: 1.6;
}

.committee-list {
  list-style: none;
}
.committee-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.committee-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.important-notes {
  list-style: decimal inside;
  color: var(--text-mid);
}

.important-notes li {
  margin-bottom: 0.8rem;
  padding-left: 0;
}

.nss-activities,
.ncc-benefits {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
  color: var(--text-mid);
  line-height: 1.85;
}

.nss-activities li {
  position: relative;
  margin-bottom: 0.9rem;
}

.nss-activities li::before {
  content: '•';
  position: absolute;
  left: -1.4rem;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1.5;
}

.ncc-benefits {
  counter-reset: ncc-benefit-counter;
  list-style: none;
}

.ncc-benefits li {
  position: relative;
  margin-bottom: 0.9rem;
  padding-left: 2rem;
  counter-increment: ncc-benefit-counter;
}

.ncc-benefits li::before {
  content: counter(ncc-benefit-counter) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th, .info-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.info-table th {
  text-align: left;
  color: var(--text-mid);
  font-weight: 600;
  width: 35%;
}
.info-table td { color: var(--text-dark); }
.info-table a { color: var(--accent); text-decoration: none; }
.info-table a:hover { text-decoration: underline; }

.info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.zero-tolerance-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #fff5f5, #fff);
  border: 2px solid #ffcdd2;
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 30px;
}
.zero-tolerance-box > i {
  font-size: 2rem;
  color: #c62828;
  flex-shrink: 0;
  margin-top: 4px;
}
.zero-tolerance-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #c62828;
  margin-bottom: 6px;
}
.zero-tolerance-box p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* =============================================
   FEATURES GRID (About Page)
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26,58,92,0.12);
  border-bottom-color: var(--accent);
}
.feature-card-icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 1.65rem;
  box-shadow: 0 10px 25px rgba(212,118,10,0.18);
}
.feature-card-icon i {
  display: block;
}
.sports-grid .feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), #f7fbff);
  border: 1px solid rgba(26,58,92,0.08);
  padding: 34px 26px;
  min-height: 260px;
}
.sports-grid .feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 15px;
}
.sports-grid .feature-card p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.sports-grid .feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(212,118,10,0.03), transparent 60%);
  pointer-events: none;
}
.sports-grid .feature-card {
  position: relative;
}

.ground-features-grid .feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), #f7fbff);
  border: 1px solid rgba(26,58,92,0.12);
  padding: 42px 30px;
  min-height: 280px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ground-features-grid .feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,118,10,0.25);
  box-shadow: 0 18px 44px rgba(26,58,92,0.12);
}

.ground-features-grid .feature-card-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  font-size: 2.1rem;
}

.ground-features-grid .feature-card h4 {
  font-size: 1.18rem;
  margin-bottom: 14px;
}

.ground-features-grid .feature-card p {
  font-size: 0.98rem;
  line-height: 1.95;
  color: var(--text-mid);
}

/* Vision & Mission */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--accent);
}
.vm-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.vm-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.vm-card p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; }
.vm-card ul { list-style: none; }
.vm-card li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.92rem; color: var(--text-mid); line-height: 1.8;
  margin-bottom: 8px;
}
.vm-card li i { color: var(--accent); margin-top: 5px; flex-shrink: 0; }

/* =============================================
   NOTICES PAGE
   ============================================= */
.notices-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
}
.notice-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.notice-date-col { flex-shrink: 0; }
.notice-date-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: center;
  min-width: 65px;
}
.notice-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}
.notice-month {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  text-transform: uppercase;
}

.notice-content-col { flex: 1; }
.notice-content-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.notice-content-col p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.notice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
}
.notice-meta i { color: var(--accent); margin-right: 4px; }
.notice-attachment {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.notice-attachment:hover { text-decoration: underline; }

/* =============================================
   GALLERY PAGE
   ============================================= */
.galleries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-card-link { text-decoration: none; }

.gallery-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-card-img {
  width: 100%;
  height: 150px;
  overflow: hidden;
}
.gallery-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-card-img img { transform: scale(1.08); }

.gallery-card-info {
  padding: 14px 18px;
}
.gallery-card-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 3px;
}
.gallery-card-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.gallery-photos-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* =============================================
   FORMS (Contact, RTI)
   ============================================= */
.site-form {
  max-width: 800px;
  margin: 0 auto;
}
.contact-form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), #eef5ff);
  border: 1px solid rgba(26,58,92,0.12);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(26,58,92,0.08);
}
.contact-form-card .section-heading {
  margin-bottom: 20px;
}
.site-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}
.site-form .form-group {
  margin-bottom: 18px;
}
.site-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.site-form input,
.site-form textarea,
.site-form select {
  width: 100%;
  padding: 11px 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: var(--font-sans);
  transition: border-color 0.3s;
  background: var(--white);
}
.site-form input:focus,
.site-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 15px;
  padding: 12px;
  background: var(--light-bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

/* Course Meta */
.course-meta {
  background: var(--light-bg);
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* =============================================
   DOWNLOADS PAGE
   ============================================= */
.downloads-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--light-bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.download-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.dl-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.1rem;
}

.dl-info {
  flex: 1;
}
.dl-info h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.dl-info p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.dl-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.dl-btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.dl-btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 480px) {
  .download-item { flex-wrap: wrap; }
  .dl-btn { width: 100%; justify-content: center; }
  .admission-courses-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .has-dropdown > a .arrow-icon {
    transition: transform 0.3s;
  }
  
  .has-dropdown.open > a .arrow-icon {
    transform: rotate(180deg);
  }

  .dropdown li a {
    font-size: 0.82rem;
  }

  /* New sections responsive */
  .nm-grid { grid-template-columns: 1fr; }
  .committee-info-grid { grid-template-columns: 1fr; }
  .info-cards-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .notice-card { flex-direction: column; gap: 12px; }
  .notice-date-box { display: flex; gap: 10px; align-items: center; min-width: auto; }
  .notice-day { font-size: 1.2rem; }
  .site-form .form-row { grid-template-columns: 1fr; }
  .page-banner h2 { font-size: 1.5rem; }
  .page-banner { padding: 35px 0 30px; }
  .galleries-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

/* IDP Page Enhancements */
.idp-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

.idp-hero-text h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

.idp-stat-card {
  background: linear-gradient(135deg, rgba(212,118,10,0.08), rgba(255,255,255,0.95));
  border: 1px solid rgba(212,118,10,0.16);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.idp-stat-card .stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.idp-timeline-grid,
.idp-goals-grid,
.idp-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.idp-timeline-card,
.idp-goal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent);
}

.idp-timeline-card h4,
.idp-goal-card h4 {
  font-size: 1rem;
  color: var(--primary);
  margin: 1rem 0 0.8rem;
}

.idp-timeline-card p,
.idp-goal-card p {
  color: var(--text-mid);
  line-height: 1.75;
  font-size: 0.92rem;
}

.timeline-step {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(26,58,92,0.08);
  color: var(--primary);
  font-weight: 700;
  border-radius: 999px;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .idp-hero-grid,
  .idp-timeline-grid,
  .idp-goals-grid,
  .idp-strategy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .galleries-grid { grid-template-columns: 1fr 1fr; }
  .news-item { padding: 10px 14px; }
  .news-date-badge { min-width: 44px; padding: 6px 4px; }
  .news-day { font-size: 1rem; }
  .mgmt-card { padding: 10px; }
  .mgmt-img { width: 50px; height: 50px; }
  .page-banner h2 { font-size: 1.4rem; }
  .idp-hero-grid { gap: 18px; }
}

/* Teaching Staff UI Enhancements */
.teaching-faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.faculty-ui-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 5px solid var(--accent);
}

.faculty-ui-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.faculty-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(26,58,92,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.faculty-main-info h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.f-dept {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 2px;
}

.f-deg {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 980px) {
  .teaching-faculty-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .teaching-faculty-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MESSAGE PAGES (Founder / Manager / Principal)
   ============================================= */
.message-page-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.message-photo-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 2rem 1.5rem;
  position: sticky;
  top: 100px;
}

.message-photo {
  width: 200px;
  height: 220px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--accent);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-photo-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.message-role {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.3rem;
}

.message-contact {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.message-contact p {
  margin: 0.3rem 0;
}

.message-contact i {
  color: var(--accent);
  margin-right: 6px;
  width: 16px;
}

.message-content-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
}

.message-content-card p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  text-align: justify;
}

.message-signature {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--soft-bg);
  text-align: right;
}

.message-signature strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.message-signature span {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Gallery card content variant for campus-facilities */
.gallery-card-content {
  padding: 1.2rem 1.5rem;
}

.gallery-card-content h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.gallery-card-content h4 i {
  color: var(--accent);
  margin-right: 6px;
}

.gallery-card-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .message-page-layout {
    grid-template-columns: 1fr;
  }
  .message-photo-card {
    position: static;
  }
  .message-content-card {
    padding: 1.5rem;
  }
}

/* Collaborations UI Enhancements */
.colab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.colab-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

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

.colab-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.colab-card:hover .colab-img img {
  transform: scale(1.1);
}

.colab-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.colab-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.colab-info h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.colab-info h4 i {
  color: var(--accent);
}

.colab-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .colab-grid {
    grid-template-columns: 1fr;
  }
}