:root {
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --secondary: #10B981;
  --dark: #0F172A;
  --light: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-300: #CBD5E1;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --white: #FFFFFF;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background-color: var(--light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* Header & Nav */
.header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 #E2E8F0, 0 4px 12px rgba(0,0,0,0.06);
  padding: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 64px;
  width: auto;
  display: block;
}

.logo-divider {
  width: 1.5px;
  height: 40px;
  background: #CBD5E1;
  margin: 0 1.1rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-dept {
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.logo-dept-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.logo:hover .logo-dept-name {
  color: var(--primary);
  transition: color 0.2s;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  height: 100%;
  align-items: stretch;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.1rem;
  color: #374151;
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li.active > a {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropbtn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 220px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  z-index: 1000;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border: 1px solid var(--gray-200);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li a {
  color: var(--gray-600) !important;
  padding: 0.75rem 1.25rem !important;
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

.dropdown-content li a:hover {
  background-color: var(--gray-50);
  color: var(--primary) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  position: relative;
  background: url('../images/banner1.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 10rem 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  animation: fadeUp 1s ease-out 0.2s both;
}

/* Ticker */
.ticker-wrap {
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 52px;
}

.ticker-label {
  background-color: var(--dark);
  color: var(--white);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  z-index: 2;
}

.ticker {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
  gap: 3rem;
}

.ticker-content span {
  font-size: 0.9rem;
}

.ticker-date {
  font-weight: 700;
  color: var(--secondary);
  margin-right: 0.5rem;
}

/* Section Common */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

/* Accent underline for section titles */
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin: 0.6rem auto 2rem;
  border-radius: 2px;
}

/* Left-aligned variant (used in About) */
.section-title.left {
  text-align: left;
}
.section-title.left::after {
  margin-left: 0;
}

.section-subtitle {
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-image {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* Vision & Mission + Recent Updates Two-Column Layout */
.vm-updates-section {
  background-color: var(--white);
}

.vm-updates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.vm-updates-col {
  display: flex;
  flex-direction: column;
}

.vm-col-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.vm-col-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.vm-col-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Inside a column, remove auto-centering and flex-expand */
.vm-updates-col .vm-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: none;
  margin: 0;
}

.ru-ticker-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  height: 550px; /* matches default VM column height; JS syncs exact height */
  transition: height 0.4s ease;
}

/* Elegant top and bottom gradient fades */
.ru-ticker-container::before,
.ru-ticker-container::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 32px;
  z-index: 3;
  pointer-events: none;
}

.ru-ticker-container::before {
  top: 0;
  background: linear-gradient(180deg, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
}

.ru-ticker-container::after {
  bottom: 0;
  background: linear-gradient(0deg, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
}

.ru-ticker-track {
  display: flex;
  flex-direction: column;
  animation: ru-ticker-scroll 24s linear infinite;
  will-change: transform;
}

.ru-ticker-container:hover .ru-ticker-track,
.ru-ticker-container:focus .ru-ticker-track,
.ru-ticker-container:focus-within .ru-ticker-track {
  animation-play-state: paused;
}

@keyframes ru-ticker-scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Update list */
.ru-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ru-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 0.5rem 1.15rem 0;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s ease;
  border-radius: 0.5rem;
}

.ru-item:last-child {
  border-bottom: none;
}

.ru-item:hover {
  background: #f8fafc;
  padding-left: 0.5rem;
}

/* Mini calendar icon */
.ru-cal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  min-width: 50px;
  overflow: hidden;
  flex-shrink: 0;
}

.ru-cal-month {
  background: var(--primary);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
  padding: 3px 0;
  line-height: 1;
}

.ru-cal-day {
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 900;
  padding: 4px 4px 3px;
  line-height: 1;
  text-align: center;
  font-family: var(--font-heading);
  white-space: nowrap;
}

/* Update body */
.ru-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ru-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.ru-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.07);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

/* Old standalone vm-container/vm-grid (keep for max-width centering when used outside column) */
.vm-container,
.vm-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 960px;
  margin: 0 auto;
}

.vm-card {
  background: var(--white);
  padding: 2.25rem 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vm-card:hover {
  border-color: #CBD5E1;
  border-left-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.vm-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.vm-card:hover .vm-icon-box {
  transform: translateY(-2px) scale(1.05);
  box-shadow: none;
}

.vm-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.vm-header .vm-title {
  margin-bottom: 0;
}

.vm-card h3,
.vm-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.vm-vision-text,
.vm-card > p {
  color: var(--gray-600);
  line-height: 1.85;
  font-size: 1.05rem;
  margin: 0;
}

.vm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.vm-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
  font-size: 0.975rem;
  line-height: 1.75;
}

.vm-list li:first-child {
  padding-top: 0;
}

.vm-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.vm-badge,
.vm-list li strong {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  background: rgba(79, 70, 229, 0.07);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 0.375rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-top: 0.15rem;
}

.vm-text {
  flex: 1;
  color: var(--gray-600);
  line-height: 1.75;
}

/* Expandable Mission */
.vm-mission-list-wrapper {
  position: relative;
  max-height: 140px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.vm-mission-list-wrapper.expanded {
  max-height: 600px;
}

.vm-mission-list-wrapper:not(.expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none;
}

.vm-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.01em;
}

.vm-expand-btn:hover {
  background: rgba(37, 99, 235, 0.12);
}

.vm-expand-btn .vm-expand-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.7rem;
}

.vm-expand-btn.expanded .vm-expand-arrow {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .vm-container,
  .vm-grid {
    gap: 1.25rem;
  }

  .vm-card {
    padding: 1.5rem 1.25rem;
  }

  .vm-header {
    gap: 0.85rem;
    margin-bottom: 1rem;
  }

  .vm-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .vm-icon {
    width: 30px;
    height: 30px;
  }

  .vm-card h3,
  .vm-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .vm-vision-text,
  .vm-card > p {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .vm-list li {
    gap: 0.85rem;
    padding: 0.95rem 0;
    font-size: 0.92rem;
  }
}

/* Leadership Profile */
.leadership {
  background: #F8FAFC;
}

.profile-card {
  display: flex;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.profile-img-wrap {
  flex: 0 0 44%;
  position: relative;
  background: #f8fafc;
  overflow: hidden;
}

.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.profile-info {
  flex: 1;
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-badge {
  display: inline-block;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 0.25rem 0.9rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

/* Footer */
.footer {
  background-color: #0B1120;
  color: #94A3B8;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-heading {
  color: #F1F5F9;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #64748B;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #E2E8F0;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #475569;
}

/* Outcomes Section */
.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.outcomes-image img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.acc-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.acc-item[open] {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(255, 255, 255, 0.08);
}
.acc-header {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acc-header::-webkit-details-marker {
  display: none;
}
.acc-header::after {
  content: '+';
  font-size: 1.5rem;
  color: #60a5fa;
}
.acc-item[open] .acc-header::after {
  content: '-';
}
.acc-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--gray-300);
  font-size: 0.95rem;
}
.check-list {
  list-style: none;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #60a5fa;
  font-weight: bold;
}

/* Courses Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

.course-card {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #334155;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #0284c7;
}

.course-header {
  background: #ffffff;
  color: #0f172a;
  padding: 1.1rem 1.25rem;
  text-align: center;
  border-bottom: 3px solid var(--primary, #0284c7);
}

.course-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
  letter-spacing: 0.3px;
}

.course-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
  min-height: 4.2rem;
  display: flex;
  align-items: center;
}

.course-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}

/* Expandable details inside course card */
.course-expand-details {
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease;
}

.course-expand-details[open] {
  background: rgba(255, 255, 255, 0.07);
  border-color: #38bdf8;
}

.course-expand-summary {
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
  list-style: none;
  transition: color 0.2s ease;
}

.course-expand-summary::-webkit-details-marker {
  display: none;
}

.course-expand-summary:hover {
  color: #38bdf8;
}

.course-expand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.course-expand-details[open] .course-expand-icon {
  transform: rotate(45deg);
  background: #38bdf8;
  color: #0f172a;
}

.course-expand-content {
  padding: 1rem 0.9rem 0.85rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-meta {
  margin-bottom: 1rem;
}

.course-meta:last-child {
  margin-bottom: 0;
}

.course-more-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.course-more-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #38bdf8;
  color: #38bdf8;
}

.course-more-btn:hover .course-expand-icon {
  background: #38bdf8;
  color: #0f172a;
}

.meta-label {
  display: block;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-list li {
  position: relative;
  padding-left: 1.1rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.meta-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #38bdf8;
  font-weight: bold;
}

/* Activities Section */
.activities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.activity-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.act-item {
  background: #f8fafc; /* light gray/white background */
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.act-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #1e293b;
  font-size: 1.05rem;
}

.act-header::-webkit-details-marker {
  display: none;
}

.act-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 0.5rem;
  margin-right: 1.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.act-icon-text::before {
  content: "+";
  font-size: 1.5rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1;
}

.act-item[open] .act-icon-text::before {
  content: "-";
}

.act-body {
  padding: 1.25rem;
  color: var(--gray-600);
  background: #f8fafc;
}

/* ── Stakeholder Reports Collapsible Year Accordions ── */
.stakeholder-reports-container {
  padding-top: 0.25rem;
}

.stakeholder-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.stakeholder-year-item {
  background: #ffffff;
  border-radius: 0.65rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.2s ease;
}

.stakeholder-year-item[open] {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.stakeholder-year-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background: #ffffff;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #0f172a;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}

.stakeholder-year-summary::-webkit-details-marker {
  display: none;
}

.stakeholder-year-summary:hover {
  background: #f1f5f9;
}

.stakeholder-year-item[open] .stakeholder-year-summary {
  background: #0f172a;
  color: #ffffff;
}

.stakeholder-year-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stakeholder-year-icon {
  font-size: 1.1rem;
}

.stakeholder-year-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0;
  color: inherit;
}

.stakeholder-year-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.stakeholder-year-summary:hover .stakeholder-year-toggle {
  background: var(--primary, #0284c7);
  color: #ffffff;
}

.stakeholder-year-item[open] .stakeholder-year-toggle {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.stakeholder-year-content {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 0.25rem 0.75rem;
}

.stakeholder-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stakeholder-link-item {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  transition: background 0.15s ease;
}

.stakeholder-link-item:last-child {
  border-bottom: none;
}

.stakeholder-link-item:hover {
  background: #f8fafc;
}

.stakeholder-link-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.stakeholder-link-name::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary, #0284c7);
  flex-shrink: 0;
}

/* Document full-row clickable link (Magazine & Newsletter) */
.doc-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none !important;
  color: #334155;
  transition: all 0.2s ease;
  background: #ffffff;
}

.doc-link-item:last-child {
  border-bottom: none;
}

.doc-link-item:hover {
  background: #f0f7ff;
  color: var(--primary, #0284c7) !important;
  padding-left: 1.35rem;
}

.doc-link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.doc-link-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.doc-link-item:hover .doc-link-icon {
  background: var(--primary, #0284c7);
  color: #ffffff;
  transform: scale(1.05);
}

.doc-link-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: inherit;
}

.doc-link-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.doc-link-item:hover .doc-link-right {
  color: var(--primary, #0284c7);
  transform: translateX(3px);
}

.pdf-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background-color: #ef4444;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
  flex-shrink: 0;
}

.pdf-link-btn:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
  color: #ffffff !important;
  text-decoration: none;
}

.pdf-link-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.status-pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  background-color: #f1f5f9;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 0.375rem;
  border: 1px dashed #cbd5e1;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .act-body {
    padding: 0.75rem 0.85rem 1.25rem 0.85rem;
  }
}

@media (max-width: 768px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {

  /* ── Header ── */
  .header {
    padding: 0;
  }

  .nav-container {
    /* Keep logo + hamburger on ONE row, nav drops below */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 0.75rem 0;
    gap: 0;
  }

  .logo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .logo img {
    height: 48px;
  }

  .logo-dept-name {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-dept {
    font-size: 0.68rem;
  }

  .logo-divider {
    margin: 0 0.65rem;
    height: 32px;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #F1F5F9;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    color: var(--dark);
    margin-left: 0.5rem;
  }

  /* Nav dropdown — full width below the header row */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    order: 3; /* goes after logo + toggle */
    border-top: 1px solid #E2E8F0;
    background: var(--white);
    height: auto;
    margin: 0;
    padding: 0.25rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links > li > a {
    height: auto;
    padding: 0.8rem 1.25rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
  }

  .nav-links > li > a:hover {
    border-bottom: none;
    border-left-color: var(--primary);
    background: #F8FAFC;
    color: var(--primary);
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    background: #F8FAFC;
    padding-left: 1.5rem;
    border-radius: 0;
  }

  /* ── Hero ── */
  .hero {
    padding: 5rem 0;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* ── Ticker ── */
  .ticker-label {
    font-size: 0.7rem;
    padding: 0 0.75rem;
  }

  /* ── Content Grids ── */
  .about-grid,
  .outcomes-grid,
  .activities-grid,
  .courses-grid,
  .vm-updates-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ru-ticker-container {
    height: 380px;
    min-height: 380px;
    flex: none;
  }

  .profile-card {
    flex-direction: column;
  }

  .profile-img-wrap {
    min-height: 260px;
    flex: none;
    width: 100%;
  }

  /* ── Section spacing ── */
  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}



.cal-icon {
  display: inline-flex;
  flex-direction: column;
  background: #f8fafc;
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15), inset 0 -2px 0 rgba(0,0,0,0.05);
  margin-right: 10px;
  margin-top: 2px;
  width: 40px;
  height: 39px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.1);
  overflow: hidden;
}
.cal-icon::before, .cal-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 3px;
  height: 6px;
  background: #1E293B;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(255,255,255,0.4), inset 0 1px 1px rgba(0,0,0,0.5);
  z-index: 5;
}
.cal-icon::before {
  left: 8px;
}
.cal-icon::after {
  right: 8px;
}
.cal-month {
  background: #E11D48;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  height: 16px;
  line-height: 18px; /* Slightly adjusted to vertically center text */
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #BE123C;
}
.cal-day {
  color: #0F172A;
  font-size: 14px;
  font-weight: 900;
  height: 21px; /* 39 - 16 - 2(borders) = 21 */
  line-height: 22px;
  width: 100%;
  text-align: center;
}

/* HOD Name */
.hod-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

/* Page banner (Faculty, Placements) */
.section.hero {
  padding: 3rem 0;
}

/* Page header breadcrumb style */
.page-header {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
  text-align: center;
}
.page-header h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0;
}

/* Outcomes section heading override (dark bg) */
#academics .section-title, #activities .section-title {
  color: #fff;
}
#academics .section-title::after, #activities .section-title::after {
  background: var(--secondary);
}

/* Custom scrollbar for PO list */
.po-scroll-list {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}

.po-scroll-list::-webkit-scrollbar {
  width: 4px;
}

.po-scroll-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.po-scroll-list::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.4);
  border-radius: 4px;
  transition: background 0.2s;
}

