
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.5;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-500), var(--accent-300));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(145deg, var(--accent-600), var(--accent-400));
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
  transform: translateY(0);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.top-header {
  background-color: #09153d;
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
  letter-spacing: 0.3px;
}

.top-header-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.top-header i {
  color: #f97777;
  margin-right: 6px;
}

.main-header {
  background-color: white;
  /* solid white */
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}

/* .main-header {
  background-color: rgba(235, 243, 252, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
} */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none !important;
  color: inherit !important;
}

.logo-img img {
  width: 55px;
  height: 55px;
  border-radius: 30% 50% 30% 50%;
  object-fit: cover;
}

.school-title h1 .brand-highlight {
  color: var(--primary-700);
  /* or any color you prefer */
}


.school-title h1 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f97777;
  line-height: 1.2;
}

.address-sm {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-weight: 400;
}

.address-sm i {
  color: var(--accent-500);
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}

.desktop-nav a {
  text-decoration: none;
  color: #09153d;
  ;
  font-weight: 500;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  font-size: 1.01rem;
}

.desktop-nav li.active a,
.desktop-nav a:hover {
  color: #f97777;
  border-bottom-color: #f97777;
}

.session-badge .badge {
  background: linear-gradient(145deg, var(--accent-300), var(--accent-500));
  color: white;
  padding: 8px 10px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 12px rgba(47, 123, 127, 0.25);
  white-space: nowrap;
}

.session-badge .badge-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  /* ensures the link wraps the badge properly */
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: var(--teal-700);
  cursor: pointer;
}

/* Mobile sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary-700);
}

.sidebar-logo img {
  width: 40px;
  height: 40px;
  border-radius: 40% 60%;
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 16px;
}

.sidebar-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1rem;
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
}

.sidebar-nav li.active a,
.sidebar-nav a:hover {
  background-color: var(--primary-50);
  color: var(--accent-500);
}

.sidebar-contact {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
}

.sidebar-contact i {
  color: var(--accent-500);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  backdrop-filter: blur(2px);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== ENHANCED HERO CAROUSEL ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.carousel-container {
  position: relative;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  /* Slightly darker for better text contrast */
}

/* ----- Enhanced Caption (Glassmorphism) ----- */
.carousel-caption {
  position: absolute;
  bottom: 30%;
  left: 8%;
  max-width: 650px;
  background: rgba(var(--accent-100-rgb), 0.9);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px 16px 40px 16px;
  padding: 24px 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: slideUpCaption 0.9s ease forwards;
  transform: translateY(30px);
  opacity: 0;
  animation-fill-mode: forwards;
}

.carousel-slide.active .carousel-caption {
  animation: slideUpCaption 0.9s ease forwards;
}

@keyframes slideUpCaption {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.carousel-caption h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-700);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.carousel-caption p {
  font-size: 1.1rem;
  color: var(--accent-600);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.carousel-caption p::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
  margin-right: 8px;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-control:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}


.carousel-control.prev {
  left: 20px;
}

.carousel-control.next {
  right: 20px;
}

.carousel-control i {
  color: var(--accent-600);
  font-size: 24px;
  /* your desired color */
}

/* Ensure dots are clickable */
.carousel-indicators {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: var(--accent-500);
  transform: scale(1.2);
}

.dot:hover {
  background: white;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .hero-carousel {
    height: 400px;
  }

  .carousel-caption {
    bottom: 15%;
    left: 5%;
    padding: 18px 24px;
    max-width: 90%;
  }

  .carousel-caption h2 {
    font-size: 1.8rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .carousel-caption p::before {
    width: 30px;
  }

  .carousel-control {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  .hero-carousel {
    height: 320px;
  }

  .carousel-caption h2 {
    font-size: 1.4rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary-800);
  color: white;
  padding: 16px 0;
  margin-top: -40px;
  position: relative;
  z-index: 5;
  border-radius: 40px 40px 0 0;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--beige-200);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== SECTIONS (base) ===== */
.section {
  padding: 50px 0;
  position: relative;
  background-color: white;
}

/* Alternating backgrounds */
.section:nth-child(even) {
  background-color: var(--section-alt);
}

/* Decorative top/bottom accents */
.section::before,
.section::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  /* background: linear-gradient(90deg, transparent, var(--teal-300), transparent); */
  opacity: 0.3;
}

.section::before {
  top: 0;
}

.section::after {
  bottom: 0;
}

.section-padding {
  margin-top: 70px;
}


.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--primary-700);
  position: relative;
}

