:root {
  --primary: #12719e;
  --secondary: #29b6a7;
  --accent: #eaf6f6;
  --white: #fff;
  --gray-bg: #f4f5f7;
  --shadow: 0 4px 24px rgba(0,0,0,0.09);
  --card-shadow: 0 2px 16px rgba(18,113,158,0.07);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed header */
}

body {
  margin: 0;
  font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
  background: var(--accent);
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation */
.main-nav {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #444;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

/* Page Content */
.page-content {
  margin-top: 80px;
  padding: 2rem;
  flex: 1;
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-footer {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 0 1rem;
}
.hero-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.hero-logo {
  max-width: 140px;
  height: auto;
  filter: brightness(0) invert(1); /* Makes the logos white */
  opacity: 0.95;
  transition: opacity 0.3s, transform 0.3s;
}

.hero-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 24px rgba(18,113,158,0.11);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 2rem;
    padding: 0 1rem;
  }
  .hero-logos {
    gap: 2rem;
  }
  .hero-logo {
    max-width: 120px;
  }
}

@media (max-width: 600px) {
  .hero-logos {
    gap: 1.5rem;
    flex-direction: row;
  }
  .hero-logo {
    max-width: 100px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.98;
}
.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.btn {
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  border: none;
  border-radius: 32px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn:hover {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 32px rgba(41,182,167,0.14);
}
/* About Section */
.section {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 4rem 2rem;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  scroll-margin-top: 80px; /* For smooth scrolling with fixed header */
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3.5rem;
  color: var(--primary);
}
.about-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  margin: 0 auto 2.5rem;
  max-width: 900px;
  color: #2a2a2a;
  line-height: 1.7;
}
.cards-row {
  display: grid;
  gap: 2rem;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  width: 100%;
}
.card {
  background: var(--white);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.card-text {
  font-size: 1rem;
  color: #222;
  font-weight: 400;
  line-height: 1.6;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(18,113,158,0.12);
  transform: translateY(-4px);
}
/* Important Dates Section */
.dates-section {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto 4rem;
  padding: 4rem 2rem;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  text-align: center;
  scroll-margin-top: 80px; /* For smooth scrolling with fixed header */
}

.dates-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--primary);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem auto;
  max-width: 1000px;
}

.date-item {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 1.5rem;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  color: #333;
  transition: none;
}

.date-item b {
  color: var(--primary);
  font-size: 1.1em;
  display: block;
  margin-top: 0.5rem;
}

.footer-note {
  color: #666;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.copyright {
  color: #888;
  font-size: 0.85rem;
  margin-top: 1.5rem;
  min-width: 280px;
  max-width: 420px;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1rem 1.2rem 1rem;
  transition: box-shadow 0.27s, transform 0.18s;
}
/* Important Dates */
.dates-section {
  padding: 2.5rem 1rem 2rem 1rem;
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
}
.dates-title {
  font-size: 1.7rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.dates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 2.2rem 2.6rem;
  justify-content: center;
  margin-bottom: 1.7rem;
}
.date-item {
  background: var(--white);
  box-shadow: var(--card-shadow);
  border-radius: 10px;
  padding: 1rem 0.8rem;
  font-size: 1.06rem;
  color: #333;
  transition: box-shadow 0.22s, transform 0.16s;
}
.date-item:hover {
  box-shadow: 0 6px 24px rgba(41,182,167,0.12);
  transform: translateY(-2px) scale(1.02);
}
.footer-note {
  font-size: 0.97rem;
  color: #777;
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}
.copyright {
  font-size: 0.99rem;
  color: #bbb;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
/* About Section Flex */
.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.about-desc {
  flex: 2 1 0;
  text-align: left;
}
.about-img {
  flex: 1 1 669px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 669px;
}
.about-img img {
  max-width: 669px;
  height: 391px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  background: transparent;
  box-shadow: none;
  padding: 0;
  transition: none;
}

.about-img img:hover {
  box-shadow: none;
  transform: none;
}

@media (max-width: 900px) {
  .about-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }
  .about-img {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}
/* Responsive Design */
@media (max-width: 900px) {
  .dates-grid {
    grid-template-columns: 1fr;
  }
  .cards-row {
    flex-direction: column;
    gap: 1.3rem;
  }
  .section {
    padding: 1.2rem 0.7rem;
  }
  .dates-section {
    padding: 1.2rem 0.7rem;
  }
}
@media (max-width: 600px) {
  .hero-title {
    font-size: 1.35rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .dates-title {
    font-size: 1.08rem;
  }
  .date-item,
  .card-title { font-size: 0.98rem; }
  .about-desc { font-size: 0.98rem; }
  .hero { min-height: 75vh; }
}
/* Committee Section */
.committee-section {
  margin-top: 2rem;
  padding-top: 2rem;
}

.committee-block {
  margin-bottom: 3rem;
  text-align: left;
}

.committee-heading {
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--secondary);
  padding-left: 0.8rem;
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.committee-card {
  background: var(--white);
  box-shadow: var(--card-shadow);
  border-radius: 10px;
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.25s, transform 0.18s;
}

.committee-card:hover {
  box-shadow: 0 8px 28px rgba(18,113,158,0.12);
  transform: translateY(-3px);
}

.person-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 0.4rem;
}

.person-role {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive tweaks for committee */
@media (max-width: 768px) {
  .committee-heading {
    font-size: 1.2rem;
  }
  .committee-card {
    padding: 1.1rem 1rem;
  }
}
.person-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 2px solid var(--secondary);
}
