* {
  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;
  }
}

.industries {
  background: #fff;
  padding: 80px 20px;
  color: #333;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.industries__container {
  max-width: 1100px;
  margin: auto;
}

.industries h2 {
  font-size: 50px;
  margin-top: 50px;
  font-weight: 700;
  color: #737373;
  text-align: center;
}

.industries p {
  color: #737373;
  font-size: 17px;
  text-align: center;
  margin-bottom: 80px;
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 40px;
  justify-items: center;
  margin-bottom: 60px;
}

.industry {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 250px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.industry img {
  width: 90px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.industry span {
  background-color: #ffc800;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  width: 170px; /* fixed width for uniform pill size */
  padding: 6px 0;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.industry:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.industry:hover img {
  transform: scale(1.1);
}

/* Button bottom right */
/* Grid */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 40px;
  justify-items: center;
}

/* Button box (inside grid) */
/* Remove box styling from the button container */
.consult-box {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: flex-end; /* pushes button to the right */
  align-items: center;
  pointer-events: none; /* disables hover on box itself */
  margin-top: 80px;
  margin-right: -810px; /* adjust spacing to align with box edge */
}

.consult-box:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Enable button hover only */
.consult-btn {
  pointer-events: auto;
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid #ccc;
  border-radius: 25px;
  color: #737373;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  max-width: 550px;
}

.consult-btn:hover {
  background: #ffc800;
  color: #fff;
  border-color: #ffc800;
}

/* --- Responsive Design --- */

/* For tablets (max-width: 992px) */
@media (max-width: 992px) {
  .industries h2 {
    font-size: 40px;
  }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }

  .industry {
    width: 220px;
    height: 170px;
  }

  .industry img {
    width: 75px;
  }

  .industry span {
    width: 150px;
    font-size: 15px;
  }

  .consult-box {
    justify-content: center; /* center button on smaller screen */
    margin-right: 0;
    margin-top: 60px;
  }
}

/* For mobile (max-width: 600px) */
@media (max-width: 600px) {
  .industries h2 {
    font-size: 32px;
  }

  .industries p {
    font-size: 13px;
    margin-bottom: 50px;
  }

  .industries__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industry {
    width: 60%;
    height: 160px;
  }

  .industry img {
    width: 70px;
  }

  .industry span {
    width: 140px;
    font-size: 14px;
  }

  .consult-box {
    justify-content: center; /* center button nicely on mobile */
    margin-right: 0;
    margin-top: -30px;
  }

  .consult-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

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;
}

.industry-details {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: none;
}

.industry-details h2 {
  font-size: 40px;
  color: #737373;
  margin-bottom: 25px;
  border-bottom: 3px solid #ffc800;
  width: fit-content;
  padding-bottom: 5px;
}

.industry-details ul {
  margin-top: 25px;
  line-height: 1.8;
  font-size: 17px;
  color: #4a4a4a;
}

.industry-details.hidden {
  display: none;
}

.industry-details.show {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------- */
/* 📱 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;
  }
}