.section-title span {
  color: var(--accent-500);
  border-bottom: 3px solid var(--accent-300);
  padding-bottom: 5px;
}

/* Courses - icon and heading in one row */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.course-card {
  background: var(--white);
  border-radius: 40px 16px 40px 16px;
  padding: 30px 30px 40px 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-400), var(--primary-600));
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-card i {
  font-size: 2.5rem;
  color: var(--accent-500);
  flex: 0 0 auto;
  margin-bottom: 0;
}

.course-card h3 {
  font-size: 1.8rem;
  color: var(--primary-700);
  flex: 1 1 auto;
  margin-bottom: 0;
  text-align: left;
}

.course-card p,
.course-card .read-more {
  flex: 0 0 100%;
  width: 100%;
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 600;
}

.read-more i {
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.welcome-content {
  background: var(--white);
  padding: 40px;
  border-radius: 60px 16px 60px 16px;
  box-shadow: var(--shadow-md);
}

.welcome-content h2 {
  font-size: 2rem;
  color: var(--accent-500);
  margin-bottom: 20px;
}

.welcome-content h2 .word-welcome {
  color: var(--primary-800);
}


.welcome-content p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 2rem;
}

.welcome-image img {
  width: 100%;
  border-radius: 60px 16px 60px 16px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s;
}

.welcome-image img:hover {
  transform: scale(1.02);
}

/* ===== FEATURES SECTION (UNIQUE DESIGN) ===== */
.features-section {
  background: var(--primary-50) !important;
  position: relative;
  isolation: isolate;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(1px);
  z-index: -1;
}

.features-section .container {
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 40px 20px 40px 20px;
  padding: 35px 20px;
  text-align: center;
  box-shadow: 0 15px 25px rgba(47, 123, 127, 0.15);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: translateY(0);
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 30px rgba(47, 123, 127, 0.25);
  border-color: var(--teal-300);
}

.feature-item i {
  font-size: 3rem;
  background: linear-gradient(145deg, var(--accent-500), var(--accent-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  display: inline-block;
}

.feature-item h4 {
  font-size: 1.3rem;
  color: var(--primary-700);
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.feature-item h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-300), transparent);
}

/* Vision / Mission / Goals */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.vision-card {
  background: white;
  border-radius: 40px 16px 40px 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.vision-card i {
  font-size: 2.5rem;
  color: var(--white);
  background: var(--accent-500);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50% 30% 50% 30%;
  margin: 0 auto 20px;
}

.vision-card h3 {
  font-size: 1.5rem;
  color: var(--primary-700);
  margin-bottom: 15px;
}

.vision-card p {
  color: var(--text-light);
  line-height: 2rem;
}

/* ===== FOOTER ===== */
.main-footer {
  background: var(--primary-800) !important;
  color: #e0f0f0;
  padding: 50px 0 20px;
  border-top: 4px solid var(--primary-600);
  /* margin-top: 50px; */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-300);
}

.footer-col p {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  /* color: #bcdbdb; */
}

.footer-col a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
  padding-left: 5px;
}

.footer-col i {
  color: var(--accent-500);
  width: 20px;
}

.footer-map iframe {
  width: 100%;
  height: 130px;
  border-radius: 16px;
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: var(--white);
}

@media screen and (max-width: 1220px) {
  .welcome-grid {
    grid-template-columns: 1fr !important;
  }

  .society-compact-grid {
    grid-template-columns: 1fr !important;
  }

}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
  }


  .hamburger {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-area {
    margin-left: auto;
  }
}

@media screen and (max-width: 768px) {
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    text-align: center;
    /* optional: center the text within each cell */
  }


  .courses-grid,
  .welcome-grid,
  .features-grid,
  .vision-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    height: 350px;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-caption {
    padding: 12px 20px;
  }

  .feature-item {
    padding: 25px 15px;
  }

  .course-card {
    padding: 25px;
  }

  .course-card h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .school-title h1 {
    font-size: 1rem;
  }

  .logo-img img {
    width: 45px;
    height: 45px;
  }

  .course-card i {
    font-size: 2.8rem;
  }

  .course-card h3 {
    font-size: 1.3rem;
  }
}

