/* =====================================================
   GOVERNMENT B.Sc. NURSING COLLEGE - MAIN STYLESHEET
   Color Palette: Teal (#00A99D), Navy (#1a2e44), White, Gold (#F5A623)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #025064;
  --primary-dark: #013b4a;
  --primary-light: #e8f4f6;
  --secondary: #012b36;
  --accent: #f9d699;
  --accent2: #fcd89a;
  --white: #ffffff;
  --off-white: #f8fafb;
  --light-gray: #f1f4f7;
  --gray: #9aa5b4;
  --dark-gray: #5a6474;
  --text-dark: #1a2e44;
  --text-body: #4a5568;
  --border: #e2e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
  --radius-lg: 16px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; border: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

/* ===== UTILITY CLASSES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-teal { color: var(--primary); }
.text-navy { color: var(--secondary); }
.text-gold { color: var(--accent); }
.bg-teal { background: var(--primary); }
.bg-navy { background: var(--secondary); }
.bg-light { background: var(--light-gray); }
.bg-white { background: var(--white); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.hidden { display: none; }

/* ===== SECTION HEADING ===== */
.section-heading { margin-bottom: 50px; }
.section-heading .sub-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
.section-heading .sub-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 2px;
  background: var(--primary);
}
.section-heading h2 { margin-bottom: 15px; }
.section-heading p { color: var(--dark-gray); max-width: 600px; }
.section-heading.centered { text-align: center; }
.section-heading.centered p { margin: 0 auto; }
.section-heading.centered .sub-label { padding: 0; }
.section-heading.centered .sub-label::before { display: none; }
.underline-deco {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 12px auto 20px;
  border-radius: 2px;
}
.underline-deco.left { margin: 12px 0 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,169,157,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-sm { padding: 8px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn i { font-size: 0.9em; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--secondary);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left span, .top-bar-left a {
  display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.85);
}
.top-bar-left a:hover { color: var(--primary); }
.top-bar-right { display: flex; gap: 10px; align-items: center; }
.social-link {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.75rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); transform: translateY(-2px); }

/* ===== HEADER / NAVBAR ===== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 75px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--primary);
}
.brand-logo-svg {
  width: 60px;
  height: 60px;
}
.brand-text .college-name {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}
.brand-text .college-tag {
  display: block;
  font-size: 0.65rem;
  color: var(--gray);
  font-weight: 400;
}

/* ===== NAV MENU ===== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
  transition: var(--transition);
  border-radius: var(--radius);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link:hover::after, .nav-link.active::after { width: 70%; }
.nav-link i { font-size: 0.7rem; transition: var(--transition); }
.nav-item:hover > .nav-link i { transform: rotate(180deg); }

/* ===== DROPDOWN ===== */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  border-top: 3px solid var(--primary);
  z-index: 999;
}
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
}
.dropdown-item a i { color: var(--primary); font-size: 0.8rem; width: 16px; }
.dropdown-item a:hover {
  color: var(--primary);
  background: var(--primary-light);
  padding-left: 24px;
}
.dropdown-item:not(:last-child) { border-bottom: 1px solid var(--border); }

/* Sub-dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: ' â€º'; float: right; }
.sub-dropdown {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: var(--transition);
  border-top: 3px solid var(--primary);
}
.has-sub:hover > .sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.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); }

/* ===== NEWS TICKER ===== */
.news-ticker {
  background: var(--primary-light);
  border-bottom: 1px solid rgba(0,169,157,0.2);
  padding: 8px 0;
  overflow: hidden;
}
.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ticker-label {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 1px;
}
.ticker-content {
  overflow: hidden;
  flex: 1;
}
.ticker-items {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}
.ticker-items span {
  font-size: 0.8rem;
  color: var(--secondary);
  padding-right: 60px;
  font-weight: 500;
}
.ticker-items span a { color: var(--primary); font-weight: 600; }
@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--secondary);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,60,55,0.85) 0%, rgba(26,46,68,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 650px;
}
.hero-content .sub-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-indicators {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.hero-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}
.hero-arrows {
  position: absolute;
  bottom: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(50%);
  z-index: 5;
}
.hero-arrow {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stat-item {
  text-align: center;
  padding: 10px 20px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border: none; }
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}
.stat-label { font-size: 0.82rem; opacity: 0.9; margin-top: 5px; }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-main img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge .num { font-size: 2rem; font-weight: 800; display: block; line-height: 1; }
.about-badge .text { font-size: 0.78rem; opacity: 0.9; margin-top: 4px; }
.about-quote {
  background: var(--off-white);
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 25px 0;
  position: relative;
}
.about-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -5px;
  left: 10px;
  font-family: Georgia, serif;
  line-height: 1;
}
.about-quote p { font-style: italic; color: var(--dark-gray); margin: 0; }
.vm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.vm-card {
  background: var(--off-white);
  padding: 18px;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}
