.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;
}

/* Floating phone badge (vertical with number) */
.floating-phone-badge {
    position: fixed;
    right: clamp(8px, 1.2vw, 0px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: var(--secondary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    width: 48px; /* fixed narrow width prevents horizontal overflow */
    min-height: 116px;
    border-radius: 10px 0 0 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 24px rgb(0, 25, 25);
    contain: layout paint;
}
.floating-phone-badge i {
    writing-mode: horizontal-tb;
    transform: rotate(90deg);
    margin-bottom: 8px;
}
.floating-phone-badge:hover {
    color: var(--primary-color);
}
.floating-phone-badge span { display: inline-block; letter-spacing: 1px; }

/* Quote form overlay */
.quote-form-overlay {
    position: relative;
}
.banner-three-area .quote-form-overlay,
.banner-area .quote-form-overlay,
.banner-two-area .quote-form-overlay {
    position: absolute;
    left: 50%;
    bottom: -48px; /* half overlays banner */
    transform: translateX(-50%);
    width: min(1140px, 92%);
    z-index: 10;
}
.quote-form {
    background: var(--primary-color);
    border-radius: 12px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.quote-form .qf-title {
    color: #fff;
    font-weight: 700;
}
.quote-form .qf-fields {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.quote-form input,
.quote-form select {
    border: 1px solid rgba(255,255,255,.2);
    background: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    width: 100%;
}
.quote-form .qf-submit {
    background: #fff;
    border: 2px solid #fff;
    color: var(--primary-color);
    border-radius: 28px;
    padding: 10px 18px;
    transition: .2s ease;
}
.quote-form .qf-submit:hover {
    background: rgba(255,255,255,.9);
    border-color: #fff;
}

/* Ensure banners allow overlay to show */
.banner-three-area,
.banner-area,
.banner-two-area {
    position: relative;
    overflow: visible;
    padding-bottom: 80px; /* reserve space for overlay */
}

/* removed qf-phone styling */

@media (max-width: 991px) {
    .quote-form .qf-fields { grid-template-columns: 1fr 1fr; }
    .floating-phone-badge { right: clamp(8px, 1.2vw, 1px); width: 44px; min-height: 96px; padding: 10px 6px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
}
@media (max-width: 575px) {
    .quote-form .qf-fields { grid-template-columns: 1fr; }
}

/* Small devices: compact but still shows number */
@media (max-width: 768px) {
    .floating-phone-badge { width: 40px; min-height: 88px; right: clamp(8px, 2vw, 1px); padding: 8px 6px; border-radius: 8px 0 0 8px; }
    .floating-phone-badge span { letter-spacing: 0; font-size: 12px; }
}

/* Medium widths: slight inward offset to avoid overlapping edge content */
@media (min-width: 992px) and (max-width: 1280px) {
    .floating-phone-badge { right: clamp(10px, 1.4vw, 1px); }
}
