/* Founder section styles for founder.php */
.founder-section {
  margin: 40px 0;
}
.founder-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f9fafb 0%, #e0e7ff 100%);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30, 58, 138, 0.07);
  padding: 32px 24px;
}
.founder-photo {
  flex: 0 0 260px;
  text-align: center;
}
.founder-photo img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
  margin-bottom: 16px;
}
.founder-photo h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}
.founder-photo p {
  font-size: 15px;
  color: var(--secondary-color);
  margin-bottom: 0;
}
.founder-message {
  flex: 1 1 320px;
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.7;
}
.founder-message h2 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 18px;
}
.founder-message p {
  margin-bottom: 16px;
}
.ar-btn {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.ar-btn:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
}
/* Annual Reports Table Styles for ar.php */
.ar-table-wrapper {
  margin: 32px 0;
  overflow-x: auto;
}
.ar-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30, 58, 138, 0.07);
  font-size: 16px;
}
.ar-table th,
.ar-table td {
  padding: 14px 18px;
  text-align: left;
}
.ar-table th {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
}
.ar-table tr:nth-child(even) {
  background: #f3f4f6;
}
.ar-table tr:hover {
  background: #e0e7ff;
}
.ar-table a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
.ar-table a:hover {
  color: var(--accent-color);
}
/* IDP goals vertical list for idp.php */
.idp-goals-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
}
/* IDP section styles for idp.php */
.idp-section {
  background: linear-gradient(135deg, #f9fafb 0%, #e0f7fa 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.07);
  padding: 32px 24px;
  margin: 32px 0;
}
.idp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.idp-header i {
  font-size: 28px;
  color: var(--accent-color);
}
.idp-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}
.idp-goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.idp-goal {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(6, 182, 212, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  font-size: 16px;
  color: var(--text-dark);
  transition: box-shadow 0.2s;
}
.idp-goal i {
  font-size: 22px;
  color: var(--accent-color);
  margin-top: 2px;
}
.idp-goal:hover {
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.13);
}
/* Affiliation section styles for univ.php */
.affiliation-section {
  background: linear-gradient(135deg, #f9fafb 0%, #e0e7ff 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30, 58, 138, 0.07);
  padding: 32px 24px;
  margin: 32px 0;
}
.affiliation-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.affiliation-header i {
  font-size: 28px;
  color: var(--primary-color);
}
.affiliation-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}
.affiliation-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.affiliation-feature {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(30, 58, 138, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-size: 16px;
  color: var(--text-dark);
  transition: box-shadow 0.2s;
}
.affiliation-feature i {
  font-size: 22px;
  color: var(--secondary-color);
}
.affiliation-feature:hover {
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.13);
}
/* ==================== GLOBAL STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e3a8a;
  --secondary-color: #f97316;
  --accent-color: #06b6d4;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== TOP STRIP ==================== */
.top-strip {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: white;
  padding: 12px 0;
  font-size: 14px;
}

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

.top-strip-address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.top-strip-address i {
  color: var(--accent-color);
  font-size: 16px;
}

.top-strip-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.top-btn {
  background: var(--secondary-color);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: none;
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-btn i {
  font-size: 12px;
  color: var(--bg-white);
  vertical-align: middle;
}

.top-btn:hover {
  background: var(--accent-color);
  color: #fff;
}

.contact-info {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.info-item a {
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.info-item a:hover {
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* ==================== HEADER ==================== */
.header {
  background: var(--bg-white);
  padding: 20px 0;
  box-shadow: var(--shadow);
  position: static; /* was sticky; header no longer sticks */
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: var(--shadow);
}

.college-info h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
  margin-bottom: 5px;
}

.college-info h1 {
  font-family: "Playfair Display", serif;
}

.affiliation {
  font-size: 18px;
  color: var(--secondary-color);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== NAVBAR ==================== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  border-bottom: 3px solid var(--secondary-color);
  position: relative;
  z-index: 99;
}

/* Make navbar container wider on desktop to accommodate all menu items in one line */
.navbar .container {
  max-width: 1400px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  justify-content: center;
  /* prevent wrapping to next line on large screens */
  flex-wrap: nowrap;
}

.nav-menu li {
  position: relative;
}

.nav-item.dropdown {
  position: relative;
}

.nav-link {
  /* keep text/icons on one line and vertically centered */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 18px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-size: 15px;
  white-space: nowrap;
  outline: none;
  box-shadow: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Remove underline for active link */
.nav-link.active::after {
  width: 0;
}

.nav-link:hover {
  color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.1);
}

/* Place dropdown caret on the right side without affecting underline pseudo-element */
.dropdown-toggle {
  padding-right: 28px; /* space for caret */
}

/* Use ::before for caret so ::after can remain the underline */
.dropdown-toggle::before {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.nav-item.dropdown:hover .dropdown-toggle::before {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  z-index: 1000;
  border-top: 3px solid var(--secondary-color);
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  animation: slideDown 0.3s ease-out;
}

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

.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--secondary-color);
  border-left-color: var(--secondary-color);
  padding-left: 25px;
}

.dropdown-menu li:first-child .dropdown-item {
  border-radius: 8px 8px 0 0;
}

.dropdown-menu li:last-child .dropdown-item {
  border-radius: 0 0 8px 8px;
}

/* ==================== SLIDER SECTION ==================== */
.slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* margin-top: 20px; */
}

.slider {
  position: relative;
  width: 100%;
  background: var(--bg-light);
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}

.slide.fade {
  animation: fade 1s ease-in-out;
}

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

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 60px 40px 40px;
  text-align: center;
}

