
/* === MEGA DROPDOWN === */
.dropdown { position: relative; }
.mega-dropdown {
  display: none;
  top: 100%;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid #f1c75a;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  flex-direction: row;
  min-height: 350px;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.dropdown.open .mega-dropdown {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.left-menu {
    text-align: center;
  width: 18%;
  /* background: #f1c75a; */
  border-right: 1px solid #ddd;
}
.left-menu ul { list-style: none; margin: 0; padding: 0; }
.left-menu li {
  background: #fff;
  border-left: 4px solid transparent;
  cursor: pointer;
}
.left-menu li.active {
  background: #f1c75a;
  border-left: 4px solid #f1c75a;
  font-weight: 600;
  
}
/* .left-menu li:hover { background: #fff; } */
.right-content { width: 82%; padding: 30px; }
.right-content h3 { color: #cd990a; margin-bottom: 20px; }
.hidden { display: none !important; }
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.app-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.app-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: all 0.3s ease;
  filter: brightness(80%);
}
.app-item span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.app-item:hover img { filter: brightness(100%); }

@media (max-width: 991px) {
  .mega-dropdown {
    flex-direction: column;
    width: 100%;
    position: static;
    box-shadow: none;
  }
  .left-menu, .right-content { width: 100%; }
  .app-grid { grid-template-columns: 1fr 1fr; }
}

    .menu-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  width: 22px;
}

.menu-icon .navicon:before,
.menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  width: 22px;
  transition: all 0.3s ease;
}

.menu-icon .navicon:before { top: -6px; }
.menu-icon .navicon:after { top: 6px; }

.menu-btn { display: none; }

@media (max-width: 991px) {
  .menu-icon { display: block; }
  .menu-lS {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 93px;
    left: 0;
    padding: 20px;
    overflow-y: auto;
    max-height: 80vh;
  }
  .menu-btn:checked ~ .menu-lS { display: flex; }
  .mega-dropdown {
    flex-direction: column;
    width: 100%;
    position: static;
    box-shadow: none;
    border-top: none;
  }
  .left-menu, .right-content { width: 100%; }
  .applications-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}


/* === APPLICATIONS GRID STYLES === */


.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding: 20px;
}

.app-group h3 {
  color: #f1c75a;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-group ul {
  list-style:none;
  padding: 0;
  margin: 0;
}

.app-group ul li {
  color: #333;
  font-size: 14px;
  padding: 4px 0;
  transition: all 0.3s ease;
}

.app-group ul li:hover {
  color: #f1c75a;
  font-weight: 600;
  cursor: pointer;
}

/* Responsive layout */
@media (max-width: 991px) {
  .applications-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .applications-grid {
    grid-template-columns: 1fr;
  }
}
/* Close X icon styling */
.close-mega {
  display: none;
  font-size: 15px;
  
  color: black;
  text-align: left;
  padding: 10px 15px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .close-mega {
    display: block;
    background: #fff;
    border-bottom: 1px solid #ddd;
  }
}

/* === MAKE MEGA DROPDOWN SCROLLABLE === */
.mega-dropdown {
  max-height: 80vh;         /* limit height to viewport */
  overflow-y: auto;          /* enable vertical scroll */
  scrollbar-width: thin;     /* Firefox: thin scrollbar */
  scrollbar-color: #d32f2f #f8f8f8; /* Firefox scrollbar colors */
}

/* Custom scrollbar for WebKit browsers */
.mega-dropdown::-webkit-scrollbar {
  width: 6px;
}

.mega-dropdown::-webkit-scrollbar-track {
  background: #f8f8f8;
}

.mega-dropdown::-webkit-scrollbar-thumb {
  background-color: #d32f2f;
  border-radius: 4px;
}

/* Mobile specific enhancement */
@media (max-width: 991px) {
  .mega-dropdown {
    position: fixed;        /* make it overlay nicely */
    top: 70px;              /* below header */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
    background: #fff;
    padding-bottom: 20px;
    margin-top: 60px;
  }
}

/* logo for home page */

/* ====== LOGO STRIP STYLING ====== */
.logo-strip {
  background: #f5f5f5; /* light gray or use #fffbe6 for mild tone */
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 100px; /* space between logos */
  max-width: 1200px;
  width: 100%;
}

.logo-container img {
  max-height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.05);
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 992px) {
  .logo-container {
    gap: 30px;
  }
  .logo-container img {
    max-height: 70px;
  }
}

@media (max-width: 600px) {
  .logo-strip {
    padding: 30px 10px;
  }
  .logo-container {
    flex-direction: column;
    gap: 25px;
  }
  .logo-container img {
    max-height: 60px;
  }
}


 /* Apply height only on large (lg) devices (>=992px) */
    @media (min-width: 992px) {
      .header { height: 85px; }
    }
    /* ensure default for smaller devices */
    @media (max-width: 991.98px) {
      .header { height: auto; }
      .header ul {
        margin-top: 30px;
      }
    }