

body {
  scrollbar-width: thin;
  scrollbar-color: #012060 #f1f1f1;
}

    
    
    .custom-navbar-bg {
      background-color: #012060;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .navbar{
        font-family: "Marcellus", serif;
    }

    .navbar-brand-logo {
      height: 52px;
      width: auto;
      max-width: 180px;
    }

    @media (max-width: 991.98px) {
      .navbar-brand-logo {
        height: 40px;
      }
    }

    .navbar-nav .nav-link {
      color: white !important;
      font-weight: 500;
      margin: 0 15px;
      padding: 0.5rem 2rem;
      transition: color 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
      color: #00AFEE !important;
    }

    .navbar-toggler {
      border: none !important;
    }

    .bi-journal-bookmark-fill {
      color: #012060;
    }

    .dropdown-menu {
      background-color: #fff !important;
      border: 1px solid #FECB5F !important;
    }

    .dropdown-item i {
      color: #000 !important;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
      background-color: #00AFEE !important;
      color: #000 !important;
    }

    .custom-btn-quote {
      background-color: #00AFEE !important;
      color: #6E0101 !important;
      padding: 0.6rem 1.5rem;
      border-radius: 50px !important;
      font-weight: 600 !important;
      transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .custom-btn-quote:hover {
      background-color: transparent !important;
      border-color: #ffffff !important;
      color: #ffffff !important;
    }

    @media (max-width: 991.98px) {
      .navbar-nav {
        text-align: left;
        align-items: flex-start !important;
      }

      .navbar-nav .nav-item {
        width: 100%;
      }

      .navbar-nav .nav-link {
        text-align: start !important;
        padding-left: 0rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        width: 90%;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
      }

      .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
      }
    }

    /* Show dropdown on hover (desktop only) */
    @media (min-width: 992px) {
      .show-on-hover:hover .dropdown-menu {
        display: block;
        margin-top: 0;
      }
    }




.dropdown-menu.mega-dropdown {
  width: 600px;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background-color: white;
  transform: translateX(-70px) !important; 
}

.mega-dropdown .dropdown-item {
  display: flex;
  color: #280038;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.2rem;
  font-size: 0.95rem;
}

.mega-dropdown .dropdown-item i {
  font-size: 1rem;
  color: #6c63ff;
}



@media (max-width: 767.98px) {
  .dropdown-menu.mega-dropdown {
    width: 90vw;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    border-radius: 10px;
  }

  .dropdown-menu.mega-dropdown .row {
    flex-direction: column;
  }

  .dropdown-menu.mega-dropdown .col-6 {
    width: 100%;
  }
}

@media (max-width: 999px) {
  .dropdown-menu.mega-dropdown {
    width: 90vw;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    border-radius: 10px;
  }

  .dropdown-menu.mega-dropdown .row {
    flex-direction: column;
  }

  .dropdown-menu.mega-dropdown .col-6 {
    width: 100%;
  }
}



@media (max-width: 767.98px) {
  .dropdown-menu.mega-dropdown::-webkit-scrollbar {
    width: 8px;
  }

  .dropdown-menu.mega-dropdown::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
  }

  .dropdown-menu.mega-dropdown::-webkit-scrollbar-thumb {
    background: #012060;
    border-radius: 4px;
  }

  .dropdown-menu.mega-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}



/* Modal background overlay */
.signup-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  transition: opacity 0.4s ease;
  opacity: 0;
}

/* Show state */
.signup-modal.active {
  display: block;
  opacity: 1;
}

/* Form content box */
.signup-content {
  background: #fff;
  width: 400px;
  max-width: 90%;
  margin: 100px auto;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transform: translateY(-50px);
  transition: transform 0.4s ease;
}

/* Animate in */
.signup-modal.active .signup-content {
  transform: translateY(0);
}

/* Close button */
.close-btn {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}
.close-btn:hover {
  color: #000;
}