.po-scroll-list::-webkit-scrollbar-thumb:hover {
  background: rgba(96, 165, 250, 0.75);
}

/* ============================================================
   Notable Alumni Section
   ============================================================ */

.alumni-section {
  background: linear-gradient(160deg, #f0f4ff 0%, #f8fafc 50%, #eef2fb 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative background blobs */
.alumni-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.alumni-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16,185,129,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Intro paragraph */
.alumni-intro {
  text-align: center;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* ── Scrolling track ── */
.alumni-scroll-outer {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0 2rem;
  /* Edge-fade masks */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.alumni-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: alumni-scroll 32s linear infinite;
}

/* Pause on hover over any card */
.alumni-scroll-outer:hover .alumni-track {
  animation-play-state: paused;
}

@keyframes alumni-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Card — fixed width for consistent marquee sizing */
.alumni-card {
  background: var(--white);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.07), 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
  position: relative;
  cursor: default;
  flex: 0 0 260px;
  width: 260px;
}

.alumni-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.14), 0 6px 16px rgba(0,0,0,0.08);
}

/* Photo area */
.alumni-photo-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 square */
  overflow: hidden;
  background: #e8edf5;
}

.alumni-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
  display: block;
}

.alumni-card:hover .alumni-photo {
  transform: scale(1.06);
}

