/* ---------- GLOBAL STYLES ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* ---------- NAVBAR ---------- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2c7a7b;
  color: white;
  padding: 15px 40px;
  position: sticky;
  top: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

.nav-toggle {
  display: none; /* desktop by default */
  font-size: 28px;
  cursor: pointer;
  color: white;
}

.nav-menu {
  display: none; /* hidden by default */
}

.nav-menu.active {
  display: block;
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #1f4037, #99f2c8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  max-width: 700px;
  margin: auto;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  background: #2c7a7b;
  color: white;
}

.primary-btn {
  background: #27ae60;
  color: white;
}

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

.secondary-btn:hover {
  background: white;
  color: #333;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 60px 40px;
  text-align: center;
}

.about-section, .focus-section {
  padding: 80px 10%;
  background: lightcyan;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: #1c3d5a;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
}

.about-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.about-text p {
  font-size: 19px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #2e7d32;
}

.about-cards, .impact-section {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  width: 250px;
}

.card h3 {
  color: #1c3d5a;
  margin-bottom: 10px;
}

/* ---------- IMPACT CARDS ---------- */
.impact-card {
  background: linear-gradient(135deg,#2c7a7b,#38a169);
  color: white;
  padding: 30px;
  width: 220px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.impact-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.impact-card .icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.impact-card h3 {
  font-size: 32px;
  margin-bottom: 5px;
}

.impact-card p {
  font-size: 15px;
  opacity: 0.9;
}

/* ---------- FOCUS CARDS ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 10px;
}

.focus-card {
  background: white;
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.focus-card i {
  font-size: 40px;
  margin-bottom: 15px;
}

.focus-card h3 {
  margin-bottom: 10px;
  color: #1c3d5a;
}

.focus-card p {
  font-size: 19px;
  color: #555;
  line-height: 1.6;
}

.focus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Focus Icons Colors */
.fa-graduation-cap { color: #3b82f6; }
.fa-users { color: #f59e0b; }
.fa-heartbeat { color: #ef4444; }
.fa-female { color: #ec4899; }
.fa-hand-holding-heart { color: #8b5cf6; }
.fa-leaf { color: #22c55e; }

/* ---------- ACHIEVEMENTS ---------- */
#achievements {
  padding: 80px 20px;
  background: linear-gradient(135deg,#f5f7ff,#eef2ff);
  font-family: 'Poppins', sans-serif;
}

.achievements-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 40px;
  position: relative;
}

.section-subtitle {
  color: #666;
  margin-bottom: 50px;
  font-size: 20px;
}

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

.achievement-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

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

.achievement-card h3 {
  font-size: 40px;
  color: #4f46e5;
  margin-bottom: 10px;
  font-weight: 700;
}

.achievement-card p {
  font-size: 19px;
  color: #555;
  line-height: 1.5;
}

.achievement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg,#4f46e5,#6366f1);
}

/* ---------- GALLERY ---------- */
.gallery-item {
  width: 100%;
  height: 250px;        /* uniform height for structure */
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* fills container, slight cropping if needed */
  object-position: center; /* focuses on the center of image */
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05); /* zoom on hover for wow effect */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* fits inside container, no cropping */
  background-color: #f9f9f9; /* fills empty space */
}
/* ---------- FORM ---------- */
form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
  gap: 10px;
  margin-top: 20px;
}

input, textarea {
  padding: 10px;
}

button {
  background: #2c7a7b;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
}

/* ---------- FOOTER ---------- */
footer {
  background: #2c7a7b;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* ---------- CONTACT ---------- */
#contact {
  padding: 80px 20px;
  background: linear-gradient(135deg,#0f2027,#203a43,#2c5364);
  font-family: Arial, sans-serif;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.contact-title {
  text-align: center;
  font-size: 36px;
  color: #fff;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  color: #eee;
  font-size: 17px;
  line-height: 1.8;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  margin-right: 12px;
  font-size: 22px;
  color: white;
  background: rgba(255,255,255,0.1);
  padding: 12px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #00e0ff;
  color: #000;
  transform: scale(1.2);
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: none;
  border-radius: 8px;
  outline: none;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 16px;
}

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

.contact-form button {
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(45deg,#00e0ff,#00ffa6);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ---------- MOBILE RESPONSIVE (COMBINED) ---------- */
@media (max-width:768px){

  nav ul {
  display: flex !important;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start; /* aligns items to the left on mobile */
  padding-left: 20px;      /* optional spacing from the left */
}


  /* HERO */
  .hero-content h1 { display: block !important; font-size: 32px; }
  .hero-content p { font-size: 16px; }
  .hero-buttons { flex-direction: column; gap: 15px; }

  /* NAV */
  .nav-toggle { display: block !important; }
  .nav-menu { display: none; flex-direction: column; gap: 15px; background: #2c7a7b; position: absolute; top: 60px; left: 0; width: 100%; padding: 15px 0; z-index: 100; }
  .nav-menu.active { display: flex !important; }
  nav ul { display: flex !important; flex-direction: column; gap: 15px; }

  /* SECTIONS */
  .about-content, .about-cards, .impact-section { flex-direction: column; align-items: center; text-align: center; }
  .focus-grid { grid-template-columns: 1fr; gap: 15px; }
  .gallery-item { width: 90%; height: auto; }
  .gallery-item img { height: auto; }
  section, .about-section, .focus-section, #achievements, #contact { padding: 50px 20px; }

  /* TEXT SCALING */
  h2 { font-size: 24px; }
  .focus-card h3, .achievement-card h3 { font-size: 22px; }
  .about-text p, .focus-card p, .achievement-card p { font-size: 16px; }

  /* DISABLE HOVER */
  .focus-card:hover, .impact-card:hover, .achievement-card:hover { transform: none; box-shadow: none; }

  /* CONTACT */
  .contact-content { flex-direction: column; }
}