.vm-card:hover { background: var(--primary-light); transform: translateY(-2px); }
.vm-card h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.vm-card h4 i { font-size: 1rem; }
.vm-card p { font-size: 0.82rem; color: var(--dark-gray); margin: 0; }

/* ===== PROGRAMS SECTION ===== */
.programs-section { background: var(--light-gray); }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program-card-img {
  height: 200px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.program-card-img img { width: 100%; height: 100%; object-fit: cover; }
.program-card-img .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,60,55,0.7), transparent);
}
.program-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}
.program-card-body { padding: 25px; }
.program-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.program-card-body p { font-size: 0.85rem; color: var(--dark-gray); margin-bottom: 15px; }
.program-meta { display: flex; gap: 15px; margin-bottom: 15px; }
.program-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--dark-gray);
}
.program-meta span i { color: var(--primary); }

/* ===== FACILITIES SECTION ===== */
.facilities-section { background: var(--white); }
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.facility-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 30px 25px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}
.facility-card:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.facility-icon {
  width: 70px; height: 70px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}
.facility-card:hover .facility-icon {
  background: var(--primary);
  color: var(--white);
}
.facility-card h4 { margin-bottom: 8px; font-size: 1rem; }
.facility-card p { font-size: 0.83rem; color: var(--dark-gray); margin: 0; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-text { color: var(--white); }
.cta-text h2 { color: var(--white); font-size: 2rem; margin-bottom: 10px; }
.cta-text p { opacity: 0.9; margin: 0; }

/* ===== PRINCIPAL SECTION ===== */
.principal-section { background: var(--light-gray); }
.principal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}
.principal-photo {
  position: sticky;
  top: 100px;
}
.principal-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.principal-info {
  background: var(--primary);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  text-align: center;
}
.principal-info h4 { color: var(--white); font-size: 1rem; }
.principal-info span { font-size: 0.82rem; opacity: 0.9; }
.principal-message blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark-gray);
  border-left: 4px solid var(--primary);
  padding: 15px 25px;
  margin: 20px 0;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== DEPARTMENTS GRID ===== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.dept-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px 20px;
  text-align: center;
  border: 2px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}
.dept-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.dept-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}
.dept-card h4 { font-size: 0.95rem; color: var(--secondary); }
.dept-card p { font-size: 0.8rem; color: var(--gray); margin: 8px 0 0; }

