:root {
    --orange-color: #f65833;
    --blue-color: #3d4c83;
    --text-color: #2a3238;
    --white-color: #ffffff;
    --gray-color: #c7c7c7;
    --dark-gray: #616161;
    --black-color: #000000; 
}


/* Base styles for mobile first (small devices) */
@media (max-width: 767px){
    #mobile-call {
        position: fixed;
        bottom: 15px;
        left: 15px;
        cursor: pointer;
        display: block;
        border-radius: 50px;
        z-index: 100;
    }
      
    #mobile-call img{
        width: 40px;
    }
    
      #whatsapp-wrapper {
        position: fixed;
        bottom: 87px;
        right: 15px;
        cursor: pointer;
        display: block;
        border-radius: 50px;
        z-index: 100;
    }
    
    #whatsapp-wrapper img{
        height: 40px;
    }

    header .top-head i{
        font-size: 20px;
    }    
    header .bottom-head .box1 img{
        width: 45%;
    }
    header .btn-box{
        display: flex;
        gap: 10px;
    }
    header  .bottom-head .git-btn{
        color: var(--white-color);
        border: var(--orange-color) solid 1px;
        background-color: var(--orange-color);
        padding: 2px 8px;
        font-size: 15px;
        border-radius: 4px;
    }
    header .bottom-head .ep-btn{
        color: var(--white-color);
        border: var(--orange-color) solid 1px;
        background-color: var(--orange-color);
        padding: 2px 8px;
        font-size: 15px;
        border-radius: 4px;
    }
    .navbar-toggler:focus{
        box-shadow: none !important;
    }
    header .bottom-head .nav-link{
        border-bottom: none;
        padding-inline: 8px !important;
    }
    header .bottom-head .nav-link:hover{
        color: var(--orange-color);
        border: none;
    }
    header .bottom-head .active-link{
        border-bottom: none;
    }
    

    .banner{
        height: 350px;
    }
    .banner .owl-carousel .item{
        height: 350px !important;
        background-position: center;
    }    
    .banner .content{
        width: 100%;
        padding: 12px;
        text-align: center;
        transform: translate(-0%, -50%);
    }
        
    .banner .content h1{
       font-size: 1.2rem;
       margin-bottom: 8px;
    }
    
    .banner .content p{
        font-size: 1rem;
        font-weight: 300;
        margin: 0;
     }
    

     .getintouch{
        width: 100%;
        height: max-content;
        margin-top: 0px;
        position: relative;
        z-index: 1;
    }

    .getintouch .container{
        box-shadow: none;
    }    
    
    .getintouch h1{
        text-align: center;
    }
    

    .wwdo .box{
        gap: 10px;
    }
    .wwdo img{
        width: 60px;
    }
    .wwdo h6{
        font-size: 22px;
    }    
    .wwdo p{
        font-size: 15px;
    }
    

    .hwdit h2{
        font-size: 22px;
    }    
    .hwdit a{
        padding: 5px 24px;
    }    
    
    .clientsay h5{
        font-size: 22px;
    }
    
    .workwith .box{
        padding: 20px;
    }    

    .blog .img-box{
        margin-bottom: 100px;
    }
    .blog .content-box{
        width: 95%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 45%);
        padding: 10px 10px 10px 10px;
        background-color: var(--white-color);
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        text-align: start;
    }
    .blog span{
        padding: 6px;
    }
    .blog a{
        padding: 5px 24px;
    }    
    

    footer .box1{
        text-align: start;
    }
    footer .box1 img{
        width: 50%;
    }
    footer ul{
        padding-left: 23px;
        flex-direction: column;
        gap: 11px;
        color: var(--white-color);
    }
    footer ul li{
        list-style-type:disc;
    }
    footer .box3 a{
        padding: 3px 5px;
    }
    
    footer .box3 a:hover{
        background-color: var(--white-color);
    }
    
    footer .box3 a:hover i{
        color: var(--orange-color);
    }
    
    footer .bottom-footer{
        border-top: solid 1px var(--white-color);
    }
    footer .bottom-footer p{
        font-size: 13px;
    }

    .contactus h1{
        font-size: 28px;
    }
    
    .success h1{
        color: var(--orange-color);
        font-size: 50px;
    }

    .common-page h2{
        font-size: 28px;
    }
    
    .common-page .flip-card {
        height: 160px;
    }

    .common-page .flip-card-front img{
        width: 30%;
    }    
                
    .common-page .flip-card-back {
        background-color: var(--orange-color);
        color: white;
        transform: rotateY(180deg);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 4px;
        padding: 5px;
    }
    
    .common-page .flip-card-back p{
        font-size: 15px;
        margin: 0;
    }

    .inside-common-page h2{
        font-size: 28px;
    }    
    
    .inside-common-page .box1 .box{
        height: 240px;
    }

    .inside-common-page .nav{
        width: 50%;
    }
        
    .inside-common-page .tab-content{
        width: 50%;
        border: solid 1px var(--orange-color);
        border-radius: 4px;
    }    

    .inside-common-page .flip-card-front img{
        width: 30%;
    }
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    header .top-head .box1 i{
        font-size: 15px;
    }
    header .bottom-head .git-btn{
        padding: 1px 0;
        text-align: center;
        font-size: 12px;
        width: 100%;
    }
    header .bottom-head .box1 img{
        width: 100%;
    }
    header .top-head .box3 i{
        font-size: 15px;
    }
    header .bottom-head .ep-btn{
        padding: 1px 0;
        text-align: center;
        font-size: 11px;
        width: 100%;
    }
    
    .banner{
        height: 400px;
    }
    .banner .owl-carousel .item{
        height: 400px !important;
        background-position: center;
    }    
    .banner .content{
        width: 650px;
        padding: 1rem;
    }
    
    .banner .content h1{
       font-size: 1.5rem;
    }
    
    .banner .content p{
        font-size: 1rem;
     }
    
    
    .hwdit h2{
        font-size: 20px;
    }
    .hwdit p{
        font-size: 13px;
    }
    
    .clientsay img{
        width: 11% !important;
        margin: auto;
    }    

    .blog .img-box{
        margin-bottom: 100px;
    }
    .blog .content-box{
        width: 95%;
        transform: translate(-50%, 30%);
        padding: 5px 5px 10px 5px;
    }
    .blog p{
        font-size: 10px;
        margin-bottom: 8px;
    }
    .blog a{
        font-size: 10px;
    }
    .blog span{
        padding: 5px;
        font-size: 8px;
    }

    footer ul{
        padding: 0;
        margin: 0;
        display: flex;
        gap: 10px;
    }
    footer .box2 ul li a{
        font-size: 9px;
    }
    footer .box3 a{
        font-size: 9px;
        padding: 2px 4px;
    }
    footer .bottom-footer p{
        font-size: 9px;
    }
    footer .bottom-footer p a{
        color: var(--white-color);
    }

    .inside-common-page .box1 .box{
        height: 310px;
    }

    .inside-common-page .box1 img{
        width: 35%;
    }    
    
    .inside-common-page .nav{
        width: 45%;
    }
    
    .inside-common-page .tab-content{
        width: 55%;
    }    
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px){
    header .top-head .box1 i{
        font-size: 18px;
    }
    header .bottom-head .git-btn{
        padding: 2px;
        width: 100%;
        text-align: center;
        font-size: 14px;
    }
    header .bottom-head .box1 img{
        width: 100%;
    }
    header .top-head .box3 i{
        font-size: 18px;
    }
    header .top-head .box3 .call-d{
        font-size: 14px;
    }
    header .bottom-head .ep-btn{
        padding: 2px;
        width: 100%;
        text-align: center;
        font-size: 14px;
    }
    
    header .bottom-head .nav-link{
        font-size: 13px;
    }
        
    header .bottom-head .dropdown-item{
        font-size: 14px;
    }
    
    .banner .content{
        padding: 1rem 1.5rem 1rem 8rem;
    }
    
    .banner .content h1{
       font-size: 1.8rem;
       margin-bottom: 1rem;
    }
    
    .banner .content p{
        font-size: 1.1rem;
        font-weight: 400;
     }
    
     .clientsay img{
        width: 10% !important;
        margin: auto;
    }    

    
    .blog .img-box{
        margin-bottom: 130px;
    }
    .blog .content-box{
        width: 94%;
        transform: translate(-50%, 40%);
        padding: 5px 5px 10px 5px;
    }
    .blog p{
        font-size: 13px;
        margin-bottom: 8px;
    }
    .blog span{
        padding: 6px;
        font-size: 12px;
    }
    

    footer ul{
        gap: 9.5px;
    }
    footer .box2 ul li a{
        font-size: 13px;
    }
    footer .box3 a{
        font-size: 15px;
        padding: 1px 3px;
    }
    
    footer .bottom-footer p{
        font-size: 12px;
    }

    .common-page .flip-card-front img{
        width: 20%;
    }
    
    .inside-common-page .nav{
        width: 50%;
        margin-right: 8px;
        border-right: solid 2px var(--orange-color);
    }
    
    .inside-common-page .tab-content{
        width: 50%;
        border: solid 1px var(--orange-color);
        border-radius: 4px;
    }
    
    
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399px){
    .banner .content{
        padding: 1rem 1.5rem 1rem 8rem;
    }
    
    .banner .content h1{
       font-size: 1.8rem;
       margin-bottom: 1rem;
    }
    
    .banner .content p{
        font-size: 1.1rem;
        font-weight: 400;
     }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1400px){
    .banner .content{
        padding: 1rem 1.5rem 1rem 8rem;
    }
    
    .banner .content h1{
       font-size: 1.8rem;
       margin-bottom: 1rem;
    }
    
    .banner .content p{
        font-size: 1.1rem;
        font-weight: 400;
     }

}



/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* remove the gap so it doesn't close */
    }
}
