/* mega menu css start from here */

.mega-menu-wrapper {
    position: relative; /* Ensure relative positioning for absolute child */
  }
  
  .mega-menu-upper-ul{
      list-style: none;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 18px;
      overflow: hidden;
      flex-wrap: wrap;
      margin: 0px !important;
  }
  
  
  .mega-menu-upper-li{
      flex: 0 0 auto;
      float: left;
      margin: 0px;
      font-family: 'Oswald', sans-serif !important;
      padding: 12px 0px;
      border-bottom: 2px solid var(--color-white);
  
  }
  
  .mega-menu-upper-li:hover{
      cursor: pointer;
      border-bottom: 2px solid var(--color-dark);
  }
  
  .mega-menu-upper-li a{
    padding: 0px 20px;
    font-family: 'EB Garamond', serif;
    color: #262626;
    min-height: 0px;
    letter-spacing: 0px;
    
  }
  
  .mega-menu-upper-li .mega-menu-top-action{
    border-right:  1px solid var(--color-light);
    font-size: 18px;
  }
  .mega-menu-upper-li:first-child .mega-menu-top-action{
    border-left:  1px solid var(--color-light);
  }
  
  .mega-menu-child-wrapper {
    z-index:9999999999999999;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    position: absolute;
    top: calc(100%); /* Position below the parent li with a small gap */
    left: 50%; /* Move to the center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    width: 90%;
    min-height: 400px;
    padding-bottom: 10px;
    background-color: var(--color-white);
    opacity: 0; /* Hide the element initially */
    pointer-events: none; /* Ignore pointer events when hidden */
    transition: opacity 0.3s ease; /* Add a smooth transition effect */
  }
  
  .mega-menu-child-wrapper:hover{
    cursor: auto;
  }
  
  .mega-menu-upper-li:hover .mega-menu-child-wrapper {
    opacity: 1; /* Show the element on hover */
    pointer-events: auto; /* Enable pointer events when shown */
  }
  
  
  .mega-menu-child-adv{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 200px;
    height: auto;
  }
  
  .mega-menu-child-adv img{
    width: 200px;
    height: auto;
  }
  
  .mega-menu-child-adv a{
    margin-top: 5px;
    display: block;
    font-size: 18px;
    text-align: center;
  }
  
  .btn-mega-menu{
    border: 1px solid var(--color-dark) !important;
    border-radius: 16px;
    padding: 3px 25px !important;
  }
  .btn-mega-menu:hover{
    background-color: var(--color-dark);
    color: var(--color-white);
  }
  
  .mega-menu-child-content{
    padding: 20px 30px;
  }
  
  .mega-menu-child-content a{
    padding: 0px !important;
  }
  .mega-menu-child-content-title{
    font-size: 32px;
  }
  
  
  .mega-menu-child-list{
    margin-top: 5px;
  
  }
  
  .mega-menu-child-list-heading{
    font-family: "Montserrat",sans-serif !important;
    font-weight: 500;
    margin-top: 10px;
    font-size: 14px;
    display: inline-block;
    text-transform: capitalize;
    border-bottom: 2px solid var(--color-dark);
  }
  
  
  .mega-menu-child-list-ul{
    margin-top: 10px;
    list-style: none;
  }
  .mega-menu-child-list-li a {
    font-family: "Montserrat",sans-serif ;
    font-size: 14px;
    margin-top: 3px;
    font-weight: 500;
  }
  
  .mega-menu-child-list-li:hover{
    text-decoration: underline;
  }
  
  
  
  .mega-menu-child-list {
    width: 100%;
    column-count: 3;
    column-gap: 50px;
  }
  
  .mega-menu-child-element{
     break-inside: avoid;
     margin-bottom: 20px; 
  }
  



  @media only screen and (max-width: 1200px) {
    .mega-menu-upper-ul{
        font-size: 17px;
    }

    .mega-menu-upper-li a{
        padding: 0px 15px;
      }
  }
  
  @media only screen and (max-width: 816px) {
    .mega-menu-wrapper{
      display: none;
    }
  }
 
  @media only screen and (max-width: 1200px) {
    .mega-menu-child-content-title{
      font-size: 28px;
    }
    .mega-menu-child-list-heading{
      font-size: 12px;
    }
    
  }
 
  @media only screen and (max-width: 1000px) {
    .mega-menu-child-list {
      width: 100%;
      column-count: 2;
      column-gap: 50px;
    }
    .mega-menu-child-content-title{
      font-size: 26px;
    }
    
    
  }