@media(max-width:999px) {
    .topbar {
        display: none;
    }
}

.mediacss {
    height: 20rem;
}

.topbar .contact-info li a {
    color: #fff;
}

.services-imgbox {
    width: 100%;
    height: 20rem;
}

    .servicehoverhd:hover{
        background-color: #f47425 !important ;
        color: white !important;
    }
    .active-service {
        background-color: #f47425 !important ;
        color: white !important;
    }
    .services-details-image img{
        height: 25rem;
        width: 100%;
    }

/* ------------------------service */

.service__section__wrap {
    display: flex;
    justify-content: space-evenly;
}

.section__title h2.title__line {
    color: #1f2d30;
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: normal;
}

.section__title p {
    color: #606060;
    margin: 21px auto auto;
    width: 57%;
}

.service__thumb a img {
    width: 100%;
    height: 14rem;
}

.service__thumb {
    position: relative;
}

.service__section__wrap .service__thumb {
    margin-left: -15px;
}

.service__hover {
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: all 0.5s ease 0s;
    width: 100%;
    z-index: 2;
}

.service__hover::before {
    background: #fcc236 none repeat scroll 0 0;
    content: "";
    height: 100%;
    opacity: 0.85;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.service__action {
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}



.service__action a,
.service__action {
    color: #fefefe;
    font-family: Raleway;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.4s ease 0s;
}

.service__action:hover {
    color: #000;
}

.service__action a:hover {
    color: #000;
}

.service__details h2 {
    color: #1f2d30;
    font-size: 20px;
    font-weight: 700;
    margin-top: 18px;
    text-align: center;
    text-transform: uppercase;
}

.service:hover .service__hover {
    opacity: 1;
}

.container-fluid .section__title p {
    width: 34%;
}

/*Service Page*/

.service__page .service {
    margin-top: 70px;
}

.service__page .service__section__wrap {
    margin-top: -10px;
}

.service--2 .container-fluid .section__title p {
    margin-bottom: inherit;
    margin-left: inherit;
    margin-right: inherit;
    margin-top: 21px;
    text-align: left;
    width: 72%;
}


.fs-1 {
    font-size: 2.5rem;
    /* equals roughly 40px if root font-size is 16px */
    line-height: 1.2;
    /* optional, for better spacing */
}

.mt-5 {
    margin-top: 3rem
}

.my-2 {
    margin-top: 0.5rem;
    /* 8px */
    margin-bottom: 0.5rem;
    /* 8px */
}

.mb-2 {
    margin-bottom: 0.5rem;
    /* 8px */
}

.mb-4 {
    margin-bottom: 1.5rem;
    /* 24px */
}

.mb-5 {
    margin-bottom: 3rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}

.my-5 {
    margin-top: 48px;
    margin-bottom: 48px;
}

.p-3 {
    padding: 16px;
}

.custom-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.borderpr {
    padding: 25px 28px;
    border: 1px solid #eee;
    border-bottom: 5px double #f47425;
}

.card-hover {
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.card-hover:hover {
    background-color: #000 !important;
    color: white !important;
}

.card-hover:hover h5 {
    color: #fff
}

.card-hover:hover p {
    color: #fff
}

/* Icon color change on hover */
.card-hover:hover .icon {
    filter: brightness(0) invert(1);
}

/* Read more link styling */
.read-more {
    font-weight: 700;
    font-size: 0.8rem;
}

.card-hover:hover .read-more {
    background-color: #222;
    color: white !important;
    padding: 0 5px;
}


    .widget-body {
        height: 30rem;
        overflow: auto;
    }
    figure.table {
    width: 100%;
    overflow-x: auto;
}

figure.table table {
    width: 100%;
    border-collapse: collapse;
}

figure.table td, 
figure.table th {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}


/*--------------------------------blog------------------*/

.blog_title {
  height: 3em; /* approx 2 lines */
  line-height: 1.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
}

/* Responsive for small screens */
@media (max-width: 600px) {
  .blog_title{
    height: 4.5em; /* approx 3 lines on smaller screens */
    -webkit-line-clamp: 3;
  }
}


/* -------------------------brand partner */
.image-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.image-marquee {
    display: flex;
    animation: marquee 40s linear infinite;
}

.image-marquee img {
    height: 5rem;
    /* Ensures all images are of uniform height */
    margin-right: 80px;
    /* Gap between images */
    flex-shrink: 0;
    /* Prevent images from shrinking */
}

/* Marquee animation */
@keyframes marquee {
    0% {
        transform: translateX(100%);
        /* Start from the right */
    }

    100% {
        transform: translateX(-100%);
        /* End on the left, when all images are out of view */
    }
}

/* Add extra space at the end of the images */
.image-marquee::after {
    content: '';
    width: 100px;
    /* White space after the last image */
    height: 100%;
}

/* Responsive adjustments */
@media (min-width: 1024px) {
    .image-marquee img {
        width: 20%;
        /* 5 images visible at once on PC */
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .image-marquee img {
        width: 33.33%;
        /* 3 images visible at once on tablet */
    }
}

@media (max-width: 767px) {
    .image-marquee img {
        width: 50%;
        /* 2 images visible at once on mobile */
    }

    .servicerowsectionmain {
        margin: 0 !important;
    }
}