/* ===================================================
   Marathwada Scales Unlimited - Custom Enhancements
   Full-screen home banner + About Us page styling
   =================================================== */

/* ---------- Full Screen Home Banner ---------- */
/* Banner images are 1983 x 793 (ratio ~2.5:1). We size the slide with the
   SAME aspect-ratio as the source image so the picture always fits
   edge-to-edge with nothing cropped/cut on any screen size. */
.fs-banner-section{
    position: relative;
    width: 100%;
    background-color: #0b1f3a;
}
.fs-banner-section .carousel-item{
    width: 100%;
    aspect-ratio: 1983 / 793;
    background-color: #0b1f3a;
    overflow: hidden;
}
.fs-banner-section .carousel-item img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #0b1f3a;
}
.fs-banner-section .carousel-indicators{
    bottom: 12px;
    z-index: 5;
    margin-bottom: 0;
}
.fs-banner-section .carousel-indicators [data-bs-target]{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    border: none;
    margin: 0 6px;
}
.fs-banner-section .carousel-indicators .active{
    background-color: #fe0000;
}
.fs-banner-section .carousel-control-prev,
.fs-banner-section .carousel-control-next{
    width: 6%;
    opacity: 0;
    transition: opacity .3s ease;
}
.fs-banner-section:hover .carousel-control-prev,
.fs-banner-section:hover .carousel-control-next{
    opacity: 0.85;
}
.fs-banner-section .carousel-control-prev-icon,
.fs-banner-section .carousel-control-next-icon{
    background-color: rgba(254,0,0,0.75);
    border-radius: 50%;
    padding: 22px;
    background-size: 45%, 45%;
}

/* On very narrow phones the strip gets quite short (aspect-ratio kept),
   so we allow a touch more height there while still showing the full image. */
@media only screen and (max-width: 575px){
    .fs-banner-section .carousel-item{ aspect-ratio: 3 / 2; }
    .fs-banner-section .carousel-indicators{ bottom: 6px; }
    .fs-banner-section .carousel-indicators [data-bs-target]{ width: 8px; height: 8px; margin: 0 4px; }
}

