/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ===========================
   ANNOUNCEMENT BAR
=========================== */
.announcement-bar {
  background: linear-gradient(135deg, #145a32, #1e8449);
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  z-index: 1101;
  border-bottom: 2px solid #d4af37;
}

.announcement-track {
  display: inline-flex;
  gap: 60px;
  padding: 10px 0;
  will-change: transform;
}

.announcement-track span {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
}

/* ===========================
   NAVBAR
=========================== */
.custom-navbar {
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(20, 90, 50, 0.08);
  top: 38px; /* Height of announcement bar */
  left: 0;
  width: 100%;
  z-index: 1050;
}

body {
  padding-top: 118px; /* 38px announcement + 80px header */
}

.site-logo img {
  transition: transform 0.3s ease;
  width: 70px;
  height: auto;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* ===========================
   NAV LINKS
=========================== */
.nav-link {
  position: relative;
  color: #1c1c1c !important;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-block;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0px;
  width: 0;
  height: 2.5px;
  background: #d4af37;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(.4,0,.2,1);
}

.nav-link.active::after,
.nav-link:focus::after,
.nav-link:hover::after {
  width: 80%;
}

@media (max-width: 768px) {
  .nav-link.active::after,
  .nav-link:focus::after,
  .nav-link:hover::after {
    width: 60%;
  }
}

/* ===========================
   DONATE BUTTON
=========================== */
.btn-donate {
  background: linear-gradient(135deg, #145a32, #1e8449);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 26px;
  transition: all 0.3s ease;
}

.btn-donate:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.35);
}

/* ===========================
   HERO SLIDER
=========================== */
.hero-slider {
  position: relative;
}

.slide-item {
  height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 90, 50, 0.75);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 60px;
  color: #ffffff;
}

.slide-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.slide-content p {
  font-size: 18px;
  color: #eaeaea;
  margin-bottom: 25px;
}

/* Button */
.slider-btn {
  background: #d4af37;
  color: #1c1c1c;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: #ffffff;
  color: #145a32;
}

/* Dots */
.owl-theme .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.5);
}

.owl-theme .owl-dots .owl-dot.active span {
  background: #d4af37;
}

/* ===========================
   DEPARTMENTS SECTION
=========================== */
.departments-section {
  background-color: #ffffff;
}

/* Heading */
.section-title {
  font-size: 34px;
  font-weight: 700;
  color: #145a32; /* Deep Green */
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #6c757d;
  max-width: 650px;
  margin: 0 auto;
}

/* Card */
.department-card {
  background: #ffffff;
  border: 1px solid goldenrod;
  border-radius: 14px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Icon Box */
.icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(30, 132, 73, 0.08);
  color: #145a32;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Title */
.dept-title {
  font-size: 18px;
  font-weight: 600;
  color: #145a32;
  margin-bottom: 12px;
}
/* Replace icon styling with image styling */
.dept-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 18px;
}

.dept-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.department-card:hover .dept-img img {
  transform: scale(1.08);
}

/* keep other department styles same */

/* Text */
.dept-text {
  font-size: 14.5px;
  color: #6c757d;
  line-height: 1.6;
  height: 3.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 20px;
}

/* Link */
.dept-link {
  font-size: 14px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  background: linear-gradient(135deg, #145a32, #1e8449);
  padding: 15px;
  border-radius: 10px;
}

/* Hover Effects */
.department-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(20, 90, 50, 0.12);
}

.department-card:hover .icon-box {
  color: #d4af37;
}

.department-card:hover .dept-link {
  color: white;
}
/* ===========================
   FOUNDER & PRINCIPAL SECTION
=========================== */
.founder-principal-section {
  background-color: #fdfdfd;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.text-success {
  color: #1b5e20 !important;
}

.image-wrapper {
  overflow: hidden;
  border-radius: 15px;
  border: 5px solid #fff;
  transition: transform 0.3s ease;
}

.image-wrapper:hover {
  transform: translateY(-10px);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.vision-box {
  background-color: #f1f8e9;
  padding: 15px;
}

.italic-text {
  font-style: italic;
  color: #444;
  font-weight: 500;
}

.name {
  color: #145a32;
  position: relative;
}

/* Gallery Card Styling */
.gallery-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 250px; /* Fixed height */
}

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

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 94, 32, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
  color: white;
  font-size: 2rem;
}

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

