/*MY-NEW-CSS-2026 */
     
     
 .service-section{
    padding:40px 0;
    background:#fff;
}

.service-wrapper{

    display:grid;

    grid-template-columns:320px 1fr;

    gap:45px;

    align-items:flex-start;

}

.service-sidebar{

    position:sticky;

    top:80px;

}


/************ Tablet ************/

@media(max-width:991px){

.service-wrapper{

grid-template-columns:1fr;

}

.service-sidebar{

position:relative;

top:0;

}

.service-content h1{

font-size:25px;

line-height:58px;

}

}

/************ Mobile ************/

@media(max-width:767px){

.service-section{

padding:50px 0;

}

.service-card{

padding:25px;

}

.service-card h3{

font-size:26px;

}

.service-card li a{

font-size:17px;

}

.service-content{

margin-top:30px;

}

.service-content h1{

font-size:24px;

line-height:45px;

}

.service-content p{
line-height:28px;

}

.sub-title{

font-size:16px;

}

}

.help-card{

    margin-top:40px;

    border:1px solid #e8e8e8;

    background:#fff;

}

.help-card img{

    width:100%;

    display:block;

}

.help-content{

    padding:35px;

}

.help-content h3{

    font-size:36px;

    font-weight:700;

    color:#111;

    margin-bottom:20px;

}

.help-content p{
    line-height:34px;

    margin-bottom:35px;

}

.help-item{

    display:flex;

    align-items:center;

    margin-bottom:30px;

}

.help-item:last-child{

    margin-bottom:0;

}

.help-icon{

    width:50px;

    height:50px;

    background:#eef2ed;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-right:20px;

    flex-shrink:0;

}

.help-icon i{

    font-size:28px;

    color:#7c867d;

}

.help-text a{

    text-decoration:none;

    color:#333;

    font-size:12px;

    transition:.3s;

}

.help-text a:hover{

    color:#b89245;

}

/************ Tablet ************/

@media(max-width:991px){

.help-content{

padding:25px;

}

.help-content h3{

font-size:28px;

}

.help-content p{
line-height:30px;

}

.help-text a{

font-size:18px;

}

}

/************ Mobile ************/

@media(max-width:767px){

.help-card{

margin-top:30px;

}

.help-content{

padding:20px;

}

.help-content h3{

font-size:24px;

}

.help-content p{
line-height:18px;

}

.help-item{

align-items:flex-start;

}

.help-icon{

width:55px;

height:55px;

margin-right:15px;

}

.help-icon i{

font-size:20px;

}

.help-text a{

font-size:16px;

word-break:break-word;

}

}      


      
/*=========================
Why Choose Us
=========================*/

.why-choose-section{
    padding:80px 0;
}

.section-heading{
    text-align:center;
    max-width:850px;
    margin:auto;
    margin-bottom:50px;
}

.section-heading span{
    color:#d75b01;
    font-size:17px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}

.section-heading h2{
    font-size:42px;
    margin:15px 0;
    color:#222;
    font-weight:700;
}

