/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}


/* Header */
header {
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-container {
    max-width: 150px;
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#logo {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

#logo:hover {
    transform: scale(1.1);
    /* Phóng to 1.1 lần khi hover */
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));

}


.main-menu {
    text-align: left;
    margin-top: 0;
    margin-left: 20px;
    display: flex;
    flex-grow: 1;
}

.main-menu>ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.main-menu>ul>li {
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.main-menu>ul>li>a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}


.main-menu>ul>li>a:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

.main-menu>ul>li>ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 101;
}

.main-menu>ul>li:hover>ul {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-menu>ul>li>ul>li {
    display: block;
    position: relative;
}

.main-menu>ul>li>ul>li>a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 0.8rem;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-transform: none;
}

.main-menu>ul>li>ul>li:hover>a {
    background-color: #f0f0f0;
    color: #007bff;
}

.main-menu>ul>li>ul>li>ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 101;
}

.main-menu>ul>li>ul>li:hover>ul {
    display: block;
    animation: slideLeft 0.3s ease forwards;
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-menu>ul>li>ul>li>ul>li>a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 0.7rem;
    text-transform: none;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-menu>ul>li>ul>li>ul>li:hover>a {
    background-color: #f0f0f0;
    color: #007bff;
}

/* Main Content */
main {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
}


/* Section Styles */

.section-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
    animation: slideInFromLeft 1s ease;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 3px;
    width: 80px;
    background-color: #007bff;
}

.section-2 .section-title,
.section-3 .section-title,
.section-4 .section-title,
.section-5 .section-title,
.section-6 .section-title,
.section-7 .section-title,
.section-8 .section-title,
.section-9 .section-title {
    text-align: left;
}

.section-2 .section-title::after,
.section-3 .section-title::after,
.section-4 .section-title::after,
.section-5 .section-title::after,
.section-6 .section-title::after,
.section-7 .section-title::after,
.section-8 .section-title::after,
.section-9 .section-title::after {
    left: 0;
    transform: translateX(0);
}

.tagline {
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
    color: #555;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-section {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 20px;
}

.hero-image {
    max-width: 70%;
    margin-top: 20px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease-in-out;
}

.hero-image:hover {
    transform: scale(1.05);
    /* Phóng to 1.1 lần khi hover */
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Product Section */
.product-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromBottom 1s ease;
}

.product-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    /* Để nội dung và hình ảnh căn chỉnh từ trên xuống */
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-text {
    flex: 1;
    padding-right: 20px;
    /* Thêm khoảng cách giữa văn bản và hình ảnh */
    min-width: 40%;
    /* Đảm bảo văn bản chiếm ít nhất 40% chiều rộng */
}

.product-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.product-text ul li {
    margin-bottom: 8px;
}


.product-images {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Để hình ảnh căn về phía bên phải */
    flex-wrap: wrap;
    min-width: 50%;

}

.product-image-1,
.product-image-2,
.product-image-3 {
    width: 30%;
    /* Mỗi hình ảnh chiếm 30% chiều rộng */
    height: auto;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    /* Làm tròn góc ảnh */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* Tạo hiệu ứng đổ bóng */
    transition: transform 0.3s ease;
    /* Hiệu ứng transition */
}

