:root{
    --tg-theme-primary:#f58020;
    --tg-theme-btn-hover:#f68a1f;
}

.project__item-three {
    border:none;
}

.gallery{
    padding-top: 80px;
}

.features__item-two{
    justify-content: space-around;
}

#features h5{
    color:gray;
}

.img-custom-anim-left{
    width:300px;
    object-fit: cover;
}

.img-custom-anim-right{
    width:400px;
    height: 300px;
    object-fit: contain;
}

.img-custom-anim-top{
   width: 250px;
   object-fit: cover;
}

.slider__bg-two{
    height:700px;
}

.tgmenu__nav .logo img{
    max-height: 80px;
}

.footer__logo img{
    max-height: 100px;
}

footer .row{
    justify-content: space-between;
}

.widget-title h4{
    color:white;
}

.list-wrap li{
    display: flex;
    gap:10px;
    align-items: center;
}

.list-wrap li:hover{
    color: var(--tg-theme-primary);
}

.list-wrap li i{
    font-size: 20px;
}

.btn-two:hover{
    background-color:var(--tg-theme-btn-hover) ;
}

.view-more a{
    width:auto;
}

.project__area{
    padding-top:30px;
}

#expertise-section h3:hover{
    color:var(--tg-theme-primary);
    cursor: pointer;
  }
  
  #expertise-section p{
      font-size: 18px;
  }
  
  #expertise-section li{
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
   
  }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.modal-content {
    background-color: #fefefe;
    margin: 7% auto;
    padding: 30px;
    padding-top:0;
    border: 1px solid #888;
    width: 80%;
}

.modal-text-img{
    display: flex;
    gap:20px;
    
}

.modal-text-img img{
    height: 500px;
    width: 400px;
    margin: auto;
    object-fit: cover;
}

.close {
    color: #aaa;
    font-size: 38px;
    font-weight: bold;
    text-align: right;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: auto;
    max-height: 300px; /* Set max height for images */
}
.gallery__item {
    margin-bottom: 15px;
}

.mfp-content .mfp-img {
    width:700px;
}

.row .gallery{
    padding-top: 0;
}

.contact{
    display: flex;
    gap:20px;
}

.contact__form-wrap{
    margin-top: 0;
}

.map{
    height:700px;
}
  
.breadcrumb__bg{
    background: none;
    padding: 20px 0;
}

.tgmenu__navbar-wrap ul{
    margin:unset;
}

.tgmenu__navbar-wrap ul {
    margin:unset;
}

.tgmenu__navbar-wrap{
    justify-content: flex-end;
}

.tgmenu__nav {
    justify-content: space-between;
}

.gallery__item img{
    height:300px;
    width: 100%;
    object-fit: cover;
}

.active{
    color:var(--primaryColor)
}

.modal-text-img{
   
    overflow: hidden;
}

.service-modal-scroll{
    height:60vh;
    overflow-y:auto;
}

.modal-text-img .work__btn img{
        height:30px;
        width: 30px;
        object-fit: none;
}

.quick-contact img {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    z-index: 9;
}

.read-more{
    color:var(--tg-theme-primary);
    font-size: 20px;
    cursor: pointer;
}

.read-more:hover{
    color:var(--tg-theme-btn-hover);
}

.footer__widget-link .list-wrap li a {
    text-transform: none;
}

@media (max-width: 1023px) {
    .modal-text-img{
        flex-direction: column;
    }

    .contact{
        display: flex;
        flex-direction: column;
        gap:20px;
    }

    .contact__form-wrap{
        margin-top: 30px;
    }
    
    .map{
        height:300px;
    }

    .service-modal-scroll{
        height:40vh;
    }

    .modal-text-img{

        gap:10px;
        
    }

    .modal-text-img img{
        height: 300px;
        width: 300px;
    }
  
}


@media (max-width: 768px) {
    .project__thumb-three img {
        height: 230px;
    }

    .modal h3{
        font-size: 15px;
    }


    .modal-text-img{
        display: flex;
        gap:5px;
        
    }

    .service-modal-scroll{
        height:20vh;
    }

    .modal-text-img img{
        height: 200px;
        width: 200px;
    }

    .modal-content {
        margin: 35% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 90%;
    }
  
}

@media (max-width: 1500px) {
    .tgmenu__navbar-wrap ul {
        margin:unset;
    }

    .tgmenu__navbar-wrap{
        justify-content: flex-end;
    }

}