

/* ----------------- Main Navbar ----------------- */
.main-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #7b5b73, #d9b8cf);
  padding: 10px 20px;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.logo {
  height: 60px;
}

/* Toggle Button (hidden on desktop) */
.navbar-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Center Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-menu li a:hover {
  color: #a94477;
}

/* Submenu */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  list-style: none;
  padding: 10px 0;
  min-width: 180px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.submenu li a {
  padding: 8px 15px;
  display: block;
  color: #333;
}

.submenu li a:hover {
  background-color: #f8f8f8;
  color: #a94477;
}

/* Show submenu on hover (desktop) */
.nav-menu li:hover .submenu {
  display: block;
}

/* Dropdown arrow smaller */
.nav-menu li a i {
  font-size: 0.7em;
}

/* Navbar Right Button */
.download-btn {
  background-color: #a94477;
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}

.download-btn:hover {
  background-color: #922b60;
}
.download-item {
  display: none;
}
/* Desktop right button */
.navbar-right .download-btn {
  display: inline-block;
}
/* ----------------- Responsive Navbar ----------------- */
@media (max-width: 992px) {
  .main-navbar {
    flex-direction: row; /* logo left, toggle right */
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  /* Show toggle button */
  .navbar-toggle {
    display: block; /* make it visible */
    font-size
    : 24px;
    cursor: pointer;
    color: white;
  }

  /* Center menu hidden initially */
  .navbar-center {
    width: 100%;
    display: none;
    flex-direction: column;
    margin-top: 10px;
  }

  .navbar-center.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    width: 100%;
    padding: 10px 0;
  }

  .submenu {
    position: relative;
    top: 0;
    box-shadow: none;
    padding-left: 20px;
  }

  .navbar-right {
    display: none; /* hide right button */
  }

  .download-item .download-btn {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background-color: #a94477;
    color: #fff;
    border-radius: 5px;
    display: block;
  }

  .download-item .download-btn:hover {
    background-color: #922b60;
  }
}

/* popup form */

/* Modal Popup */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 20px;
}

.modal-content form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.modal-content form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.submit-btn {
  background-color: #a94477;
  color: #fff;
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #922b60;
}

/* ------------------- Desktop ------------------- */
@media (min-width: 992px) {
  .submenu,
  .submenu2 {
    display: none;
    position: absolute;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 1000;
  }

  .has-submenu:hover > .submenu {
    display: block;
    top: 100%;
    left: 0;
  }

  .has-submenu2:hover > .submenu2 {
    display: block;
    top: 0;
    left: 100%;
  }
}

/* ------------------- Mobile ------------------- */
/* =============================== */
/* MULTI-LEVEL DROPDOWN – DESKTOP */
/* =============================== */

.nav-menu .submenu,
.nav-menu .submenu2 {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 200px;
  border: 1px solid #ddd;
  padding: 10px 0;
  z-index: 1000;
}

/* FIRST LEVEL (Our Solutions → Corporate Gifts) */
.has-submenu:hover > .submenu {
  display: block;
  top: 100%;
  left: 0;
}

/* SECOND LEVEL (Corporate Gifts → Promotional & Premium) */
.has-submenu2:hover > .submenu2 {
  display: block;
  top: 0;
  left: 100%;
}

/* LINKS */
.submenu a,
.submenu2 a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.submenu a:hover,
.submenu2 a:hover {
  background: #f4f4f4;
  color: #a94477;
}

/* Parent LI positions */
li {
  position: relative;
}

/* =============================== */
/* MOBILE DROPDOWN (CLICK BASED)  */
/* =============================== */

@media(max-width: 768px) {

  /* RESET: Make dropdowns stacked and clean */
  .submenu,
  .submenu2 {
    display: none;
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* Indentation for levels */
  .submenu a {
    padding-left: 25px !important;
    color: white !important;
    text-decoration: none !important;
  }

  .submenu2 a {
    padding-left: 40px !important;
    color: white !important;
    text-decoration: none !important;
  }

  /* ========== MOBILE ARROWS ========== */

  /* Parent arrow (Our Solutions, Customization, Corporate Gifts) */
  .has-submenu > a,
  .has-submenu2 > a {
    position: relative;
    color: white !important;
  }

  /* Right arrow closed */
  .has-submenu > a::after {
    content: "▾";
    position: absolute;
    right: 15px;
    font-size: 16px;
    color: white;
  }

  /* When submenu is open */
  .has-submenu.open > a::after {
    content: "▴";
  }

  /* Arrow for submenu2 parent */
  .has-submenu2 > a::after {
    content: "▸";
    position: absolute;
    right: 15px;
    font-size: 14px;
    color: white;
  }

  .has-submenu2.open > a::after {
    content: "▾";
  }

  /* Show dropdown on click */
  .has-submenu.open > .submenu {
    display: block !important;
  }

  .has-submenu2.open > .submenu2 {
    display: block !important;
    list-style: none;
  }

}
@media(max-width: 768px) {
  .submenu a:hover,
  .submenu2 a:hover {
    background: transparent !important;
    color: white !important;
    list-style: none;
  }
}
