/* ===========================
   Voorhees College - Custom CSS
   =========================== */

:root {
  --primary: #c8001e;
  --primary-dark: #9a0017;
  --secondary: #1a3a6e;
  --secondary-dark: #102850;
  --accent: #f5a623;
  --teal: #007b7b;
  --green: #2e7d32;
  --light-bg: #f5f5f5;
  --text-dark: #222;
  --text-muted: #666;
  --white: #ffffff;
  --border: #ddd;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ── Top Header ── */
#top-header {
  background: #1a3a6e;
  color: #fff;
  font-size: 12px;
  padding: 5px 0;
}
#top-header a { color: #fff; text-decoration: none; }
#top-header a:hover { color: var(--accent); }
.marquee-text { white-space: nowrap; overflow: hidden; }

/* ── Main Header ── */
#main-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo-area img { height: 70px; }
.college-title { font-family: 'Merriweather', serif; }
.college-title h1 { color: var(--primary); font-size: 28px; font-weight: 900; letter-spacing: 1px; }
.college-title p { color: var(--secondary); font-size: 11px; }

/* ── Navigation ── */
nav#main-nav { background: var(--primary); }
nav#main-nav ul { list-style: none; display: flex; flex-wrap: wrap; }
nav#main-nav > ul > li { position: relative; }
nav#main-nav > ul > li > a {
  display: block; color: #fff; padding: 10px 14px; font-size: 13px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
nav#main-nav > ul > li > a:hover,
nav#main-nav > ul > li.active > a { background: var(--primary-dark); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--secondary); min-width: 200px; z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,.25); border-top: 2px solid var(--accent);
}
.dropdown-menu li a {
  display: block; color: #fff; padding: 8px 14px; font-size: 12.5px;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .15s;
}
.dropdown-menu li a:hover { background: var(--primary); }
.dropdown:hover > .dropdown-menu { display: block; }
/* Sub-levels */
.dropdown-menu .dropdown-menu { top: 0; left: 100%; }
.dropdown-menu .dropdown:hover > .dropdown-menu { display: block; }

/* Second nav bar */
#sub-nav { background: #2e7d32; }
#sub-nav ul { list-style: none; display: flex; flex-wrap: wrap; }
#sub-nav ul li a {
  display: block; color: #fff; padding: 6px 12px; font-size: 12px;
  text-decoration: none; transition: background .15s;
}
#sub-nav ul li a:hover { background: rgba(255,255,255,.15); }

/* Third bar - quick links */
#quick-bar {
  background: #3a3a3a; color: #fff; font-size: 12px; padding: 5px 0;
}
#quick-bar a { color: #ffd700; text-decoration: none; margin-right: 8px; }
#quick-bar a:hover { text-decoration: underline; }

/* Online Admission badge */
.admission-badge {
  background: linear-gradient(135deg, #c8001e, #ff6b35);
  color: #fff; padding: 4px 10px; border-radius: 3px; font-size: 11px;
  font-weight: 700; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: .7; }
}

/* ── Hero Slider ── */
#hero-slider { position: relative; overflow: hidden; background: #000; }
.slide { display: none; position: relative; }
.slide.active { display: block; }
.slide img { width: 100%; height: 480px; object-fit: cover; }
.slider-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.55) 0%, transparent 60%);
  display: flex; align-items: center; padding-left: 60px;
}
.slider-caption { color: #fff; max-width: 500px; }
.slider-caption h2 { font-family: 'Merriweather', serif; font-size: 28px; line-height: 1.3; margin-bottom: 12px; text-shadow: 1px 1px 4px rgba(0,0,0,.6); }
.slider-caption p { font-size: 14px; opacity: .9; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(200,0,30,.8); color: #fff; border: none;
  width: 42px; height: 42px; border-radius: 50%; font-size: 18px;
  cursor: pointer; z-index: 10; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.slider-btn:hover { background: var(--primary); }
.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }
.slider-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s; }
.dot.active { background: var(--primary); }

/* ── Sections ── */
.section-title {
  font-family: 'Merriweather', serif; font-size: 20px;
  color: var(--secondary); margin-bottom: 16px;
  padding-bottom: 8px; border-bottom: 3px solid var(--primary);
  display: inline-block;
}
.read-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff; padding: 8px 18px;
  border-radius: 3px; text-decoration: none; font-size: 13px;
  font-weight: 600; transition: background .2s; margin-top: 10px;
}
.read-more-btn:hover { background: var(--primary-dark); }

/* ── Office Bearers ── */
#office-bearers { background: linear-gradient(135deg, #1a3a6e, #0d2550); color: #fff; padding: 40px 0; }
#office-bearers .section-title { color: #fff; border-color: var(--accent); }
.bearer-card {
  background: rgba(255,255,255,.1); border-radius: 8px; padding: 16px;
  text-align: center; border: 1px solid rgba(255,255,255,.15);
  transition: transform .2s;
}
.bearer-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.15); }
.bearer-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); margin-bottom: 10px; }
.bearer-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.bearer-card p { font-size: 11px; opacity: .8; }

/* ── Desk Section ── */
#from-desk { background: #f9f9f9; padding: 50px 0; }
.desk-title { color: var(--primary); font-family: 'Merriweather', serif; font-size: 18px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px; }
.desk-signature { color: var(--primary); font-weight: 600; font-style: italic; }

