/* =========================================
   Sahyadri Degree College - Main Stylesheet
   Color Palette: Forest Green, Royal Blue, Warm Gold
   Font: Cormorant Garamond (headings) + Nunito (body)
   ========================================= */

:root {
  --green: #1a5c2a;
  --green-light: #2d8a45;
  --green-pale: #e8f5ec;
  --blue: #1a3a6b;
  --blue-light: #2952a3;
  --gold: #c8860a;
  --gold-light: #f0a500;
  --gold-pale: #fdf3e0;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-light: #e9ecef;
  --gray: #6c757d;
  --dark: #1a1a2e;
  --text: #2d3748;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

* { box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}

a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--blue);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 3px solid var(--gold);
}
.top-bar-link { color: rgba(255,255,255,0.85); }
.top-bar-link i { color: var(--gold-light); }

/* News Ticker */
.news-ticker { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.ticker-label {
  background: var(--gold);
  color: var(--dark);
  padding: 2px 10px;
  border-radius: 3px;
  font-weight: 700;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.5px;
}
.ticker-content { overflow: hidden; flex: 1; }
.ticker-items {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }

/* ---- NAVBAR ---- */
.main-navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 10px 0;
  border-bottom: 3px solid var(--green);
  z-index: 1000;
}
.nav-logo { height: 60px; width: 60px; object-fit: contain; border-radius: 50%; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}
.brand-tagline { font-size: 11px; color: var(--gold); font-style: italic; }
.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: var(--green) !important;
  background: var(--green-pale);
}
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--gold);
}
.dropdown-item { font-size: 14px; padding: 8px 20px; font-weight: 500; }
.dropdown-item:hover { background: var(--green-pale); color: var(--green); }
.btn-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark) !important;
  font-weight: 700;
  border: none;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13.5px;
  transition: var(--transition);
  box-shadow: 0 3px 15px rgba(200,134,10,0.35);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,134,10,0.5); }

/* ---- HERO SECTION ---- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/campus.jpg') center/cover no-repeat;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,60,107,0.88) 0%, rgba(26,92,42,0.82) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(200,134,10,0.25);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-title span { color: var(--gold-light); }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 30px; max-width: 600px; }
.hero-stat {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: white;
  transition: var(--transition);
}
.hero-stat:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.hero-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label { font-size: 12px; opacity: 0.85; margin-top: 4px; }

/* ---- SECTION STYLES ---- */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
  position: relative;
}
.section-subtitle { color: var(--gray); font-size: 16px; max-width: 600px; margin: 0 auto 50px; }
.section-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(26,92,42,0.2);
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin: 14px auto 20px;
}
.divider-left { margin: 14px 0 20px; }
.bg-green { background: var(--green); }
.bg-green-pale { background: var(--green-pale); }
.bg-blue { background: var(--blue); }
.bg-gold-pale { background: var(--gold-pale); }

/* ---- CARDS ---- */
.college-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.college-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.college-card img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.college-card:hover img { transform: scale(1.04); }
.card-body-custom { padding: 24px; }
.card-icon {
  width: 56px; height: 56px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--green);
  margin-bottom: 16px;
}

/* ---- FEATURE BOXES ---- */
.feature-box {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
  transition: var(--transition);
  height: 100%;
}
.feature-box:hover { border-left-color: var(--gold); transform: translateX(4px); }

/* ---- PROGRAM TABLE ---- */
.program-table th { background: var(--green); color: white; font-weight: 600; font-size: 14px; }
.program-table td { font-size: 14px; vertical-align: middle; }
.program-table tbody tr:hover { background: var(--green-pale); }
.badge-program {
  font-size: 11px; padding: 4px 10px; border-radius: 50px;
  background: var(--green-pale); color: var(--green); font-weight: 600;
}

/* ---- PRINCIPAL SECTION ---- */
.principal-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.principal-img-wrap {
  position: relative;
  overflow: hidden;
}
.principal-img-wrap img {
  width: 100%; height: 100%; max-height: 500px; object-fit: cover;
}
.principal-img-wrap::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(transparent, rgba(26,60,107,0.6));
}
.principal-content { padding: 40px; }
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0;
  margin-bottom: 20px;
  display: block;
}
.principal-signature { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--green); }