.custom-nav {
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 10;
}

.nav-btn {
  pointer-events: auto;
  background: #1b5e20;
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
  background: #2e7d32;
  transform: scale(1.1);
}
.project-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.project-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.project-info {
  flex: 1; /* Takes remaining space */
}

.btn-success {
  background-color: #1b5e20;
  border-color: #1b5e20;
  transition: 0.3s;
}

.btn-success:hover {
  background-color: #2e7d32;
  border-color: #2e7d32;
}
.project-info-container {
  padding: 15px;
}

.honour-card {
  transition: all 0.3s ease;
  margin: 15px 10px;
  overflow: hidden;
}

.honour-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.honour-img-wrapper {
  position: relative;
  overflow: hidden;
}

.honour-img-wrapper img {
  transition: transform 0.5s ease;
  height: 300px;
  object-fit: cover;
}

.honour-card:hover .honour-img-wrapper img {
  transform: scale(1.05);
}

/* Medal Badge on Image */
.badge-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffd700; /* Gold Color */
  color: #1b5e20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-success {
  border-color: #1b5e20;
  color: #1b5e20;
}

.btn-outline-success:hover {
  background-color: #1b5e20;
  color: white;
}
/* Container for the image and centered name */
.campus-img-box {
  height: 300px; /* Fixed height for the image part */
  overflow: hidden;
}

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

/* Centered Title Styling */
.campus-name-center {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay to highlight text */
}

.campus-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: white;
  padding: 12px 25px;
  color: #1b5e20;
  border-radius: 8px;
  margin: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Detail Area Styling (Below Image) */
.campus-detail {
  background: #fff;
  min-height: 100px;
}

.campus-detail p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Link Icon positioned at bottom right of the detail box */
.campus-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #1b5e20;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s ease;
}

.campus-link:hover {
  transform: scale(1.1);
  background-color: #2e7d32;
  color: #fff;
}

/* Card Hover Effect */
.campus-card:hover .campus-img-box img {
  transform: scale(1.1);
}
.teacher-profile-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #efefef;
  height: 100%;
  margin: 10px; /* Space for box-shadow on hover */
  transition: transform 0.3s ease;
}

.teacher-profile-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.teacher-img-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.footer-section {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: #fff;
  padding-top: 60px;
}

.footer-logo {
  width: 110px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Titles */
.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-title::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -8px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #e0f2f1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

/* Social */
.footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 8px;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #fff;
  color: #1b5e20;
}

/* Contact */
.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.footer-contact li a {
  color: white;
  text-decoration: none;
}
.footer-contact i {
  color: #c8e6c9;
  margin-top: 3px;
}

/* Map */
.footer-map iframe {
  width: 100%;
  height: 120px;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
}

/* Bottom Bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  margin-top: 40px;
  padding: 15px 0;
  font-size: 0.9rem;
}

/* ===========================
   WHATSAPP STICKY BUTTON
=========================== */
.whatsapp-sticky {
  position: fixed;
  left: 25px;
  bottom: 25px;
  z-index: 9999;
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  font-size: 2.2rem;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.whatsapp-sticky:hover {
  background: #1ebe5d;
  transform: scale(1.08);
  color: #fff;
}

/* Bottom to Top Button */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: linear-gradient(135deg, #145a32, #1e8449);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
#backToTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.08);
}
#backToTopBtn:hover {
  background: #1e8449;
  color: #fff;
}

/* projects page */
.projects-page {
  background: #ffffff;
  color: #2b2b2b;
}

