/* header-logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-logo .logo-product img {
  height: 40px;
}

.header-logo .divider {
  width: 1px;
  height: 28px;
  background: #3b82f6;
}

.header-logo .logo-product {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #bfdbfe;
  border: 1.5px solid #93c5fd;
}

/* SCROLL PROGRESS */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #3b82f6;
  z-index: 9999;
  transition: width 0.08s linear;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(232, 228, 244, 0.6);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 4px 32px rgba(10, 181, 160, 0.1);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(90deg, #0575e6 0%, #021b79 100%);

  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(10, 181, 160, 0.3);
}

.logo-mark i {
  width: 20px;
  height: 20px;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: #4a4568;
  padding: 7px 14px;
  border-radius: 10px;
  transition: all 0.18s;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  color: #0575e6;
  background: #bfdbfe;
}

.nav-cta {
  background: linear-gradient(90deg, #0575e6 0%, #021b79 100%) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: 9px 22px !important;
  margin-left: 6px;
  box-shadow: 0 4px 16px rgba(10, 181, 160, 0.3) !important;
}

.nav-cta:hover {
  box-shadow: 0 6px 24px rgba(10, 181, 160, 0.4) !important;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: none;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: #4a4568;
}

.hamburger i {
  width: 20px;
  height: 20px;
  display: block;
}

/* MOBILE NAV DRAWER */
.mob-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 490;
  background: #fff;
  padding: calc(68px + 24px) 24px 32px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mob-drawer.open {
  display: flex;
}

.mob-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #4a4568;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  transition: all 0.18s;
}

.mob-drawer a i {
  width: 18px;
  height: 18px;
  color: #0ab5a0;
}

.mob-drawer a:hover {
  background: #bfdbfe;
  border-color: #0ab5a0;
}

.mob-drawer .mob-cta {
  background: linear-gradient(90deg, #0575e6 0%, #021b79 100%);

  color: #fff;
  border: none;
  margin-top: 8px;
  justify-content: center;
}

@media (max-width: 768px) {
  #header {
    padding: 0 20px;
  }

  nav ul {
    display: none;
  }

  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 16px;
    border-bottom: 1px solid #dde6f5;
    box-shadow: 0 8px 24px rgba(10, 50, 120, 0.08);
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
    align-items: center;
  }
}

/* ── FOOTER ── */
#footer {
  background: #eef3ff;
  border-top: 1px solid #dde6f5;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: #4a5e7a;
  line-height: 1.7;
  margin: 20px 0 24px;
  max-width: 320px;
}

.footer-logo {
  height: 50px;
  width: auto;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #1e6ef5;
  color: #1e6ef5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover {
  background: #e8f2ff;
  color: #0a6cff;
  border-color: rgba(10, 108, 255, 0.18);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0d1829;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #4a5e7a;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: #0a6cff;
}

.footer-col ul li a svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.5;
}

.footer-contact-detail {
  font-size: 14px;
  color: #4a5e7a;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid #dde6f5;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #1e6ef5;
}

/* ── BACK TO TOP ── */
#backTop {
  position: fixed;
  bottom: 96px;
  right: 22px;
  z-index: 499;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #0a6cff;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(10, 108, 255, 0.35);
}

#backTop.visible {
  opacity: 1;
  transform: translateY(0);
}
#backTop.show {
  opacity: 1;
  transform: translateY(0);
}

#backTop:hover {
  background: #0550cc;
  transform: translateY(-3px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a6cff;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(10, 108, 255, 0.25);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.28);
}

.product-menu,
.product-section {
  display: none !important;
}
