.demo_txt:hover,
.navbar_header .nav li a:hover{
    color: #ff6600;
}

.header_containt .logo img,
.footerlogo{
    width: 193px !important;
    height: 80px !important;
}

.hero_man{
    width: 630px;
    height: 835px;
    bottom: 0;
}

.img-mask img{
    width: 478px !important;
    height: 637px;
}

.choose2{
    width: 545px;
    height: 293px;
}

.who_imgs img{
    width: 171px;
    height: 60;
}

.meet_section{
    background-image: url(../../image/home/contact-best-painting-la-now.webp) !important;
}

.meet_h2 {
    color: #393230;
}

.bubbles1 {
    border: 2px solid #05335E;
}

.bubbles1 p{
    color: #05335E;
}

/* services slider marquee */

/* ============================= */
/* Swiper Slide Fix */
/* ============================= */
.mySwiper1 .swiper-slide {
    width: auto !important; /* CRITICAL */
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ============================= */
/* Service Button */
/* ============================= */
.service_slide {
    display: inline-flex; /* key fix */
    align-items: center;
    justify-content: center;

    padding: 14px 30px;
    min-height: 48px;

    background: rgba(5, 51, 94, 0.06);
    border: 1px solid rgba(5, 51, 94, 0.15);
    border-radius: 999px;

    text-decoration: none;
    white-space: nowrap; /* prevents wrap */
    width: max-content;  /* adapts to text */
    max-width: none;     /* prevents cropping */

    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* ============================= */
/* Text */
/* ============================= */
.service_title {
    font-size: 15px;
    font-weight: 600;
    color: #05335E;
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

/* ============================= */
/* Hover Gradient */
/* ============================= */
.service_slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #05335E 0%,
        #05335E 70%,
        #ff6600 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.service_slide:hover::before {
    opacity: 1;
}

.service_slide:hover .service_title {
    color: #ffffff;
}

/* ============================= */
/* Hover Lift */
/* ============================= */
.service_slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(5, 51, 94, 0.18);
    border-color: transparent;
}

/* ============================= */
/* Active Slide */
/* ============================= */
.mySwiper1 .swiper-slide-active .service_slide {
    background: #05335E;
    border-color: #05335E;
}

.mySwiper1 .swiper-slide-active .service_title {
    color: #ffffff;
}

/* ============================= */
/* Mobile Adjustments */
/* ============================= */
@media (max-width: 767px) {
    .service_slide {
        padding: 12px 22px;
        min-height: 44px;
    }

    .service_title {
        font-size: 14px;
    }
}

html{
    overflow-x: hidden;
}

/* projects and services btn */

/* ============================= */
/* Primary Theme Button */
/* ============================= */
.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 34px;
    min-height: 52px;

    background: linear-gradient(
        135deg,
        #05335E 0%,
        #05335E 75%,
        #ff6600 100%
    );

    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: capitalize;

    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;

    position: relative;
    overflow: hidden;

    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(5, 51, 94, 0.25);
}

/* ============================= */
/* Hover Shine Effect */
/* ============================= */
.theme-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transition: all 0.6s ease;
}

.theme-btn:hover::after {
    left: 120%;
}

/* ============================= */
/* Hover State */
/* ============================= */
.theme-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(5, 51, 94, 0.35);
}

/* ============================= */
/* Active (Click) */
/* ============================= */
.theme-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(5, 51, 94, 0.28);
}

/* ============================= */
/* Mobile Optimization */
/* ============================= */
@media (max-width: 767px) {
    .theme-btn {
        padding: 13px 28px;
        font-size: 14px;
        min-height: 48px;
    }
}

/* testimonial */

.testimonial_section{
    background-image: url(../../image/home/best-painting-la-testimonials.webp);
}


/* contact us */

.dream1{
    height: 761px;
    width: 351px;
}

.dream2{
    width: 550px;
    height: 530px;
    border-radius: 20px;
}


/* footer */

.footerimg{
    width: 440px;
    height: 336px;
}

/* ============================= */
/* Footer Marquee (Infinite Loop) */
/* ============================= */
.footer_marquee {
    width: 100%;
    max-width: 350px;          /* adjust if you want wider */
    overflow: hidden;
    position: relative;
    border-radius: 999px;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 102, 0, 0.25);
}

/* Fade edges for premium look */
.footer_marquee::before,
.footer_marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 55px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.footer_marquee::before {
    left: 0;
    background: linear-gradient(to right, #05335E, rgba(5, 51, 94, 0));
}

.footer_marquee::after {
    right: 0;
    background: linear-gradient(to left, #05335E, rgba(5, 51, 94, 0));
}

.footer_marquee_track {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    animation: footerMarquee 22s linear infinite;
}

/* Pause on hover */
.footer_marquee:hover .footer_marquee_track {
    animation-play-state: paused;
}

.footer_chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.footer_chip strong {
    color: #ff6600;
    font-weight: 700;
}

/* Infinite scroll */
@keyframes footerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 991px) {
    .footer_marquee {
        max-width: 100%;
    }
    .footer_marquee_track {
        animation-duration: 18s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer_marquee_track {
        animation: none;
    }
}


.footer_span a{
    color: #393230;
}

.footer_span a:hover{
    color: #ff6600;
}

.sidebar_logo a img{
    width: 275px !important;
}

@media (max-width: 768px) {
    h1{
        font-size: 50px !important;
    }

    h2{
        font-size: 40px !important;
    }

    .faq-question .icon {
        background-color: transparent !important;
    }
}

@media (max-width: 426px) {
    h1{
        font-size: 40px !important;
    }

    h2{
        font-size: 30px !important;
    }
}

@media (max-width: 376px) {
    h1{
        font-size: 35px !important;
    }

    h2{
        font-size: 25px !important;
    }

    .img-mask img {
        width: 100% !important;
        height: 300px;
    }

    .small_footer_p1{
        font-size: 16px !important;
    }
}

@media (max-width: 320px) {
    h1{
        font-size: 30px !important;
    }

    h2{
        font-size: 22.5px !important;
    }

    h3, .footer_ul_li{
        font-size: 20px !important;
    }

    .footer_ul li a,
    .accordion-button:not(.collapsed),
    .faq-question{
        font-size: 16px !important;
    }
    p, .small_footer_p1, .accordion-body{
        font-size: 14px !important;
    }


}