/* ── Quick Links ── */
#quick-links { padding: 40px 0; background: #fff; }
.ql-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ql-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 16px 8px; border-radius: 6px; text-decoration: none; color: #fff;
  font-size: 12px; font-weight: 600; text-align: center; gap: 8px;
  transition: transform .2s, opacity .2s; min-height: 80px;
}
.ql-btn:hover { transform: translateY(-3px); opacity: .9; }
.ql-btn i { font-size: 22px; }
.ql-about { background: #4caf50; }
.ql-admission { background: #2196f3; }
.ql-iqac { background: #9c27b0; }
.ql-nirf { background: #ff9800; }
.ql-results { background: #f44336; }
.ql-facilities { background: #00bcd4; }
.ql-naac { background: #795548; }
.ql-alumni { background: #607d8b; }
.ql-downloads { background: #3f51b5; }
.ql-gallery { background: #009688; }

/* ── News Section ── */
#news-section { background: #1a3a6e; padding: 40px 0; }
.news-col-title {
  font-family: 'Merriweather', serif; font-size: 15px; font-weight: 700;
  color: #fff; background: var(--primary); padding: 8px 14px;
  margin-bottom: 0; text-transform: uppercase;
}
.news-col-body { background: #fff; padding: 16px; min-height: 280px; }
.news-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.news-item:last-child { border-bottom: none; }
.news-thumb { width: 60px; height: 50px; object-fit: cover; flex-shrink: 0; }
.news-text h5 { font-size: 12.5px; font-weight: 600; margin-bottom: 4px; color: var(--secondary); }
.news-text a { color: var(--primary); font-size: 11px; text-decoration: none; }
.news-text a:hover { text-decoration: underline; }
.latest-news-item { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.latest-news-item h5 { font-size: 13px; color: var(--primary); font-weight: 600; }
.latest-news-item p { font-size: 11.5px; color: #555; margin: 3px 0; }
.latest-news-item a { color: var(--secondary); font-size: 11px; }
.view-more-btn {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 6px 16px; border-radius: 3px; font-size: 12px; text-decoration: none; margin-top: 10px;
}

/* Upcoming news */
.upcoming-box { background: #e8f5e9; border: 1px solid #a5d6a7; padding: 12px; border-radius: 4px; }
.upcoming-box h5 { color: #2e7d32; font-size: 13px; margin-bottom: 8px; }

/* ── Latest Videos ── */
#latest-videos { padding: 40px 0; background: #f5f5f5; }
.video-thumb-container { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.video-thumb-container img { width: 100%; display: block; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 50px; height: 50px; background: rgba(200,0,30,.85); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.play-btn i { color: #fff; font-size: 20px; margin-left: 4px; }

/* ── Downloads ── */
.download-item { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 8px; background: #fff; }
.download-item .doc-icon { color: var(--primary); font-size: 28px; flex-shrink: 0; }
.download-item h5 { font-size: 12.5px; font-weight: 600; color: var(--secondary); margin-bottom: 4px; }
.download-btn { margin-left: auto; background: var(--secondary); color: #fff; border: none; padding: 5px 12px; border-radius: 3px; font-size: 11px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.download-btn:hover { background: var(--primary); }

/* ── Gallery ── */
#gallery-section { padding: 40px 0; background: #fff; }
.gallery-grid-wrap { position: relative; overflow: hidden; }
.gallery-track { display: flex; gap: 10px; transition: transform .4s ease; }
.gallery-item { flex: 0 0 calc(25% - 8px); border-radius: 4px; overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 140px; object-fit: cover; transition: transform .3s; display: block; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(200,0,30,.5); opacity: 0; transition: opacity .3s; display: flex; align-items: center; justify-content: center; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 24px; }
.gallery-nav-btn { background: var(--primary); color: #fff; border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery-dots { display: flex; gap: 6px; margin-top: 12px; justify-content: center; }
.gallery-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; border: none; }
.gallery-dot.active { background: var(--primary); }

/* Lightbox */
#lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 10000; align-items: center; justify-content: center; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border: 3px solid #fff; border-radius: 4px; }
#lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 36px; cursor: pointer; background: none; border: none; }
#lightbox-prev, #lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 30px; cursor: pointer; background: rgba(200,0,30,.7); border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }

/* ── Alumni Carousel ── */
#alumni-section { background: #f9f9f9; padding: 40px 0; }
.alumni-carousel { position: relative; overflow: hidden; }
.alumni-track { display: flex; transition: transform .4s ease; }
.alumni-slide { flex: 0 0 100%; text-align: center; padding: 10px 20px; }
.alumni-slide img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary); margin: 0 auto 10px; display: block; }
.alumni-slide figcaption { font-size: 14px; font-weight: 600; color: var(--secondary); }
.alumni-slide p { font-size: 12px; color: var(--text-muted); }

/* ── Footer ── */
footer { background: #1a1a2e; color: #ccc; padding: 40px 0 0; }
footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
footer p, footer address { font-size: 13px; line-height: 1.8; font-style: normal; }
footer a { color: #aaa; text-decoration: none; }
footer a:hover { color: var(--accent); }
.footer-bottom { background: #111; margin-top: 30px; padding: 12px 0; text-align: center; font-size: 12px; color: #888; }
.footer-bottom a { color: var(--accent); }

/* ── Sticky Admission Button ── */
#sticky-admission {
  position: fixed; right: -160px; top: 50%; transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  background: linear-gradient(135deg, var(--primary), #ff4500);
  color: #fff; padding: 10px 20px; font-size: 12px; font-weight: 700;
  border-radius: 6px 6px 0 0; z-index: 9998; cursor: pointer;
  white-space: nowrap; box-shadow: -2px 0 12px rgba(0,0,0,.3);
  text-decoration: none; transition: right .3s;
  writing-mode: vertical-rl; /* fallback */
}
/* Better approach: fixed right side */
#sticky-admission {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  background: linear-gradient(180deg, var(--primary), #c85000);
  color: #fff; padding: 50px 10px; font-size: 11px; font-weight: 700;
  border-radius: 6px 0 0 6px; z-index: 9998; cursor: pointer;
  box-shadow: -2px 0 12px rgba(0,0,0,.3); text-decoration: none;
  writing-mode: vertical-rl; text-orientation: mixed;
  letter-spacing: 1px; transition: padding .2s;
  display: flex; align-items: center; justify-content: center;
}
#sticky-admission:hover { padding: 50px 14px; }

/* ── Mobile Menu ── */
#mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 8px; }
#mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1100; }
#mobile-overlay.open { display: block; }
#mobile-nav {
  position: fixed; top: 0; left: -280px; width: 280px; height: 100vh;
  background: var(--secondary-dark); overflow-y: auto; z-index: 1200;
  transition: left .3s ease; padding: 0; padding-bottom: 40px;
}
#mobile-nav.open { left: 0; }
#mobile-nav-header { background: var(--primary); padding: 16px; display: flex; justify-content: space-between; align-items: center; }
#mobile-nav-header h3 { color: #fff; font-size: 15px; }
#close-mobile-nav { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
#mobile-nav ul { list-style: none; }
#mobile-nav ul li a { display: block; color: #ddd; padding: 11px 20px; font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.07); transition: background .15s; }
#mobile-nav ul li a:hover { background: rgba(255,255,255,.1); color: #fff; }
#mobile-nav ul li ul { display: none; background: rgba(0,0,0,.25); }
#mobile-nav ul li ul li a { padding-left: 36px; font-size: 12px; }
#mobile-nav ul li.expanded > ul { display: block; }
#mobile-nav .has-children > a::after { content: ' ▾'; font-size: 10px; float: right; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ql-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item { flex: 0 0 calc(33.33% - 7px); }
}
@media (max-width: 768px) {
  nav#main-nav, #sub-nav, #quick-bar { display: none; }
  #mobile-menu-btn { display: flex; }
  .slide img { height: 260px; }
  .slider-overlay { padding-left: 20px; }
  .slider-caption h2 { font-size: 18px; }
  .ql-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item { flex: 0 0 calc(50% - 5px); }
  .college-title h1 { font-size: 20px; }
  .logo-area img { height: 55px; }
}
@media (max-width: 480px) {
  .ql-grid { grid-template-columns: repeat(2, 1fr); }
  .slide img { height: 200px; }
  .gallery-item { flex: 0 0 calc(50% - 5px); }
  .college-title h1 { font-size: 16px; }
}

/* Utility */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* Subpage banner and breadcrumb */
.page-banner {
  position: relative;
  isolation: isolate;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 55px 0;
  text-align: center;
  color: #fff;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 40, 80, .86), rgba(200, 0, 30, .72));
}

.sub-page-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, .7);
}

.breadcrumb-item a {
  color: #fff;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: var(--accent);
}

.subpage {
  min-height: 260px;
  padding: 46px 0;
}

.subpage .row {
  display: block;
}
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.col-4 { flex: 0 0 calc(33.33% - 14px); }
.col-6 { flex: 0 0 calc(50% - 10px); }
.col-8 { flex: 0 0 calc(66.66% - 10px); }
.col-3 { flex: 0 0 calc(25% - 15px); }
@media (max-width: 768px) { .col-4, .col-6, .col-8, .col-3 { flex: 0 0 100%; } }
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.mb-3 { margin-bottom: 16px; }
.py-8 { padding: 40px 0; }

/* Reference screenshot layout fixes */
#top-header {
  background: #55cdb9;
  color: #fff;
  font-weight: 700;
  padding: 4px 0;
  text-align: center;
}

#top-header .container {
  max-width: 100%;
}

#main-header {
  position: relative;
  top: auto;
  box-shadow: none;
  z-index: 1000;
}

.old-header-hidden {
  display: none !important;
}

.header-logo-wrap {
  background: #fff;
}

.header-logo-inner {
  position: relative;
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1150px;
}

.site-logo-banner {
  width: min(900px, 100%);
  height: auto;
  display: block;
}

.header-admission-link {
  position: absolute;
  right: 0;
  top: 34px;
  background: #160084;
  color: #fff;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

nav#main-nav,
#sub-nav,
#quick-bar {
  background: #ef3656;
}

nav#main-nav .container,
#sub-nav .container,
#quick-bar .container {
  max-width: 1150px;
}

nav#main-nav ul,
#sub-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

nav#main-nav ul li {
  position: relative;
}

nav#main-nav ul li a,
#sub-nav ul li a,
#quick-bar a {
  display: block;
  color: #fff;
  padding: 14px 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

#sub-nav ul li a,
#quick-bar a {
  padding: 13px 7px;
}

nav#main-nav ul li.active > a,
nav#main-nav ul li:hover > a,
#sub-nav ul li a:hover,
#quick-bar a:hover {
  background: #071b2b;
  color: #fff;
  text-decoration: none;
}

nav#main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #183f79;
  border-top: 0;
  min-width: 190px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  flex-wrap: nowrap;
}

nav#main-nav .dropdown:hover > .dropdown-menu {
  display: block;
}

nav#main-nav .dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
}

nav#main-nav .dropdown-menu li a {
  padding: 10px 14px;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

#quick-bar {
  padding: 0;
}

#quick-bar .container {
  gap: 0 !important;
}

#quick-bar span {
  color: #fff700 !important;
  padding: 13px 7px;
}

#hero-slider {
  height: 350px;
  background: #111;
}

.slide {
  height: 350px;
}

.slide > .img-ph {
  height: 350px !important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.05)),
    radial-gradient(circle at 22% 72%, #26323a 0 5%, transparent 5.5%),
    radial-gradient(circle at 36% 70%, #ffe0d0 0 4%, transparent 4.5%),
    radial-gradient(circle at 49% 70%, #2b2b2b 0 5%, transparent 5.5%),
    radial-gradient(circle at 62% 70%, #ddd1bc 0 4.5%, transparent 5%),
    linear-gradient(90deg, #efe8df 0 12%, #b54131 12% 16%, #f5f0e8 16% 22%, #20285d 22% 74%, #f4efe8 74% 100%) !important;
  position: relative;
}

.slide > .img-ph::after {
  content: "Alumni Reunion 2024";
  position: absolute;
  top: 20px;
  left: 28%;
  color: rgba(255,255,255,.85);
  font-family: "Merriweather", serif;
  font-size: clamp(38px, 7vw, 86px);
  font-style: italic;
}

.slider-overlay {
  background: transparent;
  padding-left: 0;
}

.slider-caption {
  display: none;
}

.slider-btn {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: rgba(0,0,0,.55);
}

.slider-btn.prev {
  left: 8px;
}

.slider-btn.next {
  right: 8px;
}

.slider-dots {
  display: none;
}

#admission-popup {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
}

#admission-popup.open {
  display: flex;
}

.admission-popup-card {
  position: relative;
  width: min(410px, 94vw);
  max-height: 92vh;
  overflow: auto;
  background: #fff9d9;
  color: #4b1b60;
  border: 10px solid #fff9d9;
  box-shadow: 0 16px 45px rgba(0,0,0,.55);
}

.admission-popup-card img {
  width: 100%;
  display: block;
  background: #fff;
  margin-bottom: 8px;
}

.admission-popup-card h2 {
  color: #5d2a84;
  font-size: 24px;
  line-height: 1.05;
  text-align: center;
  margin: 6px 0;
  font-weight: 900;
}

.admission-popup-card .year {
  display: block;
  color: #fff;
  background: #5d2a84;
  border-radius: 24px;
  padding: 6px 12px;
  margin: 8px auto;
  width: max-content;
  font-weight: 900;
}

.admission-popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.admission-popup-grid div {
  background: #fff;
  padding: 9px;
  font-size: 11px;
  line-height: 1.45;
}

.admission-popup-card strong {
  color: #ef3656;
}

#admission-popup-close {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 22px;
  height: 22px;
  border: 1px solid #bbb;
  border-radius: 50%;
  background: #fff;
  color: #777;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header-logo-inner {
    min-height: 72px;
    justify-content: flex-start;
  }

  .site-logo-banner {
    width: calc(100% - 58px);
  }

  .header-admission-link {
    display: none;
  }

  #mobile-menu-btn {
    margin-left: auto;
    background: #071b2b;
    color: #fff;
    width: 42px;
    height: 42px;
    border: 0;
    align-items: center;
    justify-content: center;
  }

  #hero-slider,
  .slide,
  .slide > .img-ph {
    height: 260px !important;
  }

  .admission-popup-grid {
    grid-template-columns: 1fr;
  }
}

