@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0b1f3a;
  --navy-light: #13294b;
  --gold: #c8a44d;
  --gold-light: #e3c87a;
  --ivory: #f8f6f1;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #64748b;
  --border: #e7dcc0;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(11, 31, 58, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
}

.logo img {
  width: 44px;
  height: 44px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

nav a:hover {
  color: var(--gold-light);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(11,31,58,0.92), rgba(19,41,75,0.82)),
    url('../images/hero.jpg') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: 90px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(200,164,77,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(200,164,77,0.28);
  margin-bottom: 22px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 860px;
  margin-bottom: 22px;
}

.hero p {
  max-width: 680px;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 12px 30px rgba(200,164,77,0.28);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-light {
  background: var(--white);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.view-all {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.view-all:hover {
  color: var(--gold);
}

/* Cards */
.grid {
  display: grid;
  gap: 24px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(11,31,58,0.12);
}

.card-date {
  display: inline-block;
  color: #8b7355;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card h3 {
  color: var(--navy);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

/* Events */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.event-date {
  width: 84px;
  min-width: 84px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 12px 8px;
}

.event-date .month {
  display: block;
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.event-date .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.event-info h3 {
  color: var(--navy);
  margin-bottom: 4px;
}

.event-info p {
  color: var(--muted);
}

/* District cards */
.district-card {
  border-top: 4px solid var(--gold);
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  padding: 64px 0 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
}

.footer-brand h3 {
  color: var(--white);
  margin-bottom: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-light);
}

/* Responsive */
@media (max-width: 980px) {
  nav {
    display: none;
  }

  .grid.three {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 88vh;
  }

  .event-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-date {
    width: 72px;
    min-width: 72px;
  }
}
.grid.two{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:24px;
}

@media (max-width:980px){
  .grid.two{
    grid-template-columns:1fr;
  }
}
.card {
    height: auto;
    min-height: 220px;
    overflow: visible;
}

.card p {
    display: block;
    text-align: justify;
    line-height: 1.6;
    margin-top: 15px;
}
.history-section {
  position: relative;
  overflow: hidden;

  /* Background image is OUTSIDE the card */
  background:
    linear-gradient(
      rgba(248, 247, 243, 0.88),
      rgba(248, 247, 243, 0.94)
    ),
    url("../images/history.jpg") center / cover no-repeat;
}
.history-section::before {
  content: "";
  position: absolute;
  inset: -30px;

  background:
    url("../images/history.jpg") center / cover no-repeat;

  filter: blur(8px);
  opacity: 0.16;

  z-index: 0;
}
.history-section .container {
  position: relative;
  z-index: 1;
}
.history-card {
  position: relative;
  background: rgba(255, 255, 255, 0.94);

  border: 1px solid #e5d8bd;
  border-radius: 22px;

  padding: 32px;

  box-shadow:
    0 20px 50px rgba(15, 35, 60, 0.10),
    0 4px 15px rgba(15, 35, 60, 0.04);
}
.history-card p {
  position: relative;
  z-index: 1;
}