/* Icon dinh kem tren menu item */
.menu-item-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: .4rem;
    vertical-align: middle;
}

/* Submenu long ben trong 1 dropdown-item khac (menu da cap > 2) */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Tren man hinh nho (navbar collapse), submenu long hien inline thay vi popup ben canh */
@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        left: 0;
        margin-left: 1rem;
        box-shadow: none;
        border: none;
    }
}

/* Hero slide banner (Widget-HeroSlide.cshtml) */
.hero-slide {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-color: #0b1f3a;
    background-size: cover;
    background-position: center;
}

.hero-slide .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .35) 55%, transparent 100%);
}

.hero-slide .hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 600px;
}

/* Tieu de section (Widget-SectionHeading.cshtml) - chu kem 2 gach ngang 2 ben */
.section-heading-title {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: #0d6efd;
    text-transform: uppercase;
}

.section-heading-title::before,
.section-heading-title::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 2px;
    background: currentColor;
}

/* The san pham (Widget-ProductCard.cshtml) */
.product-card {
    display: block;
    border-radius: .5rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    transition: transform .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-card-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.product-card-title {
    background: #0b3d91;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    padding: .75rem 1rem;
}

/* Cau chuyen khach hang (Widget-CustomerStory.cshtml) */
.customer-story {
    max-width: 720px;
    margin: 0 auto;
}

.customer-story-logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    margin-bottom: 1rem;
}

.customer-story-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.customer-story-description {
    color: #6c757d;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
    margin: 1rem 0;
}

/* Carousel "Cau chuyen khach hang": nut prev/next dang tron, dots nam duoi (khong de len anh) */
#storiesCarousel {
    padding: 0 3rem;
}

#storiesCarousel .carousel-control-prev,
#storiesCarousel .carousel-control-next {
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    opacity: 1;
}

#storiesCarousel .carousel-control-prev {
    left: -3rem;
}

#storiesCarousel .carousel-control-next {
    right: -3rem;
}

#storiesCarousel .carousel-control-prev-icon,
#storiesCarousel .carousel-control-next-icon {
    filter: invert(1);
    width: 1.1rem;
    height: 1.1rem;
}

#storiesCarousel .carousel-indicators {
    position: static;
    margin-top: 1.5rem;
}

#storiesCarousel .carousel-indicators button {
    background-color: #cfd8e3;
}

#storiesCarousel .carousel-indicators button.active {
    background-color: #0d6efd;
}

/* Giai thuong tieu bieu (Widget-Award.cshtml) - nen xanh, anh trai / chu phai */
.awards-section {
    background: linear-gradient(135deg, #1a56c4 0%, #0a2f73 100%);
    color: #fff;
}

.awards-section .section-heading-title {
    color: #fff;
}

.award-item-image {
    width: 100%;
    border-radius: .5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.award-item-title {
    font-weight: 700;
    text-transform: uppercase;
}

.award-item-description {
    color: rgba(255, 255, 255, .85);
}

#awardsCarousel {
    padding: 0 3rem;
}

#awardsCarousel .carousel-control-prev,
#awardsCarousel .carousel-control-next {
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .15);
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 1;
}

#awardsCarousel .carousel-control-prev {
    left: -3rem;
}

#awardsCarousel .carousel-control-next {
    right: -3rem;
}

#awardsCarousel .carousel-indicators {
    position: static;
    margin-top: 1.5rem;
}

#awardsCarousel .carousel-indicators button {
    background-color: rgba(255, 255, 255, .4);
}

#awardsCarousel .carousel-indicators button.active {
    background-color: #fff;
}

/* Footer (Widget-SiteInfo.cshtml + Widget-VisitStats.cshtml) */
.site-footer {
    background: #0b3d91;
}

.site-footer a.link-light {
    text-decoration: underline;
}

.site-info-logo {
    width: 90px;
    height: auto;
    flex-shrink: 0;
}

.visit-stats ul li {
    padding: .25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
