body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #737373;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Kumbh Sans", sans-serif;
  box-sizing: border-box;
}

.navbar {
  background: linear-gradient(to left, #ffc800 0%, #ffc800 70%, #ff914d 100%);
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: transform 0.3s ease;
}
.navbar.hide {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  height: 100px;
  z-index: 1;
  width: 100%;
  max-width: 1772px;
  margin: 0 auto;
  padding: 0 0.3px;
  flex: s;
  padding-left: 20px; /* add spacing */
  padding-right: 20px;
}

.navbar .brand {
  display: flex;
  align-items: center;
}

.navbar .brand img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.navbar .brand h2 {
  font-size: 25px;
  font-weight: bold;
  margin: 0;
  color: #fff;
  text-decoration: none;
}

.navbar .brand p {
  font-size: 14px;
  margin: 0;
  color: #fff;
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
}

.navbar__links {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
}

.navbar__links:hover {
  color: #545454;
  transition: all 0.8s ease;
}

@media screen and (max-width: 600px) {
  .navbar__container {
    display: flex;
    justify-content: space-between;
    height: 100px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;

    padding-left: 20px;
  }
  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 0;
    transition: all 0.5s ease;
    height: 50vh;
    z-index: -1;
    background: #ffc800;
  }

  .navbar__menu.active {
    background: linear-gradient(to left, #ffc800 0%, #ffc800 70%, #ff914d 100%);
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 70vh;
    font-size: 1rem;
  }
  .navbar__menu,
  .navbar__menu.active {
    width: 100vw; /* full screen width */
    margin-left: -20px; /* cancels container padding-left */
  }

  #navbar_logo {
    padding-left: 25px;
  }

  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #fff;
  }

  .navbar__item {
    width: 100%;
  }

  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
  }

  #mobile-menu {
    position: absolute;
    top: 47%;
    right: 5%;
    transform: translate(5%, 47%);
  }

  .navbar__toggle .bar {
    display: block;
    cursor: pointer;
  }
  .navbar .brand h2 {
    font-size: 20px;
  }
}

.ourstory {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  padding: 0 40px;
}

.section-text {
  flex: 1;
  padding-right: 40px;
  text-align: center;
}

.section-text h1 {
  font-size: 90px;
  color: #737373;
  margin-bottom: 42px;
  margin-top: 3.5cm;
}

.section-text h3 {
  font-size: 23px;
  color: #737373;
  font-weight: 400;
  margin-bottom: 50px;
  margin-top: 10px;
  padding-top: 0;
}

.section-text p {
  font-size: 23px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #737373;
}

@media (max-width: 900px) {
  .section {
    flex-direction: column;
    text-align: center;
  }
  .section-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

.vision-mission {
  padding: 80px 40px;
  max-width: 900px;
  margin: auto;
  margin-top: 3cm;
}

.about h2 {
  font-size: 60px;
  font-weight: 600;
  color: #737373;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: -3px;
}

.divider {
  width: 70%;
  height: 1px;
  background: #ccc;
  margin: 40px auto;
}

.about p {
  font-size: 22px;
  line-height: 1.7;
  margin-bottom: 0px;
  color: #737373;
  text-align: start;
  letter-spacing: -1px;
  font-weight: lighter;
}

.mission-cards-section {
  font-synthesis-style: "Abril Fatface";
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px 0;
  width: 100%;
  margin-bottom: 8cm;
}

.mission-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1160px;
}