/* ---- VISION MISSION ---- */
.vm-box {
  padding: 40px;
  border-radius: var(--radius);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.vm-box-vision { background: var(--blue); color: white; }
.vm-box-mission { background: var(--green); color: white; }
.vm-box::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.vm-icon { font-size: 3rem; margin-bottom: 20px; opacity: 0.8; }
.vm-box h3 { color: var(--gold-light); font-size: 2rem; }
.vm-box p, .vm-box ul { color: rgba(255,255,255,0.88); }

/* ---- NEWS CARDS ---- */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border-top: 4px solid var(--green);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--gold); }
.news-card-body { padding: 24px; }
.news-date { font-size: 12px; color: var(--gray); }
.news-badge {
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 1px;
}
.badge-news { background: #e8f4fd; color: #1a6fa0; }
.badge-notice { background: #fef9e7; color: #9c6c00; }
.badge-event { background: #f0faf0; color: var(--green); }

/* ---- GALLERY ---- */
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(26,60,107,0.85));
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay-text { color: white; font-size: 14px; font-weight: 600; }

/* ---- STATS SECTION ---- */
.stat-box {
  text-align: center; padding: 30px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.stat-box:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 6px; }

/* ---- CONTACT ---- */
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 20px;
}
.contact-form .form-control, .contact-form .form-select {
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  transition: var(--transition);
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,92,42,0.1);
}

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--blue), var(--green));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/campus.jpg') center/cover no-repeat;
  opacity: 0.1;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: white; font-size: clamp(1.8rem, 4vw, 3rem); }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-item.active { color: var(--gold-light); }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ---- FOOTER ---- */
.main-footer { background: #0d1b2a; color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.5);
}
.footer-logo { height: 60px; width: 60px; object-fit: contain; border-radius: 50%; }
.footer-brand h5 { color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-title {
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(200,134,10,0.3);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 13.5px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-links i { font-size: 11px; margin-right: 4px; color: var(--gold); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { color: rgba(255,255,255,0.65); font-size: 13.5px; margin-bottom: 12px; display: flex; gap: 10px; }
.footer-contact i { color: var(--gold-light); font-size: 16px; margin-top: 2px; min-width: 16px; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); }

/* ---- BUTTONS ---- */
.btn-green {
  background: var(--green);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.btn-green:hover { background: var(--green-light); color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,92,42,0.35); }
.btn-outline-green {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
}
.btn-outline-green:hover { background: var(--green); color: white; }

/* ---- UTILITY ---- */
.text-green { color: var(--green) !important; }
.text-gold { color: var(--gold) !important; }
.text-blue { color: var(--blue) !important; }
.border-green { border-color: var(--green) !important; }
.rounded-card { border-radius: var(--radius); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section-pad { padding: 50px 0; }
  .hero-section { min-height: 70vh; }
  .principal-content { padding: 24px; }
  .vm-box { padding: 28px; }
}

/* ---- PRELOADER ---- */
.preloader {
  position: fixed; inset: 0;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo { width: 80px; animation: pulse 1s ease infinite; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

/* ============================================================
   ADDITIONS: Mega Menu, Slideshow, Course Page, SEO
   ============================================================ */

/* ---- MEGA MENU ---- */
.mega-nav-item { position: static !important; }
.mega-menu {
    width: 100% !important;
    left: 0 !important;
    border: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border-top: 3px solid var(--gold);
    margin-top: 0 !important;
    padding: 0 !important;
}
.mega-menu-inner { padding: 8px 0 0; }
.mega-col { padding: 16px 20px 20px; }
.mega-col-head {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px; font-weight: 700;
    color: var(--blue); text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 10px;
    padding-bottom: 8px; border-bottom: 2px solid var(--green-pale);
}
.mega-col-list { list-style: none; padding: 0; margin: 0; }
.mega-col-list li { margin-bottom: 6px; }
.mega-col-list a {
    font-size: 13px; color: var(--text); font-weight: 500;
    transition: var(--transition); display: block; padding: 3px 0;
}
.mega-col-list a:hover { color: var(--green); padding-left: 6px; }
.mega-col-list i { font-size: 10px; margin-right: 4px; color: var(--gold); }
.mega-footer {
    background: var(--green-pale); padding: 10px 20px;
    border-top: 1px solid rgba(26,92,42,0.1);
    border-radius: 0 0 var(--radius) var(--radius);
}
.mega-footer a { font-size: 13px; font-weight: 700; color: var(--green); }
.mega-footer a:hover { color: var(--gold); }

/* ---- HERO SLIDESHOW ---- */
.hero-carousel { position: relative; }
.hero-carousel .carousel-item {
    height: 90vh; min-height: 520px;
    position: relative; overflow: hidden;
}
.slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 6s ease;
}
.carousel-item.active .slide-bg { transform: scale(1.05); }
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,58,107,0.82) 0%, rgba(26,92,42,0.72) 100%);
}
.slide-content {
    position: relative; z-index: 2;
    height: 90vh; min-height: 520px;
    display: flex; align-items: center;
}
.slide-badge {
    display: inline-block;
    background: rgba(200,134,10,0.25); border: 1px solid var(--gold);
    color: var(--gold-light); font-size: 11px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    padding: 5px 16px; border-radius: 50px; margin-bottom: 18px;
}
.slide-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    color: white; font-weight: 700; line-height: 1.25;
    margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.slide-subtitle { color: rgba(255,255,255,0.85); font-size: 17px; margin-bottom: 28px; max-width: 600px; }
