@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
  margin: 0;
  font-family: Inter, sans-serif;

}

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;

  display: flex;
  flex-direction: column;
  /* default for mobile */
}

@media (min-width: 769px) {
  .container {
    flex-direction: row;
    /* horizontal layout for desktop */
    align-items: center;
    justify-content: space-between;
  }

  .nav-wrapper {
    display: flex !important;
    /* force flex on desktop */
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-top: 0;
  }

  .top-bar {
    margin-right: 40px;
  }
}


/* Top bar with logo and hamburger */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hide hamburger by default */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  border: none;
  background: none;
}

.container .logo img {
  height: auto;
  max-height: 50px;
  margin-bottom: 0;
}


/* Main nav area under top bar in desktop */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  color: #193153;

}

.nav-links a {
  text-decoration: none;
  color: #193153d7;
  font-weight: 500;
  padding-right: 10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right .nav-link {
  font-weight: bold;
  text-decoration: none;
  color: #193153;
}

.arrow img {
  width: 15px;
  height: 15px;
  margin-top: -4px;
  margin-left: 1px;
}

/* Dropdown wrapper */
.dropdown {
  position: relative;

}

.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateX(-10%);
  width: 90vw;
  max-width: 1200px;
  background: #f7f7f8;
  padding: 40px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown:hover .mega-dropdown {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

/* Each dropdown column */
.dropdown-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Link block (icon + text) */
.dropdown-column a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: #1b365cd5;
  /* font-weight: lighter; */
}

.dropdown-column a:hover {
  background-color: #f8f8f8;
  border-radius: 4px;
  padding: 6px;
}

/* Icon size */
.dropdown-column img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* Text formatting */
.dropdown-column strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.dropdown-column p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #19315379;
}








/* MOBILE VIEW */
@media (max-width: 768px) {
  .nav-wrapper {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .nav-wrapper.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
  }

  .nav-links ul li {
    width: 100%;
  }

  .nav-links a,
  .nav-right .nav-link {
    display: block;
    padding: 5px 0;
    width: 100%;
  }

  .nav-right {
    flex-direction: column;
    margin-top: 15px;
    width: 100%;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .dropdown:hover .mega-dropdown {
    display: none !important;
  }

  .dropdown.active .mega-dropdown {
    display: flex !important;
    flex-direction: column;
    background: white;
    padding: 10px 15px;
    gap: 12px;
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    left: 2pc;
  }

  .mega-dropdown .dropdown-column {
    gap: 10px;
  }

  .mega-dropdown .dropdown-column a {
    display: block;
    padding: 5px 0;
  }

  .mega-dropdown .dropdown-column img,
  .mega-dropdown .dropdown-column p,
  .mega-dropdown .dropdown-column i,
  .mega-dropdown .dropdown-column h4 {
    display: none;
  }

  .dropdown-column strong {
    font-weight: 500;
    color: #374b53;
  }

}