/* scroll animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- About Page Specific Styles ---------- */
.breadcrumb-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 50px;
}

.breadcrumb-image {
  position: relative;
  width: 100%;
  height: 350px;
}

.breadcrumb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.breadcrumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 163, 163, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
  padding-top: 100px;
}

.breadcrumb-overlay .container {
  width: 100%;
}

.breadcrumb-overlay h1 .first-word {
  color: var(--accent-500);
  /* or any color you like */
}

.breadcrumb-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: slideUp 1s ease;
  color: var(--white);
}

.breadcrumb-overlay p {
  font-size: 1.1rem;
  max-width: 700px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  animation: slideUp 1s ease 0.1s both;
  color: var(--white);
}

.intro-highlight {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 255, 255, 0.7));
  backdrop-filter: blur(8px);
  border-radius: 80px 20px 80px 20px;
  padding: 40px 50px;
  position: relative;
  box-shadow: var(--shadow-lg);
  border-left: 8px solid var(--primary-700);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 1280px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 4rem;
  color: var(--primary-300);
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.3;
}

.about-intro .intro-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  padding: 40px;
  border-radius: 80px 20px 80px 20px;
  box-shadow: 0 15px 30px var(--shadow);
  border: 1px solid var(--border-light);
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.society-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.society-card.modern {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 50px 15px 50px 15px;
  padding: 25px;
  border: 1px solid var(--border-light);
  transition: 0.3s;
}

.society-card.modern:hover {
  background: white;
  border-color: var(--teal-400);
  box-shadow: 0 15px 25px rgba(47, 123, 127, 0.15);
}

.card-icon i {
  font-size: 2.8rem;
  color: var(--white);
  background: var(--accent-500);
  padding: 15px;
  border-radius: 50% 30% 50% 30%;
}

.card-content h4 {
  font-size: 1rem;
  color: var(--primary-700);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-data {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-500);
}

.badge {
  background: var(--primary-50);
  color: var(--accent-500);
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 5px;
}

.objectives-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.objective-chip {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 60px 15px 60px 15px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border-light);
  transition: 0.2s;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.objective-chip i {
  font-size: 1.8rem;
  color: var(--accent-500);
  flex-shrink: 0;
  background: var(--primary-50);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 30% 50% 30%;
}

.objective-chip:hover {
  background: white;
  border-color: var(--teal-300);
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .objectives-masonry {
    grid-template-columns: 1fr;
  }
}



.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.objective-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 50px 20px 50px 20px;
  padding: 30px 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 10px 25px var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-light);
}

.objective-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary-soft);
}

.objective-item i {
  font-size: 2.5rem;
  color: var(--primary-main);
  flex-shrink: 0;
  background: rgba(4, 191, 191, 0.1);
  padding: 15px;
  border-radius: 50% 30% 50% 30%;
}

.objective-item p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}

.trustees-enhanced {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.trustee-profile {
  display: flex;
  align-items: center;
  /* vertical centering */
  justify-content: center;
  /* horizontal centering of the whole group */
  gap: 20px;
  /* space between items */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 40px 10px 40px 10px;
  padding: 20px;
  border: 1px solid var(--border-light);
  transition: 0.2s;
  flex-wrap: wrap;
  /* allows wrapping on very small screens */
}


.trustee-profile:hover {
  background: white;
  border-color: var(--teal-400);
  transform: scale(1.02);
}

.avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50% 30% 50% 30%;
  background: var(--accent-300);
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 12px rgba(47, 123, 127, 0.2);
}

/* .trustee-profile .trustee-info {
  gap: 10px !important;
} */

.trustee-profile h4 {
  font-size: 1.1rem;
  color: var(--primary-700);
  margin-bottom: 10px;
  white-space: nowrap;
}

.trustee-profile p {
  font-size: 0.9rem;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 4px 14px;
  border-radius: 40px;
  margin: 0;
  display: inline-block;
  white-space: nowrap;
}