/* Menu format matched to live Voorhees reference */
#main-header {
  background: #ef3656;
}

.header-logo-inner {
  max-width: 1120px;
  min-height: 95px;
}

.site-logo-banner {
  width: min(890px, calc(100% - 210px));
}

nav#main-nav .container,
#sub-nav .container,
#quick-bar .container {
  max-width: 1140px;
  padding: 0;
}

nav#main-nav,
#sub-nav,
#quick-bar {
  overflow: visible !important;
}

nav#main-nav ul,
#sub-nav ul {
  gap: 0;
  align-items: stretch;
}

nav#main-nav ul li a,
#sub-nav ul li a,
#quick-bar a {
  padding: 15px 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

nav#main-nav ul li.active > a,
nav#main-nav ul li:hover > a,
#sub-nav ul li:hover > a,
#sub-nav .alumni-menu:hover > a {
  background: #061d30;
}

#sub-nav .fee-link {
  background: #9f263c;
}

#sub-nav .nss-link {
  background: #ff5a1f;
}

#quick-bar .container {
  min-height: 48px;
}

#quick-bar a {
  padding-top: 16px;
  padding-bottom: 16px;
}

#quick-bar span {
  display: block;
  padding: 16px 8px;
  font-size: 11px;
  line-height: 1;
}

