/*----------------------SlideShow--------------------------*/
/* Keep captions always visible & left-aligned, optimized for mobile */
.hero-carousel{
    font-family: var(--font-cairo-light),  system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}
.hero-carousel .carousel-item {
    position: relative;
}
/* A subtle left-to-right gradient to help text readability */
.hero-carousel .carousel-item::before{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,0) 70%);
    pointer-events:none;
}
.hero-caption {
    position:absolute; inset:0;
    display:flex; align-items:flex-start;   /* near bottom on phones */
    padding: 1rem;                        /* safe padding on phones */
}
.hero-caption .caption-box{
    max-width: 90vw;                      /* stay inside mobile screen */
    width: min(34rem, 92%);
    /*background: rgba(0,0,0,.55);*/
    color:#fff;
    padding: .875rem 1rem;
    border-radius: .75rem;
    /*backdrop-filter: blur(2px);*/
}
.hero-caption h2{
    /*font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;*/
    font-family: var(--font-cairo-regular),  system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
    color: red;
    margin:0 0 .25rem 0;
    font-weight:400;
    line-height: 1.1;
    font-size: clamp(1.5rem, 3.8vw, 2rem); /* responsive */
}
.hero-caption p{
    margin:0;
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    opacity:.95;
    font-family: var(--font-cairo-light),  system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}
@media (min-width: 768px){
    .hero-caption{ align-items:center; padding: 0 0 0 clamp(2rem, 7vw, 6rem); }
    .hero-caption .caption-box{ padding: 1.1rem 1.25rem; }
}
/*----------------------SlideShow--------------------------*/
