* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0a3cff;
  --bg: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: linear-gradient(#ffffff, var(--bg));
  color: var(--text);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px 14px 64px;
}

/* HERO */
.hero {
  text-align: center;
  padding: 48px 12px;
}

.school-logo {
  width: 100px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2rem;
}

.subtitle {
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.9rem;
}

.intro {
  max-width: 760px;
  margin: 18px auto;
  font-size: 0.95rem;
}

/* BUTTONS */
.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 20px;
  min-height: 52px;
  border-radius: 999px;

  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.primary {
  background: var(--primary);
  color: #fff;
}

.secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* HERO IMAGE */
.hero-image {
  margin-top: 28px;
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
}

/* CARD */
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 28px;
  margin-top: 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* GRID */
.grid {
  display: grid;
  gap: 20px;
}

/* LIST */
.list {
  list-style: none;
}

.list li {
  padding-left: 22px;
  margin-bottom: 12px;
  position: relative;
}

.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.4rem;
}

/* IMAGE GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.image-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
}

/* EVENTS */
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.event-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  cursor: pointer;
}

.event-card p {
  padding: 10px;
  font-size: 0.9rem;
  text-align: center;
}

/* MAP */
.map-container {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-btn {
  margin-top: 16px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.hidden {
  display: none;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* Contact */

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Heading Panangad vhss */

.code-highlight {
  margin-top: 16px;
  background: rgba(10, 60, 255, 0.08);
  color: var(--primary);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-block;
}

/* DESKTOP */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .image-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .event-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .image-grid img,
  .event-card img {
    height: 220px;
  }
  .map-container {
    height: 360px;
  }
}
