body {
    background-color: #f4f4f4;
}

.md\:relative.md\:bg-white {
    background-color: #f4f4f4;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 10px;
}

.intro-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.intro-text {
    flex: 1;
    font-size: 1.0em;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1.5s ease-out forwards;
    min-width: 0;
}

.intro-image {
    flex: 1;
    max-width: 400px;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1.5s ease-out forwards;
    padding: 20px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.activity-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.activity-title {
    font-size: 1.5em;
    color: var(--main-color);
    text-align: left;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-50px);
}

.activity-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.activity-content {
    flex: 1;
    min-width: 0;
    opacity: 0;
    transform: translateX(-50px);
}

.activity-content h3 {
    color: var(--main-color);
    font-size: 1.2em;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 5px;
}

.activity-list {
    list-style: none;
    padding: 0;
}

.activity-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.activity-list li::before {
    content: "•";
    color: var(--main-color);
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.activity-image {
    flex: 1;
    max-width: 300px;
    padding: 10px;
    opacity: 0;
    transform: translateX(50px);
}

.activity-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Phần Tại sao chọn BPV */
.why-choose-container {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.why-choose-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/5-5-5.png');
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    /* Zoom nhẹ ban đầu */
}

.why-choose-content {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
    background: rgba(58, 59, 48, 0.5);
    /* Nền tối để chữ nổi bật */
}

.why-choose-content h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.why-choose-content ul {
    list-style: none;
    padding: 0;
}

.why-choose-content li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Hiệu ứng */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeZoomIn {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.active {
    animation: slideIn 1.5s ease-out forwards;
}

.active-image {
    animation: slideInRight 1.5s ease-out forwards;
}

.active-bg {
    animation: fadeZoomIn 1.5s ease-out forwards;
}

.active-content {
    animation: slideUp 1.5s ease-out forwards;
    animation-delay: 0.3s;
    /* Chữ xuất hiện sau hình nền */
}

/* Tùy chỉnh màu chữ nổi bật */
.highlight {
    color: var(--main-color);
    font-weight: bold;
}


.intro-container {
    background-image: url('/file_manager/2.jpg');
    ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    .intro-container {
        flex-direction: column;
    }

    .intro-text {
        padding: 15px;
        font-size: 1em;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
    }

    .activity-container {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .activity-title {
        font-size: 1.3em;
    }

    .activity-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .activity-content h3 {
        font-size: 1.1em;
    }

}