:root {
    --primary-blue: #007bff;
    --dark-blue: #003366;
    --light-bg: #f8fbff;
    --text-color: #333;
}

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    font-family: "Poppins", sans-serif;
}

/* Header */
.navbar {
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.navbar-brand svg text {
    fill: #007bff;
}
.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
}
.nav-link {
    color: var(--dark-blue) !important;
    font-weight: 500;
}
.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Slider (background-image version) */
.banner-slide {
    position: relative;
    width: 100%;
    height: 50vh;
    aspect-ratio: 16/6; /* giữ tỷ lệ ảnh (tầm 1200x450) */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* overlay nhẹ */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.carousel-caption h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Buttons */
.btn-buy {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 16px;
}

.btn-buy:hover {
    background-color: var(--dark-blue);
    color: #fff;
}

/* Intro */
#intro {
    background: linear-gradient(180deg, #f9fafc 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

#intro h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#intro p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Product Sections */
section.product-section {
    padding: 50px 0;
}
.section-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.section-inner.reverse {
    flex-direction: row-reverse;
}
.section-img {
    flex: 1 1 45%;
    border-radius: 15px;
    overflow: hidden;
}
.section-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-text {
    flex: 1 1 50%;
}
.section-text h2 {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 20px;
}

/* Reviews */
.reviews {
    background: white;
    padding: 80px 0;
    text-align: center;
}
.review-card {
    background: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 15px;
}
.review-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.review-card p {
    font-style: italic;
    color: #555;
}
.review-card .name {
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 50px 0;
}
footer h5 {
    font-weight: 600;
    margin-bottom: 10px;
}
footer p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}
footer .btn-policy {
    background: #007bff;
    border: none;
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 500;
}
footer .btn-policy:hover {
    background: #0056b3;
}

/* Modal */
/* Modal */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.modal-header {
    background: var(--primary-blue);
    color: #fff;
    border-bottom: none;
    padding: 20px 30px;
}

.modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-body {
    padding: 25px 35px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
}

.modal-body p {
    margin-bottom: 14px;
}

.modal-footer {
    border-top: none;
    padding: 15px 25px;
    justify-content: flex-end;
}

.modal-dialog {
    max-width: 700px; /* rộng hơn mặc định */
}
