/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}


.top-header {
  width: 100%;
  /* height: 30%; */
  background: #ffffff;
  padding: 10px 0;
}

.th-container {
  width: 20%;
  margin: auto;

  display: flex;
  align-items: center;
  gap: 30px;
}

/* LEFT */
/* .th-left {
    height: 20%;
    width: 28%;
} */




@media (max-width: 769px) {
  .th-left img {
    height: auto;
  }

  .th-right img {
    height: auto;
  }

  .th-container {
    gap: 10px;
  }
}

.navbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
}

.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LEFT LOGO */
.th-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.th-left img {
  height: 70px;
  width: auto;
}

/* CENTER MENU */
.nav-link-con {
  flex: 2;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

/* RIGHT SECTION */
.right-con-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

/* RIGHT LOGOS */
.th-right {
  display: flex;
  align-items: center;
  gap: 70px;
}

.th-right img {
  height: 70px;
  width: auto;
}

/* BUTTON */
.btn-enquire {
  padding: 10px 20px;
  background: #f4b400;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
/* REMOVE DEFAULT LINK STYLE */
.nav-menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

/* REMOVE BLUE + UNDERLINE ON ALL STATES */
.nav-menu li a:link,
.nav-menu li a:visited,
.nav-menu li a:active {
  color: #333;
  text-decoration: none;
}

.nav-menu li a:hover {
  color: #0b1f3a;
}

/* ACTIVE (NOW WILL WORK) */
.nav-menu li a.active {
  color: #0b1f3a;
  font-weight: 600;
}

/* UNDERLINE SYSTEM */
.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: #0b1f3a;
  transition: 0.3s ease;
}

/* HOVER UNDERLINE */
.nav-menu li a:hover::after {
  width: 100%;
}

/* ACTIVE UNDERLINE */
.nav-menu li a.active::after {
  width: 100%;
}



/* LOGO */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 42px;
  display: block;
}



/* ===== NAVBAR DEFAULT (DESKTOP) ===== */

.menu-toggle {
  display: none; 
  font-size: 24px;
  cursor: pointer;
}



@media (max-width: 768px) {

  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Make navbar relative */
  .navbar {
    position: relative;
  }

  /* Hide menu by default */
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0b2a47;

    flex-direction: column;
    align-items: center;
    gap: 0;

    display: none;
    padding: 20px 0;

    z-index: 9999;
  }

  /* Show when active */
  .nav-menu.active {
    display: flex !important;
  }

  /* Menu items */
  .nav-menu li {
    margin: 15px 0;
  }

  .nav-menu li a {
    color: #fff;
    font-size: 16px;
  }

  /* Hide enquire button */
  .nav-cta {
    display: none;
  }
}
/* FOOTER */
.footer {
  background: #ffffff;
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
}

/* GRID */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* HEADINGS */
.footer-col h2 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
  padding: 0px;
  margin: 0px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 15px;
}

/* TEXT */
.footer-col .phone p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.footer-col .phone {
  margin-bottom: 5px;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
}
.address {
  margin-bottom: 5px;
}
.address {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 8px;
}
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* REMOVE UNDERLINE + STYLE LINKS */
.footer-col ul li a {
  text-decoration: none;
  color: #1b2a41;
  transition: 0.3s;
}

/* HOVER EFFECT */
.footer-col ul li a:hover {
  color: #f4b400;
  transform: translateX(4px);
}

/* CONTACT LINKS */
.footer-col.contact a {
  text-decoration: none;
  color: #1b2a41;
}

.footer-col.contact a:hover {
  color: #f4b400;
}

.contact {
  margin-bottom: 10px;
}

/* SOCIAL */
.socials {
  display: flex;
  gap: 20px;
  margin-top: -10px;   /* ✅ lift Follow Us upward */
}

.socials a {
  width: 36px;
  height: 36px;
  background: #f4b400;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1f3a;
  text-decoration: none;
  font-weight: bold;
}

/* BIG BACKGROUND TEXT */
.footer-bg {
  position: absolute;
  bottom: -50px; /* FIXED */
  left: 50%;
  transform: translateX(-50%);
  font-size: 280px;
  font-weight: 800;
  color: #f4b400;
  opacity: 0.10;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 10px;
}
/* BOTTOM BAR */
.footer-bottom {
  background: #1b2a41;
  margin-top: 0;
  padding: 15px 0;
  position: relative;
  z-index: 2;
}

/* FOOTER LINKS COLOR FIX */
.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom a:hover {
  color: #f4b400;
  text-decoration: none;
}

/* ✅ Straight line alignment */
.bottom-wrap {
  display: flex;              /* use flex instead of grid */
  justify-content: space-between; /* spread items evenly */
  align-items: center;        /* vertical center */
  color: #fff;
  font-size: 13px;
  gap: 20px;                  /* spacing between items */
}