.section-heading p{
    line-height:30px;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.why-box{
    background:#fff;
    border:1px solid #eee;
    padding:35px 30px;
    border-radius:12px;
    transition:.4s;
    text-align:center;
}

.why-box:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.why-box i{
    width:75px;
    height:75px;
    line-height:75px;
    text-align:center;
    background:#d75b01;
    color:#fff;
    border-radius:50%;
    font-size:28px;
    margin-bottom:20px;
}

.why-box h4{
    font-size:24px;
    color:#222;
    margin-bottom:15px;
}

.why-box p{
    line-height:28px;
}

/* Tablet */

@media(max-width:991px){

.why-grid{
    grid-template-columns:repeat(2,1fr);
}

.section-heading h2{
    font-size:34px;
}

}

/* Mobile */

@media(max-width:767px){

.why-choose-section{
    padding:50px 0;
}

.why-grid{
    grid-template-columns:1fr;
}

.section-heading h2{
    font-size:28px;
}

.section-heading p{}

.why-box{
    padding:25px;
}

.why-box h4{
    font-size:20px;
}

} 


/*=========================================
            HELP CARD
=========================================*/

.help-card{
    position:relative;
    width:100%;
    min-height:400px;
    border-radius:20px;
    overflow:hidden;

    background-image:url("../images/service-page.png");
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 12px 35px rgba(0,0,0,.15);

    transition:.4s;
}

.help-card:hover{
    transform:translateY(-6px);
}

/* Overlay */

.help-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

/*=========================================
            CONTENT
=========================================*/

.help-content{
    position:relative;
    z-index:2;
    width:100%;
    text-align:center;
    padding:30px 20px;
}

.help-content h3{
    color:#fff;
    font-size:34px;
    font-weight:700;
    line-height:1.3;
    margin-bottom:30px;
}

/*=========================================
            PHONE
=========================================*/

.help-phone{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    margin-bottom:30px;
}

.help-phone i{
    color:#49b7ff;
    font-size:20px;
}

.help-phone a{
    color:#fff;
    text-decoration:none;
    font-size:22px;
    font-weight:500;
}

/*=========================================
            BUTTON
=========================================*/

.help-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:190px;
    height:55px;

    background:#d75b01;
    color:#fff;

    border-radius:40px;

    font-size:18px;
    font-weight:600;
    text-decoration:none;

    transition:.3s;
}

.help-btn:hover{

    background:#c9a35c;
    color:#fff;

}

/*=========================================
            DESKTOP
=========================================*/

@media(max-width:1200px){

.help-card{

    min-height:430px;

}

.help-content h3{

    font-size:30px;

}

.help-phone a{

    font-size:20px;

}

}

/*=========================================
            TABLET
=========================================*/

@media(max-width:991px){

.help-card{

    min-height:390px;

}

.help-content{

    padding:25px;

}

.help-content h3{

    font-size:26px;

}

.help-phone{

    margin-bottom:25px;

}

.help-phone i{

    font-size:18px;

}

.help-phone a{

    font-size:18px;

}

.help-btn{

    width:180px;
    height:50px;
    font-size:17px;

}

}

/*=========================================
            MOBILE
=========================================*/

@media(max-width:767px){

.help-card{

    min-height:330px;
    border-radius:15px;

}

.help-content{

    padding:20px;

}

.help-content h3{

    font-size:22px;
    margin-bottom:20px;

}

.help-phone{

    gap:8px;
    margin-bottom:20px;

}

.help-phone i{

    font-size:16px;

}

.help-phone a{

    font-size:16px;

}

.help-btn{

    width:160px;
    height:46px;
    font-size:15px;

}

}

/*=========================================
        SMALL MOBILE
=========================================*/

@media(max-width:480px){

.help-card{

    min-height:300px;

}

.help-content h3{

    font-size:19px;

}

.help-phone a{

    font-size:15px;

}

.help-btn{

    width:150px;
    height:44px;
    font-size:14px;

}

}


/*=====================================
        MOBILE ORDER FIX
======================================*/

@media (max-width:991px){

    /* Parent Row */
    .row{
        display:flex;
        flex-wrap:wrap;
    }

    /* First Content */
    .service-right-col,
    .service-content{
        order:1;
        width:100%;
        max-width:100%;
        flex:0 0 100%;
    }

    /* Second Sidebar */
    .service-left-col,
    .service-sidebar{
        order:2;
        width:100%;
        max-width:100%;
        flex:0 0 100%;
        margin-top:35px;
    }

    /* Image */
    .pbmit-service-feature-image{
        margin-bottom:25px;
    }

    .pbmit-service-feature-image img{
        width:100%;
        height:auto;
        display:block;
    }

    /* Content */
    .pbmit-service-content{
        padding:0;
    }

    .pbmit-service-content h1{
        font-size:28px;
        line-height:1.4;
    }

    .pbmit-service-content h3{
        font-size:22px;
    }

    .pbmit-service-content p{
        font-size:15px;
        line-height:1.8;
    }

    /* Sidebar */
    .service-sidebar{
        padding-top:10px;
    }

    .service-sidebar .widget{
        margin-bottom:25px;
    }

} 


.service-card ul{
    margin:0;
    padding:0;
    list-style:none;
}

.service-card ul li{
    border-bottom:1px solid #e8e8e8;
}

