﻿#hero-carousel .carousel-caption {
    bottom: 10%;
    left: 10%;
    right: 10%;
    background: rgba(0, 0, 0, 0.4); /* Nền mờ */
    padding: 15px;
    border-radius: 10px;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    #hero-carousel .carousel-caption {
        font-size: 14px;
        padding: 10px;
    }

    #hero-carousel h2 {
        font-size: 20px;
    }

    #hero-carousel p {
        font-size: 14px;
    }
}
.equal-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
	content: '';
	width: 60px;
	height: 4px;
	background: #00aaff;
	position: absolute;
	left: 50%;
	bottom: -10px;
	transform: translateX(-50%);
	border-radius: 2px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #004080;
    text-align: center;
}

.card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s ease;
}

.card-title a:hover {
	color: #007bff;
}

p {
    font-size: 1rem;
    line-height: 1.75;
}

.message-box h2, .message-box h3 {
    font-weight: 700;
    font-size: 2rem;
    color: #0d3b66; /* Xanh navy */
    border-left: 4px solid #1e90ff;
    padding-left: 12px;
    margin-bottom: 1rem;
}

.message-box p {
    font-size: 1.125rem;
    color: #444;
    line-height: 1.6;
}

.btn-primary {
    background-color: #1e90ff;
    border-color: #1e90ff;
}

.btn-primary:hover {
	background-color: #0d6efd;
	border-color: #0b5ed7;
}

#hero-carousel {
    position: relative;
}

.carousel-caption {
    bottom: 20%;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.text-shadow {
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.7);
}

#hero-carousel .carousel-item img {
    height: 650px; /* hoặc 300px tùy ý */
    object-fit: cover;
    width: 100%;
}

#hero-carousel .carousel-caption {
    bottom: 15%;
}
.product-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}
.product-item.show {
    display: block !important; 
    opacity: 1;
    transform: translateY(0);
}
.image-wrapper {
    height: 200px; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f8f9fa; 
}
.image-wrapper img {
    max-height: 100%;
    object-fit: contain;
}