.product-image-1:hover,
.product-image-2:hover,
.product-image-3:hover {
    transform: scale(1.05);
    /* Phóng to 1.05 lần khi hover */
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Skin Care Section */
.skin-care-section {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromRight 1s ease;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.skin-care-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.skin-care-images {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    /* Để hình ảnh căn về phía bên trái */
    flex-wrap: wrap;
    min-width: 50%;

}

.skin-care-text {
    flex: 1;
    padding-left: 20px;
    min-width: 40%;

}

.skin-care-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.skin-care-text ul li {
    margin-bottom: 8px;
}

.skin-care-image-1,
.skin-care-image-2,
.skin-care-image-3,
.skin-care-image-4 {
    width: 23%;
    height: auto;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.skin-care-image-1:hover,
.skin-care-image-2:hover,
.skin-care-image-3:hover,
.skin-care-image-4:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Detox Section */
.detox-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromBottom 1s ease;
}

.detox-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    /* Để nội dung và hình ảnh căn chỉnh từ trên xuống */
}

.detox-text {
    flex: 1;
    padding-right: 20px;
    min-width: 40%;
    /* Đảm bảo văn bản chiếm ít nhất 40% chiều rộng */
}

.detox-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.detox-text ul li {
    margin-bottom: 8px;
}

.detox-images {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Để hình ảnh căn về phía bên phải */
    flex-wrap: wrap;
    min-width: 50%;
}

.detox-image-1,
.detox-image-2,
.detox-image-3,
.detox-image-4 {
    width: 23%;
    height: auto;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detox-image-1:hover,
.detox-image-2:hover,
.detox-image-3:hover,
.detox-image-4:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Clean Living Section */
.clean-living-section {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromRight 1s ease;
}

.clean-living-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.clean-living-text {
    flex: 1;
    padding-left: 20px;
    min-width: 40%;
}

.clean-living-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.clean-living-text ul li {
    margin-bottom: 8px;
}

.clean-living-images {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    min-width: 50%;
}

.clean-living-image-1,
.clean-living-image-2,
.clean-living-image-3,
.clean-living-image-4 {
    width: 23%;
    height: auto;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.clean-living-image-1:hover,
.clean-living-image-2:hover,
.clean-living-image-3:hover,
.clean-living-image-4:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Personal Care Section */
.personal-care-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromBottom 1s ease;
}

.personal-care-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.personal-care-text {
    flex: 1;
    padding-right: 20px;
    min-width: 40%;
}

.personal-care-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.personal-care-text ul li {
    margin-bottom: 8px;
}

.personal-care-images {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 50%;

}

.personal-care-image-1,
.personal-care-image-2,
.personal-care-image-3,
.personal-care-image-4 {
    width: 23%;
    height: auto;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.personal-care-image-1:hover,
.personal-care-image-2:hover,
.personal-care-image-3:hover,
.personal-care-image-4:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Quality Commitment Section */
.quality-commitment-section {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromRight 1s ease;
}

.quality-commitment-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.quality-commitment-text {
    flex: 1;
    padding-left: 20px;
    min-width: 40%;

}

.quality-commitment-text ul {
    margin-top: 10px;
    padding-left: 20px;
}

.quality-commitment-text ul li {
    margin-bottom: 8px;
}

.quality-commitment-images {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    min-width: 50%;

}

.quality-commitment-image-1,
.quality-commitment-image-2,
.quality-commitment-image-3,
.quality-commitment-image-4 {
    width: 23%;
    height: auto;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.quality-commitment-image-1:hover,
.quality-commitment-image-2:hover,
.quality-commitment-image-3:hover,
.quality-commitment-image-4:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Vietnam Pride Section */
.vietnam-pride-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromBottom 1s ease;
}

.vietnam-pride-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    /* Để nội dung và hình ảnh căn chỉnh từ trên xuống */
}

.vietnam-pride-text {
    flex: 1;
    padding-right: 20px;
    min-width: 40%;
}

.vietnam-pride-images {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 50%;
}

.vietnam-pride-image-1,
.vietnam-pride-image-2,
.vietnam-pride-image-3,
.vietnam-pride-image-4 {
    width: 23%;
    height: auto;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.vietnam-pride-image-1:hover,
.vietnam-pride-image-2:hover,
.vietnam-pride-image-3:hover,
.vietnam-pride-image-4:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Customer Feedback Section */
.customer-feedback-section {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideInFromRight 1s ease;
}

.customer-feedback-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    /* Để nội dung và hình ảnh căn chỉnh từ trên xuống */
}

.customer-feedback-text {
    flex: 1;
    padding-left: 20px;
    min-width: 40%;
}

.customer-feedback-images {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    /* Để hình ảnh căn về phía bên trái */
    flex-wrap: wrap;
    min-width: 50%;

}

.customer-feedback-image-1,
.customer-feedback-image-2,
.customer-feedback-image-3 {
    width: 30%;
    height: auto;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.customer-feedback-image-1:hover,
.customer-feedback-image-2:hover,
.customer-feedback-image-3:hover {
    transform: scale(1.05);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.2));
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 30px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact input[type="email"],
.contact textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.contact input[type="email"]:focus,
.contact textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.contact textarea {
    resize: vertical;
    /* Chỉ cho phép kéo giãn theo chiều dọc */
}

.contact button {
    padding: 12px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
}

.contact button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #343a40;
    color: #fff;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: stretch;
    }

    .logo-container {
        margin: 0 auto;
        justify-content: center;
    }

    .main-menu {
        margin-left: 0;
        margin-top: 15px;
    }

    .main-menu>ul {
        flex-direction: column;
        align-items: stretch;
    }

    .main-menu>ul>li {
        display: block;
        text-align: left;
        white-space: normal;
    }

    .main-menu>ul>li>a {
        padding: 10px 0;
    }

    .main-menu>ul>li>ul {
        position: static;
        display: none;
        box-shadow: none;
        min-width: 100%;
    }

    .main-menu>ul>li:hover>ul {
        display: block;
        animation: none;
    }

    .main-menu>ul>li>ul>li {
        margin-left: 20px;
    }

    .main-menu>ul>li>ul>li>ul {
        position: static;
        display: none;
        box-shadow: none;
        min-width: 100%;
    }

    .main-menu>ul>li>ul>li:hover>ul {
        display: block;
        animation: none;
    }

    .main-menu>ul>li>ul>li>ul>li {
        margin-left: 40px;
    }

    .product-content,
    .skin-care-content,
    .detox-content,
    .clean-living-content,
    .personal-care-content,
    .quality-commitment-content,
    .vietnam-pride-content,
    .customer-feedback-content {
        flex-direction: column;
        align-items: center;
    }

    .product-text,
    .skin-care-text,
    .detox-text,
    .clean-living-text,
    .personal-care-text,
    .quality-commitment-text,
    .vietnam-pride-text,
    .customer-feedback-text {
        padding: 0;
        min-width: 100%;
        margin-bottom: 15px;

    }

    .product-images,
    .skin-care-images,
    .detox-images,
    .clean-living-images,
    .personal-care-images,
    .quality-commitment-images,
    .vietnam-pride-images,
    .customer-feedback-images {
        justify-content: center;
        min-width: 100%;
    }

    .product-image-1,
    .product-image-2,
    .product-image-3,
    .skin-care-image-1,
    .skin-care-image-2,
    .skin-care-image-3,
    .skin-care-image-4,
    .detox-image-1,
    .detox-image-2,
    .detox-image-3,
    .detox-image-4,
    .clean-living-image-1,
    .clean-living-image-2,
    .clean-living-image-3,
    .clean-living-image-4,
    .personal-care-image-1,
    .personal-care-image-2,
    .personal-care-image-3,
    .personal-care-image-4,
    .quality-commitment-image-1,
    .quality-commitment-image-2,
    .quality-commitment-image-3,
    .quality-commitment-image-4,
    .vietnam-pride-image-1,
    .vietnam-pride-image-2,
    .vietnam-pride-image-3,
    .vietnam-pride-image-4,
    .customer-feedback-image-1,
    .customer-feedback-image-2,
    .customer-feedback-image-3 {
        width: 45%;
        margin-left: 5px;
        margin-right: 5px;
    }

    .hero-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {

    .product-image-1,
    .product-image-2,
    .product-image-3,
    .skin-care-image-1,
    .skin-care-image-2,
    .skin-care-image-3,
    .skin-care-image-4,
    .detox-image-1,
    .detox-image-2,
    .detox-image-3,
    .detox-image-4,
    .clean-living-image-1,
    .clean-living-image-2,
    .clean-living-image-3,
    .clean-living-image-4,
    .personal-care-image-1,
    .personal-care-image-2,
    .personal-care-image-3,
    .personal-care-image-4,
    .quality-commitment-image-1,
    .quality-commitment-image-2,
    .quality-commitment-image-3,
    .quality-commitment-image-4,
    .vietnam-pride-image-1,
    .vietnam-pride-image-2,
    .vietnam-pride-image-3,
    .vietnam-pride-image-4,
    .customer-feedback-image-1,
    .customer-feedback-image-2,
    .customer-feedback-image-3 {
        width: 90%;
        margin-left: 0;
        margin-right: 0;
    }
}