#sub-nav li {
  position: relative;
}

#sub-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10020;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

#sub-nav .dropdown:hover > .dropdown-menu {
  display: flex;
}

#sub-nav .alumni-mega {
  width: 860px;
  min-height: 205px;
  background: transparent;
  border: 0;
}

.alumni-panel {
  background: #ef3656;
  display: flex;
  flex-direction: column;
}

.alumni-left {
  width: 380px;
}

.alumni-mid {
  width: 380px;
}

.alumni-right {
  width: 150px;
  padding-top: 42px;
}

#sub-nav .alumni-panel a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: #ef3656;
  font-size: 14px;
  line-height: 1;
}

#sub-nav .alumni-panel a:hover,
#sub-nav .alumni-panel a.active {
  background: #55cdb9;
  color: #061d30;
}

#sticky-admission {
  display: none !important;
}

@media (max-width: 768px) {
  .site-logo-banner {
    width: calc(100% - 58px);
  }

  nav#main-nav,
  #sub-nav,
  #quick-bar {
    display: none;
  }
}

/* Final header/menu/slider match */
#top-header {
  height: 29px;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
}

#top-header .container {
  padding: 0;
}

.top-announcement {
  flex: 0 0 100% !important;
  max-width: 100%;
}

#marquee-inner {
  font-size: 13px;
  line-height: 29px;
  font-weight: 800;
}

.header-logo-wrap {
  height: 115px;
  display: flex;
  align-items: center;
}

.header-logo-inner {
  max-width: 1230px;
  min-height: 115px;
  padding: 0;
}

.site-logo-banner {
  width: 910px;
  max-width: calc(100% - 230px);
}

.header-admission-link {
  right: 0;
  top: 37px;
  width: 300px;
  padding: 17px 12px;
  font-size: 15px;
}

nav#main-nav .container,
#sub-nav .container,
#quick-bar .container {
  max-width: 1145px;
  padding: 0;
}

