/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  background: linear-gradient(135deg, #027F30 0%, #026a28 100%);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 180px;
  height: 58px;
  object-fit: contain;
}

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

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #f0fff4;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23027F30" width="1200" height="800"/><circle fill="%23026a28" cx="300" cy="200" r="80" opacity="0.3"/><circle fill="%23026a28" cx="900" cy="600" r="120" opacity="0.3"/><circle fill="%23026a28" cx="600" cy="400" r="60" opacity="0.3"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0 80px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background: white;
  color: #027F30;
}

.btn-primary:hover {
  background: #f0fff4;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #027F30;
  transform: translateY(-2px);
}

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

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c5282;
  font-weight: 600;
}

/* About Section */
.about {
  background: #f7fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.about-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 4px solid #027F30;
}

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

.about-card h3 {
  color: #2c5282;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.about-card p {
  color: #718096;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Programs Section */
.programs {
  background: white;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.program-card {
  background: #f7fafc;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #027F30;
}

.program-card h3 {
  color: #2c5282;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.program-card p {
  color: #718096;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.program-benefit {
  display: inline-block;
  background: #027F30;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* News Section */
.news {
  background: #f7fafc;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-top: 3px solid #027F30;
}

.news-card h3 {
  color: #2c5282;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.news-date {
  color: #027F30;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
  font-weight: 600;
}

.news-card p {
  color: #718096;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  background: #027F30;
  padding: 2rem;
  border-radius: 8px;
  color: white;
}

.contact-info h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.contact-form {
  background: #f7fafc;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #027F30 0%, #026a28 100%);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo-image {
  width: 200px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-logo p {
  color: #cbd5e0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
  color: #cbd5e0;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: #027F30;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    gap: 2rem;
    padding: 2rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .logo-image {
    width: 140px;
    height: 45px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo-image {
    width: 120px;
    height: 39px;
  }
  
  .footer-logo-image {
    width: 160px;
    height: 52px;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .about-card,
  .program-card,
  .news-card {
    padding: 1.5rem;
  }
  
  .hero {
    padding: 130px 0 60px;
    min-height: 80vh;
  }
}

/* Menu Toggle Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
