/* client portfolio */
.client_thumb {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.client_thumb span {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    padding: 10px 5px;
    margin: 12px;
    cursor: pointer;
    width: 21.5%;
    box-shadow: 0 0 1px 0 #ccc;
    position: relative;
}

.client_thumb span:before {
    content: "";
    position: absolute;
    background: #fff;
    top: -15px;
    left: -15px;
    bottom: -15px;
    right: -15px;
    transform: scale(.8);
    transition: ease-in-out .3s;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.client_thumb img {
    width: 100%;
    height: 48px;
    object-fit: contain;
    position: relative;
    filter: grayscale(1);
    opacity: 0.5;
    z-index: 11;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.client_thumb span:hover:before {
    transform: scale(1);
    box-shadow: 0 3px 22px rgb(0 0 0 / 12%);
    opacity: 1;
    visibility: visible;
}

.client_thumb span:hover img {
    opacity: 1;
    filter: grayscale(0);
}

/* icon  */

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* WhatsApp green default, will override per button */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background-color: #007bff;
    /* Blue for phone */
}

.whatsapp-btn {
    background-color: #25D366;
    /* Green for WhatsApp */
}

.floating-btn .fa-whatsapp {
    font-size: 32px;
}

.floating-btn .fa-phone {
    font-size: 20px;
}

.client-number {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 50px 0;
}

.contact-btn {
    background: #1b1c1d;
    padding: 0px 0 0 25px;
    border-radius: 30px;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    line-height: 50px;
    /* margin-top: 40px; */
    max-width: 520px;
    /* margin: 0 auto; */
}

.contact-btn .text {
    color: #FFF;
    padding: 12px 24px;
    text-decoration: none;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    transition: background-color 0.3s ease;
}

.contact-btn .phone {
    background-color: #fb0202;
    color: #000;
    padding: 12px 24px;
    float: right;
    display: inline-block;
    background: #fb0202;
    border-radius: 30px;
    padding: 0 35px;
    color: #FFF;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.contact-btn .phone:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.contact-btn .phone i {
    color: #FFF;
    font-size: 16px;
}

.contact-btn:hover {
    background: var(--primary-color);
}

.client-number .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-color: rgba(0, 0, 0, 0.35);
    background-image: url('../images/number-bg.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scaleX(-1);
    z-index: 1;
}

.client-number .client-content img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(2%) saturate(7488%) hue-rotate(312deg) brightness(105%) contrast(104%);
    display: none;
}

.client-number .client-content .number-title {
    color: #FFF;
    font-size: 60px;
}

.client-number .client-content .number-desc {
    color: #FFF;
    font-size: 18px;
}

.fixed-toggle-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 15px 7px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    background-color: var(--accent-color);
    color: #FFF;
    z-index: 2;
}

.fixed-toggle-btn:hover {
    background-color: var(--primary-color);
    color: #FFF;
}

/* Off-canvas custom styling */
.offcanvas-header {
    /* background: var(--accent-color); */
    color: white;
    padding-left: 25px;
}

.btn-close-side {
    filter: brightness(0) invert(1);
}

.offcanvas-body {
    padding: 25px;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .fixed-toggle-btn {
        padding: 12px 6px;
        font-size: 14px;
    }
    .fixed-toggle-btn {
        font-size: 18px;
    }
}

.global-presence-section {
    margin: 0 auto;
    padding: 40px 20px;
}

.country-item {
    text-align: center;
    margin-bottom: 50px;
}

.flag-container {
    width: 100%;
    max-width: 135px;
    height: 84px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flag-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.and-more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.8rem;
    color: #888;
    font-weight: 500;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .flag-container {
        max-width: 120px;
        height: 80px;
    }

    .client-number .client-content .number-title {
        font-size: 40px;
    }

    .client-number .client-content .number-desc {
        font-size: 16px;
    }
}

.project-item {
    cursor: pointer;
}

.service-inner .breadcrumb-item a {
    color: rgba(33, 37, 41, 0.75);
}

.box-con {
    padding: 10px;
}

.small-image20 img {
    width: 100%;
    max-width: 100%;
    margin: 5px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.small-image20 img:hover,
.small-image20 img.active {
    border-color: #f35455;
}

.big-image20 img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.caption-container p {
    font-size: 16px;
    color: #FFF;
    font-weight: 500;
}

.modal .btn-close {
    filter: brightness(0) saturate(100%) invert(100%) sepia(8%) saturate(7472%) hue-rotate(11deg) brightness(103%) contrast(98%);

    padding-right: 10px;
    padding-top: 5px;
}

.modal-body {
    padding: 10px 5px 0px;
}

@media screen and (max-width:991px) {
    header.main-header {
        height: 90px !important;
    }

}

@media screen and (max-width:767px) {
    .client_thumb span {
        margin: 8px;
        width: 27.5%;
    }
}

@media screen and (max-width:576px) {
    .contact-btn {
        padding: 0px 0 0 15px;
        font-size: 16px;
    }

    .contact-btn .text {
        padding: 12px 18px;
    }

    .contact-btn .phone {
        padding: 0 18px;
        font-size: 16px;
    }

    .client_thumb span {
        margin: 8px;
        width: 27.5%;
    }

    .fixed-toggle-btn {
        font-size: 18px;
    }
}
@media (min-width: 767px) {
    .modal-dialog {
        --bs-modal-width: 680px !important;
    }
}
@media (min-width: 992px) {
    .modal-lg, .modal-xl {
        --bs-modal-width: 980px !important;
    }
}
