/************ Blog Slider ****************/

.blog-slider {
    max-width: 900px;
    margin: 60px auto;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.blog-slider .slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.blog-slider .slide {
    min-width: 100%;
    position: relative;
}

.blog-slider img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.blog-slider .content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
}

.blog-slider h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.blog-slider p {
    margin: 0;
    font-size: 14px;
}

.blog-slider .nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    box-sizing: border-box;
}

.blog-slider button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.blog-slider button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Client Logos Section Styles */
.client-logos-section {
    /* background: #f8f9fa; */
    background-image: url(/assets/images/home-3/digital-product-bg.png);
    padding: 60px 0;
}

.client-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.client-logo-item {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-logo-item img {
    max-width: 100%;
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .client-logo-item {
        width: 130px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .client-logos-grid {
        gap: 15px;
    }

    .client-logo-item {
        width: 120px;
        height: 70px;
    }
}



/************ Chat Widget ***************/
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

/* Welcome Message */
.welcome-message {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 260px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-message:after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.welcome-close {
    position: absolute;
    top: 5px;
    right: 8px;
    cursor: pointer;
    color: #999;
    font-size: 18px;
}

.welcome-close:hover {
    color: #333;
}

.welcome-text {
    color: #333;
    font-size: 14px;
    margin-top: 5px;
    padding-right: 15px;
}

/* Main Button */
.main-chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #448aff;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s;
}

.main-chat-button:hover {
    transform: scale(1.1);
}

.main-chat-button .fa-times {
    display: none;
}

.main-chat-button.open .fa-comment-dots {
    display: none;
}

.main-chat-button.open .fa-times {
    display: block;
}

.tooltip {
    position: absolute;
    right: 70px;
    background: #464646;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    display: none;
}

.main-chat-button:hover .tooltip {
    display: block;
}

/* Menu Items */
.menu-items {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 13px;
    min-width: 200px;
}

.menu-items.open {
    display: flex;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    animation: fadeIn 0.2s ease;
    animation-fill-mode: both;
    width: 100%;
}

.menu-item:nth-child(1) {
    animation-delay: 0.05s;
}

.menu-item:nth-child(2) {
    animation-delay: 0.1s;
}

.menu-item:nth-child(3) {
    animation-delay: 0.15s;
}

.menu-item:nth-child(4) {
    animation-delay: 0.2s;
}

.menu-item:nth-child(5) {
    animation-delay: 0.25s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.app-button:hover {
    transform: scale(1.15);
}

.app-label {
    background: #464646;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    display: none;
    white-space: nowrap;
    order: -1;
}

.menu-item:hover .app-label {
    display: block;
}

/* Branding */
.branding {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    white-space: nowrap;
    color: #aaa;
    width: 100%;
    text-align: center;
}

.branding a {
    color: #aaa;
    text-decoration: none;
    display: inline-block;
}

.branding a:hover {
    color: #0090aa;
}

/* Lightbox */
.lightbox {
    display: none;
    position: absolute;
    bottom: 100px;
    right: 0;
    width: 250px;
    height: 250px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 15px;
}

.lightbox.show {
    display: block;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 16px;
    z-index: 10;
}

#qr-code {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



/**********   Hover effect for links  ************/
.footer-menu a:hover {
    opacity: 1 !important;
    color: #199db6 !important;
}

.footer-copyright-social-icon a:hover {
    opacity: 1 !important;
    color: #199db6 !important;
}

@media (max-width: 768px) {
    .footer-menu {
        text-align: center;
    }

    .footer-menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-copyright {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}