/* Custom Enhancements for Bond Formwork Systems */

.banner-wrapper {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.banner-wrapper .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#index_banner {
    min-height: auto !important;
}

#index_banner .carousel-inner {
    height: auto !important;
    min-height: 50vh !important;
}

.banner-content {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
    margin-bottom: 15px;
}

.banner-heading {
    color: #0f172a !important;
    font-weight: 700 !important;
    line-height: 1.25;
}

.banner-body {
    color: #334155 !important;
    font-size: 1.05rem;
    line-height: 1.6;
}

.banner-button {
    background-color: #0d6efd !important;
    color: #ffffff !important;
    border-color: #0d6efd !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.card-img-top {
    height: 240px;
    object-fit: cover;
}

/* Mobile responsive font & container adjustments */
@media (max-width: 768px) {
    #index_banner {
        padding-top: 1rem !important;
    }
    .banner-wrapper .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .banner-content {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        border-radius: 12px !important;
    }
    .display-3 {
        font-size: 1.65rem !important;
    }
    .banner-heading {
        font-size: 1.35rem !important;
        word-wrap: break-word !important;
    }
    .banner-body {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
    }
    .h1, h1 {
        font-size: 1.5rem !important;
    }
    .h2, h2 {
        font-size: 1.3rem !important;
    }
}
