/* HERO */
.hero {
  background: url("../images/hero_bg.jpg") no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}
.hero h1 span {
  color: #ffcc00;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.btn-primary {
  background: #ffcc00;
  padding: 10px 20px;
  color: #003366;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
}
.btn-primary:hover {
  background: #e6b800;
}
.btn-secondary {
  background: #003366;
  padding: 10px 20px;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #002244;
}

/* ABOUT */
.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  background: #f4f8fb;
  gap: 40px;
}
.about-text {
  flex: 1;
}
.about-image img {
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ACADEMICS */
.academics {
  padding: 60px 10%;
  text-align: center;
}
.academics .cards {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  justify-content: center;
}
.academics .card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.academics .card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* NEWS */
.news {
  background: #003366;
  color: white;
  padding: 50px 10%;
  text-align: center;
}
.news ul {
  list-style: none;
  padding: 0;
}
.news li {
  margin: 10px 0;
}

/* CTA */
.cta {
  padding: 60px 10%;
  text-align: center;
  background: #ffcc00;
  color: #003366;
}
.cta h2 {
  margin-bottom: 15px;
}

/* HERO SLIDER */
.hero {
  position: relative;
  overflow: hidden;
  height: 90vh;
  color: white;
}

.hero-slider {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-content {
  text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 20px 30px;
  border-radius: 10px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-content h1 span {
  color: #ffcc00;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* NAVIGATION BUTTONS */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: white;
  padding: 10px;
  cursor: pointer;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
  z-index: 5;
}
.prev { left: 20px; }
.next { right: 20px; }
.prev:hover, .next:hover {
  background: rgba(0,0,0,0.6);
}

/* TESTIMONIALS */
.testimonials {
  padding: 60px 10%;
  background: #f4f8fb;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #003366;
}

.testimonial {
  display: none;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  animation: fadeIn 1s ease-in-out;
}

.testimonial.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #003366;
}

.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}

.testimonial h4 {
  margin-top: 15px;
  font-weight: bold;
  color: #003366;
}

/* Stars */
.stars {
  margin-top: 8px;
  font-size: 1.2rem;
  color: #ffcc00;
  letter-spacing: 2px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dots Navigation */
.testimonial-dots {
  margin-top: 20px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #003366;
}


/* PRINCIPAL'S MESSAGE */
.principal {
  padding: 60px 10%;
  background: #fff;
}

.principal-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.principal-photo img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #003366;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.principal-text {
  flex: 1;
  min-width: 300px;
}

.principal-text h2 {
  color: #003366;
  margin-bottom: 15px;
}

.principal-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.principal-text h4 {
  margin-top: 10px;
  font-weight: bold;
  color: #003366;
}

/* FOOTER */
.footer {
  background: #003366;
  color: white;
  padding: 40px 10% 20px;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 220px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: #ffcc00;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.social-icons img {
  width: 28px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 20px;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #ddd;
}


/* NEWS & EVENTS */
.news-events {
  padding: 60px 10%;
  background: #f8f8f8;
}

.news-events h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 40px;
}

.news-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  color: #003366;
  margin-bottom: 10px;
}

.news-content .date {
  font-size: 0.9rem;
  color: gray;
  margin-bottom: 10px;
}

/* NEWS PAGE */
.news-page {
  padding: 60px 10%;
  background: #fff;
}

.news-page h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 40px;
}

.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination a, .pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  border: 1px solid #003366;
  border-radius: 5px;
  text-decoration: none;
  color: #003366;
}

.pagination a:hover {
  background: #003366;
  color: #fff;
}

.pagination .current {
  background: #003366;
  color: #fff;
}

/* NEWS & EVENTS SPLIT */
.news-events-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.news-section {
  flex: 2;
}

