* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #fff;
  min-height: 100vh;
  position: relative;
  background: url('explore.png') no-repeat center center fixed;
  background-size: cover;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: -1;
  backdrop-filter: blur(2px);
  transition: background 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

.wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo img {
  height: 70px;
  width: auto;
}


.logo:hover {
  transform: scale(1.02);
  border-color: #ffd966;
}

.logo i {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.college-name {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.subheading {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 1rem 0.2rem 0.5rem;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  margin-top: 0.15rem;
  border-left: 4px solid #ffd966;
  font-style: italic;
}

/* Navigation */
.top-nav ul {
  display: flex;
  list-style: none;
  gap: 1.9rem;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.top-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.3rem 0;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: 0.3px;
}

.top-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ffd966;
  transition: width 0.25s ease;
}

.top-nav a:hover {
  color: #ffd966;
}

.top-nav a:hover::after {
  width: 100%;
}

/* Page title */
.page-title {
  text-align: center;
  margin: 1rem 0 3rem;
  font-size: 2.8rem;
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
  letter-spacing: -0.02em;
}

.page-title span {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  padding: 0.3rem 2rem;
  border-radius: 60px;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-block;
}

/* Program cards */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 1.8rem 1.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 40px -12px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 55px -10px black;
  border-color: rgba(255, 217, 102, 0.5);
}

.card h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-left: 6px solid #ffd966;
  padding-left: 1rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 4px black;
}

.program-list {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.program-list li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
  font-size: 1.05rem;
}

.program-list li:last-child {
  border-bottom: none;
}

.program-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #ffd966;
  font-size: 1.2rem;
  line-height: 1.2;
}

.program-list li:hover {
  background: rgba(255, 217, 102, 0.1);
  border-radius: 6px;
}

/* Button */
.category-btn {
  background: transparent;
  border: 2px solid #ffd966;
  color: #ffd966;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(5px);
  background: rgba(0,0,0,0.2);
}

.category-btn:hover {
  background: #ffd966;
  color: #0a0a0a;
  border-color: #ffd966;
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 217, 102, 0.3);
}

.category-btn i {
  margin-left: 6px;
  transition: transform 0.2s;
}

.category-btn:hover i {
  transform: translateX(5px);
}

/* Footer credit */
.photo-credit {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  letter-spacing: 0.3px;
}

.photo-credit a {
  color: #ffd966;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 800px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .brand {
    align-items: center;
  }
  .top-nav ul {
    justify-content: center;
    gap: 1.2rem;
    padding: 0.7rem 1.2rem;
  }
  .page-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 500px) {
  .wrapper {
    padding: 1rem 1rem 2rem;
  }
  .college-name {
    font-size: 1.5rem;
  }
  .top-nav ul {
    gap: 0.9rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
  }
  .card h2 {
    font-size: 1.5rem;
  }
}