.blog-image{
    height: 78px;
    width: 79px;
    object-fit: cover;
}
.blog-avatar{
    height: 40px;
    width: 40px;
    object-fit: cover;
}
.alert-info {
    color: var(--bs-heading-color) !important;
    background-color: var(--sub-bg);;
    border-color: var(--sub-bg);;
}
.component-blog-cover{
    height: 254px;
    width: 370px;
    object-fit: cover;
}
.component-service-cover{
    height: 370px;
    width: 320px;
    object-fit: cover;
}
.blog-square{
    height: 238px !important;
    width: 236px !important;
    object-fit: cover !important;
}

.cookies-wrapper {
    position: fixed;
    right: -370px;
    bottom: 50px;
    max-width: 345px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 15px 25px 22px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999999;

    .title-box {
        display: flex;
        align-items: center;
        column-gap: 15px;
        color: var(--primary-color);
        margin-bottom: 15px;
    }
    .title-box i {
        font-size: 32px;
    }
    .title-box h3 {
        font-size: 24px;
        font-weight: 500;
    }
    .info {
        margin-bottom: 15px;
    }
    .info p {
        font-size: 16px;
        font-weight: 400;
        color: #333;
    }
    .info p a {
        color: var(--primary-color);
        text-decoration: none;
    }
    .info p a:hover {
        text-decoration: none;
    }
    .buttons {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .button {
        width: calc(100% / 2 - 10px) !important;
        padding: 8px 0  !important;
        border: none !important;
        border-radius: 4px !important;

    }
}
.cookies-wrapper.show {
    right: 20px;
}

/* Banner slider background video */
.banner__slider video.slide-bg {
    object-fit: cover;
    object-position: center center;
}

/* Testimonial avatar: keep it a small round thumbnail regardless of source size */
.testimonial__item .d-flex img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
}

/* Testimonial section background: anchor the wide people-photo to the top-left
   so it isn't over-zoomed when the tall quote form stretches the section */
.testimonial-area.bg-image {
    background-position: left top;
    background-size: 100% auto;
    background-color: #f4f7fb;
}
@media (max-width: 991px) {
    .testimonial-area.bg-image {
        background-size: cover;
        background-position: center top;
    }
}

/* Mobile hero button: comfortable, tappable sizing + tighter spacing */
@media (max-width: 767px) {
    .banner__content .btn-one,
    .banner-two__content .btn-one {
        padding: 13px 26px !important;
        font-size: 15px !important;
        display: inline-flex;
        align-items: center;
    }
    .banner__content .mt-60,
    .banner-two__content .mt-60 {
        margin-top: 28px !important;
    }
    .banner__content,
    .banner-two__content {
        padding: 80px 0 !important;
    }
}

/* Mobile header layout fix for hamburger menu button positioning */
@media (max-width: 991px) {
    .header__main {
        position: relative;
    }

    .header__main .bars {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .header__main .bars i {
        color: var(--heading-color) !important;
        background-color: var(--white);
        border-color: var(--border);
    }

    .header-two-area .header__main .bars i,
    .header-three-area .header__main .bars i {
        color: var(--white) !important;
        background-color: transparent;
        border-color: rgba(255, 255, 255, 0.3);
    }
}

@media (max-width: 575px) {
    .header__main .bars {
        right: 10px;
    }

    .header__main .bars i {
        padding: 8px;
        font-size: 16px;
    }
}