.trustees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.trustee-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 40px 20px 40px 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 20px var(--shadow);
  transition: 0.3s;
  border: 1px solid var(--border-light);
}

.trustee-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary-main);
  background: rgba(255, 255, 255, 0.95);
}

.trustee-card h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.trustee-card .designation {
  font-size: 1rem;
  color: var(--primary-main);
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(4, 191, 191, 0.1);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 40px;
}

@media screen and (max-width: 992px) {
  .trustees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .breadcrumb-image {
    height: 250px;
  }

  .breadcrumb-overlay h1 {
    font-size: 2.5rem;
  }

  .breadcrumb-overlay p {
    font-size: 1.1rem;
  }

  .about-intro .intro-text p {
    font-size: 1.1rem;
    padding: 30px 20px;
  }

  .objective-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .objective-item i {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 576px) {
  .trustees-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .breadcrumb-overlay h1 {
    font-size: 2rem;
  }

  .breadcrumb-overlay p {
    font-size: 1rem;
  }

  .society-card p {
    font-size: 1.2rem;
  }

  .trustee-card h3 {
    font-size: 1.2rem;
  }
}

/* ---------- Courses Page Specific Styles ---------- */
.recognition-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(145deg, var(--primary-600), var(--primary-800));
  color: var(--white);
  padding: 12px 32px;
  border-radius: 60px;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 auto 40px;
  box-shadow: 0 10px 20px rgba(4, 191, 191, 0.25);
  gap: 12px;
  width: fit-content;
}

.recognition-badge i {
  font-size: 1.8rem;
}

.table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  box-shadow: 0 15px 30px var(--shadow);
}

.course-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  overflow: hidden;
  font-size: 1rem;
}

.course-table th:first-child,
.course-table td:first-child {
  width: 30%;
}

.course-table th:nth-child(2),
.course-table td:nth-child(2),
.course-table th:nth-child(3),
.course-table td:nth-child(3) {
  width: 35%;
}


.course-table th,
.course-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.course-table th {
  background: var(--accent-500);
  color: var(--white);
  font-size: 1.3rem;
}

.course-table th small {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--light-bg);
  margin-top: 4px;
}

.course-table td {
  color: var(--text-dark);
}

/* Vertical separator between GNM and ANM columns */
.course-table th:nth-child(2),
.course-table td:nth-child(2) {
  border-right: 2px solid var(--border-light, #dee2e6);
}

.course-table td.feature-name {
  font-weight: 600;
  color: var(--primary-700);
  background: var(--primary-50);
  width: 22%;
}

.course-table tr:last-child td {
  border-bottom: none;
}

.course-title {
  font-size: 1.4rem;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.table-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 20px;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .recognition-badge {
    font-size: 1.1rem;
    padding: 10px 24px;
  }

  .course-table th {
    font-size: 1rem;
    padding: 15px 12px;
  }

  .course-table td {
    padding: 15px 12px;
    font-size: 0.9rem;
  }

  .course-title {
    font-size: 1.2rem;
  }

  .course-table th small {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 480px) {
  .recognition-badge {
    font-size: 1rem;
    padding: 8px 18px;
  }

  .course-table td.feature-name {
    width: 30%;
  }

  .course-table th,
  .course-table td {
    padding: 12px 8px;
  }
}

/* ---------- Admission Procedure Page Specific Styles ---------- */
.admission-procedure-section {
  background-color: var(--light-bg);
  margin-bottom: 50px;
}

.procedure-intro {
  text-align: center;
  font-size: 1.3rem;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  padding: 30px;
  border-radius: 80px 20px 80px 20px;
  max-width: 1280px;
  margin: 0 auto 50px;
  box-shadow: 0 15px 30px var(--shadow);
  border: 1px solid var(--border-light);
}

.procedure-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
}

.procedure-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1280px;
  margin: 0 auto;
}

.procedure-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  padding: 25px 20px;
  border-radius: 60px 20px 60px 20px;
  box-shadow: 0 10px 25px var(--shadow);
  transition: all 0.3s;
  border: 1px solid var(--border-light);
  height: 100%;
}

.procedure-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-main);
  background: rgba(255, 255, 255, 0.95);
}

.item-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, var(--accent-300), var(--accent-500));
  border-radius: 50% 30% 50% 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 8px 15px rgba(4, 191, 191, 0.2);
}