/* ===== NEWS SECTION ===== */
.news-section { background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.news-card-body { padding: 22px; }
.news-category {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.news-card-body h4 { font-size: 0.98rem; margin-bottom: 10px; line-height: 1.4; }
.news-card-body p { font-size: 0.83rem; color: var(--dark-gray); margin-bottom: 15px; }
.read-more {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.read-more:hover { gap: 10px; }
.read-more i { font-size: 0.75rem; }

/* ===== GALLERY SECTION ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,169,157,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 1.5rem; }

/* ===== FACULTY TABLE ===== */
.faculty-table-wrap { overflow-x: auto; }
.faculty-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faculty-table thead { background: var(--primary); }
.faculty-table thead th {
  padding: 15px 20px;
  text-align: left;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}
.faculty-table tbody tr { border-bottom: 1px solid var(--border); transition: var(--transition); }
.faculty-table tbody tr:hover { background: var(--primary-light); }
.faculty-table tbody td { padding: 14px 20px; font-size: 0.85rem; color: var(--text-body); }
.faculty-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-teal { background: var(--primary-light); color: var(--primary); }
.badge-navy { background: rgba(26,46,68,0.1); color: var(--secondary); }

/* ===== NOTICE BOARD ===== */
.notice-board {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
}
.notice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary);
}
.notice-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}
.notice-header h3 i { color: var(--primary); }
.notice-list { max-height: 350px; overflow-y: auto; }
.notice-list::-webkit-scrollbar { width: 4px; }
.notice-list::-webkit-scrollbar-track { background: var(--light-gray); }
.notice-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.notice-item:last-child { border: none; }
.notice-item:hover { padding-left: 5px; }
.notice-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.notice-item-content a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  display: block;
  margin-bottom: 3px;
}
.notice-item-content a:hover { color: var(--primary); }
.notice-item-content .notice-meta {
  font-size: 0.75rem;
  color: var(--gray);
  display: flex;
  gap: 10px;
}
.new-tag {
  background: #ff4757;
  color: var(--white);
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  animation: blink 1.5s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: var(--secondary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.page-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 5%;
  width: 200px; height: 200px;
  background: rgba(0,169,157,0.15);
  border-radius: 50%;
}
.page-banner-content { position: relative; z-index: 2; flex: 1; min-width: 300px; }
.page-banner-image { flex: 1; min-width: 300px; text-align: right; position: relative; z-index: 2; }
.page-banner-image img {
  border-radius: 20px;
  max-height: 350px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
.page-banner h1 { color: var(--white); font-size: 2.2rem; margin-bottom: 10px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb span {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--primary); font-weight: 600; }

/* ===== CONTACT FORM ===== */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,169,157,0.15);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { cursor: pointer; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo-text .name {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}
.footer-logo-text .tag { font-size: 0.7rem; opacity: 0.7; }
.footer-about p { font-size: 0.84rem; line-height: 1.8; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social:hover { background: var(--primary); transform: translateY(-3px); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a::before { content: 'â€º'; color: var(--primary); font-size: 1rem; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 0.83rem;
}
.footer-contact-item i {
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 18px 0;
  margin-top: 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin: 0; }
.footer-bottom a { color: var(--primary); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px; height: 45px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  border: none;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== CARDS GENERAL ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body { padding: 25px; }
.card-header-teal {
  background: var(--primary);
  color: var(--white);
  padding: 15px 25px;
  font-weight: 600;
}

/* ===== TABS ===== */
.tabs-wrap { }
.tab-nav {
  display: flex;
  gap: 5px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 30px;
  overflow-x: auto;
}
.tab-btn {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== COURSE TABLE ===== */
.course-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.course-table thead { background: var(--primary); }
.course-table thead th {
  padding: 15px 20px;
  color: var(--white);
  font-size: 0.9rem;
  text-align: left;
}
.course-table tbody tr { border-bottom: 1px solid var(--border); }
.course-table tbody tr:hover { background: var(--primary-light); }
.course-table tbody td { padding: 14px 20px; font-size: 0.88rem; }

/* ===== SIDEBAR ===== */
.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 35px;
  align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 25px;
}
.sidebar-card-header {
  background: var(--primary);
  color: var(--white);
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 700;
}
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 0.84rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.sidebar-links a:hover, .sidebar-links a.active {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 25px;
}
.sidebar-links a i { color: var(--primary); font-size: 0.75rem; }

/* ===== ADMISSION SECTION ===== */
.eligibility-list { margin: 20px 0; }
.eligibility-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.eligibility-list li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.doc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.doc-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  padding: 10px;
  background: var(--off-white);
  border-radius: var(--radius);
}
.doc-item i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ===== ACCORDION ===== */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-header {
  padding: 16px 22px;
  background: var(--off-white);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.accordion-header:hover, .accordion-header.active { background: var(--primary-light); color: var(--primary); }
.accordion-header i { transition: var(--transition); }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 20px 22px;
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}
.accordion-body.show { display: block; animation: fadeIn 0.3s ease; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .principal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 0 30px;
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    z-index: 1001;
  }
  .nav-menu.open { right: 0; }
  .nav-item { width: 100%; }
  .nav-link { padding: 12px 25px; border-radius: 0; font-size: 0.9rem; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary);
    margin-left: 25px;
    display: none;
  }
  .dropdown.open { display: block; }
  .programs-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 450px; }
  .top-bar { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .doc-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .facilities-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .cta-content { flex-direction: column; text-align: center; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ===== MAP ===== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 380px; border: 0; }

/* ===== COMMITTEE TABLE ===== */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.committee-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}
.committee-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.committee-card img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid var(--primary);
}
.committee-card h4 { font-size: 0.95rem; margin-bottom: 5px; }
.committee-card .role { color: var(--primary); font-size: 0.8rem; font-weight: 600; }
.committee-card .dept { color: var(--gray); font-size: 0.78rem; }

/* ===== STATIC INJECTION OVERRIDES (TEAL THEME - ONE LINE) ===== */
.news-ticker {
  background: var(--primary) !important;
  border-bottom: none !important;
  color: white !important;
}
.news-ticker .ticker-label {
  background: rgba(0,0,0,0.2) !important;
  color: white !important;
}
.news-ticker .ticker-items span {
  color: white !important;
}
.news-ticker .ticker-items a {
  color: var(--gold) !important;
}
.navbar {
  align-items: center !important;
  padding: 0 !important;
}
.brand {
  flex-shrink: 0;
  margin-right: 20px !important;
}
.brand-logo-svg circle[stroke="#800000"] { stroke: var(--primary) !important; }
.brand-logo-svg rect[fill="#800000"], .brand-logo-svg circle[fill="#800000"] { fill: var(--primary) !important; }
.college-name { color: var(--navy) !important; }

.nav-menu {
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  gap: 0 !important;
}
.nav-link {
  color: var(--navy) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  padding: 25px 8px !important;
  white-space: nowrap !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}
.nav-link::after {
  background: var(--primary) !important;
  bottom: 0 !important;
}
@media (max-width: 1024px) {
  .nav-menu { display: none !important; } /* handled by JS/hamburger normally, but since we overrode it */
}
