:root {
  --primary: #4016ff;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

section {
  min-height: 62.5%;
  padding: 10rem 9% 2rem;
}

/* ================= HEADER ================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 80px;
  width: 80px;
}

/* ================= NAVBAR ================= */

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

/* NAV LINKS */
.nav-link {
  position: relative;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
}

/* subtle underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ================= CONTACT BUTTON ================= */

.nav-btn {
  padding: 9px 20px;
  border-radius: 6px;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 1.5rem;
  font-weight: 500;
}

/* ================= DROPDOWN BASE ================= */

.nav-dropdown {
  position: relative;
}

/* ================= MEGA DROPDOWN (OUR SERVICES) ================= */

.nav-dropdown-mega {
  position: static;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #97a6ee;
  padding: 25px 9%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  overflow-y: auto;
  z-index: 999;
}

.mega-menu.show {
  display: grid;
}

.mega-menu a {
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-light);
  padding: 16px 18px;
  border-radius: 10px;
  text-decoration: none;
}

.mega-menu a:hover {
  background: #eef1ff;
}

/* ================= COMPACT DROPDOWN (CORE SERVICES) ================= */

.nav-dropdown-compact {
  position: static;
}

.compact-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #97a6ee;
  padding: 25px 20%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  overflow-y: auto;
  z-index: 999;
}

.compact-menu.show {
  display: grid;
}

.compact-menu a {
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-light);
  padding: 16px 180px;
  border-radius: 10px;
  text-decoration: none;
}

.compact-menu a:hover {
  background: #eef1ff;
}

/* ================= MOBILE ================= */

#menu-icon {
  display: none;
  font-size: 2.8rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 80%;
    height: 100vh;
    max-height: calc(100vh - 80px);
    /* 👈 important */
    overflow-y: auto;
    /* 👈 allow scroll */
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    display: none;
  }

  .navbar.active {
    display: flex;
  }

  /* Mobile dropdowns */
  .mega-menu,
  .compact-menu {
    position: static;
    width: 100%;
    max-height: none;
    padding: 16px;
    grid-template-columns: 1fr;
    box-shadow: none;
  }
}






.page-hero {
  padding: 140px 9% 80px;
  text-align: center;
  background: linear-gradient(135deg, #4016ff, #8f7bff);
  color: #fff;
}

.page-hero h1 {
  font-size: 4.5rem;
}

.page-hero p {
  font-size: 1.8rem;
  margin-top: 10px;
}







.site-footer {
  background: radial-gradient(circle at top right, #3673c2 0%, #ffffff 45%);
  color: #000000;
  padding: 80px 40px 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 50px;
}

/* BRAND */
.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.brand-subtitle {
  font-size: 16px;
  letter-spacing: 0.8px;
  opacity: 0.85;
  margin-bottom: 18px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(21, 44, 193, 0.1);
  color: #000000;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: #2e10c7;
}

/* COLUMNS */
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

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

.footer-col ul li {
  margin-bottom: 14px;
  font-size: 15px;
  opacity: 0.9;
}

.footer-col ul li a {
  color: #000000;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #1f10c7;
}

/* CONTACT */
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-list i {
  color: #102bc7;
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgb(4, 0, 90);
  margin-top: 50px;
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .contact-list li {
    justify-content: center;
  }
}