.bottom-wrap span {
  text-align: center;         /* all items centered vertically */
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ✅ Fix Buiz Lab logo + text cut issue */
.footer-bottom .buiz-link {
  display: flex;
  align-items: center; /* align logo + text */
  gap: 5px;
}

.footer-bottom .buiz-link span {
  height: 22px;        /* slightly taller */
  width: auto;
}

.footer-bottom .buiz-link span img {
  height: 100%;
  width: auto;
  object-fit: contain; /* prevent cutting */
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .bottom-wrap {
    flex-direction: column;   /* stack items on small screens */
    gap: 10px;
    text-align: center;
  }
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bg {
    font-size: 150px;
    bottom: -20px;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bg {
    font-size: 80px;
    bottom: 0;
  }

  .bottom-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .bottom-wrap span {
    text-align: center !important;
  }
}

.cta {
  background: #f4b400;
  padding: 80px 0;
  text-align: center;
}

.container {
  width: 80%;
  margin: auto;
}

/* Heading */
.cta h2 {
  font-size: 42px;
  color: #0b1f3a;
  margin-bottom: 10px;
  font-weight: 700;
}

/* Subtext */
.cta p {
  font-size: 16px;
  color: #0b1f3a;
  margin-bottom: 30px;
}

/* Button */
.cta-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #0b1f3a;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}


/* Hover */
.cta-btn:hover {
  background: #000;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-bottom {
    margin-top: 30px;   /* ✅ lift the bottom bar upward */
  }

  .cta h2 { font-size: 28px; }
  .cta p { font-size: 14px; }

  .footer-col.follow-us h4 {
    text-align: center;
  }

  .footer-col.follow-us .socials {
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 0px;
  }
}

/* Small Mobile */
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bg { font-size: 80px; bottom: 0; }

  .bottom-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .bottom-wrap span {
    text-align: center !important;
    display: block;
  }

  /* Target the Buiz lab link by its class */
  .bottom-wrap .buiz-link {
    display: inline-block;
    text-align: center;
    font-size: 13px;
    margin-top: 5px;
  }

  .bottom-wrap .buiz-link img {
    width: 14px;   /* shrink logo on mobile */
    height: auto;
    vertical-align: middle;
    margin-left: 4px;
  }

  /* ✅ Center align ONLY Follow Us section on very small screens */
  .footer-col.follow-us h4 {
    text-align: center;
  }

  .footer-col.follow-us .socials {
    justify-content: center;
    margin-top: -8px;
    margin-bottom: 15px;
  }

  .cta { padding: 40px 20px; }
  .cta h2 { font-size: 22px; }
  .cta p { font-size: 13px; }
  .cta-btn { font-size: 14px; padding: 12px 24px; }
}

/* =========================
   NAVBAR RESPONSIVE FIXES
========================= */
@media (max-width: 768px) {
  /* Left logo stays */
  .th-left {
    margin-top: -8px;
  }
  .th-left img {
    height: 50px;
    width: auto;
  }

  /* Hide Enquire button */
  .nav-cta {
    display: none !important;
  }

  /* ✅ Hide right-side logo(s) in mobile */
  .th-right img {
    display: none !important;
  }

  /* Hamburger icon aligned to right corner */
/* Hamburger icon styling */
.menu-toggle {
  display: block;
  position: absolute;
  top: 30%;                  /* align with logo */
  transform: translateY(-50%);
  right: 15px;               /* push to right corner */
  font-size: 28px;           /* slightly larger */
  font-weight: 700;          /* ✅ bold */
  cursor: pointer;
  z-index: 10000;
  color: #000;               /* professional black */
  line-height: 1;            /* tighter spacing */
}


/* Dropdown menu */
.nav-menu {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: #f4b400;         /* ✅ yellow background */
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  display: none;
  z-index: 9999;
}

.nav-menu.active {
  display: flex !important;
}

/* Menu items */
.nav-menu li a {
  color: #ffffff;              /* ✅ white text */
  font-size: 15px;
  font-weight: 600;            /* ✅ bold */
  text-decoration: none;       /* ✅ no underline */
  padding: 8px 12px;           /* ✅ padding for highlight */
  transition: 0.3s;
  border-radius: 4px;          /* ✅ smooth corners */
}

/* Hover / Active state */
.nav-menu li a:hover,
.nav-menu li a:focus,
.nav-menu li a.active {
        /* ✅ dark blue highlight */
  color: #ffffff;              /* text stays white */
  font-weight: 700;            /* stronger bold */
  text-decoration: none;       /* ✅ no underline */
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
  .menu-toggle {
    font-size: 22px;
    right: 10px;
    color: #000;
  }

  .nav-menu li a {
    font-size: 14px;
    color: #ffffff;            /* ✅ keep white text */
    font-weight: 600;
  }
}
}