/* Header */
.banner {
  position: relative;
  min-height: 30vh;
  background-image: url("../images/slider1-0.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* PARALLAX */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Soft dark overlay for readability */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 94, 32, 0.6);
}

/* Text content */
.projects-header {
  position: relative;
  max-width: 850px;
  padding: 20px;
  color: #fff;
  z-index: 2;
}

.projects-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.banner-text {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.95;
}

/* Project Blocks */
.project-block {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.project-block.alt {
  background: #f9faf9;
}

.project-text h2 {
  color: #1b5e20;
  margin-bottom: 15px;
}

.project-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Images */
.project-block img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 5px solid #fff;
}

/* Footer */
.projects-footer {
  padding: 50px 20px;
  background: #f1f4f1;
}

.projects-footer p {
  max-width: 700px;
  margin: auto;
  font-size: 0.95rem;
}

/* About Page */
.about-page {
  background: #ffffff;
  color: #2b2b2b;
}

/* Header */
.about-header {
  padding: 80px 20px 60px;
  max-width: 850px;
  margin: auto;
}

.about-header h1 {
  font-size: 2.6rem;
  color: #1b5e20;
  margin-bottom: 15px;
}

.about-header p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Sections */
.about-section {
  padding: 60px 0;
}
/* Titles */
.section-title {
  font-size: 2rem;
  color: #1b5e20;
  margin-bottom: 35px;
}

/* Images */
.about-section img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Mission Vision Cards */
.mv-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border-top: 4px solid #49ae21;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mv-card h3 {
  color: #1b5e20;
  margin-bottom: 15px;
}

/* Values */
.values-section {
  padding: 70px 0;
}