nav#main-nav,
#sub-nav,
#quick-bar {
  min-height: 51px;
}

nav#main-nav ul,
#sub-nav ul,
#quick-bar .container {
  min-height: 51px;
  align-items: center;
  flex-wrap: nowrap;
}

nav#main-nav ul li a,
#sub-nav ul li a,
#quick-bar a {
  padding: 18px 7px;
  font-size: 13.5px;
}

#quick-bar a {
  padding-top: 17px;
  padding-bottom: 17px;
}

#main-header {
  background: #ef3656;
}

#hero-slider,
.slide {
  height: 350px;
}

.slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.slide > .img-ph::after {
  content: none;
}

.slider-btn {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: rgba(0,0,0,.62);
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.slider-dots {
  display: flex;
  bottom: 14px;
}

.dot {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  background: transparent;
}

.dot.active {
  background: #fff;
}

@media (max-width: 1200px) {
  .header-admission-link {
    right: 0;
  }

  .site-logo-banner {
    width: calc(100% - 310px);
  }
}

/* Final menu/alignment behavior requested */
#top-header .container > div {
  justify-content: center !important;
}

.top-announcement {
  flex: 0 0 100% !important;
  max-width: 100%;
  min-width: 0;
}

.top-contact {
  display: none !important;
}

.header-logo-inner {
  max-width: 1230px;
  min-height: 115px;
}

.site-logo-banner {
  width: 910px;
  max-width: calc(100% - 230px);
}

.header-admission-link {
  right: 0;
  top: 37px;
  width: 300px;
  text-align: center;
  padding: 17px 12px;
  background: #160084;
  z-index: 2;
}

nav#main-nav .dropdown:hover > .dropdown-menu,
nav#main-nav .dropdown-menu .dropdown:hover > .dropdown-menu,
#sub-nav .dropdown:hover > .dropdown-menu {
  display: none !important;
}

nav#main-nav .dropdown.open > .dropdown-menu,
nav#main-nav .dropdown-menu .dropdown.open > .dropdown-menu,
#sub-nav .dropdown.open > .dropdown-menu {
  display: block !important;
}

nav#main-nav .dropdown.open > a,
#sub-nav .dropdown.open > a {
  background: #061d30;
}

nav#main-nav {
  overflow: visible;
}

nav#main-nav .container {
  max-width: 100%;
  overflow: visible;
}

nav#main-nav ul {
  display: flex;
  flex-wrap: wrap !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: visible;
}

nav#main-nav > .container > ul > li {
  flex: 0 0 auto;
}

.main-menu-row {
  min-height: 46px;
}

nav#main-nav ul li a {
  white-space: nowrap;
}

nav#main-nav .dropdown-menu,
#sub-nav .dropdown-menu {
  width: 190px;
  min-width: 190px;
  background: #183f79;
}

nav#main-nav .dropdown-menu li,
#sub-nav .dropdown-menu li {
  display: block;
  width: 100%;
}

nav#main-nav .dropdown-menu li a,
#sub-nav .dropdown-menu li a {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: #183f79;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

nav#main-nav .dropdown-menu li a:hover,
#sub-nav .dropdown-menu li a:hover {
  background: #55cdb9;
  color: #061d30;
}

#sub-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
}

#sub-nav .dropdown-menu .dropdown-menu,
nav#main-nav .dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
}

#sub-nav .alumni-mega,
.alumni-panel {
  all: unset;
}

#quick-bar .container {
  min-height: 51px;
  flex-wrap: nowrap;
}

.slider-btn {
  z-index: 80;
  pointer-events: auto;
}

#hero-slider {
  z-index: 1;
}

@media (max-width: 768px) {
  .site-logo-banner {
    width: calc(100% - 58px);
  }

  .header-admission-link {
    display: none;
  }
}

/* Welcome + alumni section matched to reference image */
#welcome {
  background: #e7e7e9 !important;
  padding: 30px 0 34px !important;
  border-bottom: 8px solid #0c6a9f;
}

#welcome .container {
  max-width: 1320px;
  padding: 0 22px;
}

#welcome .container > div {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-start;
  gap: 70px !important;
  flex-wrap: nowrap !important;
}

#welcome .container > div > div:first-child {
  flex: 0 0 43% !important;
  min-width: 0 !important;
}

#welcome .container > div > div:last-child {
  flex: 0 0 310px !important;
  min-width: 310px !important;
  text-align: center;
}

#welcome .section-title {
  display: block;
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  color: #000;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
  text-transform: uppercase;
}

#welcome p {
  color: #243040 !important;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.62;
  letter-spacing: .8px;
  margin-bottom: 0 !important;
}

#welcome p + p {
  display: none;
}

#welcome .read-more-btn,
#welcome #alumni-prev,
#welcome #alumni-next {
  display: none !important;
}

#welcome .alumni-carousel {
  overflow: visible;
  width: 190px;
  margin: 18px auto 0;
}

#welcome .alumni-track {
  display: block;
  transform: none;
}

#welcome .alumni-slide {
  display: none;
  width: 170px;
  padding: 7px 7px 8px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.16);
  margin: 0 auto;
}

#welcome .alumni-slide:first-child {
  display: block;
}

#welcome .alumni-slide img {
  width: 155px;
  height: 182px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 8px;
  display: block;
}

#welcome .alumni-slide figcaption {
  color: #1a2940 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px !important;
  font-weight: 400 !important;
}

@media (max-width: 768px) {
  #welcome .container > div {
    flex-wrap: wrap !important;
    gap: 24px !important;
  }

  #welcome .container > div > div:first-child,
  #welcome .container > div > div:last-child {
    flex: 0 0 100% !important;
    min-width: 0 !important;
  }
}

/* Alumni side-arrow carousel and office bearer banner */
#welcome .container > div > div:last-child {
  position: relative;
}

