/* We Digital Services - Custom Image Fitting & Overrides */

/* === Service Detail Page Images === */
.service-details__slider-single .poster img,
.service-details__slider-single .poster-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Portfolio/Project Card Images === */
.portfolio__single img,
.portfolio__single a > img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* === Blog Thumbnail Images === */
.blog__single-thumb img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* === Team Member Images === */
.team-m__single .thumb > a > img,
.team__single .thumb img,
.team-two__slider-single .thumb img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* === About Page Agency Thumb === */
.agency__content-thumb img,
.agency__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Testimonial Avatar === */
.testimonial-s__slider-single .thumb img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* === Project Grid Images === */
.project__single img,
.project-h__single img,
.project-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Offer Section Hover Images === */
.offer-thumb-hover {
    background-size: cover !important;
    background-position: center !important;
}

/* === Work Thumb === */
.work__single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Banner Thumbs === */
.banner__thumb img,
.banner-two__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Mission Images === */
.mission__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === FAQ Thumb === */
.faq__thumb img {
    width: 100%;
    object-fit: cover;
}

/* === Error Page === */
.error-thumb img {
    width: 100%;
    object-fit: contain;
}

/* === Video Frame === */
.video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === News Images === */
.news__single img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* === Projects Detail Images === */
.projects-details__thumb img,
.projects-details img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* === Horizontal Project Cards === */
.project-h__single img,
.project__hr img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* === Creative Page Portfolio === */
.creative .portfolio__single img {
    height: 400px;
    object-fit: cover;
}

/* Increase Logo Size */
.navbar__logo img, 
.mobile-menu__header .logo img {
    max-width: 250px !important;
}

/* Increase Logo Size */
.navbar__logo img, 
.mobile-menu__header .logo img {
    max-width: 250px !important;
}

.footer-two__left .logo img,
.footer-cmn .logo img {
    max-width: 300px !important;
}

/* Fix dropdown label symbol mojibake */
.navbar__dropdown-label::after, .navbar__dropdown-label-sub::after {
    content: '\f107' !important;
    font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free', sans-serif !important;
    font-weight: 900 !important;
}

/* === Hide white 3D ball from services section === */
.offer-thumb-hover {
    display: none !important;
}

/* === Testimonial Avatar Thumbnails - Circular Profile Photos === */
.author-meta__thumb img,
.testimonial-s__slider-single .thumb img,
.other-section-image {
    width: 78px !important;
    height: 78px !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 50% !important;
    border: 2px solid #f26522 !important;
}

/* Large testimonial portrait (left side of homepage) */
.testimonial-two__thumb img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    object-fit: cover !important;
    object-position: top center !important;
    max-height: 520px !important;
}

/* About us testimonial large side thumb */
.testimonial-s__slider-single .thumb img {
    width: 100% !important;
    height: 360px !important;
    border-radius: 16px !important;
    object-fit: cover !important;
    object-position: top center !important;
    border: none !important;
}

/* Other section preview image */
.other-section .other-section-image {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: top center !important;
    border: 2px solid #f26522 !important;
}

/* === Official Partner Cards - Hover Animations === */
.partner-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.partner-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(242, 101, 34, 0.15) !important;
    border-color: rgba(242, 101, 34, 0.35) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

.partner-card:hover img {
    filter: brightness(1.25) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Partners section responsive */
@media (max-width: 576px) {
    .partners-section .row.gaper > div {
        margin-bottom: 16px;
    }
}

/* ============================================================
   FOOTER PARTNER STRIP — Inline SVG logos, transparent BG
   ============================================================ */
.footer__partner-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 48px;
    padding: 32px 0 32px;
    margin-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__partner-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #ff7425);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer__partner-label i {
    font-size: 13px;
}

/* Vertical divider after label */
.footer__partner-label::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 24px;
}

.footer__partner-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 44px;
    flex: 1;
}

/* Each partner link */
.footer__partner-item {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    opacity: 0.65;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 8px 0;
}

.footer__partner-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* SVG inside partner item */
.footer__partner-item svg {
    display: block;
    transition: filter 0.3s ease;
    filter: brightness(0.75);
}

.footer__partner-item:hover svg {
    filter: brightness(1) drop-shadow(0 0 6px rgba(255,255,255,0.15));
}

/* Remove old img rules — SVG replaces them */
.footer__partner-item img {
    display: none;
}

.footer__partner-item span {
    display: none;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .footer__partner-strip {
        gap: 16px 28px;
        padding: 22px 0;
    }

    .footer__partner-logos {
        gap: 4px 24px;
    }
}

@media (max-width: 767px) {
    .footer__partner-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 0;
    }

    .footer__partner-label::after {
        display: none;
    }

    .footer__partner-logos {
        gap: 12px 20px;
        flex-wrap: wrap;
    }

    .footer__partner-item svg {
        transform: scale(0.9);
        transform-origin: left center;
    }
}