.service-card ul li a{

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:20px 0;

    text-decoration:none;

}

.left-icon{

    width:30px;
    color:#555;
    font-size:15px;
    font-weight:700;

}

.service-name{

    flex:1;
    padding-left:12px;

    color:#222;
    font-size:15px;
    font-weight:600;

    transition:.35s;

}

.right-icon{

    width:48px;
    height:48px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#333;

    transition:.35s;

}

.right-icon i{

    font-size:18px;
    transition:.35s;

}

/* Hover */

.service-card ul li:hover .service-name{

    color:#d75b01;

}

.service-card ul li:hover .left-icon{

    color:#d75b01;

}

.service-card ul li:hover .right-icon{

    background:#d75b01;
    color:#fff;

}

/* Change Icon */

.service-card ul li:hover .right-icon i::before{

    content:"\f061";   /* FontAwesome Arrow Right */

    font-family:"Font Awesome 6 Free";
    font-weight:900;

}


/*==================================
        FEATURE SECTION
==================================*/

.service-features{
    margin:50px 0;
}

.feature-title{
    font-size:40px;
    font-weight:700;
    color:#d75b01;
    margin-bottom:35px;
    line-height:1.3;
    position:relative;
    padding-left:22px;
}

/* Gold Line */

.feature-title::before{
    content:"";
    position:absolute;
    left:0;
    top:8px;
    width:6px;
    height:45px;
    border-radius:20px;
    background:#d75b01;
}

/*============================*/

.feature-list{
    margin:0;
    padding:0;
    list-style:none;
}

.feature-list li{

    display:flex;
    align-items:flex-start;

    gap:18px;

    padding:0px 0;

    border-bottom:1px solid #ececec;

    transition:.35s;

}

.feature-list li:last-child{
    border-bottom:none;
}

.feature-list li:hover{
    transform:translateX(8px);
}

/*============================*/

.feature-icon{

    width:20px;
    height:20px;

    min-width:20px;

    border-radius:50%;

    background:#d75b01;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:.35s;

}

.feature-icon i{

    color:#fff;
    font-size:16px;

}

.feature-list li:hover .feature-icon{

    background:#222;

}

/*============================*/

.feature-text{

    font-size:18px;
    line-height:1.9;
    color:#555;

}

.feature-text strong{

    color:#222;
    font-weight:700;

}

/*==================================
        TABLET
==================================*/

@media(max-width:991px){

.feature-title{

    font-size:32px;

}

.feature-text{

    font-size:17px;

}

}

/*==================================
        MOBILE
==================================*/

@media(max-width:767px){

.feature-title{

    font-size:26px;
    padding-left:18px;

}

.feature-title::before{

    height:35px;
    top:4px;

}

.feature-list li{

    gap:14px;
    padding:15px 0;

}

.feature-icon{

    width:38px;
    height:38px;
    min-width:38px;

}

.feature-icon i{

    font-size:14px;

}

.feature-text{

    font-size:15px;
    line-height:1.8;

}

}


/*service card-design*/
   
    .service-list{
    margin:0;
    padding:0;
    list-style:none;
}

.service-list li{
    border-bottom:1px solid #e8e8e8;
}

.service-list li a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:22px 0;
    text-decoration:none;
    color:#222;
    transition:.4s;
}

/* Left + */

.left-icon{
    font-size:14px;
    color:#555;
    width:25px;
    flex-shrink:0;
}

/* Service Name */

.service-name{
    flex:1;
    /*font-size:12px;*/
    font-weight:600;
    text-transform:uppercase;
    line-height:1.3;
    transition:.35s;
}

/* Right Arrow */

.right-icon{
    width:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:12px;
    color:#222;
}

.right-icon i{
    transform:rotate(-45deg);      /* Default ↗ */
    transition:transform .35s ease;
}

/* Hover */

.service-list li:hover .right-icon i{
    transform:rotate(0deg);        /* Hover → */
}

.service-list li:hover .service-name{
    color:#d75b01 !important;
}

/* Responsive */

@media(max-width:991px){

.service-name{
    font-size:22px;
}

}

@media(max-width:767px){

.service-list li a{
    padding:18px 0;
}

.left-icon{
    font-size:20px;
}

.service-name{
    font-size:18px;
}

.right-icon{
    width:35px;
    font-size:18px;
}

}