#welcome .alumni-carousel {
  width: 265px;
  margin: 12px auto 0;
  overflow: visible;
}

#welcome .alumni-viewport {
  width: 170px;
  margin: 0 auto;
  overflow: hidden;
}

#welcome .alumni-track {
  display: flex;
  transform: translateX(0);
  transition: transform .35s ease;
}

#welcome .alumni-slide {
  display: block;
  flex: 0 0 170px;
  width: 170px;
  box-sizing: border-box;
  padding: 7px 7px 8px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.16);
  margin: 0;
}

#welcome .alumni-slide img {
  width: 150px;
  height: 150px;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 8px;
  display: block;
}

#welcome #alumni-prev,
#welcome #alumni-next {
  display: flex !important;
  position: absolute;
  top: 86px;
  width: 28px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  color: #555;
  box-shadow: none;
  font-size: 22px;
  z-index: 5;
}

#welcome #alumni-prev {
  left: -33px;
}

#welcome #alumni-next {
  right: -33px;
}

#welcome #alumni-prev:hover,
#welcome #alumni-next:hover {
  color: #111;
  background: transparent;
}

#office-bearers {
  background: #006b9c;
  padding: 0;
}

#office-bearers .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.office-bearers-img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  #welcome .alumni-carousel {
    width: 230px;
  }

  #welcome #alumni-prev {
    left: -24px;
  }

  #welcome #alumni-next {
    right: -24px;
  }
}

/* Desk and quick links matched to reference image */
#from-desk {
  background: #e4e4e6;
  padding: 36px 0 32px;
}

#from-desk .container {
  max-width: 1000px;
  padding: 0 12px;
}

#from-desk .desk-title {
  color: #0aa6a6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  letter-spacing: 0;
}

#from-desk .desk-content {
  display: block;
}

#from-desk .desk-text {
  width: 100%;
}

#from-desk p {
  color: #5c5c5c !important;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: .2px;
  margin-bottom: 20px !important;
  text-align: left !important;
}

#from-desk p:nth-last-child(2) {
  margin-top: 4px;
  margin-bottom: 20px !important;
}

#from-desk .desk-signature {
  color: #ff0040 !important;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
  font-style: normal;
  margin-left: auto;
  width: 430px;
  text-align: left !important;
}

#quick-links {
  background: #fff;
  padding: 14px 0 28px;
}

#quick-links .container {
  max-width: 900px;
  padding: 0 12px;
}

.quick-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 16px;
  color: #ef2f58;
}

.quick-divider::before,
.quick-divider::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: #777;
}

.quick-divider span {
  font-size: 19px;
  line-height: 1;
}

#quick-links .ql-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 26px;
  margin-top: 0 !important;
}

#quick-links .ql-btn {
  min-height: 62px;
  padding: 0 10px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transform: none;
}

#quick-links .ql-btn:hover {
  transform: none;
  opacity: .92;
}

#quick-links .ql-about,
#quick-links .ql-gallery {
  background: #44d0a4;
}

#quick-links .ql-admission {
  background: #f4be00;
}

#quick-links .ql-iqac {
  background: #0d7f98;
}

#quick-links .bg-purple {
  background: #8e45a5;
}

#quick-links .bg-orange {
  background: #f0830b;
}

#quick-links .ql-results {
  background: #ff484b;
}

#quick-links .bg-cyan {
  background: #0e8299;
}

#quick-links .ql-alumni {
  background: #4eaf8d;
}

#quick-links .ql-downloads {
  background: #5e7ce0;
}

@media (max-width: 768px) {
  #from-desk .container,
  #quick-links .container {
    max-width: 100%;
    padding: 0 18px;
  }

  #from-desk .desk-signature {
    width: 100%;
    margin-left: 0;
  }

  #quick-links .ql-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* News section matched to reference image */
#news-section {
  background-color: #22a8a3;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 24px 0 14px;
}

#news-section .container {
  max-width: 1320px;
  padding: 0 30px;
}

#news-section .container > div {
  display: grid !important;
  grid-template-columns: 43% 32% 1fr;
  gap: 34px !important;
  align-items: start;
}

#news-section .container > div > div {
  min-width: 0 !important;
  flex: initial !important;
}

#news-section .news-col-title {
  background: transparent;
  color: #fff;
  padding: 0 0 8px;
  margin: 0 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.95);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

#news-section .news-col-title i {
  display: none;
}

#news-section .news-col-body {
  background: transparent;
  padding: 0;
  min-height: 0;
}

#news-section .news-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  min-height: 70px;
  padding: 0 0 8px;
  margin: 0 0 10px;
  border-bottom: 1px solid rgba(255,255,255,.55);
}

#news-section .news-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
  background: #fff;
}

#news-section .news-text h5 {
  color: #001d2c;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 11px;
}

#news-section .news-text a,
#news-section .latest-news-item a {
  color: #ff006f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
}

#news-section .news-text a::after,
#news-section .latest-news-item a::after {
  content: " >";
}

#news-section .latest-news-item {
  padding: 0;
  margin: 0 0 26px;
  border: 0;
}

#news-section .latest-news-item h5 {
  color: #ffff00 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 3px;
}

#news-section .latest-news-item p {
  color: #001d2c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  line-height: 1.2;
  margin: 0;
}

#news-section .view-more-btn {
  display: inline-block;
  background: #ef315c;
  color: #fff;
  padding: 8px 10px;
  border-radius: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  margin-top: 0 !important;
  text-decoration: none;
}

#news-section .upcoming-box {
  display: none;
}

#news-section .container > div > div:nth-child(3) .news-col-body {
  padding-top: 6px;
}

@media (max-width: 900px) {
  #news-section .container > div {
    grid-template-columns: 1fr;
    gap: 26px !important;
  }

  #news-section .container {
    padding: 0 18px;
  }
}