.item-icon i {
  font-size: 1.5rem;
}

.item-content h3 {
  font-size: 1.5rem !important;
  color: var(--primary-700);
  margin-bottom: 6px;
}

.item-content p {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.6;
}

.procedure-footer {
  text-align: center;
  margin-top: 50px;
  font-size: 1.2rem;
  color: var(--primary-500);
  font-weight: 500;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  border: 1px dashed var(--primary-soft);
}

@media screen and (max-width: 768px) {
  .procedure-intro {
    font-size: 1.1rem;
    padding: 20px;
  }

  .procedure-list {
    grid-template-columns: 1fr;
  }

  .procedure-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .item-icon {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }

  .item-content h3 {
    font-size: 1.3rem;
  }

  .item-content p {
    font-size: 0.95rem;
  }

  .procedure-footer {
    font-size: 1rem;
    padding: 15px;
  }
}

@media screen and (max-width: 480px) {
  .procedure-item {
    padding: 15px;
  }

  .item-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .item-content h3 {
    font-size: 1.2rem;
  }
}

/* ---------- Laboratories Page Specific Styles ---------- */
.laboratories-section {
  background-color: var(--light-bg);
}

.lab-intro {
  text-align: center;
  margin-bottom: 50px;
}

.lab-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-700);
  margin-bottom: 15px;
}

.lab-intro p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 60px 20px 60px 20px;
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-light);
}

.lab-category {
  margin: 80px 0;
}

.lab-category h3 {
  font-size: 1.5rem;
  color: var(--primary-700);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.lab-category h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-300), transparent);
  border-radius: 3px;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.lab-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 40px 15px 40px 15px;
  padding: 20px 18px;
  box-shadow: 0 8px 20px var(--shadow);
  border: 1px solid var(--border-light);
  transition: 0.3s;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.lab-card i {
  font-size: 1.8rem;
  color: var(--accent-500);
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.lab-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-main);
  background: rgba(255, 255, 255, 0.95);
}

.lab-note {
  background: var(--primary-50) !important;
  backdrop-filter: blur(5px);
  border-radius: 60px 20px 60px 20px;
  padding: 20px 30px;
  margin: 30px 0;
  border-left: 5px solid var(--primary-700);
  box-shadow: 0 10px 20px var(--shadow);
  font-size: 1.1rem;
}

.lab-note i {
  color: var(--accent-500);
  margin-right: 10px;
  font-size: 1.5rem;
  vertical-align: middle;
}

.nursing-labs-section {
  margin-bottom: 50px;
}

.nursing-labs-section h3 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin: 50px 0 30px;
  text-align: center;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.grid-item {
  border-radius: 30px 10px 30px 10px;
  overflow: hidden;
  box-shadow: 0 15px 25px var(--shadow);
  transition: 0.3s;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  display: block;
}

.grid-item:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 30px rgba(4, 191, 191, 0.25);
}

.grid-item:hover img {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 30px 10px 30px 10px;
  box-shadow: 0 0 30px rgba(4, 191, 191, 0.3);
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 25px;
  right: 40px;
  color: var(--white);
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  background: rgba(0, 0, 0, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--primary-main);
  transform: rotate(90deg);
}

