* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #333;
  line-height: 1.6;
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 1.5rem;
}

/* NAVBAR */
.navbar {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
    display:flex;
    align-items:center;
    gap: 12px;
    text-decoration: none;
    animation: fadeInUp 0.8s ease forwards;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.tagline {
  font-size: 0.7rem;
  color: #777;
}

.brand:hover .logo {
    transform: rotate(-2deg) scale(1.05);
    transition: transform 0.3s ease;
}

.logo {
  max-height: 45px;
  transition: transform 0.3s ease;
  width: auto;
}

/* NAV LINKS */
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  width: 0;
  height: 2px;
  background: #f9a825;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -5px;
  left: 0;
}

nav a:hover::after {
  width: 100%;
}

.btn {
  background: #f9a825;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0, 0.15);
}

.btn-primary {
  background: #f57c00;
}

/* HERO */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../assets/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}

.slideshow {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-content {
  margin-left: 10%;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease forwards;
}

/* SECTIONS */
.section {
  padding: 4rem 0;
}

/* FOOTER */
.footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 1rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  nav {
    display: none;
  }
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 75px;
    right: 20px;
    background: white;
    width: 220px;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    overflow: hidden;
  }

  nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }

  nav.show {
    display: flex;
  }
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card ul {
  padding-left: 20px;
}

.card li {
  margin-bottom: 8px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.center {
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button {
  width: fit-content;
  padding: 10px 20px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.edu-section {
  margin-top: 40px;
}

.edu-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.edu-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 10px;
}

.edu-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Big featured image */
.img-large {
  grid-row: span2;
}

.story-inline {
  margin: 40px 0;
}

.story-wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fafafa;
  padding: 20px;
  border-radius: 10px;
}

/* Image */
.story-img img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

/* Text */
.story-text {
  flex: 1;
}

.story-label {
  font-size: 12px;
  color: #ff9800;
  font-weight: bold;
}

.story-text h3 {
  margin: 5px 0 10px;
}

.story-text p {
  font-size: 14px;
  line-height: 1.5;
}

/* Highlight */
.story-impact {
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border-left: 4px solid #2e7d32;
  font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .story-wrap {
    flex-direction: column;
  }

  .story-img img {
    width: 100%;
    height: auto;
  }
}

.video-row {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.video-box {
  flex: 1;
  height: 420px;
  overflow: hidden;
  border-radius: 10px;
  background: black;
}

/* Crop vertical video nicely */
.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
  .video-row {
    flex-direction: column;
  }
}

.video-section {
  margin-top: 40px;
}

h2 {
  margin-bottom: 10px;
}