html, body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    /* font-family: 'Roboto', sans-serif; */
    overflow-x: hidden;
    
  }

  .nav-container{
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .3rem;
    width: 100%;
    background-color: #ffffff00;
    z-index: 2;
    transition: background-color 0.3s ease-in-out, padding 0.3s ease;
   
  }

  /* for navbar background */
  .nav-container.show{
    background-color: #0371c6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.415);
    padding: .5rem;
    z-index: 999;
  }

  .logo-main{
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.4s ease-in-out;
    transform: scale(1); 
  }
/* for scaling the image logo in the navbar */
  #logo-main.scaleup{
     transform: scale(1.1);
  }
  
  
.nav-logo {
    width: 70px;
    margin-left: 3rem;
    cursor: pointer; 
  }

  .ads-logo-container{
    position: absolute;
    top: 60%;
    width: 100%;
    margin: 0 2rem;
    font-weight: 500;
  }
  .ads-logo{
    font-size: .6rem;
    color: #082949;
  }
  .ads-logo span{
    color: #e0effe;
    margin: 0 .1rem;
  }

  
  
  .menu-content{
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-left: auto;
    margin-right: 5rem;
    
  }

  .menu-content li a{
    color: #082949;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s ease;
     &:hover{
     color: #e0effe;
    }
  }

  .menu-content li a.active {
    color: #f91515;
    border-bottom: 2px solid #f91515;
    transition: color 0.3s ease-in;
    
  }


/* Basic menu styling */
.menu-content {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu-content li {
  position: relative; /* needed for dropdown */
}

.menu-content a {
  text-decoration: none;
  color: #333;
  padding: 10px 15px;
  display: block;
}



/* Dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* place below parent menu */
  left: 0;
  background-color: #f1f1f1;
  min-width: 280px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 100;
  list-style: none;
  transition: all .5s ease-in-out;
}

.dropdown-content-mobile{
  list-style: none;
  display: none;
  transition: all .3s ease-in-out;
}


.dropdown-content li a{
  padding: 10px;
  color: #333;
 
  &:hover{
    background-color: #ddd;
    color: #000;
  }
}


/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Optional arrow for dropdown */
.dropbtn::after {
  content: "▼";
  font-size: 0.7em;
}
/* =================================================== */


  
/* Hamburger menu for mobile size */
  .hamburger {
  width: 25px;
  height: 17.5px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 999; /* above menu */
}


  .burger-menu-line {
  height: 4px;
  display: none;
  
  border-radius: 2px;
  transition: all 0.3s ease;
  
}

/* When active - transform to "X" */
.hamburger.active .burger-menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .burger-menu-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .burger-menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

 

    /* Mobile menu styles */
    .mobile-menu {
      position: fixed;
      display: none;
      flex-direction: column;
      background-color: #eee;
      width: 100%;
      height: 67vh;
      line-height: 2.5rem;
      transition: all .3s ease-in;
      z-index: 1;
    }

    .dropdown-container{
      line-height: 1.8rem;
    }
    .dropdown-content-mobile{
      margin-left: -1.5rem;
    }
   

    .mobile-content li a {
      padding: 0.5rem 0;
      color: #0b3961;
      text-decoration: none;
      
      transition: all .3s ease;
      &:hover{
         color: #b81f00;
      } 
    }




/* =====loader====  */
  #page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #25b09b;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {to{transform: rotate(1turn)}}

/* @keyframes spin {
  to { transform: rotate(360deg); }
} */

/* hide loader */
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
  transition: 0.5s ease;
}


    
