/* ══════════════════════════════════════
       HERO
       ══════════════════════════════════════ */
    .hero-wrap {
        position: relative; width: 100%; overflow: hidden; height: 340px;
        /* ใส่รูปจริง: background-image: url("{{ asset('front/image/hero-bg.jpg') }}"); */
        background: linear-gradient(160deg, #87CEEB 0%, #5BA8D9 20%, #2E86C1 35%, #1A6B3C 60%, #2D8B55 80%, #45A66D 100%);
        background-size: cover; background-position: center top;
    }
    .hero-overlay {
        position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(0,14,100,.55) 0%, rgba(0,14,100,.25) 50%, transparent 80%);
        display: flex; align-items: center;
    }
    .hero-text    { padding-left: 64px; }
    .hero-welcome { font-size: 17px; font-weight: 400; color: #fff; font-style: italic; margin: 0 0 6px; opacity: .95; }
    .hero-brand   { font-size: 54px; font-weight: 900; color: #fff; line-height: 1; margin: 0; letter-spacing: -1px; }
    .hero-brand span { color: var(--bs-secondary-300); }


/* ══════════════════════════════════════
       BANNER CAROUSEL
       ══════════════════════════════════════ */
#banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#banner-carousel {
    width: 100%;
}

#banner-carousel .item {
    position: relative;
}

#banner-carousel .item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation Arrows */
#banner-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

#banner-carousel .owl-nav button {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0 20px;
    font-size: 24px;
}

#banner-carousel .owl-nav button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1);
}

#banner-carousel .owl-nav button i {
    font-size: 24px;
    line-height: 1;
}

/* Dots */
#banner-carousel .owl-dots {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#banner-carousel .owl-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
}

#banner-carousel .owl-dot span {
    display: none !important;
}

#banner-carousel .owl-dot.active {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
    width: 14px !important;
    height: 14px !important;
}

#banner-carousel .owl-dot:hover {
    background: rgba(255, 255, 255, 0.8) !important;
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
    /* Hero */
    .hero-wrap {
        height: 220px;
    }
    .hero-text {
        padding-left: 24px;
    }
    .hero-welcome {
        font-size: 13px;
    }
    .hero-brand {
        font-size: 34px;
    }

    /* Banner nav */
    #banner-carousel .owl-nav button {
        width: 36px;
        height: 36px;
        margin: 0 8px;
        font-size: 16px !important;
    }
    #banner-carousel .owl-dots {
        bottom: 10px !important;
        gap: 7px !important;
    }
    #banner-carousel .owl-dot {
        width: 9px !important;
        height: 9px !important;
    }
    #banner-carousel .owl-dot.active {
        width: 11px !important;
        height: 11px !important;
    }
    #banner-section {
        margin-top: 0 !important;
    }
}

@media (max-width: 575.98px) {
    /* Hero */
    .hero-wrap {
        height: 180px;
    }
    .hero-text {
        padding-left: 16px;
    }
    .hero-welcome {
        font-size: 12px;
        margin-bottom: 4px;
    }
    .hero-brand {
        font-size: 26px;
        letter-spacing: 0;
    }

    /* Banner: hide nav arrows on very small screens */
    #banner-carousel .owl-nav {
        display: none;
    }
}