/* Latest videos, downloads, and gallery matched to reference image */
#latest-videos {
  background: #fff;
  padding: 18px 0 8px;
}

#latest-videos .container {
  max-width: 980px;
  padding: 0;
}

#latest-videos .container > div {
  display: grid !important;
  grid-template-columns: 480px 480px;
  gap: 26px !important;
  align-items: start;
}

#latest-videos .container > div > div {
  min-width: 0 !important;
}

#latest-videos .section-title,
#gallery-section .section-title {
  display: inline-block;
  color: #001329;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  border: 0 !important;
  padding: 0 0 9px !important;
  margin: 0 0 4px !important;
  position: relative;
}

#latest-videos .section-title::after,
#gallery-section .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20px;
  height: 1px;
  background: #111;
}

#latest-videos .video-wrap {
  width: 480px;
  height: 285px;
  padding: 0;
  margin-top: 4px !important;
  border-radius: 0;
  box-shadow: none;
  background: #000;
}

#latest-videos .video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#latest-videos .download-item {
  min-height: 96px;
  padding: 16px 16px;
  gap: 16px;
  border: 1px solid #d6d6d6;
  border-radius: 0;
  margin: 4px 0 8px;
  background: #fff;
  box-shadow: none;
}

#latest-videos .download-item:nth-of-type(n+3) {
  display: none;
}

#latest-videos .download-item .doc-icon {
  color: #e93535;
  font-size: 38px;
  width: 42px;
}

#latest-videos .download-item h5 {
  color: #257dff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 4px;
}

#latest-videos .download-item small {
  font-size: 11px !important;
  color: #333 !important;
}

#latest-videos .download-btn {
  padding: 8px 12px;
  border-radius: 2px;
  background: #3d82ff;
  font-size: 11px;
  line-height: 1;
}

#gallery-section {
  background: #e6e6e6;
  padding: 14px 0 48px;
  border-bottom: 18px solid #005b68;
}

#gallery-section .container {
  max-width: 1000px;
  padding: 0;
  position: relative;
}

#gallery-section .container > div:first-child {
  margin-bottom: 12px !important;
}

#gallery-section .container > div:first-child > div {
  position: absolute;
  top: 125px;
  left: 0;
  right: 0;
  z-index: 4;
  pointer-events: none;
  display: block !important;
}

#gallery-section .gallery-nav-btn {
  position: absolute;
  top: 0;
  width: 24px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  color: #5f5f5f;
  pointer-events: auto;
  font-size: 18px;
}

#gallery-prev {
  left: -34px;
}

#gallery-next {
  right: -34px;
}

#gallery-section .gallery-grid-wrap {
  overflow: hidden;
  width: 940px;
  margin: 0 auto;
}

#gallery-section .gallery-track {
  gap: 16px;
}

#gallery-section .gallery-item {
  flex: 0 0 223px;
  height: 132px;
  border-radius: 0;
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px #cfcfcf;
  background: #fff;
}

#gallery-section .gallery-item img {
  width: 100%;
  height: 124px;
  object-fit: cover;
}

#gallery-section .gallery-overlay {
  display: none;
}

#gallery-dots {
  margin-top: 10px !important;
  gap: 7px !important;
}

#gallery-dots .gallery-dot {
  width: 5px;
  height: 5px;
  background: #9c9c9c;
}

#gallery-dots .gallery-dot.active {
  background: #c0c0c0;
}

@media (max-width: 700px) {
  #latest-videos .container,
  #gallery-section .container {
    max-width: 100%;
    padding: 0 16px;
  }

  #latest-videos .container > div {
    grid-template-columns: 1fr;
  }

  #latest-videos .video-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  #gallery-section .gallery-grid-wrap {
    width: 100%;
  }

  #gallery-section .gallery-item {
    flex: 0 0 calc(50% - 8px);
    height: 118px;
  }

  #gallery-section .gallery-item img {
    height: 110px;
  }

  #gallery-section .container > div:first-child > div {
    top: 120px;
  }

  #gallery-prev {
    left: 6px;
  }

  #gallery-next {
    right: 6px;
  }
}

/* Footer matched to reference image */
footer {
  background: #0c2030;
  border-top: 4px solid #08939c;
  color: #fff;
  padding: 38px 0 0;
}

footer .container {
  max-width: 1030px;
  padding: 0 15px;
}

footer .container > div {
  display: grid !important;
  grid-template-columns: 290px 260px 270px;
  gap: 70px !important;
  align-items: start;
  min-height: 252px;
}

footer h4 {
  display: inline-block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  margin: 0 0 24px;
  padding: 0 0 17px;
  border: 0;
  position: relative;
}

footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 1px;
  background: #fff;
}

footer p,
footer address {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 2.35;
  font-style: normal;
  margin: 0;
}

footer address strong {
  color: #fff !important;
}

footer a {
  color: #00d7d7;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
}

footer a:hover {
  color: #00ffff;
}

footer [style*="color:var(--accent)"] {
  color: #00d7d7 !important;
}

footer .container > div > div:nth-child(2) p {
  display: none;
}

footer .container > div > div:nth-child(3) .img-ph {
  width: 270px;
  height: 136px !important;
  background: #e7e5e0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 4px;
}

footer .container > div > div:nth-child(3) .img-ph i,
footer .container > div > div:nth-child(3) .img-ph span,
footer .container > div > div:nth-child(3) .img-ph a {
  display: none !important;
}

footer .container > div > div:nth-child(3) .img-ph::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 1px solid #b7b7b7;
}

footer .container > div > div:nth-child(3) > p {
  display: none;
}

.footer-bottom {
  background: #15344d;
  margin-top: 0;
  padding: 14px 0 16px;
  text-align: center;
}

.footer-bottom p {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1;
  margin: 0;
}

.footer-bottom a {
  color: #00b8b8;
}

