 
::selection {
    color: #fff;
    background: #1a1060;
    text-shadow: 2px 2px 8px #1a1060;
}
@media (min-width: 992px) {
  ::-webkit-scrollbar {
    width: 6px !important;
  }
  ::-webkit-scrollbar-thumb {
    background: #1a1060;
  }
}

    header, .header, nav, .navbar {
      position: relative;
      z-index: 1030 !important;
      overflow: visible !important;
    }

    .navbar {
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .navbar-nav .nav-link {
      color: #000 !important;
      font-weight: 600;
      margin-right: 12px;
    }

    .navbar-nav .nav-link:hover {
      color: #1a1060 !important;
    }

    /* Navbar Toggler */
    .navbar-toggler {
      border: none;
      font-size: 1.5rem;
      padding: 0.25rem 0.5rem;
      z-index: 1031;
    }

    .navbar-toggler:focus {
      box-shadow: none;
      outline: none;
    }

    .navbar-toggler .fa-bars,
    .navbar-toggler .fa-times {
      color: #ffca03;
      font-size: 28px;
      transition: all 0.3s ease;
    }

    /* =============================
       Top Bar
    ============================= */
    .top-bar {
      display: flex;
      width: 100%;
      height: auto;
    }

    .top-right {
      background-color: #1a1060;
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 6px 15px;
    }

    .top-right span {
      color: white;
    }

    .top-right .enquiry-btn {
      background-color: #ffca03;
      color: black;
      font-weight: 10px;
      border-radius: 20px;
      padding: 6px 16px;
      font-size: 14px;
      margin-left: 20vw;
    }

    /* Scrolling text */
    .top-scroll {
      background-color: #ffca03;
      color: #1a1060;
      font-weight: bold;
      white-space: nowrap;
      overflow: hidden;
    }

    .top-scroll span {
      display: inline-block;
      padding-left: 100%;
      padding-top: 2vh;
      animation: scroll-left 15s linear infinite;
    }

    @keyframes scroll-left {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }

    /* =============================
       Dropdown Menu Enhancement - DESKTOP
    ============================= */
    .dropdown-menu {
      position: absolute !important;
      z-index: 1050 !important;
      border-radius: 10px !important;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
      background: #fff !important;
      padding: 10px 0 !important;
      min-width: 200px !important;
      transition: all 0.3s ease !important;
      font-size: 0.9rem !important;
    }

    /* Dropdown items */
    .dropdown-item {
      padding: 8px 20px !important;
      color: #333 !important;
      transition: background 0.3s, color 0.3s !important;
    }

    /* Hover effect for items */
    .dropdown-item:hover {
      background-color: #ffca03 !important;
      font-weight: 600;
    }

    /* Fade-in animation when dropdown opens */
    .dropdown-menu.show {
      opacity: 0;
      transform: translateY(10px);
      animation: fadeDropdown 0.3s forwards;
    }

    @keyframes fadeDropdown {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Old hover open for desktop */
    .dropdown:hover .dropdown-menu {
      display: block;
    }

    /* =============================
       Mobile Dropdown Fix - IMPORTANT
    ============================= */
    @media (max-width: 991.98px) {
      /* Disable hover in mobile view */
      .dropdown:hover .dropdown-menu {
        display: none !important;
      }
      
      /* Make navbar collapse visible with high z-index */
      .navbar-collapse {
        background-color: white;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-top: 10px;
        position: relative;
        z-index: 1025 !important;
      }
      
      /* Style for dropdown toggles in mobile */
      .dropdown-toggle::after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        float: right;
        margin-top: 8px;
      }
      
      /* Make dropdown menus full width in mobile with proper z-index */
      .dropdown-menu {
        position: relative !important;
        float: none;
        width: 100%;
        margin-top: 0;
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
        z-index: 1030 !important;
        display: none;
        padding-left: 15px !important;
      }
      
      /* Show dropdown when parent has show class */
      .dropdown.show .dropdown-menu {
        display: block !important;
      }
      
      /* Add some padding to dropdown items in mobile */
      .dropdown-item {
        padding-left: 30px !important;
      }
      
      /* Active state for dropdown toggles */
      .dropdown-toggle.show {
        color: #1a1060 !important;
      }
      
      .navbar-nav .nav-item {
        margin-bottom: 10px;
      }
      
      /* Ensure dropdowns don't close navbar */
      .dropdown-toggle {
        pointer-events: auto !important;
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        flex-direction: column;
        text-align: center;
      }

      .top-left, .top-right {
        width: 100%;
      }

      .top-right .enquiry-btn {
        margin-left: 10px;
      }
    }

    /* Grid style for dropdown */
    .dropdown-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.5rem;
      padding: 0.5rem;
    }

    /* Mobile view for dropdown grid */
    @media (max-width: 991.98px) {
      .dropdown-grid {
        grid-template-columns: 1fr;
      }
    }

    /* Truncate long titles */
    .dropdown-grid-item {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }


 
 /* footer start */


    .footer-wave {
      margin-bottom: -1px;
    }

    footer {
      background-color: #1a1030;
      color: #fff;
      padding: 60px 0 20px;
      position: relative;
    }

    footer h5 {
      border-bottom: 2px solid #ffca03;
      display: inline-block;
      padding-bottom: 5px;
      margin-bottom: 15px;
    }

    footer a {
      color: #ccc;
      text-decoration: none;
      display: block;
      margin-bottom: 8px;
      transition: all 0.3s ease;
    }

    footer a:hover {
      color: #ffca03;
      padding-left: 5px;
    }

    .footer-logo {
      width: 90px;
      margin-bottom: 15px;
    }

    .social-icon a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 35px;
      height: 35px;
      background-color: #ffca03;
      color: #1a1030;
      border-radius: 50%;
      margin-right: 10px;
      transition: 0.3s;
    }

    .social-icon a:hover {
      background-color: #fff;
      color: #1a1030;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid #333;
      font-size: 14px;
    }

    @media (max-width: 576px) {
      footer {
        text-align: center;
      }

      .social-icons {
        justify-content: center;
      }
    }