@media screen and (max-width: 992px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .lab-intro h2 {
    font-size: 2rem;
  }

  .lab-intro p {
    font-size: 1rem;
  }

  .lab-category h3 {
    font-size: 1.5rem;
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .modal-close {
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
  }
}

/* ---------- Infrastructure Page Specific Styles ---------- */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.infra-category {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 60px 20px 60px 20px;
  padding: 30px;
  box-shadow: 0 15px 30px var(--shadow);
  border: 1px solid var(--border-light);
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.infra-category:hover {
  transform: translateY(-5px);
  border-color: var(--primary-main);
}

.infra-category .card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  /* allows badge to wrap on narrow screens */
}

.infra-category .card-header i {
  font-size: 2rem;
  color: var(--accent-500);
  background: var(--primary-50);
  padding: 12px;
  border-radius: 50% 30% 50% 30%;
  flex-shrink: 0;
}

.infra-category h3 {
  font-size: 1.5rem;
  color: var(--primary-700);
  margin-bottom: 15px;
  display: inline;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.size-badge {
  font-size: 0.9rem;
  background: var(--accent-300);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 40px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.infra-category p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.computer-lab-images {
  margin-top: 40px;
  margin-bottom: 50px;
}

.computer-lab-images h4 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 25px;
  text-align: center;
}

.computer-lab-images .image-grid.three-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media screen and (max-width: 992px) {
  .infra-grid {
    gap: 20px;
  }

  .computer-lab-images .image-grid.three-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .infra-grid {
    grid-template-columns: 1fr;
  }

  .infra-category {
    padding: 20px;
  }

  .infra-category h3 {
    font-size: 1.6rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .size-badge {
    font-size: 0.9rem;
  }

  .infra-category p {
    font-size: 1rem;
  }

  .computer-lab-images .image-grid.three-images {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact Page Compact Design ---------- */
.contact-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 35px;
}

.contact-compact-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 50px 15px 50px 15px;
  padding: 28px 25px;
  box-shadow: 0 15px 25px var(--shadow);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.contact-compact-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-main);
}

.compact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  border-bottom: 2px dashed var(--primary-soft);
  padding-bottom: 8px;
}

.compact-card-header i {
  font-size: 2rem;
  color: var(--accent-500);
  background: var(--primary-50);
  padding: 12px;
  border-radius: 50% 30% 50% 30%;
}

.compact-card-header h3 {
  font-size: 1.5rem;
  color: var(--primary-700);
  margin: 0;
}

.contact-compact-card p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-left: 10px;
}

.helpline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 10px;
}

.helpline-list span {
  font-size: 1.1rem;
  color: var(--text-dark);
  background: rgba(4, 191, 191, 0.05);
  padding: 8px 15px;
  border-radius: 40px;
  border: 1px solid var(--border-light);
}

.compact-map {
  border-radius: 50px 15px 50px 15px;
  overflow: hidden;
  box-shadow: 0 20px 30px var(--shadow);
  margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
  .contact-compact-grid {
    grid-template-columns: 1fr;
  }

  .compact-card-header h3 {
    font-size: 1.3rem;
  }

  .compact-card-header i {
    font-size: 1.8rem;
    padding: 10px;
  }

  .helpline-list span {
    font-size: 1rem;
  }
}


/* ===== RESPONSIVE FIXES FOR ABOUT PAGE ===== */
@media screen and (max-width: 992px) {
  .trustees-enhanced {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on tablets */
  }
}

@media screen and (max-width: 768px) {
  .trustees-enhanced {
    grid-template-columns: 1fr;
    /* stack trustee profiles */
  }
}


@media screen and (max-width: 640px) {
  .society-compact-grid {
    grid-template-columns: 1fr;
    /* stack society cards */
  }

  .trustees-enhanced {
    grid-template-columns: 1fr;
    /* stack trustee profiles */
  }
}

/* Optional: fine-tune spacing on very small screens */
@media screen and (max-width: 480px) {
  .society-card.modern {
    flex-direction: column;
    /* stack icon and text */
    text-align: center;
    padding: 20px;
  }

  .card-icon i {
    font-size: 2.2rem;
    /* slightly smaller icon */
    padding: 12px;
  }

  .trustee-profile {
    padding: 15px 8px;
  }

  .avatar {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }
}



@media screen and (max-width: 550px) {
  .top-header-flex span:not(.top-phone) {
    display: none;
  }

  .top-header-flex {
    justify-content: center;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* Additional small tweak for footer map responsiveness */
.footer-map iframe {
  width: 100%;
  height: 150px;
  border-radius: 16px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .footer-map iframe {
    height: 180px;
  }
}




/* ===== BANNER MODAL ===== */
.banner-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9999;
}

.banner-modal.active {
    opacity: 1;
    visibility: visible;
}

.banner-modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-modal-content img {
    max-width: 90vw;   /* never exceed screen width */
    max-height: 90vh;  /* never exceed screen height */
    width: auto;
    height: auto;
    object-fit: contain; /* VERY IMPORTANT → no cropping */
    border-radius: 10px;
}

/* Close button */
.banner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #000;
    font-size: 22px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Animation */
@keyframes scaleIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}