@media (max-width: 900px) {
  footer .container > div {
    grid-template-columns: 1fr;
    gap: 28px !important;
    min-height: 0;
  }

  footer .container > div > div:nth-child(3) .img-ph {
    width: 100%;
    max-width: 270px;
  }
}

/* Mobile header and menu matched to phone reference */
@media (max-width: 768px) {
  body {
    background: #fff;
  }

  #top-header {
    height: 24px;
    background: #45cdb8;
  }

  #marquee-inner {
    font-size: 10px;
    line-height: 24px;
  }

  #main-header {
    background: #ef3656;
    box-shadow: none;
  }

  .header-logo-wrap {
    height: 58px;
    background: #fff;
    display: flex;
    align-items: center;
  }

  .header-logo-inner {
    min-height: 58px;
    justify-content: center;
    padding: 0 8px;
  }

  .site-logo-banner {
    width: 235px !important;
    max-width: calc(100% - 18px);
  }

  .header-admission-link {
    display: none !important;
  }

  #mobile-menu-btn {
    display: flex !important;
    position: absolute;
    right: 0;
    bottom: -31px;
    width: 100%;
    height: 31px;
    justify-content: flex-end;
    align-items: center;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    background: #ef3656;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 0;
    z-index: 1201;
  }

  #mobile-menu-btn::before {
    content: "MENU";
    font-size: 10px;
    margin-right: 5px;
  }

  #mobile-menu-btn i::before {
    content: "\f00d";
    font-size: 12px;
  }

  #mobile-overlay,
  #mobile-overlay.open {
    display: none !important;
  }

  #mobile-nav {
    position: static;
    display: none;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 31px 7px 8px;
    background: #ef3656;
    z-index: 1000;
    transition: none;
  }

  #mobile-nav.open {
    display: block;
    left: auto;
  }

  #mobile-nav-header {
    display: none;
  }

  #mobile-nav ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #mobile-nav ul li a {
    display: block;
    color: #fff;
    padding: 8px 8px;
    border: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
  }

  #mobile-nav ul > li:first-child > a,
  #mobile-nav ul li.expanded > a {
    background: #4acdb5;
  }

  #mobile-nav .has-children > a::after {
    content: "›";
    float: right;
    font-size: 11px;
  }

  #mobile-nav ul li ul {
    background: transparent;
  }

  #mobile-nav ul li ul li a {
    padding-left: 18px;
    font-size: 9px;
  }

  #mobile-nav ul li:last-child a {
    position: absolute;
    right: 0;
    top: 132px;
    width: auto;
    margin: 0 !important;
    padding: 8px 10px !important;
    background: #f30022 !important;
    color: #fff !important;
    font-size: 10px;
    z-index: 3;
  }
}

@media (min-width: 769px) {
  #top-header {
    height: 34px;
    background: #55cdb9;
    color: #fff;
    overflow: hidden;
  }

  #top-header .container {
    max-width: 1145px;
    height: 100%;
    margin: 0 auto;
    padding: 0;
  }

  #top-header .container > div,
  .top-announcement {
    height: 100%;
    justify-content: center !important;
  }

  #marquee-inner {
    animation: marquee 22s linear infinite !important;
    display: inline-block !important;
    width: auto;
    min-width: 100%;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 34px;
    text-align: left;
  }

  .announcement-new {
    display: inline-block;
    margin-left: 4px;
    padding: 0 3px;
    border: 1px solid #fff;
    border-radius: 2px;
    background: #ff5b1f;
    color: #fff;
    font-size: 9px;
    line-height: 11px;
    vertical-align: middle;
  }

  #main-header {
    background: #fff;
    box-shadow: none;
  }

  .header-logo-wrap {
    background: #fff;
    height: 125px;
    display: flex;
    align-items: center;
  }

  .header-logo-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1145px;
    min-height: 125px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
  }

  .site-logo-banner {
    display: block;
    width: 980px;
    max-width: calc(100% - 230px);
    height: auto;
    clip-path: inset(3px 0 0 0);
    transform: translateY(3px);
  }

  .header-admission-link {
    position: absolute;
    right: 0;
    top: 45px;
    width: 266px;
    padding: 16px 10px;
    background: #f30018;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }

  #main-nav,
  #sub-nav,
  #quick-bar {
    background: #ef3656;
    min-height: 0;
    overflow: visible;
  }

  #main-nav .container,
  #sub-nav .container,
  #quick-bar .container {
    width: 100%;
    max-width: 1145px;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
  }

  #main-nav .main-menu-row,
  #sub-nav ul,
  #quick-bar .container {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: center;
    min-height: 50px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
  }

  #main-nav .main-menu-row > li,
  #sub-nav ul > li {
    position: relative;
    flex: 0 0 auto;
  }

  #main-nav .main-menu-row > li > a,
  #sub-nav ul > li > a,
  #quick-bar a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 7px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  #sub-nav ul > li > a,
  #quick-bar a {
    min-height: 49px;
    font-size: 14px;
  }

  #quick-bar .container {
    min-height: 49px;
    gap: 0;
  }

  #main-nav .main-menu-row > li.active > a,
  #main-nav .main-menu-row > li.open > a,
  #main-nav .main-menu-row > li > a:hover,
  #sub-nav ul > li > a:hover,
  #sub-nav ul > li > a.active-sub-link,
  #quick-bar a:hover {
    background: #061d30;
    color: #fff;
  }

  #sub-nav .fee-link {
    background: transparent;
  }

  #sub-nav .nss-link {
    background: #061d30;
    padding-left: 14px;
    padding-right: 14px;
  }

  #main-nav i,
  #sub-nav i,
  #quick-bar i {
    margin-left: 6px;
    font-size: 9px;
  }

  #main-nav .dropdown-menu {
    top: 100%;
    left: 0;
    z-index: 5000;
  }
}
