.hero {
  position: relative;
  isolation: isolate;
  background: #000 url("assets/campus.png") center/cover no-repeat;
  min-height: 60vh;
  display: grid;
  place-items: center;
}

/* Dark overlay on hero image */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
  z-index: 1; /* keeps overlay above image but below blur box */
}

/* Glass card inside the hero */
.glass {
  backdrop-filter: blur(10px); /* smooth blur */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  background: rgba(255, 255, 255, 0.25); /* translucent white box */
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* ensures it's above dark overlay */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

/* Fade-in animation */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Text inside the glass */
.glass h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 800;
  color: #fff;
}
.glass p {
  margin: 0;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  color: #f1f5ff;
}

/* Hero content layout */
.hero {
  display: grid;
  place-items: center;
}
.hero-content {
  width: 100%;
  padding: 24px;
  text-align: center;
}

/* ============================
Welcome Section
============================ */
.welcome {
  background: #f9fafb;
  text-align: center;
  padding: 80px 20px;
}

.welcome .container {
  max-width: 900px;
  margin: 0 auto;
}

.welcome h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.welcome p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
}

/* ============================
   Important Dates Section
============================ */
.dates {
  padding: 72px 20px;
  background: #fff;
}

.section-title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 26px;
  color: #1a1a1a;
}

.dates-card {
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  background: #fafafa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: clamp(12px, 2vw, 24px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
  gap: clamp(8px, 1.8vw, 18px);
}

/* Each date cell */
.date-item {
  background: #ffffff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.date-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.date-item h3 {
  margin: 0 0 8px;
  font-size: clamp(15px, 1.8vw, 18px);
  color: #7c0a02; /* elegant maroon similar to screenshot */
  font-weight: 800;
  letter-spacing: 0.2px;
}

/* ON / TILL pill */
.badge {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.6px;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(124, 10, 2, 0.35);
  color: #7c0a02;
  background: rgba(124, 10, 2, 0.06);
  margin: 6px 0 10px;
  user-select: none;
}

/* Date text */
.when {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 700;
  color: #7c0a02; /* maroon date text */
}

/* Responsive layout: 4 → 2 → 1 columns */
@media (max-width: 992px) {
  .dates-card {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .dates-card {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Conveners Section
============================ */
.conveners {
  background: #05668d; /* deep blue */
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.conveners .section-title.light {
  color: #fff;
  margin-bottom: 40px;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
}

.convener-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.convener-card {
  background: #ffffff;
  color: #222;
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.convener-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.convener-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 4px solid #05668d;
}

.convener-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #05668d;
}

.convener-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .convener-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   Partners (Organized & Sponsored)
============================ */
.partners {
  background: #f7f9fb;
  padding: 70px 20px;
}

.partners-block {
  margin: 0 auto 36px;
}

.partners-title {
  text-align: left;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px);
  margin: 0 0 16px;
  color: #0f3d57; /* deep teal */
  letter-spacing: 0.2px;
}

.partners-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #0f3d57 0, rgba(15, 61, 87, 0.15) 100%);
  margin: 28px 0 38px;
  border-radius: 2px;
}

/* Logo grid */
.logo-grid {
  display: grid;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
}

.logo-grid--2 {
  grid-template-columns: repeat(2, minmax(140px, 1fr));
}
.logo-grid--4 {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
}

/* Logo tile */
.logo {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 14px;
  padding: clamp(12px, 1.8vw, 18px);
  min-height: 96px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.logo img {
  max-width: 100%;
  max-height: 56px; /* adjust if your logos are taller */
  object-fit: contain;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.9;
  transition: filter 0.18s ease, opacity 0.18s ease;
}

.logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .logo-grid--4 {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}
@media (max-width: 520px) {
  .logo-grid--2,
  .logo-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================
   Footer Section
============================ */
.footer {
  background: #f2f4f7;
  color: #333;
  padding: 60px 20px 20px;
  border-top: 3px solid #ef7d00;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: start;
}

.footer-column h3 {
  font-weight: 800;
  margin-bottom: 16px;
  color: #222;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-column a {
  color: #05668d;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-column a:hover {
  color: #ef7d00;
}

.footer-logo img {
  max-width: 350px;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}
.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 40px;
  padding-top: 16px;
  font-size: 0.9rem;
  color: #666;
}

/* Responsive Layout */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-column h3 {
    margin-top: 20px;
  }
}
