* {
  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;
  }
}

.roadmap__container {
  max-width: 1400px;
  margin: auto;
  padding: 3cm 24px;
  gap: 48px;
}

.roadmap__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.tag {
  color: #737373;
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  align-items: start;
}

.roadmap__left h1 {
  font-size: 70px;
  line-height: 1.05;
  margin: 0 0 48px 0;
  font-weight: 700;
  color: #737373;
}

.roadmap__left h3 {
  font-size: 16px;
  color: #737373;
  margin: 30px 0 8px 0;
  font-weight: 700;
}

.roadmap__left p {
  font-size: 19px;
  color: #737373;
  line-height: 1.6;
  margin: 0 0 16px 0;
  max-width: 500px;
}

.roadmap__right {
  margin-top: 1.5cm;
  color: #737373;
}

.roadmap__right p {
  font-size: 18px;
  color: #737373;
  line-height: 1.55;
  margin: 0.5cm 0 30px 0;
}

.roadmap__right h3 {
  margin-top: 16x;
  font-size: 16px;
  color: #737373;
  font-weight: 700;
  margin-bottom: -0.5cm;
}

.roadmap__right ul {
  margin: 12px 0 16px 18px;
  font-size: 18px;
}

.roadmap__right li {
  margin: 10px 0;
  line-height: 1.6;
}

.roadmap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 5cm;
  flex-wrap: wrap;
}

.roadmap-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: crosshair;
  width: 550px;
}

.roadmap-image img {
  width: 100%;
  transition: transform 0.3s ease; /* smoother */
  transform-origin: center;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.15);
}

/* Hover animation */
.roadmap-image:hover img {
  transform: scale(1.05); /* zoom-in effect */
}

.roadmap-image:hover {
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25); /* stronger shadow */
}

@media (max-width: 980px) {
  .roadmap__top {
    grid-template-columns: 1fr;
  }
  .roadmap__left h1 {
    font-size: 40px;
  }
  .roadmap__gallery {
    grid-template-columns: 1fr;
  }
  .roadmap__image {
    height: 260px;
  }
}

@media (max-width: 520px) {
  .roadmap__left h1 {
    font-size: 32px;
  }
  .roadmap__image {
    height: 200px;
    border-radius: 14px;
  }
}

/* ------------------------------- */
/* 💻 Desktop (default) */
/* ------------------------------- */
/* Keep all your current desktop styles unchanged */

/* ------------------------------- */
/* 💻 Small Laptops (769px – 980px) */
/* ------------------------------- */
@media (max-width: 980px) and (min-width: 769px) {
  .roadmap__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .roadmap__left h1 {
    font-size: 50px;
  }

  .roadmap {
    gap: 3rem; /* reduce horizontal gap */
    justify-content: center;
  }

  .roadmap-image {
    width: 80%; /* scale images down */
    max-width: 500px;
  }
}

/* ------------------------------- */
/* 📱 Tablet / iPad (521px – 768px) */
/* ------------------------------- */
@media (max-width: 768px) and (min-width: 521px) {
  .roadmap__container {
    padding: 2cm 20px;
    gap: 30px;
  }

  .roadmap__left h1 {
    font-size: 40px;
  }

  .roadmap__left p,
  .roadmap__right p,
  .roadmap__right ul {
    font-size: 15px;
  }

  .roadmap {
    gap: 2rem;
    justify-content: center;
  }

  .roadmap-image {
    width: 90%; /* all images same width */
    max-width: 400px;
    border-radius: 16px;
    margin: 0 auto; /* center horizontally */
  }

  .roadmap-image img {
    width: 100%;
    height: auto;
  }
}

/* ------------------------------- */
/* 📱 Mobile (≤520px) */
/* ------------------------------- */
@media (max-width: 520px) {
  .roadmap__container {
    padding: 1.5cm 15px;
    gap: 20px;
  }

  .roadmap__left h1 {
    font-size: 32px;
    margin-bottom: 1.5cm;
  }

  .roadmap__left p,
  .roadmap__right p,
  .roadmap__right ul,
  .roadmap__right li {
    font-size: 13px;
  }

  .roadmap {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }

  .roadmap-image {
    width: 90%; /* uniform width */
    max-width: 320px;
    height: 180px; /* same height for uniformity */
    margin: 0 auto; /* center horizontally */
    border-radius: 12px;
    overflow: hidden;
  }

  .roadmap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .roadmap-image:hover img {
    transform: none; /* remove hover zoom on mobile */
  }
}

/* ------------------------------- */
/* 💻 Small Laptops (769px – 980px) */
/* ------------------------------- */
@media (max-width: 980px) and (min-width: 769px) {
  .roadmap-image {
    width: 80%;
    max-width: 500px;
    height: 100%; /* fill container height */
    margin: 0 auto;
  }

  .roadmap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills container without distortion */
  }
}

/* ------------------------------- */
/* 📱 Tablet / iPad (521px – 768px) */
/* ------------------------------- */
@media (max-width: 768px) and (min-width: 521px) {
  .roadmap-image {
    width: 90%;
    max-width: 400px;
    height: 250px; /* you can adjust this */
    margin: 0 auto;
  }

  .roadmap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ------------------------------- */
/* 📱 Mobile (≤520px) */
/* ------------------------------- */
@media (max-width: 520px) {
  .roadmap-image {
    width: 90%;
    max-width: 320px;
    height: 200px; /* you can increase this to your desired height */
    margin: 0 auto;
  }

  .roadmap-image img {
    width: 100%;
    height: 100%; /* fill container */
    object-fit: cover; /* maintain aspect ratio, crop if necessary */
  }

  .roadmap-image:hover img {
    transform: none; /* disable hover zoom on mobile */
  }
}

/* ------------------------------- */
/* 💻 Small Laptops (769px – 980px) */
/* ------------------------------- */
@media (max-width: 980px) and (min-width: 769px) {
  .roadmap-image {
    width: 80%;
    max-width: 500px;
    height: auto; /* auto height so full image shows */
    margin: 0 auto;
  }

  .roadmap-image img {
    width: 100%;
    height: auto; /* full height visible */
    object-fit: contain; /* prevents cropping */
  }
}

/* ------------------------------- */
/* 📱 Tablet / iPad (521px – 768px) */
/* ------------------------------- */
@media (max-width: 768px) and (min-width: 521px) {
  .roadmap-image {
    width: 90%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
  }

  .roadmap-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* ------------------------------- */
/* 📱 Mobile (≤520px) */
/* ------------------------------- */
@media (max-width: 520px) {
  .roadmap-image {
    width: 90%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
  }

  .roadmap-image img {
    width: 100%;
    height: auto;
    object-fit: contain; /* ensures full image is visible */
  }

  .roadmap-image:hover img {
    transform: none; /* disable hover zoom on mobile */
  }
}

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;
  }
}