.mission-card {
  flex: 1 1 300px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 15px;
  padding: 20px 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.mission-card h3 {
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  color: #737373;
}

.mission-card p {
  color: #737373;
  font-size: 17px;
  text-align: left;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .mission-cards-section {
    padding: 30px;
  }
}

.section.programs {
  gap: 60px;
  padding: 0 40px;
  max-width: 1100px;
  margin: auto;
}

.programs h2 {
  font-size: 60px;
  font-weight: bolder;
  text-align: center;

  margin-top: 100px;
}

.programs p.subtitle {
  text-align: center;
  font-size: 30px;
  color: #777;
  margin-bottom: 4cm;
}

.projects {
  width: 95%;
  max-width: 1400px;
  margin: 50px auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 35px;
}

/* CARD BASE */
.project-card {
  background-color: #fff;
  border: none;
  overflow: hidden;
  position: relative;
}

/* IMAGE */
.project-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* uneven heights */
.project-card:nth-child(1) img {
  height: 560px;
}

.project-card:nth-child(2) img {
  height: 560px;
}

.project-card:nth-child(6) img {
  height: 540px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

.project-card:nth-child(3) img,
.project-card:nth-child(4)img
  .project-card:nth-child(5)img
  .project-card:nth-child(7)
  img {
  height: 360px;
}

.project-card h3 {
  position: relative;
  left: -1px;
  top: -45px; /* pushes upward to overlap the image slightly */
  background-color: #fff;
  display: inline-block;
  padding: 8px 8px 6px;
  max-width: 550px;
  margin: 0 0 8px 0;
  font-size: 25px;
  color: #737373;
  font-weight: 100;
  line-height: 1.4;
}

/* paragraph below the image */
.project-card p {
  font-size: 20px;
  color: #737373;
  margin-top: 6px;
  line-height: 1.4;
  text-align: justify;
}

/* READ MORE BUTTON */
.read-more {
  text-align: center;
  margin-top: 40px;
}

.read-more button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid #ccc;
  border-radius: 30px;
  text-decoration: none;
  color: #737373;
  font-size: 16px;
  transition: 0.3s ease;
  background: transparent;
}

.read-more button:hover {
  background-color: #ffc800;
  color: white;
  border: 1px solid #ffc800;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card img {
    height: 230px !important;
  }

  .project-card h3 {
    font-size: 16px;
    padding: 6px 12px;
  }

  .project-card p {
    font-size: 13px;
  }
}
.values-section {
  text-align: center;
  padding: 80px 60px;
  margin-top: 3cm;
}

.values-section .title {
  font-size: 60px;
  font-weight: 300;
  color: #737373;
  letter-spacing: -3px;
  margin-bottom: 12px;
}

.underline1 {
  width: 312px;
  height: 2px;
  background: #ffc600;
  margin: 10px auto 60px;
  border-radius: 2px;
}

