:root {
  --primary: #651e1a;
  --secondary: #f4a460;
  --light: #fff;
  --shadow: 0 2px 8px rgba(0,0,0,0.07);
}
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.header {
  background: var(--light);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  height: 52px;
  width: auto;
}
nav {
  position: relative;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
}
.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}
.nav-list li {
  position: relative;
}
.nav-list > li > a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-list > li > a:hover,
.nav-list > li > a:focus {
  background: var(--secondary);
  color: var(--light);
}
.has-submenu > a i {
  margin-left: 5px;
  font-size: 0.9em;
}
.submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 110%;
  background: var(--light);
  box-shadow: var(--shadow);
  min-width: 210px;
  border-radius: 5px;
  z-index: 10;
  padding: 0.5rem 0;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  display: block;
}
.submenu li {
  position: relative;
}
.submenu a {
  display: block;
  padding: 10px 22px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 3px;
  transition: background 0.2s;
}
.submenu a:hover,
.submenu a:focus {
  background: var(--secondary);
  color: var(--light);
}
.submenu-right {
  left: 100%;
  top: 0;
}
@media (max-width: 900px) {
  .header-flex {
    height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .logo {
    height: 48px;
  }
}
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--light);
    position: absolute;
    top: 70px;
    right: 0;
    width: 250px;
    box-shadow: var(--shadow);
    border-radius: 0 0 8px 8px;
    z-index: 99;
  }
  .nav-list.open {
    display: flex;
  }
  .nav-list > li > a {
    padding: 15px 22px;
    border-radius: 0;
  }
  .submenu {
    position: static;
    box-shadow: none;
    min-width: 100%;
    border-radius: 0;
    padding: 0;
  }
  .submenu-right {
    left: 0;
    top: 0;
  }
}
section {
  min-height: 100px;
  padding: 40px 0;
}

/* ===== Hero Section ===== */



/* Section 10: Footer */
.footer-section {
  background: #651e1a;
  color: #fff;
  padding: 48px 0 18px 0;
  font-size: 1rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-align: left;
  width: 100%;
  justify-content: center;
}

.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}

.footer-org-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-org-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.footer-org-address,
.footer-org-contact {
  font-size: 0.97rem;
  color: #f4eaea;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.5rem 0 0.5rem 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.footer-links a:hover,
.footer-links a:focus {
  background: #fff;
  color: #651e1a;
  outline: none;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.footer-social-icon img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  transition: box-shadow 0.2s;
}
.footer-social-icon:hover img,
.footer-social-icon:focus img {
  box-shadow: 0 2px 10px #fff5;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
  width: 100%;
  max-width: 400px;
}
.footer-newsletter input[type="email"] {
  padding: 0.6rem 1rem;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  width: 70%;
  outline: none;
}
.newsletter-btn {
  background: #fff;
  color: #651e1a;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.newsletter-btn:hover,
.newsletter-btn:focus {
  background: #f9f8fb;
  color: #a13e3a;
}

.footer-bottom {
  margin-top: 1.2rem;
  font-size: 0.97rem;
  color: #f4eaea;
  text-align: center;
  width: 100%;
}

/* Visually hidden for accessibility */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 700px) {
  .footer-brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
  }
  .footer-newsletter {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
  }
}



/* Responsive: smaller on mobile */
@media (max-width: 600px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    font-size: 1rem;
    padding: 0.6rem 1rem 0.6rem 0.8rem;
  }
  .back-to-top-icon { font-size: 1.1rem; }
  .back-to-top-text { font-size: 0.96rem; }
}

/* ===== Who We Are Section ===== */

/* ===== What We Do (Programs & Projects) ===== */

/* =====  Impact & Success Stories Section ===== */

/* ===== Knowledge Bank Section ===== */

/* ===== Connect With Us Section ===== */

/* ===== Footer Section ===== */


/* ===== New Section ===== */
/* ===== New Section ===== */
/* ===== New Section ===== */
/* ===== New Section ===== */