/* Card */
.value-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Icon */
.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(27, 94, 32, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon i {
  font-size: 1.8rem;
  color: #1b5e20;
}

/* Text */
.value-card h4 {
  font-size: 1.2rem;
  color: #1b5e20;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Signature */
.signature {
  margin-top: 15px;
  font-style: italic;
  color: #1b5e20;
}

.pattern {
  background: url("../images/pattern.jpg");
  background-repeat: repeat;
  background-position: center;
  padding: 90px 0;
}
.cta .cta-content h3 {
  margin: 0 0 7px 0;
  color: #ffffff;
  font-size: 25px;
  font-weight: 400;
}
.cta .cta-content p {
  margin: 0;
  color: #ffffff;
}
.btn-style-2 {
  background: linear-gradient(to bottom, #ffd34d 0%, #ffc000 100%);
  color: #055d28;
  font-size: 24px;
  font-weight: 600;
  padding: 10px 50px;
  border-radius: 4px;
  text-decoration: none;
}
/* donation-form */
.donation-section {
  background: #f8f9fa;
}

.donation-wrapper {
  max-width: 850px;
  background: #fff;
  padding: 35px;
  border: 1px solid #ddd;
}

.form-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #000;
}

.form-label {
  font-size: 0.85rem[F];
  font-weight: 500;
}

.form-control,
.form-select {
  border-radius: 3px;
  font-size: 0.9rem;
}

.btn-pay {
  background: #0a7a2e;
  color: #fff;
  padding: 6px 30px;
  border-radius: 2px;
  font-size: 0.9rem;
}

.btn-pay:hover {
  background: #095f24;
}
/* Custom Styles for Contact Page */

.header-divider {
  width: 60px;
  height: 3px;
  background-color: #d4af37; /* Gold */
}

/* Primary Contact Box */
.primary-contact-box {
  background-color: #f1f8e9; /* Light Green Tint */
  border: 1px solid #e1e8d1;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background-color: #1b5e20;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Form Styling */
.form-control {
  border-radius: 6px;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  transition: 0.3s;
}

.form-control:focus {
  border-color: #1b5e20;
  box-shadow: none;
}

.btn-success {
  background-color: #1b5e20;
  border: none;
  transition: 0.3s ease;
}

.btn-success:hover {
  background-color: #d4af37; /* Gold hover */
  color: #fff;
  transform: translateY(-2px);
}

/* Social Icons */
.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  color: #fff;
  transition: 0.3s;
}

.whatsapp {
  background-color: #25d366;
}
.facebook {
  background-color: #1877f2;
}
.youtube {
  background-color: #ff0000;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
  color: #fff;
}

/* Accordion Customization */
.accordion-button:not(.collapsed) {
  background-color: #f1f8e9;
  color: #1b5e20;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}
/* campuses */
/* Campus Page Wrapper Styles */
.campus-page-wrapper {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.campus-page-title {
  color: #1b5e20;
  font-size: 2.5rem;
}

.campus-divider {
  width: 70px;
  height: 3px;
  background-color: #d4af37; /* Gold Accent */
}

.campus-intro-text {
  max-width: 700px;
  font-size: 1.1rem;
}

.campus-overview-box {
  background-color: #f9f9f9;
  border-top: 4px solid #1b5e20;
  line-height: 1.8;
  color: #555;
}
/* Bento Grid Specific Styles */
.campus-bento-grid .campus-image-container {
  position: relative;
  background-color: #f8f9fa;
}

/* Height for the top two images */
.bento-small {
  height: 180px;
}

/* Height for the bottom large image */
.bento-large {
  height: 250px;
}

/* Ensure images cover the entire container area */
.campus-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover Effect */
.campus-image-container:hover img {
  transform: scale(1.05);
}

/* Individual Campus Elements */
.campus-name {
  color: #1b5e20;
  margin-bottom: 15px;
}

.campus-description {
  line-height: 1.7;
}
/* Vertical Bento Specifics */
.bento-vertical .bento-tall {
  height: 440px; /* Total height matching the two small ones + gap */
}

.bento-vertical .bento-square {
  height: 216px; /* Half height minus a small gap */
}

.campus-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease-in-out;
}

/* Unique Animation for this Grid: Slight Darken and Zoom */
.bento-vertical .campus-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.bento-vertical .campus-image-container:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.bento-vertical .campus-image-container:hover img {
  transform: scale(1.1);
}

.campus-image-container img {
  transition: transform 0.5s ease;
}

.campus-image-container:hover img {
  transform: scale(1.03);
}

.campus-facility-list li {
  font-size: 0.95rem;
  color: #666;
}

.campus-location-info {
  border-radius: 0 8px 8px 0;
}

.campus-final-note {
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}
/* gallery */
.gallery-banner {
  background: url("../images/slider1.png") center/cover fixed;
  padding: 110px 0;
  position: relative;
  color: #fff;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 94, 32, 0.75);
}

.gallery-banner .container {
  position: relative;
  max-width: 800px;
}

.gallery-banner h1 {
  font-weight: 700;
  margin-bottom: 10px;
}

/* ===== FILTER BUTTONS ===== */
.gallery-filters {
  background: #f8f9fa;
}

.filter-btn {
  border: 1px solid #1b5e20;
  background: transparent;
  color: #1b5e20;
  padding: 6px 16px;
  margin: 4px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: #1b5e20;
  color: #fff;
}

/* ===== GALLERY GRID ===== */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

/* ===== HOVER OVERLAY ===== */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 94, 32, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
  color: #fff;
  font-size: 1.8rem;
}

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

/* ===== CLOSING ===== */
.gallery-closing p {
  max-width: 900px;
  margin: auto;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .gallery-card img {
    height: 220px;
  }
}
/* Responsive Fixes */
@media (max-width: 991px) {
  .campus-details-content {
    text-align: center;
  }
  .campus-facility-list {
    display: inline-flex;
    justify-content: center;
  }
  .campus-location-info {
    text-align: left;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .about-header h1 {
    font-size: 2.1rem;
  }
  .about-section {
    padding: 40px 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .project-block {
    padding: 40px 0;
  }
  .projects-header h1 {
    font-size: 2rem;
  }
}
@media (max-width: 576px) {
  .bento-small {
    height: 140px;
  }
  .bento-large {
    height: 180px;
  }
}
@media (max-width: 576px) {
  .bento-vertical .bento-tall {
    height: 300px;
  }
  .bento-vertical .bento-square {
    height: 146px;
  }
}







/* Show dropdown on hover */
.dropdown-menu {
	min-width: 200px !important;
	text-align: center !important;
}
.navbar .dropdown:hover > .dropdown-menu {
    display: block !important;
    margin-top: 0 !important; /* Remove the gap between the dropdown and the parent */ ;
}

/* Optional: smooth feel */
.navbar .dropdown-menu {
    transition: all 0.2s ease !important;
}
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block !important;
    }

    .navbar .dropdown:hover > .dropdown-toggle {
        pointer-events: auto !important;
    }
}