/* ==========================
   Mega Menu
========================== */

.mega-menu{
    position: absolute;
    left: 0;
    width: 100%;
    background: #000;
    display: none;
    height: 483px;
    transform: translateY(67px);
}

.mega-ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 50px;
    align-items: start;
    padding: 30px;
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
}

.mega-ul > div{
    display: flex;
    flex-direction: column;
}

.mega-ul h3{
    margin: 0 0 20px;
}

.mega-ul ul{
    list-style: circle;
    padding-left: 20px;
    margin: 0;
}

.mega-ul li{
    margin-bottom: 15px;
}

.mega-ul a:hover{
    border-bottom: 2px solid #9e1e67;
}

.technology-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 15px;
}
.new-service{
    position: relative;
    padding-right: 55px; /* space for the GIF */
}

.new-tag-gif{
    position: absolute;
    /* top: 2px;
    right: 10px; */
    width: 40px;
    height: auto;
            top: -7px;
        right: 28px !important;
}
/* ==========================
   Laptop (1025px-1366px)
========================== */

@media (min-width:1025px) and (max-width:1366px){

    .mega-menu{
        height:372px;
        z-index: 2;
    }

    .mega-ul{
        grid-template-columns:1fr 1fr 1.5fr;
        gap:30px;
        padding:20px;
    }

    .technology-list{
        column-gap:25px;
    }

    .mega-ul h3{
        font-size:32px;
        margin-bottom:18px;
    }

    .mega-ul .dropdown-item{
        font-size:15px;
        line-height:1.35;
        white-space:normal;
        overflow-wrap:break-word;
        word-break:break-word;
    }

    .mega-ul li{
        margin-bottom:12px;
    }
}

/* ==========================
   Tablet (<=1024px)
========================== */

@media (max-width:1024px){
  .mega-menu{
        /* height:350px; */
        z-index: 2;
                top: 17px;
        height: 388px;
    }
    .mega-ul{
        grid-template-columns:1fr 1fr 1.4fr;
        gap:15px;
        padding:15px;
    }

    .technology-list{
        column-gap:15px;
    }

    .mega-ul h3{
        font-size:24px;
    }

    .mega-ul .dropdown-item{
        font-size:13px;
        line-height:1.3;
        white-space:normal;
        overflow-wrap:break-word;
        word-break:break-word;
    }
}
@media (max-width:768px){
  .mega-menu{
        /* height:350px; */
        z-index: 2;
                top: 100px;
        height: 388px;
    }
}
/* ==========================
   Mobile
========================== */

@media (max-width:426px){

    .mega-menu{
        height:440px;
        overflow-y:auto;
    }

    .technology-list{
        grid-template-columns:1fr;
        row-gap:0;
    }

    .technology-list ul{
        margin-bottom:0;
    }
    .new-tag-gif{
    position: absolute;
           top: -7px;
        right: 81px !important;
   
}
}
