/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* =========================
   THEME COLORS
========================= */
:root {
  --bg-dark: #0b1224;
  --bg-dark-2: #0f1b3d;
  --card-bg: #111c33;
  --border: rgba(255, 255, 255, 0.08);

  --primary: #6d7cff;
  --secondary: #4da3ff;

  --text-main: #ffffff;
  --text-muted: #cfd6ff;
}

/* =========================
   BODY
========================= */
body {
  background: radial-gradient(circle at top, #15245b, #0b1224 70%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background: var(--bg-dark-2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 100px;
  height: auto;
  filter: brightness(1.5) contrast(1.2);
}

.brand-main {
  color: #8b8dff;
  font-weight: 700;
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 4px;
  transition: border-bottom 0.3s ease;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  border-bottom: 2px solid var(--primary);
}

.cta-btn {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  padding: 10px 20px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

/* ===== DROPDOWN - PRODUCTS MENU ===== */

.nav-links li.dropdown {
  position: relative;
}

.nav-links li.dropdown > a.dropbtn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
  padding-bottom: 4px;
  cursor: pointer;
  user-select: none;
}

.nav-links li.dropdown > a.dropbtn:hover,
.nav-links li.dropdown > a.dropbtn.active {
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}

/* Dropdown main container */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg-dark-2);
  min-width: 280px;
  box-shadow: 0 8px 25px rgba(77, 163, 255, 0.3);
  border-radius: 16px;
  top: 100%;
  left: 0;
  padding: 12px 0;
  z-index: 100;
}

/* Show dropdown on hover */
.nav-links li.dropdown:hover > .dropdown-content {
  display: block;
}

/* Dropdown items */
.dropdown-content li {
  position: relative;
  list-style: none;
}

.dropdown-content > li > a {
  color: var(--text-main);
  font-weight: 600;
  padding: 12px 30px 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.dropdown-content > li > a:hover {
  background-color: var(--primary);
  color: #fff;
  border-radius: 12px;
}

/* Submenu arrow icon */
.submenu-arrow {
  font-size: 0.9rem;
  color: var(--secondary);
}

/* Submenu container */
.dropdown-submenu {
  cursor: pointer;
}

/* Submenu list */
.submenu-list {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background-color: var(--bg-dark-2);
  border-radius: 16px;
  min-width: 240px;
  padding: 10px 0;
  box-shadow: 0 8px 25px rgba(77, 163, 255, 0.3);
  z-index: 150;
}

/* Show submenu on hover */
.dropdown-submenu:hover > .submenu-list {
  display: block;
}

/* Submenu links */
.submenu-list li a {
  display: block;
  padding: 10px 25px;
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.submenu-list li a:hover {
  background-color: var(--secondary);
  color: #fff;
  border-radius: 12px;
}

/* Icons for main categories using FontAwesome */
.dropdown-content > li > a.cctv::before {
  content: "\f030"; /* fa-camera */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 14px;
  color: var(--primary);
}

.dropdown-content > li > a.networking::before {
  content: "\f6ff"; /* fa-network-wired */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 14px;
  color: var(--primary);
}

.dropdown-content > li > a.biometric::before {
  content: "\f2c0"; /* fa-users */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 14px;
  color: var(--primary);
}

.dropdown-content > li > a.telecommunication::before {
  content: "\f1eb"; /* fa-phone */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 14px;
  color: var(--primary);
}

/* ===== MAIN CONTAINER ===== */
main.container {
  max-width: 1100px;
  margin: 60px auto 100px;
  padding: 20px 30px;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(109, 124, 255, 0.2);
  color: var(--text-main);
  min-height: 400px;
}

main.container h1 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 2.5rem;
}

main.container p {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer-top {
  max-width: 1200px;
  margin: auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  background: radial-gradient(circle at top, #0b1430, #020617 70%);
  color: var(--text-muted);
  border-radius: 0 0 20px 20px;
}

/* Brand */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 50px;
}

.footer-logo h3 {
  color: #8b8dff;
  line-height: 1.1;
}

.footer-logo span {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.phone {
  color: #d1d5ff;
  margin-bottom: 15px;
}
.phone.landline {
  color: #9ca3af;
  font-size: 14px;
}


.footer-whatsapp {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.footer-whatsapp a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.footer-whatsapp a:hover {
  transform: scale(1.05);
}

.footer-whatsapp i {
  font-size: 20px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 30px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Social icons */
.socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: #0c1a33;
  border-radius: 50%;
  margin-right: 8px;
  color: #8b8dff;
  transition: 0.3s;
}

.socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  transform: translateY(-3px);
}

/* Links */
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #8b8dff;
}

/* CTA */
.footer-cta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 25px;
  border-radius: 16px;
}

.footer-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 0 25px rgba(139, 141, 255, 0.35);
  transition: 0.3s;
}

.footer-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(139, 141, 255, 0.55);
}

/* Bottom center */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: #9aa3ff;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: var(--bg-dark-2);
    position: fixed;
    top: 70px;
    right: 0;
    width: 250px;
    height: calc(100vh - 70px);
    padding-top: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 200;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links li {
    margin-bottom: 15px;
  }
  .nav-links li a {
    margin: 0 20px;
    font-size: 1.1rem;
  }

  /* Hide dropdown on mobile for now */
  .dropdown-content,
  .submenu-list {
    display: none !important;
  }
}
.product-banner {
  text-align: center;
  margin: 40px 0;
}

.product-banner img {
  max-width: 50%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(109, 124, 255, 0.4);
  filter: brightness(1.05);
  transition: transform 0.3s ease;
}

.product-banner img:hover {
  transform: scale(1.02);
}
