/* Millennium Excellence Foundation - Updated CSS */

:root {
  --gold: #d4af37;
  --deep-green: #003300;
  --off-white: #f9f9f9;
  --dark-bg: #111;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

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

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
}

/* HEADER + NAV */
.header {
  background-color: #fff;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 18px;
  color: #000;
  text-decoration: none;
}

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

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-menu li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.nav-menu li a:hover {
  color: var(--gold);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }

  #menu-toggle:checked + .hamburger + .nav-menu {
    display: flex;
  }

  .nav-menu li {
    padding: 12px 20px;
  }

  .nav-menu a {
    font-size: 18px;
    color: #222;
  }
}

/* HERO */
.hero {
  background: url('images/hero.webp') center center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 140px 20px;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
}

.hero h1 {
  font-size: 3rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.cta-btn,
.btn-gold {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--gold);
  color: black;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.cta-btn:hover,
.btn-gold:hover {
  background: gold;
}

/* SECTION STYLES */
.section {
  padding: 60px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: var(--gold);
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-top: -20px;
  margin-bottom: 40px;
  text-align: center;
}

/* COUNTERS */
.impact {
  background-color: var(--deep-green);
  color: var(--gold);
  text-align: center;
  padding: 60px 20px;
}

.impact .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.counter {
  font-size: 3rem;
  font-weight: bold;
}

/* EVENTS */
.events {
  background: linear-gradient(135deg, var(--gold), #f7e26d);
  color: #111;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 10px;
}

/* INITIATIVES ASCENSION */
.initiatives-ascension {
  background: var(--off-white);
  text-align: center;
  padding: 100px 20px 80px;
}

.ascension-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.initiative-card {
  background: white;
  padding: 20px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  width: 220px;
  transition: transform 0.3s ease;
}

.initiative-card:hover {
  transform: translateY(-6px);
}

.initiative-card img {
  border-radius: 10px;
  height: 160px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 10px;
}

.initiative-card h4 {
  color: var(--deep-green);
  margin: 0;
}

.initiative-card p {
  font-size: 0.9rem;
  color: #444;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
    align-items: center;
  }
  .initiative-card {
    width: 90%;
  }
}

/* ABOUT */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
  align-items: flex-start;
}

.about-text {
  flex: 1 1 400px;
}

.about-images {
  flex: 1 1 400px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-images img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.mission-vision-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 100vh;
}

.mission-box, .vision-box {
  flex: 1 1 50%;
  padding: 60px 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.mission-box {
  background-color: #000;
}

.vision-box {
  background-color: #003300;
  clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.mission-box h2,
.vision-box h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Orbitron', sans-serif;
}

.mission-box p,
.vision-box p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .mission-vision-section {
    flex-direction: column;
  }

  .mission-box, .vision-box {
    clip-path: none;
    min-height: auto;
  }
}


/* FOOTER */
.footer {
  background: var(--dark-bg);
  color: #ccc;
  text-align: center;
  padding: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 0;
}

.footer-links li {
  margin: 0 10px;
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}


/* General nav bar container */
nav {
  background-color: #fff; /* or dark background if needed */
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* List inside the nav */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Menu links */
nav ul li a {
  text-decoration: none;
  color: #111; /* You can use your deep green here */
  font-weight: 500;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

/* Hover effect */
nav ul li a:hover,
nav ul li a.active {
  color: #d4af37; /* Gold accent for hover and active */
  border-bottom: 2px solid #d4af37;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav {
    padding: 15px;
  }
}

