/* ==========================================================================
   PROACTIVE TECH LTD - Global Header & Footer Styles (Scoped)
   ========================================================================== */

/* --------------------------------------------------------------------------
   TOPBAR
   -------------------------------------------------------------------------- */
.topbar {
  background: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .09) !important;
  padding: 0 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 40px;
  font-size: 12.5px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.topbar a,
.topbar span {
  color: rgba(255, 255, 255, .66) !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: .15s;
  text-decoration: none !important;
}
.topbar a:hover {
  color: #ffffff !important;
}
.topbar .sep {
  margin-left: auto;
}
.topbar svg {
  width: 14px;
  height: 14px;
  color: #dc2626;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff !important;
  border-bottom: 1px solid #E6EBF2 !important;
  box-shadow: 0 4px 20px -16px rgba(0, 0, 0, .4);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
header .nav {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 72px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
header .logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: .04em;
  color: #11161E;
}
header .logo img {
  display: block;
}

header .nav-links {
  display: flex;
  align-items: center;
  margin-left: 4px;
  gap: 2px;
}
header .nav-item {
  position: relative;
}
header .nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 9px;
  font-size: 14px;
  font-weight: 500;
  color: #11161E;
  border-radius: 9px;
  transition: .16s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
header .nav-item > a:hover,
header .nav-item > a.active {
  color: #dc2626;
  background: #FEECEC;
}
header .nav-item > a .chev {
  width: 7px;
  height: 7px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: .55;
  transition: .2s;
  display: inline-block;
}
header .nav-item:hover > a .chev {
  transform: rotate(225deg);
  margin-top: 2px;
}

/* Dropdown */
header .dropdown {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  background: #fff;
  border: 1px solid #E6EBF2;
  border-radius: 16px;
  box-shadow: 0 22px 60px -26px rgba(0, 0, 0, .35);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
  display: grid;
  gap: 2px;
  z-index: 100;
}
header .dropdown::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  right: 0;
  height: 9px;
}
header .dropdown.single {
  min-width: 262px;
}
header .dropdown.wide {
  grid-template-columns: 1fr 1fr;
  width: 496px;
}
header .nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header .dd {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 11px;
  transition: .14s;
  text-decoration: none;
}
header .dd:hover {
  background: #F6F8FB;
}
header .dd .ic {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 9px;
  background: #FEECEC;
  color: #dc2626;
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
}
header .dd .ic svg {
  width: 17px;
  height: 17px;
}
header .dd .t {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13.4px;
  color: #11161E;
  display: block;
  line-height: 1.3;
}
header .dd .d {
  font-size: 11.6px;
  color: #5C6675;
  display: block;
  line-height: 1.35;
  margin-top: 1px;
}

/* Nav Right & Header Buttons */
header .mobile-cta {
  display: none;
}
header .nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 11px;
}
header .nav-right .login {
  color: #11161E;
  font-weight: 500;
  font-size: 14px;
  padding: 9px 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
header .nav-right .login:hover {
  color: #dc2626;
}

header .nav-right .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 11px;
  transition: .22s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff !important;
  box-shadow: 0 12px 28px -12px rgba(220, 38, 38, .45);
}
header .nav-right .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(220, 38, 38, .45);
  color: #fff !important;
}

/* Hamburger */
header .burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 101;
}
header .burger span {
  width: 22px;
  height: 2px;
  background: #11161E;
  border-radius: 2px;
  transition: .3s;
}
header .burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
header .burger.active span:nth-child(2) {
  opacity: 0;
}
header .burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
  background: #000000 !important;
  color: rgba(255, 255, 255, .7) !important;
  padding: 64px 0 30px !important;
  margin-top: 40px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
footer .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
footer .f-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
footer .f-brand .logo {
  margin-bottom: 16px;
  color: #fff;
  display: inline-flex;
}
footer .f-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  max-width: 280px;
  line-height: 1.6;
  margin: 14px 0 12px;
}
footer .f-brand .mail {
  margin-top: 14px;
  font-size: 13px;
  color: #ff6b6b;
}
footer .f-brand .mail a {
  color: inherit;
  text-decoration: none;
}
footer .f-brand .mail a:hover {
  text-decoration: underline;
}

footer .f-soc {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
footer .f-soc a {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .7);
  transition: .18s;
  text-decoration: none;
}
footer .f-soc a:hover {
  background: #dc2626;
  color: #fff;
  border-color: transparent;
}
footer .f-soc svg {
  width: 16px;
  height: 16px;
}

footer .f-col h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  margin-bottom: 15px;
}
footer .f-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
  padding: 5px 0;
  transition: .15s;
  text-decoration: none;
}
footer .f-col a:hover {
  color: #ff6b6b;
}

footer .f-legal {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
footer .f-legal p {
  font-size: 11.3px;
  color: rgba(255, 255, 255, .45);
  line-height: 1.7;
  margin-bottom: 10px;
}
footer .f-legal b {
  color: rgba(255, 255, 255, .6);
}

footer .f-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
footer .f-bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  margin: 0;
}
footer .f-bottom .ll {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer .f-bottom .ll a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5) !important;
  text-decoration: none !important;
  transition: color .15s;
}
footer .f-bottom .ll a:hover {
  color: #ff6b6b !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVE NAVIGATION & FOOTER
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  header .nav-right .login,
  header .nav-right .btn-primary,
  .topbar {
    display: none !important;
  }
  header .burger {
    display: flex;
  }
  header .nav-links {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    transition: .3s ease;
    overflow-y: auto;
    display: flex;
    z-index: 99;
    margin: 0;
  }
  header .nav-links.active {
    left: 0;
  }
  header .nav-item {
    width: 100%;
  }
  header .nav-item > a {
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 16px;
  }
  header .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding: 10px 0 10px 16px;
    width: 100%;
  }
  header .dropdown.wide {
    grid-template-columns: 1fr;
    width: 100%;
  }
  header .nav-item.mob-active .dropdown {
    display: grid;
  }
  header .nav-item.mob-active > a {
    color: #dc2626;
  }
  header .nav-item.mob-active > a .chev {
    transform: rotate(225deg);
    margin-top: 2px;
  }
  header .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
    border-top: 1px solid #E6EBF2;
    padding-top: 24px;
  }
  header .mobile-cta .btn-primary {
    justify-content: center;
    width: 100%;
    display: inline-flex !important;
  }
  header .mobile-cta .login {
    text-align: center;
    color: #11161E;
    font-weight: 600;
    padding: 12px;
    display: block !important;
    text-decoration: none;
  }
  footer .f-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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

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