/* Subtle gradient overlay on photo bottom */
.alumni-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(15,23,42,0.45), transparent);
  pointer-events: none;
}

/* Info block */
.alumni-info {
  padding: 1.25rem 1.2rem 1.4rem;
  position: relative;
}

/* Batch pill */
.alumni-batch {
  display: inline-block;
  background: rgba(79, 70, 229, 0.09);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.18);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.18rem 0.7rem;
  border-radius: 2rem;
  margin-bottom: 0.6rem;
}

/* Name */
.alumni-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Role */
.alumni-role {
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* Company */
.alumni-company {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-800);
  background: var(--gray-100);
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
}

.company-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  flex-shrink: 0;
}

/* Top accent bar animates in on hover */
.alumni-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}
.alumni-card:hover::before {
  transform: scaleX(1);
}

/* Responsive adjustments for marquee */
@media (max-width: 768px) {
  .alumni-card {
    flex: 0 0 220px;
    width: 220px;
  }
  .alumni-track {
    animation-duration: 24s;
  }
}

@media (max-width: 480px) {
  .alumni-card {
    flex: 0 0 190px;
    width: 190px;
  }
  .alumni-section::before,
  .alumni-section::after {
    display: none;
  }
}

/* Responsive Leadership Profile Card */
@media (max-width: 900px) {
  .profile-card {
    flex-direction: column;
    max-width: 100%;
  }
  .profile-img-wrap {
    flex: none;
    width: 100%;
    height: 380px;
  }
}

@media (max-width: 576px) {
  .profile-img-wrap {
    height: 300px;
  }
  .profile-info {
    padding: 1.5rem;
  }
}