.slide-caption h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.slide-caption p {
  font-size: 18px;
  opacity: 0.9;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  user-select: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.prev:hover,
.next:hover {
  background: var(--secondary-color);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.dots {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--secondary-color);
  width: 30px;
  border-radius: 6px;
}

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

/* ==================== ABOUT SECTION ==================== */
.about-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.highlight-item {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.highlight-item i {
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.highlight-item h4 {
  color: var(--primary-color);
  font-size: 14px;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

/* ==================== NEWS SECTION ==================== */
.news-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: white;
}

.news-section h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.marquee-container {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.marquee {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

@keyframes scroll-left {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

/* ==================== TEAM SECTION ==================== */
.team-section {
  padding: 40px 0;
  background: var(--bg-white);
}

.team-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.team-member {
  background: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.member-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--border-color);
}

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

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 30px 20px;
}

.member-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.position {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.bio {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.why-choose-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 60px;
}

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

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.feature-card:hover {
  border-top-color: var(--secondary-color);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* ==================== COURSES SECTION ==================== */
.courses-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.courses-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 60px;
}

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

.course-card {
  background: var(--bg-light);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 5px solid var(--secondary-color);
}

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

.course-icon {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.course-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.course-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 15px;
}

.course-highlights {
  list-style: none;
  text-align: left;
}

.course-highlights li {
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 14px;
  padding-left: 25px;
  position: relative;
}

.course-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.gallery-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 60px;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 250px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay p {
  color: white;
  font-size: 18px;
  font-weight: 600;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
/* Hide close button by default (desktop) */
.nav-close {
  display: none;
}

@media (max-width: 768px) {
  .top-strip-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  .top-strip-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
    gap: 8px;
  }
  .top-strip-address {
    justify-content: center;
    width: 100%;
    text-align: center;
    flex-wrap: wrap;
  }
  .top-strip-buttons {
    justify-content: center;
    width: 100%;
  }
  /* Position context for the close button */
  .navbar .container {
    position: relative;
  }

  /* Mobile navbar close button (visible only in this breakpoint) */
  .nav-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
  }
  .top-strip-content {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info {
    justify-content: center;
    gap: 15px;
  }

  .social-icons {
    justify-content: center;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-section {
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    width: 80px;
    height: 80px;
    font-size: 28px;
    order: -1;
  }

  .college-info {
    text-align: center;
  }

  .college-info h1 {
    font-size: 16px;
  }

  .navbar {
    position: fixed;
    top: 0; /* header no longer sticky, menu should start at very top */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 98;
  }

  .navbar.active {
    max-height: 1000px;
    overflow-y: auto;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    min-width: auto;
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 10px 40px;
    color: rgba(255, 255, 255, 0.9);
    border-left: none;
  }

  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    padding-left: 40px;
  }

  .slide-caption h2 {
    font-size: 24px;
  }

  .slide-caption p {
    font-size: 14px;
  }

  .slide {
    height: 300px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    height: 200px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .college-info h1 {
    font-size: 22px;
  }

  .logo {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  .prev,
  .next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }

  section {
    /* padding: 50px 0 !important; */
    padding-bottom: 50px !important;
  }

  section h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .top-strip {
    padding: 10px 0;
    font-size: 12px;
  }

  .info-item {
    gap: 5px;
  }

  .social-icons {
    gap: 10px;
  }

  .social-link {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .header-content {
    padding: 15px 0;
  }

  .logo-section {
    gap: 15px;
  }

  .logo {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .college-info h1 {
    font-size: 22px;
  }

  .affiliation {
    font-size: 15px;
  }

  .slide {
    height: 200px;
  }

  .slide-caption {
    padding: 30px 20px 20px;
  }

  .slide-caption h2 {
    font-size: 18px;
  }

  .slide-caption p {
    font-size: 12px;
  }

  .prev,
  .next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .prev {
    left: 5px;
  }

  .next {
    right: 5px;
  }

  .dots {
    padding: 15px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
  }

  .dot.active {
    width: 25px;
  }

  .about-section h2,
  .team-section h2,
  .why-choose-section h2,
  .courses-section h2,
  .gallery-section h2 {
    font-size: 24px;
    margin-bottom: 40px;
  }

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

  .gallery-item {
    height: 180px;
  }

  .feature-card {
    padding: 25px 20px;
  }

  .feature-icon {
    font-size: 36px;
  }

  .course-card {
    padding: 25px 20px;
  }

  .course-icon {
    font-size: 36px;
  }

  .team-member {
    margin: 0;
  }

  .member-image {
    height: 200px;
  }

  .member-info {
    padding: 20px 15px;
  }

  .member-info h3 {
    font-size: 18px;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 13px;
  }
}