/* =====================================
   PROJECT SHOWCASE SECTION
===================================== */

.project-showcase{
    width:100%;
    padding:90px 20px;
    background:#f6f6f6;
    box-sizing:border-box;
}

.project-wrapper{
    max-width:1500px;
    margin:auto;
    display:grid;
    grid-template-columns:30% 70%;
    gap:35px;
    align-items:center;
    background:#fff;
    border:1px solid #e9e9e9;
    border-radius:24px;
    padding:25px;
    box-sizing:border-box;
}


/* =====================================
   PROJECT DETAILS
===================================== */

.project-details{
    width:100%;
    max-width:340px;
    background:#fafafa;
    border:1px solid #e5e5e5;
    border-radius:16px;
    padding:22px 24px;
    box-sizing:border-box;
}

.detail{
    display:flex;
    align-items:center;
    gap:16px;
    padding:15px 0;
    border-bottom:1px solid #ececec;
}

.detail:last-child{
    border-bottom:none;
}


.detail span{
    width:48px;
    height:48px;
    min-width:48px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#d75b01;
    color:#fff;
    border-radius:50%;
    font-size:18px;
}


.detail h5{
    margin:0;
    font-size:17px;
    font-weight:600;
    color:#222;
}


.detail p{
    margin:5px 0 0;

    line-height:22px;
}


/* =====================================
   RIGHT CONTENT
===================================== */

.project-right{
    width:100%;
}


.project-right img{

    width:95%;
    height:400px;

    object-fit:cover;

    border-radius:20px;

    display:block;

    margin-bottom:20px;
}


.project-right p{

    margin:0;

    line-height:30px;
}


/* =====================================
   LARGE TABLET
===================================== */

@media(max-width:1200px){

.project-wrapper{

    grid-template-columns:35% 65%;

    padding:30px;

}


.project-right img{

    height:360px;

}


}


/* =====================================
   TABLET
===================================== */

@media(max-width:991px){


.project-showcase{

    padding:70px 20px;

}


.project-wrapper{

    grid-template-columns:1fr;

    gap:30px;

    padding:25px;

}


.project-details{

    max-width:100%;

}


.project-right img{

    height:350px;

}


}


/* =====================================
   MOBILE
===================================== */

@media(max-width:767px){


.project-showcase{

    padding:50px 15px;

}


.project-wrapper{

    padding:18px;

    gap:20px;

    border-radius:18px;

}


.project-details{

    padding:18px;

    border-radius:14px;

}


.detail{

    gap:12px;

    padding:12px 0;

    align-items:flex-start;

}


.detail span{

    width:42px;

    height:42px;

    min-width:42px;

    font-size:15px;

}


.detail h5{

    font-size:15px;

}


.detail p{
    line-height:20px;

}


.project-right img{

    height:260px;

    border-radius:15px;

}


.project-right p{
    line-height:25px;

}


}
/* =====================================
   IMAGE SLIDER
===================================== */

.image-slider{
    width:100%;
    overflow:hidden;
    padding:0;
    /*background:#f8f8f8;*/
}

.image-slider h4{
    text-align:center;
    font-size:42px;
    font-weight:700;
    color:#222;
    margin-bottom:40px;
}

.slider-wrapper{
    width:100%;
    overflow:hidden;
}

.slider-track{
    display:flex;
    width:max-content;
    gap:20px; 
    animation:slideMove 25s linear infinite;
}

.slide{
    flex:0 0 auto;
}

.slide img{
    width:300px;
    height:300px;
    object-fit:cover;
    display:block;
}

 /*Hover Stop */

.slider-wrapper:hover .slider-track{
    animation-play-state:paused;
}


 /*Infinite Animation */

@keyframes slideMove{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}


 /*Tablet */

@media(max-width:991px){

    .image-slider{
        padding:50px 0;
    }

    .image-slider h4{
        font-size:34px;
    }

    .slider-track{
        gap:10px;
        animation-duration:20s;
    }

    .slide img{
        width:230px;
        height:230px;
    }

}


 /*Mobile */