.values-container {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.value-box {
  width: 250px; /* mas proportion sa layout mo */
  text-align: center;
}

.visual {
  margin-top: 2cm;
  width: 100%;
  height: 250px; /* fixed height para di mahaba */
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center; /* icon centered */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.visual img {
  width: 80%; /* full icon pero hindi overloaded */
  height: auto; /* para proportion amg icon */
  object-fit: contain; /* para di maputol */
}

.value-box p {
  font-size: 20px;
  color: #737373;
  margin-top: 15px;
  font-weight: 300;
}

/*TEAM */
.team-section {
  text-align: center;
  padding: 80px 60px;
}

.team-section .title {
  font-size: 60px;
  font-weight: 300;
  color: #737373;
  letter-spacing: -3px;
  margin-bottom: 10px;
}

.underline {
  width: 382px;
  height: 2px;
  background: #ffc600;
  margin: 10px auto 60px;
  border-radius: 2px;
}

.team-container {
  display: flex;
  justify-content: center; /* centers all team members horizontally */
  align-items: center;
  flex-wrap: wrap;
  gap: 200px; /* equal space between members */
}

.team-member {
  text-align: center;
  max-width: 420px;
}

.photo {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 1px;
  display: flex;
  justify-content: center; /* centers the image inside */
  align-items: center;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin: 15px 0 5px 0;
  font-size: 26px;
  font-weight: 500;
  color: #737375;
}

.team-member p {
  font-size: 15px;
  color: #737375;
  margin: 0;
}

.team-btn {
  margin-top: 60px;
  padding: 16px 30px;
  border: 1px solid #ccc;
  background: transparent;
  color: #737373;
  border-radius: 25px;
  font-size: 16px;
  align-items: center;
}

.team-btn:hover {
  background: #f3c13a;
  color: #fff;
  transition: all 0.3s ease;
  border: 1.5px solid #ffc800;
}

/* ========== MOBILE, TABLET, IPAD, SMALL LAPTOP RESPONSIVE ========== */

/* Mobile (≤480px) */
@media (max-width: 480px) {
  .ourstory {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .section-text {
    padding-right: 0;
  }

  .section-text h1 {
    font-size: 36px;
    margin-top: 50px;
  }

  .section-text h3,
  .section-text p {
    font-size: 16px;
  }

  .vision-mission {
    padding: 30px 20px;
    margin-top: 50px;
  }

  .underline {
    width: 200px;
    height: 2px;
    background: #ffc600;
    margin: 10px auto 60px;
    border-radius: 2px;
  }
  .about h2 {
    font-size: 28px;
  }

  .about p {
    font-size: 16px;
    text-align: justify;
  }

  .mission-cards {
    gap: 15px;
  }
  .underline1 {
    width: 200px;
    height: 2px;
    background: #ffc600;
    margin: 10px auto 60px;
    border-radius: 2px;
  }

  .mission-card {
    flex: 1 1 100%;
    padding: 15px;
  }

  .mission-card h3 {
    font-size: 18px;
  }

  .mission-card p {
    font-size: 14px;
  }

  .programs h2 {
    font-size: 28px;
    margin-top: 50px;
  }

  .programs p.subtitle {
    font-size: 18px;
    margin-bottom: 50px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .project-card img {
    height: auto !important;
  }

  .project-card h3 {
    font-size: 16px;
    top: 0;
    padding: 4px 6px;
  }

  .project-card p {
    font-size: 14px;
  }

  .values-section .title {
    font-size: 28px;
  }

  .value-box {
    width: 100%;
  }

  .visual {
    height: 180px;
  }

  .value-box p {
    font-size: 14px;
  }

  .team-section .title {
    font-size: 28px;
  }

  .team-container {
    gap: 30px;
  }

  .team-member .photo {
    height: 300px;
  }

  .team-member h3 {
    font-size: 18px;
  }

  .team-member p {
    font-size: 12px;
  }

  .team-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Tablet/iPad (481px – 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .ourstory {
    flex-direction: column;
    gap: 25px;
    padding: 30px;
  }

  .section-text h1 {
    font-size: 48px;
    margin-top: 70px;
  }

  .section-text h3,
  .section-text p {
    font-size: 18px;
  }

  .mission-card h3 {
    font-size: 20px;
  }

  .mission-card p {
    font-size: 15px;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .project-card h3 {
    font-size: 18px;
  }

  .project-card p {
    font-size: 15px;
  }

  .values-section .title {
    font-size: 36px;
  }

  .value-box {
    width: 45%;
  }

  .visual {
    height: 220px;
  }

  .team-section .title {
    font-size: 36px;
  }

  .team-member .photo {
    height: 400px;
  }

  .team-member h3 {
    font-size: 22px;
  }

  .team-member p {
    font-size: 14px;
  }

  .team-btn {
    padding: 14px 25px;
    font-size: 15px;
  }
}

/* Small laptops (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .ourstory {
    gap: 40px;
    padding: 40px;
  }

  .section-text h1 {
    font-size: 64px;
    margin-top: 100px;
  }

  .section-text h3,
  .section-text p {
    font-size: 20px;
  }

  .mission-card h3 {
    font-size: 22px;
  }

  .mission-card p {
    font-size: 16px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .project-card h3 {
    font-size: 22px;
  }

  .project-card p {
    font-size: 16px;
  }

  .values-section .title {
    font-size: 48px;
  }

  .value-box {
    width: 40%;
  }

  .visual {
    height: 240px;
  }

  .team-section .title {
    font-size: 48px;
  }

  .team-member .photo {
    height: 450px;
  }

  .team-member h3 {
    font-size: 24px;
  }

  .team-member p {
    font-size: 15px;
  }

  .team-btn {
    padding: 15px 28px;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .section-text h3,
  .project-card h3,
  .values-section .title,
  .team-section .title,
  .about p {
    font-weight: 400; /* bolder on small screens */
  }
}

/*FOOTER*/
footer {
  background: linear-gradient(to left, #ffc800 0%, #ffc800 70%, #ff914d 100%);
  color: white;
  padding: 3px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 150px;
}

/* Left side (logo + info) */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px;
  min-width: 200px;
}

.brand {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.brand img {
  width: 50px;
  height: 50px;
  margin-right: 12px;
}
.brand h2 {
  margin-top: 10px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: -1px;
}
.brand a {
  text-decoration: none;
  color: #fff;
  margin-top: 10px;
}
.brand p {
  margin: 0;
}

.info .item {
  margin-top: 18px;
  margin-bottom: 18px;
  text-align: left;
}
.copyright {
  margin-top: 18px;
  margin-bottom: 18px;
  text-align: left;
  font-size: 12px;
}
.info strong {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}
.info p {
  margin: 0;
}

/* Middle + Right side container */
.footer-middle {
  display: flex;
  gap: 30px; /* pagitan ng Help & FAQs at Let’s Connect */
  align-items: flex-start;
  margin: 10px;
  min-width: 200px;
}

/* Help & FAQs */
.footer-center h3 {
  margin-top: 1.1cm;
  font-size: 25px;
  margin-bottom: 17px;
  letter-spacing: -1px;
}
.footer-center a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 3px 0;
  font-size: 18px;
  text-align: start;
}
.footer-center a:hover {
  color: #737373;
}

/* Let’s Connect */
.footer-right h3 {
  font-size: 25px;
  margin-bottom: 15px;
  margin-top: 1.1cm;
}
.social-links a {
  display: flex;
  align-items: center;
  margin: 8px 0;
  color: white;
  text-decoration: none;
  font-size: 20px;
}
.social-links a:hover {
  color: #737373;
}

.social-links img {
  width: 33px;
  height: 33px;
  margin-right: 8px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ------------------------------- */
/* 📱 MOBILE - small phones (0–600px) */
/* ------------------------------- */
@media (max-width: 600px) {
  footer {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .footer-left,
  .footer-middle,
  .footer-center,
  .footer-right {
    width: 100%;
    margin: 10px 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand h2 {
    font-size: 20px;
  }

  p,
  .footer-center a,
  .social-links a {
    font-size: 14px;
  }

  .footer-center h3,
  .footer-right h3 {
    margin-top: 20px;
    font-size: 20px;
  }

  .social-links img {
    width: 28px;
    height: 28px;
  }
}

/* -------------------------------------- */
/* 📱📲 TABLET / iPad (600px–900px) */
/* -------------------------------------- */
@media (min-width: 600px) and (max-width: 900px) {
  footer {
    padding: 20px 35px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-left {
    width: 45%;
  }

  .footer-middle {
    width: 45%;
    gap: 20px;
  }

  .footer-center h3,
  .footer-right h3 {
    font-size: 22px;
  }

  .footer-center a,
  .social-links a {
    font-size: 16px;
  }

  p {
    font-size: 15px;
  }

  .brand img {
    width: 45px;
    height: 45px;
  }
}

/* ------------------------------------------------------ */
/* 💻 SMALL LAPTOPS (900px–1200px) */
/* ------------------------------------------------------ */
@media (min-width: 900px) and (max-width: 1200px) {
  footer {
    padding: 20px 50px;
    gap: 40px;
  }

  .footer-left,
  .footer-middle {
    transform: scale(0.95); /* shrink slightly so it doesn’t look cramped */
  }

  .footer-center h3,
  .footer-right h3 {
    font-size: 23px;
  }

  p {
    font-size: 15px;
  }
}
