/* 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(--secondary-color);
  margin-bottom: 4px;
}
.founder-photo p {
  font-size: 15px;
  color: var(--accent-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(--secondary-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: #0f172a;
  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(--secondary-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(--secondary-color);
}
.affiliation-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-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(--accent-color);
}
.affiliation-feature:hover {
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
/* ==================== GLOBAL STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0f172a;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --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: #ffffff;
}

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

/* ==================== TOP STRIP ==================== */
.top-strip {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 2px solid var(--secondary-color);
}

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

.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(--secondary-color);
  font-size: 16px;
}

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

.top-btn {
  background: var(--secondary-color);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  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: 7px;
}

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

.top-btn:hover {
  background: var(--accent-color);
  color: #0f172a;
  transform: translateY(-2px);
}

.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: #0f172a;
  padding: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  position: static; /* was sticky; header no longer sticks */
  border-bottom: 2px solid var(--border-color);
}

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

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

.logo {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

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

.college-info h1 br {
  display: inline;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  order: 3;
  width: 100%;
  align-items: flex-end;
  padding: 15px 0 5px 0;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-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, #1e293b 0%, #334155 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(245, 158, 11, 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: #1e293b;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  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: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: #334155;
  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(--secondary-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;
  border: 1px solid var(--border-color);
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
  border-color: var(--secondary-color);
}

.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, #1e293b 0%, #334155 100%);
  color: white;
  border-top: 2px solid var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

.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(--secondary-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(--secondary-color);
  margin-bottom: 8px;
}

.position {
  color: var(--accent-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, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.why-choose-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(245,158,11,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.why-choose-section .container {
  position: relative;
  z-index: 1;
}

.why-choose-section h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.why-choose-section h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--accent-color)
  );
  margin: 20px auto;
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  border: 1px solid rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 158, 11, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
  font-size: 60px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature-card p {
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.7;
}

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

.courses-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #004cb3;
  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(--secondary-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(--secondary-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: #0f172a;
  color: white;
  padding: 60px 0 20px;
  border-top: 3px solid var(--secondary-color);
}

.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;
}

/* Tablet and medium screens responsive */
@media (max-width: 1024px) {
  .top-strip-content {
    gap: 15px;
  }

  .top-strip-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .top-btn {
    font-size: 13px;
    padding: 5px 14px;
    white-space: nowrap;
  }

  .contact-info {
    gap: 15px;
  }

  .info-item {
    font-size: 13px;
  }

  .top-strip-address {
    font-size: 13px;
  }
}

@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 */
  .nav-close {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--secondary-color);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 18px;
  }

  /* Show close button only when navbar is active */
  .navbar.active ~ .nav-close,
  .nav-close.active {
    display: flex;
  }

  .nav-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
  }

  .nav-close:active {
    transform: scale(0.95) rotate(90deg);
  }

  .top-strip-content {
    flex-direction: column;
    gap: 15px;
  }

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

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

  /* Mobile Header Layout */
  .header-content {
    flex-direction: column;
    text-align: center;
  }

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

  .logo {
    margin: 0 auto;
  }

  .college-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .college-info h1 {
    font-size: 16px;
    text-align: center;
    width: 100%;
    line-height: 1.4;
  }

  .college-info h1 br {
    display: block;
    content: "";
    margin-top: 5px;
  }

  .affiliation {
    font-size: 18px;
    text-align: center;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 998;
  }

  .navbar.active {
    max-height: 100vh;
    overflow-y: auto;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 70px 0 30px 0;
    height: 100%;
  }

  .nav-link {
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: rgba(51, 65, 85, 0.95);
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    min-width: auto;
    padding: 0;
  }

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

  .dropdown-item {
    padding: 12px 25px 12px 45px;
    color: #ffffff;
    border-left: 3px solid transparent;
    font-size: 15px;
  }

  .dropdown-item:hover {
    background: rgba(245, 158, 11, 0.2);
    color: var(--secondary-color);
    padding-left: 50px;
    border-left-color: var(--secondary-color);
  }

  .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: 26px;
  }

  .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;
  }

  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: 12px;
  }

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

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

  .college-info h1 br {
    display: block;
    margin-top: 3px;
  }

  .affiliation {
    font-size: 18px;
    margin-top: 3px;
  }

  .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;
  }
}