@media(max-width:767px){

    .image-slider{
        padding:40px 0;
    }

    .image-slider h4{
        font-size:26px;
        margin-bottom:25px;
    }

    .slider-track{
        gap:10px;
        animation-duration:15s;
    }

    .slide img{
        width:170px;
        height:170px;
    }

}


 /*Small Mobile */

@media(max-width:480px){

    .slider-track{
        gap:10px;
    }

    .slide img{
        width:140px;
        height:140px;
    }

    .image-slider h4{
        font-size:22px;
    }

}


/*upadted the service-page */

.service-content img{
    width:1000px;
    height:450px;
    object-fit:cover;
    display:block;
    margin:20px auto;
    border-radius:15px;
} 
    
/*==========================
SERVICE LIST
==========================*/

.service-list{
    margin:0;
    padding:0;
    list-style:none;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.service-list li{
    list-style:none;
    border-bottom:1px solid #ececec;
}

.service-list li:last-child{
    border-bottom:none;
}

.service-list li a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:22px 25px;
    text-decoration:none;
    transition:all .3s ease;
    gap:20px;
}

.service-name{
    flex:1;
    color:#222;
    font-size:18px;
    font-weight:600;
    line-height:1.5;
    transition:.3s;
}


.service-list li:hover .service-name{
    color:#d75b01;
    padding-left:8px;
}

/*.service-list li:hover .right-icon{*/
/*    background:#0b5c8f;*/
/*    border-color:#0b5c8f;*/
/*    color:#fff;*/
/*    transform:translateX(5px);*/
/*}*/

/*==========================
TABLET
==========================*/

@media (max-width:991px){

.service-list{
    border-radius:25px;
}

.service-list li a{
    padding:18px 20px;
}

.service-name{
    font-size:17px;
}

.right-icon{
    width:38px;
    height:38px;
}

}

/*==========================
MOBILE
==========================*/

@media (max-width:767px){

.service-list{
    border-radius:20px;
}

.service-list li a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px;
    gap:15px;
}

.service-name{
    font-size:15px;
    line-height:1.4;
}

.right-icon{
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;
    border:1px solid #dcdcdc;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    transition:all .3s ease;
}

/* Same hover effect as laptop */

.service-list li:hover .service-name{
    color:#d75b01;
    padding-left:8px;
}

.service-list li:hover .right-icon{
    background:#d75b01;
    border-color:#d75b01;
    color:#fff;
    transform:translateX(5px);
}

}


   .service-heading{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 25px;
    font-size:42px;
    font-weight:605;
    /*color:#222;*/
}


.service-heading span{
    width:6px;
    height:30px;
    background:#0b5c8f;
    border-radius:20px;
}

@media(max-width:767px){

.service-heading{
    font-size:42px;
    margin-bottom:20px;
}

.service-heading span{
    height:24px;
}

}


/*====================================
 Service Content
====================================*/

.service-content{
    margin-top:40px;
}


.service-content h1{
    /*font-size:44px;*/
    font-weight:700;
    color:#d75b01 !important;
    line-height:1.3;
    margin-bottom:25px;
    position:relative;
    padding-bottom:15px;
    text-align: center;
}


.service-content p{
    line-height:32px;
    /*text-align:;*/
    margin-bottom:22px;
}

/*==========================
 Tablet
==========================*/

@media(max-width:991px){

.service-content img{
    margin-bottom:30px;
}

.service-content h1{
    font-size:36px;
}

.service-content p{
    line-height:30px;
}

}

/*==========================
 Mobile
==========================*/

@media(max-width:767px){

.service-content{
    margin-top:25px;
}

.service-content img{
    margin-bottom:20px;
    border-radius:15px;
}

.service-content h1{
    line-height:1.4;
    margin-bottom:20px;
}

.service-content h1::after{
    width:60px;
}

.service-content p{
    line-height:28px;
    text-align:left;
    margin-bottom:18px;
}

}

/* ================================
   PROJECT IMAGE LEFT SCROLL
================================ */

.keyprojectsslider{
    width:100%;
    overflow:hidden !important;
}

.keyprojectsslider .mask-2{
    display:flex !important;
    flex-wrap:nowrap !important;

    gap:10px;

    width:max-content !important;
    max-width:none !important;

    overflow:visible !important;

    animation:projectLeftScroll 30s linear infinite;
}


