/* ===================================
   BASE STYLES
=================================== */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.section-title {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: #6c757d;
}

.card-soft {
    border-radius: 1.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border: none;
}

.badge-pill {
    border-radius: 999px;
}


/* ===================================
   HERO SLIDER — CLEAN + FIXED
=================================== */

.hero-section {
    position: relative;
}

/* Slider images fit fully, maintain quality */
.slider-img {
    width: 100%;
    height: 75vh;            /* slider height */
    object-fit: cover;       /* fill without distortion */
    object-position: center; /* center main subject */
    display: block;
}

/* Slider caption placed ON TOP of the image */
.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    text-align: left;
    max-width: 450px;
    z-index: 5 !important;   /* always above image */
}

/* Text background box */
.hero-content-box {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 1.25rem;
    padding: 1.75rem 2rem;
    max-width: 450px;
    color: #fff;
}


/* ===================================
   SLIDER INDICATORS & CONTROLS
=================================== */

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background-color: rgba(255,255,255,0.6);
}

.carousel-indicators .active {
    width: 26px;
    background-color: #ffc107;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.8));
}


/* ===================================
   RESPONSIVE OPTIMIZATION
=================================== */

@media (max-width: 991.98px) {

    .slider-img {
        height: 60vh;
    }

    .hero-content-box {
        padding: 1.25rem 1.5rem;
    }

    .carousel-caption {
        padding: 0 1.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {

    .slider-img {
        height: 50vh;
    }

    .hero-content-box {
        padding: 1rem 1.25rem;
        border-radius: 1rem;
    }

    .hero-section h1 {
        font-size: 1.6rem;
    }
}
/* Soft corporate blended navbar */
.header-soft {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-soft .navbar-brand {
    font-weight: 700;
    color: #222 !important;
}

.header-soft .nav-link {
    font-weight: 500;
    color: #333 !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

.header-soft .nav-link:hover {
    color: #ffc107 !important;
}
/* ============================
   CLIENT LOGO SCROLLER
============================ */

.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 20px;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

/* Each logo sits in a fixed-size thumbnail box */
/* Strict client logo box sizing */
/* Strict client logo box sizing */
.logo-item {
    flex: 0 0 auto;
    width: 120px !important;    /* fixed width */
    height: 70px !important;    /* fixed height */
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    padding: 8px;
    overflow: hidden;           /* prevents large images from overflowing */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Force logo images to stay tiny and contained */
.logo-img,
.client-logo {
    height: 90px !important;       /* fixed small height */
    width: auto !important;        /* keep aspect ratio */
    max-width: 100% !important;    /* never overflow box horizontally */
    object-fit: contain !important;
    object-position: center center;
    display: block;
}



/* Infinite horizontal scrolling */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Slow down on small devices if you like */
@media (max-width: 576px) {
    .logo-item {
        width: 110px;
        height: 60px;
        margin-right: 16px;
    }

    .logo-img {
        max-height: 40px;
    }
}