.carousel-control-prev, .carousel-control-next {
    width: 52px; height: 52px; background: rgba(255,255,255,0.15);
    border-radius: 50%; top: 50%; transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(4px);
    transition: var(--transition);
}
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--gold); }
.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }
.carousel-indicators button {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.5); border: none; margin: 0 4px;
    transition: var(--transition);
}
.carousel-indicators button.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* ---- ADMISSIONS BANNER ---- */
.admission-banner {
    background: linear-gradient(90deg, var(--gold) 0%, #f0a500 100%);
    padding: 14px 0;
}
.admission-banner-text { font-size: 16px; font-weight: 700; color: var(--dark); }
.admission-pulse {
    animation: adm-pulse 1.5s ease infinite;
    display: inline-block;
}
@keyframes adm-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.05)} }

/* ---- COURSES SECTION HOME ---- */
.course-card {
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition);
    border: 1px solid var(--gray-light); overflow: hidden;
    height: 100%;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.course-card-head {
    background: linear-gradient(135deg, var(--blue), var(--green));
    padding: 20px; color: white;
}
.course-card-head h5 { color: white; font-size: 1rem; margin: 0; }
.course-card-body { padding: 20px; }
.course-tag {
    font-size: 11px; font-weight: 700; padding: 3px 10px;
    border-radius: 50px; background: var(--green-pale);
    color: var(--green); display: inline-block; margin: 3px 3px 3px 0;
    text-decoration: none; border: 1px solid rgba(26,92,42,0.15);
    transition: var(--transition);
}
.course-tag:hover { background: var(--green); color: white; }

/* ---- COURSE LANDING PAGE ---- */
.course-hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    padding: 70px 0 50px; position: relative; overflow: hidden;
}
.course-hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('../images/campus.jpg') center/cover no-repeat; opacity: 0.08;
}
.course-hero-content { position: relative; z-index: 2; }
.course-hero h1 { color: white; font-size: clamp(1.8rem, 4vw, 3rem); }
.course-hero .breadcrumb-item, .course-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.course-hero .breadcrumb-item.active { color: var(--gold-light); }
.course-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.course-meta-badge {
    background: rgba(255,255,255,0.12); color: white;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 50px;
    padding: 6px 16px; font-size: 13px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px; margin: 4px 4px 4px 0;
}

/* Course Tabs */
.course-tabs .nav-link {
    color: var(--text); font-weight: 700; font-size: 14px;
    padding: 12px 24px; border: none; border-bottom: 3px solid transparent;
    border-radius: 0; transition: var(--transition); background: transparent;
}
.course-tabs .nav-link:hover { color: var(--green); background: var(--green-pale); }
.course-tabs .nav-link.active { color: var(--green); border-bottom-color: var(--green); background: transparent; }
.course-tab-pane { padding: 40px 0; }

/* Faculty Cards */
.faculty-card {
    background: white; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: var(--transition); text-align: center;
    padding: 28px 20px; height: 100%;
    border-top: 4px solid var(--green);
}
.faculty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.faculty-avatar {
    width: 100px; height: 100px; border-radius: 50%;
    object-fit: cover; border: 4px solid var(--green-pale);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 16px;
}
.faculty-placeholder {
    width: 100px; height: 100px; border-radius: 50%;
    background: var(--green-pale); display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 2.5rem; color: var(--green); margin-bottom: 16px;
}
.faculty-name { font-size: 1rem; color: var(--blue); margin-bottom: 4px; }
.faculty-desig { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 2px; }
.faculty-qual { font-size: 12px; color: var(--gray); }

/* Syllabus */
.syllabus-block { background: var(--green-pale); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.syllabus-block h5 { color: var(--green); margin-bottom: 12px; }

/* Infrastructure photos */
.infra-thumb { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; }
.infra-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.infra-thumb:hover img { transform: scale(1.08); }

/* ---- HOME CONTACT FORM ---- */
.home-contact-section {
    background: linear-gradient(135deg, var(--blue) 0%, #0d2d52 100%);
    position: relative; overflow: hidden;
}
.home-contact-section::before {
    content: ''; position: absolute; inset: 0;
    background: url('../images/campus.jpg') center/cover; opacity: 0.06;
}
.home-contact-card {
    background: white; border-radius: var(--radius);
    padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* ---- SEO ADMIN ---- */
.seo-card { border-left: 4px solid var(--green); }
.seo-preview { background: #f8f9fa; border-radius: 8px; padding: 16px; margin-top: 12px; font-family: Arial, sans-serif; }
.seo-preview-title { color: #1a0dab; font-size: 18px; text-decoration: underline; cursor: pointer; }
.seo-preview-url { color: #006621; font-size: 13px; }
.seo-preview-desc { color: #545454; font-size: 13px; margin-top: 4px; }

/* ---- FOOTER COURSES ---- */
.footer-courses-col { column-count: 2; column-gap: 10px; }
.footer-courses-col a { display: block; color: rgba(255,255,255,0.65); font-size: 12.5px; margin-bottom: 6px; transition: var(--transition); }
.footer-courses-col a:hover { color: var(--gold-light); }

@media (max-width: 991px) {
    .mega-menu { position: static !important; }
    .hero-carousel .carousel-item, .slide-content { height: 75vh; min-height: 400px; }
    .slide-title { font-size: 1.8rem; }
}