/* ================================
   DESKTOP - 3 CARDS
================================ */

.keyprojectsslider .keyprojectslide{
    flex:0 0 calc((100vw - 40px) / 3) !important;
    width:calc((100vw - 40px) / 3) !important;

    max-width:none !important;
    margin:0 !important;
}


/* ================================
   LEFT SCROLL
================================ */

@keyframes projectLeftScroll{

    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(
            calc(-100% + 100vw)
        );
    }

}


/* ================================
   TABLET - 2 CARDS
================================ */

@media(max-width:991px){

    .keyprojectsslider .mask-2{
        gap:15px;
        animation-duration:25s;
    }

    .keyprojectsslider .keyprojectslide{
        flex:0 0 calc((100vw - 35px) / 2) !important;
        width:calc((100vw - 35px) / 2) !important;
    }

}


/* ================================
   MOBILE - 1 CARD
================================ */

@media(max-width:767px){

    .keyprojectsslider .mask-2{
        gap:15px;
        animation-duration:20s;
    }

    .keyprojectsslider .keyprojectslide{
        flex:0 0 calc(100vw - 30px) !important;
        width:calc(100vw - 30px) !important;
    }

}


/*gallery-page-css*/


  .gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    padding-top:25px;
    padding-bottom:25px;
}

.gallery-item{
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
    position:relative;
}

/* Gold Overlay */
.gallery-item::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(212,175,55,0.35);
    opacity:0;
    transition:.4s ease;
    z-index:1;
    pointer-events:none;
}

/* Search Icon */
.gallery-item::after{
    content:"\f002";
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(.5);
    width:65px;
    height:65px;
    border:2px solid #fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:24px;
    opacity:0;
    transition:.4s ease;
    z-index:2;
    pointer-events:none;
}

.gallery-item img{
    width:100%;
    height:380px;
    object-fit:cover;
    transition:.5s;
    display:block;
}

.gallery-item:hover img{
    transform:scale(1.1);
}

.gallery-item:hover::before{
    opacity:1;
}

.gallery-item:hover::after{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
}

/* Popup */

.image-popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.92);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:.4s;
    z-index:99999;
}

.image-popup.active{
    opacity:1;
    visibility:visible;
}

.image-popup img{
    max-width:85%;
    max-height:85%;
    border-radius:10px;
    animation:zoom .4s;
}

@keyframes zoom{
    from{
        transform:scale(.7);
    }
    to{
        transform:scale(1);
    }
}

.close-popup{
    position:absolute;
    top:25px;
    right:40px;
    font-size:45px;
    color:#fff;
    cursor:pointer;
    transition:.3s;
}

.close-popup:hover{
    color:#ffb400;
}

.popup-prev,
.popup-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    background:#ffffff;
    color:#000;
    font-size:28px;
    border-radius:50%;
    cursor:pointer;
    transition:.3s;
}

.popup-prev:hover,
.popup-next:hover{
    background:#ffb400;
}

.popup-prev{
    left:40px;
}

.popup-next{
    right:40px;
}

/* ================================
   RESPONSIVE
================================ */

@media(max-width:991px){

    .gallery-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:15px;
    }

    .popup-prev,
    .popup-next{
        width:45px;
        height:45px;
        font-size:2rem;
    }

}


/* ================================
   MOBILE - 2 IMAGES
================================ */

@media(max-width:575px){

    .gallery-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:10px;
        width:100%;
    }

    .gallery-item{
        width:100%;
        overflow:hidden;
    }

    .gallery-item img{
        width:100%;
        height:160px;
        object-fit:cover;
        display:block;
    }

    .image-popup img{
        max-width:92%;
        max-height:80%;
        object-fit:contain;
    }

    .popup-prev{
        left:8px;
    }

    .popup-next{
        right:8px;
    }

    .close-popup{
        top:15px;
        right:15px;
        font-size:32px;
    }

}


/* ================================
   SMALL MOBILE
================================ */

@media(max-width:380px){

    .gallery-grid{
        gap:8px;
    }

    .gallery-item img{
        height:140px;
    }

}
