/* --- Base Styles & Variables --- */
:root {
  --primary-blue: #021233;
  --accent-gold: #f2a900;
  --text-dark: #333;
  --text-light: #fff;
  --bg-light: #f9f9fb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

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

a {
  text-decoration: none;
}

/* --- Top Bar --- */
.top-bar {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 8px 5%;
  font-size: 12px;
  color: #555;
  border-bottom: 1px solid #eee;
}

.top-bar-left span,
.top-bar-right span {
  margin-right: 15px;
}
.top-bar i {
  color: var(--accent-gold);
  margin-right: 5px;
}
.social-icons {
  display: inline-flex;
  gap: 10px;
}
.social-icons a {
  color: #555;
}

/* --- Navbar --- */
.navbar {
  background-color: var(--primary-blue);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo-img {
  height: 50px;
  background:#fff;
  border-radius: 50%;
}
.logo-text h1 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: -5px;
}
.logo-text p {
  font-size: 10px;
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: 0.3s;
}
.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-blue);
  border: none;
}
.btn-primary:hover {
  background-color: #d69f1a;
}
.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

/* --- Hero Section (FIXED OVERLAP) --- */
.hero {
  background:
    linear-gradient(
      to right,
      rgba(2, 18, 51, 0.9) 0%,
      rgba(2, 18, 51, 0.4) 50%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("../images/hero-bg.jpeg") center/cover no-repeat;
  /* Removed fixed 80vh, used min-height with padding to give the content breathing room */
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 5% 120px 5%; /* Generous bottom padding to prevent overlap with cards */
}

.hero-content {
  max-width: 600px;
  color: var(--text-light);
}

.hero-content .badge {
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.hero-content h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 14px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 350px;
}
.hero-buttons .btn-primary {
  padding: 15px;
}
.hero-buttons .btn-outline {
  background-color: #fff;
  color: var(--primary-blue);
  border: 1px solid #ccc;
}

/* --- Highlight Features (Overlapping) --- */
.highlight-features {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0 5%;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background-color: #fff;
  padding: 25px 15px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.feature-card i {
  font-size: 30px;
  margin-bottom: 15px;
}
.icon-blue {
  color: #4a90e2;
}
.icon-green {
  color: #50e3c2;
}
.icon-purple {
  color: #9013fe;
}
.icon-orange {
  color: #f5a623;
}
.icon-gold {
  color: var(--accent-gold);
}

.feature-card h3 {
  font-size: 16px;
  color: var(--primary-blue);
}
.feature-card p {
  font-size: 12px;
  color: #666;
}

/* --- NEW: Discover Banner --- */
.discover-banner {
  background-color: var(--primary-blue);
  margin: 50px 5%;
  border-radius: 8px;
  padding: 30px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.discover-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.discover-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.icon-stack {
  position: relative;
  color: var(--accent-gold);
  font-size: 35px;
}

.stars {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.small-star {
  font-size: 10px;
  padding-bottom: 3px;
}
.big-star {
  font-size: 14px;
}

.discover-title h3 {
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.discover-divider {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.discover-middle p {
  color: #d1d5df;
  font-size: 13px;
  line-height: 1.6;
}

.discover-right {
  flex-shrink: 0;
}

.btn-outline-gold {
  display: inline-block;
  padding: 12px 25px;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 13px;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-outline-gold:hover {
  background-color: var(--accent-gold);
  color: var(--primary-blue);
}

/* --- Mobile Bottom Nav --- */
.mobile-bottom-nav {
  display: none;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1100px) {
  .discover-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .discover-divider {
    display: none;
  }
  .discover-left {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .highlight-features {
    flex-wrap: wrap;
    margin-top: -30px;
  }
  .feature-card {
    min-width: calc(33.333% - 15px);
  }
}

/* MOBILE FIXES */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  /* Navbar Unified Single Line */
  .navbar {
    padding: 10px 5%;
  }

  .logo-container {
    gap: 8px;
  }
  .logo-img {
    height: 35px;
  } /* Scaled down logo */

  .logo-text h1 {
    font-size: 14px;
    margin-bottom: 0;
  } /* Scaled down text */
  .logo-text p {
    display: none;
  } /* Hide sub-text to save space */

  .nav-actions {
    gap: 10px;
  }

  .nav-actions .btn {
    font-size: 10px;
    padding: 8px 12px;
  }
  .nav-actions .btn .btn-text {
    display: none; /* Hides the text on mobile */
  }
  .nav-actions .btn i {
    display: inline-block !important; /* Shows the icon */
    font-size: 16px; /* Makes the icon easy to tap */
  }

  /* Hero Fixes */
  .hero {
    background:
      linear-gradient(to bottom, rgba(2, 18, 51, 0.8), rgba(2, 18, 51, 0.6)),
      url("../images/hero-bg-mob.jpeg") center/cover;
    text-align: center;
    min-height: auto;
    padding: 60px 5% 100px 5%;
  }

  .hero-content {
    margin: 0 auto;
  }
  .hero-buttons {
    margin: 0 auto;
    max-width: 100%;
  }

  .feature-card {
    min-width: calc(50% - 15px);
  }

  /* Discover Banner Mobile */
  .discover-banner {
    margin: 30px 5%;
    padding: 20px;
  }

  /* Mobile Nav Bar Styles */
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-blue);
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  }

  .mobile-bottom-nav a {
    color: #8fa0c0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    gap: 5px;
    flex: 1;
  }

  .mobile-bottom-nav a.active {
    color: var(--accent-gold);
  }
  .mobile-bottom-nav a i {
    font-size: 18px;
  }

  .call-now-btn {
    position: relative;
    top: -20px;
  }
  .call-circle {
    background-color: var(--accent-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--primary-blue);
    margin-bottom: 5px;
  }

  .call-circle i {
    color: var(--primary-blue) !important;
    font-size: 20px !important;
  }

  body {
    padding-bottom: 70px;
  }
}

/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

/* Shared Section Headings */
.section-heading {
  margin-bottom: 20px;
}
.section-heading .subtitle {
  color: var(--accent-gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.section-heading .line {
  height: 2px;
  width: 30px;
  background-color: var(--accent-gold);
  display: inline-block;
}
.section-heading h2 {
  color: var(--primary-blue);
  font-size: 36px;
  line-height: 1.2;
}

/* About Hero (Split Screen Desktop) */
.about-hero {
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  position: relative;
  min-height: 60vh;
  padding: 80px 5% 150px 5%;
  overflow: hidden;
}

.about-hero-text {
  flex: 1;
  max-width: 500px;
  z-index: 2;
}

.about-hero-text p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.about-hero-image-container {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 60%;
  z-index: 1;
}

/* Fades the left edge of the image into the background */
.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Core Values Overlapping Card */
.core-values-wrapper {
  padding: 0 5%;
  position: relative;
  z-index: 10;
  margin-top: -80px;
}

.core-values-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  padding: 30px;
  gap: 20px;
}

.value-item {
  flex: 1;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.value-icon {
  background-color: var(--bg-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-size: 22px;
}

.value-text h4 {
  color: var(--primary-blue);
  font-size: 16px;
  margin-bottom: 5px;
}

.value-text p {
  color: #666;
  font-size: 11px;
  line-height: 1.5;
}

/* Journey Section */
.journey-section {
  padding: 80px 5%;
  background-color: var(--bg-light);
}

.journey-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.journey-text-area {
  flex: 1;
  max-width: 400px;
}

.journey-text-area p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.journey-stats-area {
  flex: 2;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

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

.stat-item i {
  font-size: 30px;
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 28px;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.stat-item h5 {
  font-size: 12px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 10px;
  color: #777;
  line-height: 1.4;
}

/* =========================================
   ABOUT US - MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
  .journey-content {
    flex-direction: column;
    text-align: center;
  }
  .journey-text-area {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .section-heading .subtitle {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Stack Image on top, text below */
  .about-hero {
    flex-direction: column-reverse;
    padding: 0;
    min-height: auto;
  }

  .about-hero-image-container {
    position: relative;
    width: 100%;
    height: 250px;
  }

  .about-hero-img {
    /* Remove the gradient mask on mobile so the full image shows */
    -webkit-mask-image: none;
    mask-image: none;
  }

  .about-hero-text {
    padding: 40px 5% 80px 5%;
    max-width: 100%;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  /* Stack Core Values Vertically */
  .core-values-wrapper {
    margin-top: -50px;
  }
  .core-values-card {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  .value-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
  }
  .value-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Make stats fit tightly on one row for mobile (matching your screenshot) */
  .journey-stats-area {
    gap: 10px;
  }

  .stat-item i {
    font-size: 24px;
  }
  .stat-item h3 {
    font-size: 20px;
  }
  .stat-item h5 {
    font-size: 10px;
  }
  .stat-item p {
    display: none;
  } /* Hide the extra paragraph on mobile to save space */
}

/* =========================================
   ACADEMICS PAGE STYLES
   ========================================= */

/* Academics Hero Overrides */
.acad-hero {
  min-height: 50vh;
  padding-bottom: 80px;
  background-color: #fff;
}

.breadcrumb {
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--primary-blue);
  font-weight: 500;
}

.line-thick {
  width: 40px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 10px 0 20px 0;
}

/* Academic Approach Section */
.acad-approach-section {
  padding: 60px 5%;
  background-color: #f9f9fb;
}

.center-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.center-heading h2 {
  color: var(--primary-blue);
  font-size: 28px;
}

.heading-icon-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
}

.heading-icon-divider .line {
  height: 1px;
  width: 40px;
  background-color: #ccc;
}

.center-heading p {
  font-size: 13px;
  color: #555;
}

/* Approach Grid */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.approach-card {
  background: #fff;
  padding: 20px 15px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.card-header i {
  font-size: 24px;
  background-color: var(--bg-light);
  padding: 10px;
  border-radius: 5px;
}

.card-header h4 {
  font-size: 13px;
  color: var(--primary-blue);
  line-height: 1.3;
}

.approach-card p {
  font-size: 11px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1; /* Pushes the line to the bottom */
}

.card-line {
  height: 3px;
  width: 40px;
  border-radius: 2px;
}
.line-blue {
  background-color: #4a90e2;
}
.line-green {
  background-color: #50e3c2;
}
.line-purple {
  background-color: #9013fe;
}
.line-gold {
  background-color: var(--accent-gold);
}

/* Academic Programs Layout */
.acad-programs-section {
  padding: 60px 5%;
  background-color: #fff;
}

.programs-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.programs-text {
  flex: 1;
  max-width: 280px;
}

.programs-text h2 {
  color: var(--primary-blue);
  font-size: 24px;
  margin-bottom: 15px;
}

.programs-text p {
  font-size: 13px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-primary-dark {
  background-color: var(--primary-blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}

.programs-grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.program-card {
  background: #f9f9fb;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.program-info {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-grow: 1;
}

.program-info h4 {
  font-size: 13px;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.program-info p {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
}

.arrow-icon {
  color: var(--accent-gold);
  font-size: 20px;
  margin-left: 10px;
}

/* Empower Banner Styling (extends discover banner) */
.empower-banner {
  background-color: var(--primary-blue);
  margin: 0 5% 50px 5%;
  border-radius: 8px;
  padding: 30px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
   ACADEMICS - MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 1100px) {
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hero Section Fix */
  .acad-hero {
    flex-direction: column-reverse;
    padding: 0;
  }

  .acad-hero .about-hero-text {
    padding: 40px 5%;
  }

  /* Approach Grid - 2 Columns */
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-header {
    flex-direction: column;
    gap: 5px;
  }

  /* Programs Section Fix */
  .programs-layout {
    flex-direction: column;
  }

  .programs-text {
    max-width: 100%;
  }

  .programs-text .btn-primary-dark {
    display: none; /* Hide button on mobile based on screenshot */
  }

  .programs-grid {
    grid-template-columns: 1fr; /* Single column */
    width: 100%;
  }

  /* Horizontal Card Layout for Mobile */
  .program-card {
    flex-direction: row;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
  }

  .program-card img {
    width: 120px;
    height: 100%;
    min-height: 90px;
  }

  .program-info {
    flex: 1;
    align-items: center;
    padding: 10px 15px;
  }

  .program-info h4 {
    font-size: 14px;
  }

  /* Empower Banner Mobile */
  .empower-banner {
    margin: 0 5% 30px 5%;
    padding: 20px;
  }
}

/* =========================================
   FACILITIES PAGE STYLES
   ========================================= */

/* Hero Specifics */
.fac-hero {
  min-height: 45vh;
  padding-bottom: 60px;
}
.hero-subtitle-gold {
  color: var(--accent-gold);
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
  margin-bottom: 15px;
}

/* Main Facilities Layout */
.facilities-main-section {
  padding: 60px 5%;
  background-color: #f9f9fb;
}

.fac-mobile-heading {
  margin-bottom: 40px;
}

.facilities-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* Sidebar Styling */
.facilities-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu li {
  border-bottom: 1px solid #f0f0f0;
}
.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.sidebar-menu a i {
  font-size: 16px;
  color: #999;
  width: 20px;
  text-align: center;
}

.sidebar-menu a:hover {
  background-color: #f4f6f9;
  color: var(--primary-blue);
}

.sidebar-menu a.active {
  background-color: var(--primary-blue);
  color: var(--accent-gold);
}
.sidebar-menu a.active i {
  color: var(--accent-gold);
}

/* Grid & Cards Desktop (Horizontal layout) */
.facilities-content {
  flex: 1;
}

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

.fac-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  height: 140px;
  transition: transform 0.3s;
}

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

.fac-img-wrapper {
  width: 40%;
  flex-shrink: 0;
}

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

.fac-info {
  width: 60%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Small circle icon for desktop inside the info area */
.fac-icon-circle {
  display: none; /* Hidden on desktop horizontal layout, shown on mobile */
}

.fac-info h4 {
  font-size: 12px;
  color: var(--primary-blue);
  margin-bottom: 5px;
  font-weight: 600;
}

.fac-info p {
  font-size: 10px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.learn-more {
  font-size: 10px;
  color: var(--primary-blue);
  font-weight: 600;
}

/* Visit Campus Banner */
.visit-campus-banner {
  background-color: var(--primary-blue);
  margin: 0 5% 60px 5%;
  border-radius: 10px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.visit-img-area {
  width: 250px;
  flex-shrink: 0;
}

.visit-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-content-area {
  padding: 30px 40px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.visit-text h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.visit-text p {
  color: #d1d5df;
  font-size: 12px;
  line-height: 1.6;
  max-width: 300px;
}

.visit-features-desktop {
  display: flex;
  gap: 20px;
}

.visit-feat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.visit-feat i {
  font-size: 24px;
  margin-top: 5px;
}
.visit-feat h5 {
  color: #fff;
  font-size: 12px;
  margin-bottom: 3px;
}
.visit-feat p {
  color: #8fa0c0;
  font-size: 10px;
  max-width: 120px;
  line-height: 1.4;
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.site-footer {
  background-color: var(--primary-blue);
  color: #fff;
  padding: 60px 5% 20px 5%;
  border-top: 5px solid var(--accent-gold);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 45px;
}
.footer-logo h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
.footer-logo p {
  font-size: 10px;
  color: var(--accent-gold);
  margin-top: 5px;
}

.footer-contact {
  list-style: none;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #d1d5df;
  margin-bottom: 15px;
  line-height: 1.5;
}
.footer-contact i {
  color: var(--accent-gold);
  margin-top: 3px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col h4 i {
  color: var(--accent-gold);
}

.links-col ul {
  list-style: none;
}
.links-col ul li {
  margin-bottom: 12px;
}
.links-col ul li a {
  color: #d1d5df;
  font-size: 13px;
  transition: 0.3s;
}
.links-col ul li a:hover,
.links-col ul li a.active-link {
  color: var(--accent-gold);
}

.timing-box {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 5px;
  border-left: 3px solid var(--accent-gold);
  margin-bottom: 25px;
}
.timing-box p {
  font-size: 13px;
  color: #d1d5df;
}

.follow-us-heading {
  margin-bottom: 15px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: 0.3s;
}
.footer-socials a:hover {
  background-color: var(--accent-gold);
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8fa0c0;
}

/* =========================================
   FACILITIES - MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 1200px) {
  .fac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visit-content-area {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hide Sidebar */
  .facilities-sidebar {
    display: none;
  }

  .fac-mobile-heading {
    margin-bottom: 20px;
  }

  /* Transform Cards to Vertical Stacked Layout (per mobile screenshot) */
  .fac-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }

  .fac-card {
    flex-direction: column;
    height: auto;
    border-radius: 12px;
    text-align: center;
    padding-bottom: 20px;
  }

  .fac-img-wrapper {
    width: 100%;
    height: 180px;
  }

  .fac-info {
    width: 100%;
    padding: 0 20px;
    align-items: center;
  }

  /* Show overlapping circle icon */
  .fac-icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    margin-top: -25px; /* Overlaps the image */
    margin-bottom: 15px;
    z-index: 2;
  }

  .fac-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .fac-info p {
    font-size: 13px;
    -webkit-line-clamp: unset; /* Show full text */
  }
  .learn-more {
    display: none;
  } /* Hidden on mobile to match screenshot */

  /* Campus Banner Mobile */
  .visit-campus-banner {
    flex-direction: column;
    margin: 40px 5% 30px 5%;
  }

  .visit-img-area {
    width: 100%;
    height: 200px;
  }
  .visit-features-desktop {
    display: none;
  } /* Hide complex features on mobile */
  .visit-content-area {
    padding: 30px 20px;
    text-align: center;
    align-items: center;
  }

  /* Footer Mobile */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* =========================================
   GALLERY PAGE STYLES
   ========================================= */

/* Hero Overrides */
.gallery-hero {
  min-height: 40vh;
  padding-bottom: 50px;
  background-color: #fff;
}

.gallery-hero .section-heading h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

/* Gallery Section */
.gallery-section {
  padding: 20px 5% 60px 5%;
  background-color: #fff;
}

/* Filter Bar */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: transparent;
  color: var(--primary-blue);
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--accent-gold);
}

.filter-btn.active {
  background-color: var(--primary-blue);
  color: #fff;
  border-radius: 8px; /* Slightly more rounded active state */
}

/* Image Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background-color: #f9f9fb;
  aspect-ratio: 3 / 2; /* Forces a consistent shape for all images */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the box without distorting */
  display: block;
  transition: transform 0.4s ease;
}

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

/* Memories Banner Overrides */
.memories-banner {
  margin-top: 0;
}

.memories-banner .icon-stack {
  font-size: 40px;
}

/* =========================================
   GALLERY - MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* Stack Image on top, text below for Hero */
  .gallery-hero {
    flex-direction: column-reverse;
    padding: 0;
    min-height: auto;
  }

  .gallery-hero .about-hero-text {
    padding: 40px 5% 40px 5%;
  }

  /* Filters wrap for mobile */
  .gallery-filters {
    gap: 10px;
    margin-bottom: 30px;
  }

  .filter-btn {
    font-size: 12px;
    padding: 6px 15px;
  }

  /* 2 Column Grid for mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item {
    border-radius: 6px;
  }
}

/* =========================================
   ACHIEVEMENTS PAGE STYLES
   ========================================= */

/* Hero Adjustments */
.achv-hero {
  min-height: 40vh;
  padding-bottom: 80px; /* Leave space for overlapping stats */
  background-color: #fff;
}

.achv-hero .section-heading h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

/* Stats Wrapper (Overlapping) */
.stats-wrapper {
  padding: 0 5%;
  position: relative;
  z-index: 10;
  margin-top: -50px;
}

.stats-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  padding: 25px 30px;
  gap: 15px;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
  border-right: 1px solid #eee;
}

.stat-box:last-child {
  border-right: none;
}

.stat-box i {
  font-size: 24px;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Outline Icon colors */
.icon-gold-outline {
  color: var(--accent-gold);
  border: 1.5px solid var(--accent-gold);
}
.icon-blue-outline {
  color: #4a90e2;
  border: 1.5px solid #4a90e2;
}
.icon-orange-outline {
  color: #f5a623;
  border: 1.5px solid #f5a623;
}

.stat-box h3 {
  font-size: 20px;
  color: var(--primary-blue);
  line-height: 1.2;
}

.stat-box p {
  font-size: 11px;
  color: #666;
}

/* Main Achievements Section */
.achievements-section {
  padding: 60px 5%;
  background-color: #f9f9fb;
}

.achievements-section .center-heading {
  margin-bottom: 40px;
}

.achv-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.achv-card {
  background: #fff;
  padding: 30px 15px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.achv-icon {
  font-size: 22px;
  width: 50px;
  height: 50px;
  display: grid; /* Grid is more robust for icons than flex */
  place-items: center; /* Dead-center horizontal and vertical alignment */
  border-radius: 50%;
  margin-bottom: 15px;
  border: 1.5px solid;
}

/* Solid/Outline Icon Colors for Cards */
.achv-icon.icon-gold {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}
.achv-icon.icon-blue {
  color: #4a90e2;
  border-color: #4a90e2;
}
.achv-icon.icon-green {
  color: #50e3c2;
  border-color: #50e3c2;
}
.achv-icon.icon-purple {
  color: #9013fe;
  border-color: #9013fe;
}
.achv-icon.icon-orange {
  color: #f5a623;
  border-color: #f5a623;
}
.achv-icon.icon-teal {
  color: #00b5ad;
  border-color: #00b5ad;
}

.achv-card h4 {
  font-size: 13px;
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-weight: 600;
}

.achv-card p {
  font-size: 11px;
  color: #666;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 15px;
}

.achv-year {
  font-size: 11px;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Story Banner Overrides */
.story-banner {
  margin: 0 5% 60px 5%;
}

.story-banner .icon-stack {
  font-size: 35px;
}

/* =========================================
   ACHIEVEMENTS - MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 1200px) {
  .achv-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .stats-card {
    flex-wrap: wrap;
  }
  .stat-box {
    min-width: 30%;
    border-right: none;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  /* Hero Fixes */
  .achv-hero {
    flex-direction: column-reverse;
    padding: 0;
    min-height: auto;
  }

  .achv-hero .about-hero-text {
    padding: 40px 5% 60px 5%; /* extra padding bottom for overlap */
  }

  /* Stats Grid */
  .stats-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
  }

  .stat-box {
    flex-direction: column;
    text-align: center;
    margin-bottom: 0;
  }

  .stat-box h3 {
    font-size: 22px;
    margin-top: 5px;
  }

  /* Achievements Grid - 2 columns */
  .achv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .achv-card {
    padding: 20px 10px;
  }

  .achv-card h4 {
    font-size: 12px;
  }

  /* Story Banner Mobile Tweaks */
  .story-banner {
    margin: 30px 5%;
  }
}

/* =========================================
   CONTACT US PAGE STYLES
   ========================================= */

/* Hero Adjustments */
.contact-hero {
  min-height: 40vh;
  padding-bottom: 50px;
  background-color: #fff;
}

.contact-hero .line-thick {
  margin: 15px 0;
}

/* Contact Section Layout */
.contact-section {
  padding: 20px 5% 60px 5%;
  background-color: #f9f9fb;
}

.contact-wrapper {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-right {
  flex: 1.5; /* Makes the form column slightly wider on desktop */
}

/* Reusable Card Styling */
.contact-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.card-title {
  font-size: 18px;
  color: var(--primary-blue);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

/* The small gold underline under headings */
.card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--accent-gold);
}

/* Get in Touch List */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f4f6f9;
  color: #4a90e2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.info-text h5 {
  font-size: 14px;
  color: var(--primary-blue);
  margin-bottom: 3px;
}

.info-text p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  color: var(--primary-blue);
  font-weight: 600;
}

.form-group label span {
  color: red;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 13px;
  color: #333;
  font-family: "Poppins", sans-serif;
  outline: none;
  transition: border-color 0.3s;
  background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-blue);
  background-color: #fff;
}

.btn-submit {
  background-color: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #041a4a;
}

/* Social Links */
.social-links-large {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.social-btn:hover {
  opacity: 0.8;
  transform: translateY(-3px);
}
.social-btn.fb {
  background-color: #1877f2;
}
.social-btn.ig {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
.social-btn.yt {
  background-color: #ff0000;
}
.social-btn.in {
  background-color: #0a66c2;
}

/* Map Section */
.map-card {
  padding-bottom: 20px;
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #eee; /* Placeholder bg */
}

/* Contact Banner */
.contact-banner {
  margin: 0 5% 60px 5%;
}

.contact-banner .icon-stack {
  font-size: 45px;
}

.contact-banner .discover-title h3 {
  margin-bottom: 0;
}

/* =========================================
   CONTACT US - MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 992px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .contact-hero {
    flex-direction: column-reverse;
    padding: 0;
  }
  .contact-hero .about-hero-text {
    padding: 40px 5%;
  }

  /* Section Layout */
  .contact-section {
    padding-top: 30px;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  /* Map */
  .map-container {
    height: 250px;
  }

  /* Move Social Icons below Map to match mobile screenshot perfectly */
  .contact-left {
    display: contents;
  } /* Break flex layout so items flow naturally */

  .contact-card:nth-child(1) {
    order: 1;
  } /* Get in Touch */
  .form-card {
    order: 2;
    margin-bottom: 30px;
  } /* Form */
  .map-card {
    order: 3;
    margin-bottom: 30px;
  } /* Map */
  .social-card {
    order: 4;
  } /* Connect with Us last */

  /* Banner */
  .contact-banner {
    flex-direction: column;
    text-align: center;
    margin: 30px 5%;
    padding: 25px 20px;
  }

  .contact-banner .discover-left {
    flex-direction: column;
    gap: 15px;
    justify-content: center;
  }
  .contact-banner .btn-outline-gold {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
  }
}

/* =========================================
   THANK YOU PAGE STYLES
   ========================================= */

.thank-you-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 5%;
    background-color: var(--bg-light);
}

.success-icon {
    font-size: 80px;
    color: #50e3c2; /* A nice bright green */
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out forwards;
}

.thank-you-section h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.thank-you-section p {
    font-size: 15px;
    color: #555;
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.thank-you-section .btn {
    padding: 12px 30px;
    font-size: 14px;
}

/* Simple animation for the checkmark */
@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .thank-you-section h2 { font-size: 28px; }
    .thank-you-section p { font-size: 13px; }
    .success-icon { font-size: 60px; }
}