
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #4a541b;    /* Olive Green from logo */
  --secondary: #f9a31a;  /* Orange from logo */
  --accent: #737300;     /* Darker Olive */
  --bg-light: #fdfcf6;
  --white: #ffffff;
  --text-main: #1a1c1e;
  --text-muted: #4b5563;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Glassmorphism Navigation */
nav {
  position: fixed;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
}

.cancel-btn {
  display: none; /* Hidden by default on desktop */
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.cancel-btn:hover {
  color: var(--secondary);
  transform: rotate(90deg);
}

nav.sticky {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.navbar {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo img {
  height: 45px;
  transition: var(--transition);
}

.menu {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.menu a {
  padding: 0.8rem 1.5rem;
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition);
}

.menu a:hover {
  color: var(--secondary);
  background: rgba(249, 163, 26, 0.08);
}

.menu a.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(74, 84, 27, 0.2);
}

/* Hero Section with Parallax Feel */
.home {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(253, 252, 246, 0.9), rgba(253, 252, 246, 0.8)), 
              url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.home::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(249, 163, 26, 0.1), transparent 40%);
}

.home-content {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  position: relative;
  z-index: 10;
}

.text-one {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
  display: block;
}

.text-two {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -2px;
}

.text-three {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 3rem;
}

.cta-group {
  display: flex;
  gap: 1.5rem;
}

.btn-primary {
  padding: 1.2rem 2.5rem;
  background: var(--primary);
  color: white;
  border-radius: 100px;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(74, 84, 27, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(74, 84, 27, 0.4);
}

/* Bento Grid for Partners */
.partners-section {
  padding: 8rem 0;
  background: var(--white);
}

.section-label {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.partner-card {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
}

.partner-card:hover {
  transform: scale(1.05);
  background: var(--white);
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.partner-card i {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

/* Modern Sections */
.about, .education, .programs, .contact {
  padding: 10rem 0;
}

.content-box {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.image-container {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.image-container:hover img {
  transform: scale(1.1);
}

.text-container h3 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.text-container p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Cards for Team/Members */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.team-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
  text-align: center;
}

.avatar {
  width: 120px;
  height: 120px;
  background: var(--bg-light);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background-size: cover;
  background-position: center;
}

/* Contact Form Overhaul */
.contact-wrapper {
  background: var(--primary);
  border-radius: 50px;
  padding: 5rem;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
}

.contact-info p { margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.social-icons a {
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
}
.social-icons a:hover {
  color: var(--secondary);
  transform: translateY(-3px);
}

.modern-form input, .modern-form textarea {
  width: 100%;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  transition: var(--transition);
}

.modern-form input:focus, .modern-form textarea:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--secondary);
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 1.5rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

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

.home-content > * {
  animation: fadeInUp 1s forwards;
}

/* Responsive Mobile Overhaul */
@media (max-width: 768px) {
  nav {
    padding: 1rem 0;
  }
  
  .navbar {
    width: 90%;
    justify-content: space-between;
  }

  .logo a {
    font-size: 1.1rem;
    gap: 8px;
  }

  .logo img {
    height: 30px;
  }

  .menu-btn {
    display: block;
    color: var(--primary);
    font-size: 1.8rem;
    z-index: 1001;
    cursor: pointer;
    margin-left: auto; /* Push to right */
  }

  .cancel-btn {
    display: flex;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    margin-bottom: 2.5rem;
    align-self: flex-end; /* Align to top-right of the menu */
    width: auto;
  }

  .navbar .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start; /* Left align text */
    padding: 2.5rem;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -15px 0 40px rgba(0,0,0,0.15);
  }

  .navbar.active .menu {
    right: 0;
  }

  .menu a {
    font-size: 1.3rem;
    padding: 1.2rem 0;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  /* Fix for awkward content on mobile */
  .about, .education, .programs, .contact {
    padding: 6rem 0;
  }

  .content-box {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .text-container h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .text-container p {
    font-size: 1.1rem;
  }

  .topic {
    font-size: 1.3rem !important;
    margin-top: 2rem;
  }

  .image-container {
    height: 250px;
    border-radius: 25px;
  }

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

  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    border-radius: 30px;
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .hero-image-desktop {
    display: none;
  }
}
