:root {
  --primary: #1F3C88;
  --secondary: #4CAF50;
  --light: #F5F7FA;
  --light2: #E8F5E9;
  --light3: #E0F7FA;
  --white: #FFFFFF;
  --dark: #2E2E2E;
}

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

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 70px 0;
}

/* TOP BAR */
.top-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.social-icons a {
  color: var(--white);
  margin-right: 12px;
}

/* HEADER */
.header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

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

.menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

/* BUTTONS */
.btn {
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
}

.btn.primary {
  background: var(--secondary);
  color: var(--white);
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

/* HERO */
.hero {
  background: var(--light3);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  color: var(--primary);
}

.typing-text {
  color: var(--secondary);
  border-right: 3px solid var(--secondary);
  padding-right: 5px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* ABOUT US SECTION */
.about-us {
  background: var(--light2);
  color: var(--dark);
}

.about-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-us img {
  width: 100%;
  border-radius: 12px;
}

.about-us h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-us p {
  line-height: 1.7;
}

/* MISSION & VISION */
.mission-vision {
  background: var(--light3);
  color: var(--dark);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.mv-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  color: #1565c0;
}

.mv-card i {
  font-size: 50px;
  color: var(--secondary);
  margin-bottom: 15px;
}

/* OUR WORK */
.our-work {
  background: var(--light);
  color: var(--dark);
}

.our-work h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.our-work p {
  line-height: 1.7;
}

/* OUR PROJECTS */
.our-projects {
  background: var(--light2);
}

.our-projects h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
  color: #1565c0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.project-icon {
  font-size: 50px;
  color: var(--secondary);
  margin-bottom: 15px;
}

.card h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1565c0;
}

.card ul {
  list-style-type: disc;
  padding-left: 20px;
}

.card ul li {
  margin-bottom: 10px;
  color: var(--secondary);
  font-weight: 500;
}

.card ul li::marker {
  color: var(--secondary);
  font-size: 1.2em;
}

/* PROGRAMS */
.programs {
  background: var(--light3);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

/* IMPACT */
.impact {
  background: var(--light2);
  color: var(--dark);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

/* CONTACT */
.contact {
  background: var(--light3);
}

form {
  max-width: 500px;
  margin: auto;
}

.form-group {
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 25px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid,
  .two-col,
  .card-grid,
  .impact-grid,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .menu {
    display: none;
  }
}

.footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--white);
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .social-icons a {
  color: var(--white);
  margin-left: 12px;
  transition: color 0.3s;
}

.footer-bottom .social-icons a:hover {
  color: var(--secondary);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