/* ---------- Testimonials ---------- */
.testimonials-section{
    padding: 75px 0;
    background: linear-gradient(135deg,#f7f8fa 0%, #eef1f6 100%);
    position: relative;
    overflow: hidden;
}
.testi-card{
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(11,31,58,0.12);
    padding: 45px 40px 38px;
    text-align: center;
    max-width: 720px;
    margin: 10px auto 0;
    position: relative;
}
.testi-card .quote-icon{
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg,#fe0000,#c50000);
    color: #fff;
    font-size: 22px;
    margin: -75px auto 22px;
    box-shadow: 0 8px 20px rgba(254,0,0,0.35);
    border: 4px solid #fff;
}
.testi-card .testi-stars{
    color: #ffb400;
    margin-bottom: 16px;
    font-size: 15px;
    letter-spacing: 2px;
}
.testi-card .testi-text{
    font-size: 17px;
    color: #555;
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 26px;
    min-height: 110px;
}
.testi-card .testi-avatar{
    width: 72px;
    height: 72px;
    line-height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg,#0b1f3a,#14284d);
    color: #fff;
    font-size: 30px;
    margin: 0 auto 14px;
    box-shadow: 0 6px 16px rgba(11,31,58,0.3);
}
.testi-card h4{
    font-size: 18px;
    font-weight: 700;
    color: #0b1f3a;
    margin-bottom: 3px;
}
.testi-card .testi-role{
    font-size: 12.5px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.testimonials-section .single-item-carousel{
    padding-top: 55px;
}
.testimonials-section .single-item-carousel .owl-nav{
    text-align: center;
    margin-top: 30px;
}
.testimonials-section .single-item-carousel .owl-nav span{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #0b1f3a;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    margin: 0 7px;
    font-size: 16px;
    transition: all .3s ease;
}
.testimonials-section .single-item-carousel .owl-nav span:hover{
    background: #fe0000;
    color: #fff;
    transform: translateY(-2px);
}
.testimonials-section .single-item-carousel .owl-dots{
    text-align: center;
    margin-top: 22px;
}
.testimonials-section .single-item-carousel .owl-dots .owl-dot span{
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccd2dd;
    margin: 0 5px;
    transition: all .3s ease;
}
.testimonials-section .single-item-carousel .owl-dots .owl-dot.active span{
    background: #fe0000;
    width: 26px;
    border-radius: 6px;
}

@media only screen and (max-width: 575px){
    .testimonials-section{ padding: 50px 0; }
    .testi-card{ padding: 35px 22px 28px; }
    .testi-card .testi-text{ font-size: 15px; min-height: unset; }
    .testi-card .quote-icon{ margin-top: -65px; width: 50px; height: 50px; line-height: 50px; font-size: 18px; }
}

/* ---------- About Page ---------- */
.about-hero{
    background: linear-gradient(135deg,#0b1f3a 0%, #14284d 100%);
    padding: 70px 0 60px;
    color: #fff;
    text-align: center;
}
.about-hero h1{
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.about-hero p{
    font-size: 17px;
    max-width: 780px;
    margin: 0 auto;
    color: #dfe6f2;
    line-height: 1.7;
}

.about-section{
    padding: 60px 0;
}
.about-section.bg-light-grey{
    background-color: #f7f8fa;
}
.section-heading{
    text-align: center;
    margin-bottom: 45px;
}
.section-heading h2{
    font-size: 30px;
    font-weight: 800;
    text-transform: uppercase;
    color: #0b1f3a;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-heading h2:after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: #fe0000;
}
.section-heading p{
    color: #666;
    max-width: 700px;
    margin: 12px auto 0;
}

.about-story-img img{
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.about-story-text h3{
    font-size: 24px;
    font-weight: 700;
    color: #0b1f3a;
    margin-bottom: 18px;
}
.about-story-text p{
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

.stat-box{
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 30px 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
.stat-box .num{
    font-size: 36px;
    font-weight: 800;
    color: #fe0000;
    display: block;
}
.stat-box .lbl{
    color: #444;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.video-card{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    background: #000;
    margin-bottom: 25px;
}
.video-card video{
    width: 100%;
    display: block;
    max-height: 480px;
    object-fit: cover;
    background:#000;
}
.video-card .video-title{
    background: #0b1f3a;
    color: #fff;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.cert-card{
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid #eee;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cert-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}
.cert-card img{
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.cert-card .cert-label{
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    color: #0b1f3a;
    font-size: 14px;
    background: #f7f8fa;
    border-top: 3px solid #fe0000;
}

.why-us-box{
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    margin-bottom: 20px;
    transition: all .3s ease;
}
.why-us-box:hover{
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
.why-us-box i{
    font-size: 38px;
    color: #fe0000;
    margin-bottom: 15px;
    display: inline-block;
}
.why-us-box h4{
    font-size: 17px;
    font-weight: 700;
    color: #0b1f3a;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.why-us-box p{
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.trust-logos{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 35px;
}
.trust-logos img{
    max-height: 90px;
    width: auto;
    filter: grayscale(15%);
    transition: filter .3s ease;
}
.trust-logos img:hover{
    filter: none;
}

.about-cta{
    background: #fe0000;
    color: #fff;
    text-align: center;
    padding: 45px 15px;
}
.about-cta h3{
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-size: 26px;
}
.about-cta .button-29{
    background: #fff;
    color: #fe0000;
}

@media only screen and (max-width: 767px){
    .about-hero{ padding: 45px 0 35px; }
    .about-hero h1{ font-size: 26px; }
    .about-hero p{ font-size: 15px; }
    .about-section{ padding: 40px 0; }
    .section-heading h2{ font-size: 23px; }
    .about-story-text{ margin-top: 25px; }
    .video-card video{ max-height: 260px; }
    .cert-card img{ height: 200px; }
    .stat-box .num{ font-size: 28px; }
}