.events-section {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.events-section h3 {
  margin-bottom: 15px;
  color: #003366;
}

.event-list {
  list-style: none;
  padding: 0;
}

.event-list li {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.event-list .date {
  color: #555;
  font-size: 0.9rem;
}

/* PAST EVENTS */
.event-list li {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.event-list li strong {
  color: #333;
}

.event-list li .date {
  font-size: 0.9rem;
  color: #999;
}

/* FILTER FORM */
.filter-form {
  margin: 20px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-form input,
.filter-form select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
}

.filter-form button {
  background: #003366;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
}

.filter-form button:hover {
  background: #0055a5;
}


/* Breadcrumbs */
.breadcrumbs { padding: 12px 10%; font-size: .95rem; }
.breadcrumbs ol { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0; }
.breadcrumbs a { text-decoration: none; }

/* Hero */
.about-hero { position: relative; }
.about-hero__overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  text-align: center; background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.35));
  color: #fff; padding: 0 10%;
}
.about-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0; }

/* Split cards */
.about-split { padding: 60px 10%; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; padding-left: 1rem; }

/* Stats */
.about-stats { padding: 60px 10%; background: #f5f8fb; text-align: center; }
.about-stats h2 { color: #003366; margin-bottom: 16px; }
.stat-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.stat__num { font-size: 2rem; font-weight: 800; color: #003366; }

/* Logos */
.about-logos { padding: 40px 10%; text-align: center; }
.logo-row { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Leadership */
.about-lead { padding: 60px 10%; }
.lead-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lead-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: #fff; padding: 18px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.08); align-items: center; }
.lead-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 3px solid #003366; }

/* Facilities */
.about-facilities { padding: 60px 10%; background: #f8f8f8; }
.facility-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.facility-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.facility-card img { display:block; width: 100%; height: auto; }
.facility-card h3 { margin: 12px 16px 0; }
.facility-card p { margin: 8px 16px 16px; }

/* Timeline */
.about-timeline { padding: 60px 10%; }
.timeline { list-style: none; padding: 0; border-left: 3px solid #00336622; margin-left: 8px; }
.timeline li { margin: 0 0 16px 16px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -11px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #003366; }

/* Principal compact section */
.principal--compact { padding: 40px 10%; background: #fff; text-align: center; }

/* Accordion (FAQ) */
.about-faq { padding: 60px 10%; background: #f5f8fb; }
.accordion__header {
  width: 100%; text-align: left; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 14px 16px; margin-bottom: 10px; cursor: pointer; font-weight: 600;
}
.accordion__panel { display: none; padding: 0 6px 10px 6px; }
.accordion__header[aria-expanded="true"] + .accordion__panel { display: block; }

/* Visit card */
.about-contact { padding: 60px 10%; }
.visit-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: center; }
@media (max-width: 900px) { .visit-card { grid-template-columns: 1fr; } }

/* CTA */
.about-cta { padding: 60px 10%; text-align: center; background: #003366; color: #fff; }
.about-cta .btn { margin: 8px; }


/* Academics page */
.academics-hero {
  background: linear-gradient(0deg, rgba(0,51,102,0.65), rgba(0,51,102,0.65)), url('/static/images/academics/hero.jpg') center/cover no-repeat;
  padding: 80px 10%;
  color: #fff;
  text-align: center;
}
.academics-features { padding: 40px 10%; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px;}
.feature-card { background: #fff; padding: 18px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); text-align:center;}
.feature-card i { font-size: 28px; color:#003366; margin-bottom:8px;}

/* Programs tabs */
.program-tabs { padding: 40px 10%; }
.tab-list { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 18px; list-style:none; padding:0; }
.tab-btn { background:#f1f5f9; border:1px solid #e6eef8; padding:10px 14px; border-radius:8px; cursor:pointer;}
.tab-btn[aria-selected="true"] { background:#003366; color:#fff; border-color:#002244; }
.tab-panels { background:transparent; }
.tab-panel { padding: 10px 0; }
.subject-grid { display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); margin-top:12px;}
.subject-card { background:#fff; padding:12px; border-radius:10px; box-shadow: 0 4px 12px rgba(0,0,0,0.06);}

/* Divisions */
.division-grid { display:grid; gap:14px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); padding: 20px 10%; }

/* Support */
.academics-support{ padding:40px 10%; display:flex; gap:20px; flex-wrap:wrap;}
.support-left, .support-right{ flex:1; background:#fff; padding:18px; border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,0.06); }

/* Testimonials */
.academics-testimonials { padding:40px 10%; text-align:center; background:#f8fbff; }
.testi-slider { display:flex; gap:16px; overflow-x:auto; padding:10px 0; }
.testi-card { min-width:260px; background:#fff; padding:16px; border-radius:12px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); text-align:left;}
.testi-card img { width:48px; height:48px; border-radius:50%; float:left; margin-right:10px; }

/* CTA */
.academics-cta { padding:40px 10%; text-align:center; }


/* Alumni Page */
.alumni-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #003366, #0055a5);
  color: white;
}
.alumni-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 40px 10%;
}
.alumni-card {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.alumni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.alumni-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
.alumni-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e6eef8;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #003366;
  margin: 0 auto 10px;
}
.alumni-year { font-size: 0.9rem; color: #666; }
.alumni-role { font-weight: 600; margin-top: 6px; }
.alumni-location { font-size: 0.9rem; color: #444; }

/* Alumni Detail */
.alumni-detail { padding: 60px 10%; }
.alumni-header { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.alumni-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 3px solid #003366; }
.alumni-info h1 { margin: 0; color: #003366; }
.alumni-bio { margin-top: 30px; line-height: 1.6; }
.alumni-testimonial { margin-top: 30px; font-style: italic; background: #f1f6fb; padding: 20px; border-left: 5px solid #0055a5; }


/* Alumni Carousel */
.alumni-carousel {
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  padding: 40px 0;
  margin-bottom: 50px;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}
.carousel-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}
.carousel-slide img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #003366;
}
.carousel-info h2 {
  margin: 0;
  color: #003366;
}
.carousel-info blockquote {
  margin: 15px auto;
  font-style: italic;
  color: #444;
  max-width: 600px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #003366;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: background 0.3s;
}
.carousel-btn:hover {
  background: #0055a5;
}
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }


/* Careers Page */
.careers-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #003366, #0055a5);
  color: white;
}
.why-work {
  padding: 40px 10%;
}
.why-work ul {
  list-style: none;
  padding: 0;
}
.why-work li {
  padding: 10px 0;
  font-size: 1.1rem;
}
.job-openings {
  padding: 40px 10%;
  background: #f8fafc;
}
.job-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.job-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.job-card h3 {
  margin-top: 0;
  color: #003366;
}
.job-card a.btn-primary {
  display: inline-block;
  margin-top: 10px;
}
.careers-cta {
  text-align: center;
  padding: 50px 20px;
}
.job-detail {
  padding: 50px 10%;
}
.job-detail h1 {
  color: #003366;
}
.job-description, .job-requirements, .job-apply {
  margin-top: 20px;
}


/* Hero section */
.admissions-hero {
  background: url('/static/images/admissions-hero.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}
.admissions-hero .overlay {
  background: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 12px;
}

/* Intro */
.admissions-intro {
  margin: 40px auto;
  text-align: center;
}

/* Steps */
.admissions-process .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px;
  margin-top: 20px;
}
.step {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.step:hover { transform: translateY(-5px); }
.step-number {
  background: #007bff;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 10px;
}

/* Requirements */
.admissions-requirements ul {
  margin: 20px 0;
  padding-left: 20px;
}
.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}
.download-btn:hover { background: #0056b3; }

/* Inquiry Form */
.admissions-inquiry {
  background: #f0f2f5;
  padding: 40px 20px;
  margin-top: 40px;
}
.admissions-inquiry form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.admissions-inquiry input,
.admissions-inquiry select,
.admissions-inquiry textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.submit-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}
.submit-btn:hover { background: #0056b3; }
#formMsg { margin-top: 10px; font-weight: bold; }


/* Hero */
.contact-hero {
  background: url('/static/images/contact-hero.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}
.contact-hero .overlay {
  background: rgba(0,0,0,0.5);
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
}

/* Info */
.contact-info {
  margin: 40px auto;
  text-align: center;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
  margin-top: 20px;
}
.info-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Map */
.contact-map {
  margin: 40px 0;
}

/* Form */
.contact-form-section {
  background: #f0f2f5;
  padding: 40px 20px;
}
.contact-form-section form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form-section input,
.contact-form-section textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.submit-btn {
  background: #007bff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.submit-btn:hover {
  background: #0056b3;
}
#formMsg {
  margin-top: 10px;
  font-weight: bold;
}

Navbar general styles
.navbar {
  background: #007bff;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

.logo img {
  height: 50px;
}

/* Menu items */
.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  transition: background 0.3s;
}

.nav-menu li a:hover {
  background: rgba(255,255,255,0.2);
  border-radius: 5px;
}

/* Dropdown */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #0056b3;
  top: 100%;
  left: 0;
  min-width: 180px;
  border-radius: 5px;
  overflow: hidden;
}

.dropdown-menu li a {
  padding: 10px 15px;
}

/* Hamburger menu (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  border-radius: 3px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 65px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: #007bff;
    transition: left 0.3s ease-in-out;
  }

  .nav-menu.active {
    left: 0;
  }

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

  .dropdown-menu {
    position: static;
  }

  .hamburger {
    display: flex;
  }
}

/* Navbar background and shadow */
.navbar {
  background: linear-gradient(90deg, #003366, #005599);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Brand logo */
.navbar-brand img {
  height: 50px;
  transition: transform 0.3s ease;
}
.navbar-brand img:hover {
  transform: scale(1.05);
}

/* Nav links */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}
.navbar-nav .nav-link:hover {
  color: #ffcc00 !important;
  transform: translateY(-2px);
}

/* Active link */
.navbar-nav .nav-link.active {
  color: #ffcc00 !important;
  border-bottom: 2px solid #ffcc00;
}

/* Dropdown */
.dropdown-menu {
  background-color: #004080;
  border-radius: 0.5rem;
  border: none;
}
.dropdown-menu .dropdown-item {
  color: #fff;
  transition: background 0.3s ease;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #005599;
  color: #ffcc00;
}

/* Mobile toggler */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler-icon {
  filter: invert(100%);
}


/* Navbar background & shadow */
.navbar {
  background: linear-gradient(90deg, #003366, #005599);
  padding: 0.8rem 1rem;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Brand text */
.navbar-brand span {
  font-size: 0.9rem;
  line-height: 1.1;
}

/* Links */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
}
.navbar-nav .nav-link:hover {
  color: #ffcc00 !important;
  transform: translateY(-2px);
}

/* Active link */
.navbar-nav .nav-link.active {
  color: #ffcc00 !important;
  border-bottom: 2px solid #ffcc00;
}

/* Dropdown menu */
.dropdown-menu {
  background-color: #004080;
  border-radius: 0.5rem;
  border: none;
}
.dropdown-menu .dropdown-item {
  color: #fff;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #005599;
  color: #ffcc00;
}

/* Mobile toggler */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler-icon {
  filter: invert(100%);
}

/* Footer background */
.footer {
  background: linear-gradient(90deg, #003366, #005599);
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* Section headings */
.footer-heading {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffcc00;
}

/* Links */
.footer-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: #ffcc00;
  text-decoration: underline;
}

/* Social icons */
.footer-icon {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.footer-icon:hover {
  transform: scale(1.2);
  filter: brightness(0) invert(1) sepia(1) hue-rotate(10deg) saturate(5);
}

/* Bottom section */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
}


body {
  padding-top: 80px; /* adjust to your navbar’s height */
}


/* CALENDAR */
.calendar-page {
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.calendar-container table {
  width: 100%;
  border-collapse: collapse;
}

.calendar-container th {
  background: #003366;
  color: #fff;
  padding: 10px;
}

.calendar-container td {
  border: 1px solid #ddd;
  vertical-align: top;
  height: 100px;
  width: 14%;
  padding: 5px;
}

.calendar-container td .date {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.calendar-container td ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.calendar-container td ul li {
  font-size: 0.8rem;
  margin: 3px 0;
}

.calendar-container td ul li a {
  color: #0055a5;
  text-decoration: none;
}

.calendar-container td ul li a:hover {
  text-decoration: underline;
}


.resources-hero {
  background: url('/static/images/resources-banner.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
}
.resources-hero .overlay {
  background: rgba(0,0,0,0.5);
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
}

.resources {
  margin: 40px auto;
}
.resource-section {
  margin-bottom: 40px;
}
.resource-section h2 {
  margin-bottom: 10px;
  color: #003366;
}
.resource-list {
  list-style: none;
  padding: 0;
}
.resource-list li {
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.resource-list a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.resource-list a:hover {
  text-decoration: underline;
}

.alumni-hero {
  background: url('/static/images/alumni-banner.jpg') center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}
.alumni-hero .overlay {
  background: rgba(0,0,0,0.5);
  padding: 20px 40px;
  border-radius: 10px;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.alumni-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.alumni-card:hover {
  transform: translateY(-5px);
}
.alumni-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.alumni-card h3 {
  color: #003366;
  margin-bottom: 5px;
}
.alumni-card .year {
  color: #777;
  font-size: 0.9rem;
}
.alumni-card .occupation {
  color: #0056b3;
  font-weight: 500;
  margin-top: 5px;
}
.alumni-card .achievement {
  font-style: italic;
  color: #333;
  margin-top: 10px;
}

.alumni-section {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
}

.alumni-section .page-title {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 10px;
}

.alumni-section .subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.alumni-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.alumni-card:hover {
  transform: translateY(-5px);
}

.alumni-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.alumni-card h3 {
  color: #003366;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.alumni-card .year {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.alumni-card .achievement {
  color: #333;
  font-style: italic;
  font-size: 0.9rem;
}

/* 🌟 Alumni Page Styles */
.alumni-section {
  padding: 80px 20px;
  background: #f8fafc;
  color: #1e293b;
  text-align: center;
}

.page-title {
  font-size: 2.8rem;
  color: #003366;
  font-weight: 700;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 50px;
}

/* Grid Layout */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Alumni Card */
.alumni-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  max-width: 350px;
  overflow: hidden;
}

.alumni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Photo */
.photo-frame {
  width: 200px;
  height: 200px;
  margin: 25px auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e2e8f0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

/* Alumni Info */
.alumni-info {
  padding: 20px;
}

.alumni-info h2 {
  font-size: 1.5rem;
  color: #1e40af;
}

.grad-year {
  color: #475569;
  margin: 5px 0;
}

.position, .location {
  color: #64748b;
  font-size: 0.95rem;
}

.bio {
  font-size: 0.95rem;
  color: #334155;
  margin-top: 10px;
  min-height: 60px;
}

/* Button */
.btn-read {
  display: inline-block;
  margin-top: 12px;
  background: #003366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-read:hover {
  background: #004c99;
}

/* Featured Alumni */
.featured-alumni {
  margin-top: 70px;
  text-align: center;
}

.featured-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.featured-photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 10px 20px;
  border: 4px solid #cce0ff;
}

.featured-info {
  max-width: 500px;
  text-align: left;
}

.featured-info h3 {
  color: #003366;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.featured-role {
  font-weight: bold;
  color: #475569;
}

blockquote {
  font-style: italic;
  color: #334155;
  margin-top: 10px;
  border-left: 4px solid #003366;
  padding-left: 12px;
}

.divider {
  margin: 50px auto;
  border: 0;
  height: 1px;
  width: 60%;
  background: #cbd5e1;
}

@media (max-width: 768px) {
  .featured-card {
    flex-direction: column;
    align-items: center;
  }
  .featured-info {
    text-align: center;
  }
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 30px 40px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  animation: slideUp 0.4s ease-out;
}

.modal-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #003366;
  margin-bottom: 15px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #003366;
}

.modal-content h2 {
  color: #003366;
  font-size: 1.6rem;
  margin: 10px 0;
}

.modal-position, .modal-location {
  color: #475569;
  font-size: 0.95rem;
}

.modal-content blockquote {
  margin-top: 15px;
  font-style: italic;
  color: #334155;
  line-height: 1.6;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Alumni Detail Page */
.alumni-detail-section {
  padding: 80px 20px;
  background: #f9fafb;
  color: #1e293b;
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: #003366;
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

.alumni-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.profile-photo img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #cce0ff;
}

.profile-info {
  flex: 1;
  text-align: left;
}

.profile-info h1 {
  font-size: 2.2rem;
  color: #003366;
}

.grad-year {
  margin: 5px 0 15px;
  color: #475569;
}

.position, .location {
  font-size: 1rem;
  color: #475569;
}

.bio, .testimonial {
  margin-top: 25px;
}

.bio h3, .testimonial h3 {
  color: #003366;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

blockquote {
  font-style: italic;
  border-left: 4px solid #003366;
  padding-left: 12px;
  color: #334155;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .alumni-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-info {
    text-align: center;
  }
}


/* --- More Alumni Section --- */
.more-alumni {
  margin-top: 80px;
  text-align: center;
}

.more-alumni h2 {
  color: #003366;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.more-alumni .alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-items: center;
}

.more-alumni .alumni-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 20px;
  max-width: 300px;
}

.more-alumni .alumni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.more-alumni .photo-frame {
  width: 120px;
  height: 120px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #cce0ff;
}

.more-alumni .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.more-alumni .alumni-info h3 {
  font-size: 1.2rem;
  color: #003366;
  margin-bottom: 6px;
}

.more-alumni .grad-year {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 4px;
}

.more-alumni .position {
  font-size: 0.95rem;
  color: #64748b;
}

/* --- Alumni Social Media --- */
.alumni-socials {
  margin-top: 40px;
  text-align: center;
}

.alumni-socials h3 {
  font-size: 1.3rem;
  color: #003366;
  margin-bottom: 15px;
}

.alumni-socials .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.alumni-socials .social-icons a {
  color: #003366;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.alumni-socials .social-icons a:hover {
  color: #007bff;
  transform: scale(1.1);
}

/* Navbar Base */
.custom-navbar {
  background: #003366;
  padding: 10px 0;
}

.custom-navbar .nav-link {
  color: white !important;
  font-weight: 500;
  transition: 0.3s;
  padding: 8px 15px;
}

.custom-navbar .nav-link:hover {
  color: #ffcc00 !important;
}

/* --- Navbar Hover Dropdown --- */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* aligns dropdown properly */
}

.dropdown-menu {
  background-color: #ffffff;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
  color: #0056b3;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 10px 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
}

.custom-navbar {
  background-color: #003366;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- Footer Styling --- */
.footer {
  background: #001f3f; /* Deep navy tone for prestige */
}

.footer-heading {
  color: #f8f9fa;
  letter-spacing: 1px;
}

.footer-link:hover {
  color: #0d6efd; /* Bootstrap primary color */
  text-decoration: underline;
}

.footer-icon {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.social-icon-link:hover {
  background-color: #0b5ed7 !important;
  transform: scale(1.1);
  transition: all 0.3s ease;
}
/* --- Back to Top Button --- */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #0d6efd; /* Bootstrap primary blue */
  color: white;
  border: none;
  z-index: 999;
  display: none;
  transition: all 0.3s ease;
}

#backToTopBtn:hover {
  background-color: #084298;
  transform: scale(1.1);
}

/* General navbar spacing */
.navbar {
  padding: 0.8rem 1rem;
}

/* Adjust dropdown position */
.navbar .dropdown-menu {
  border: none;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
}

/* Dropdown links */
.navbar .dropdown-menu .dropdown-item {
  color: #333;
  padding: 0.6rem 1.2rem;
  font-weight: 500;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #007bff;
  color: #fff;
}

/* Active nav-link highlighting */
.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

/* Fix for dropdown alignment in smaller screens */
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    margin-top: 0;
    box-shadow: none;
    background-color: #f8f9fa;
  }

  .navbar .dropdown-item {
    color: #333;
    padding: 0.75rem 1rem;
  }

  .navbar .dropdown-item:hover {
    background-color: #007bff;
    color: white;
  }
}

/* Add subtle hover glow for navbar brand */
.navbar-brand:hover {
  opacity: 0.9;
}

/* Better contrast for dropdown toggles */
.navbar-dark .navbar-nav .nav-link {
  color: #f8f9fa;
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #fff;
}

/* Dropdown indicator arrow */
.navbar .dropdown-toggle::after {
  margin-left: 0.3rem;
  vertical-align: 0.1em;
}

/* Hover dropdown for desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
}

form input, form select, form textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 5px;
}

form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

