@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Reset mặc định */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Banner Section */
.banner {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    color: #015871;
    animation: fadeIn 1s ease-in-out;
}

.banner h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    animation: slideInFromLeft 1s ease-in-out;
}

.banner p {
    font-size: 18px;
    color: #333;
    animation: slideInFromRight 1s ease-in-out;
}

/* Main Title */
.main-title {
    font-size: 48px;
    color: #015871;
    text-align: center;
    margin: 40px 0;
    font-weight: bold;
    text-transform: uppercase;
}


@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }
}

/* Service Section */
.service-section {
    padding: 60px 20px;
    background-color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}

.service-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #015871;
    text-transform: uppercase;
    animation: zoomIn 1s ease-in-out;
}

@media (max-width: 768px) {
    .service-title {
        font-size: 28px;
    }
}

/* Service Content */
.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

/* Hình ảnh dịch vụ */
/* Hình ảnh dịch vụ */
.service-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-text {
    flex: 2;
    max-width: 600px;
    text-align: justify;
    animation: slideInFromRight 1s ease-in-out;
}

.service-item {
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in-out;
}

.service-item-title {
    font-size: 24px;
    color: #015871;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

.service-list {
    list-style: none;
    padding-left: 20px;
}

.service-list li {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    display: flex;
    align-items: center;
    animation: fadeIn 1s ease-in-out;
}

.service-list li::before {
    content: '✔';
    color: #37bef8;
    margin-right: 8px;
    font-weight: bold;
}

/* Service Intro Highlight */
.service-intro-highlight {
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 20px auto;
    max-width: 800px;
    animation: fadeIn 1s ease-in-out;
}

.highlight-text,
.highlight-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    animation: fadeIn 1s ease-in-out;
}

/* Highlighted Words */
.highlight-bold {
    font-weight: bold;
    color: #015871;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    animation: zoomIn 1s ease-in-out;
}

.highlight-accent {
    color: #37bef8;
    font-weight: 600;
    /* text-decoration: underline; */
    text-decoration-color: #015871;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    transition: color 0.3s ease;
}

.highlight-accent:hover {
    color: #015871;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }

    .service-intro-highlight {
        padding: 20px 15px;
    }

    .highlight-text,
    .highlight-paragraph {
        font-size: 16px;
    }

    .service-title {
        font-size: 28px;
    }

    .service-content {
        flex-direction: column;
        align-items: center;
    }

    .service-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 28px;
    }

    .highlight-text,
    .highlight-paragraph {
        font-size: 14px;
    }

    .service-content {
        gap: 20px;
    }

    .service-item-title {
        font-size: 18px;
    }
}

/* Keyframes for slide-up and fade-in */
@keyframes slideUpFade {
    0% {
        transform: translateY(50px);
        /* Dịch xuống */
        opacity: 0;
        /* Ẩn */
    }

    100% {
        transform: translateY(0);
        /* Trở về vị trí ban đầu */
        opacity: 1;
        /* Hiện ra hoàn toàn */
    }
}

/* Animation class */
.animated-service {
    animation: slideUpFade 1s ease-out forwards;
    /* Hiệu ứng trượt và hiện trong 1 giây */
    opacity: 0;
    /* Ẩn mặc định trước khi animation chạy */
}

/* Style cho tiêu đề "Dịch Vụ của chúng tôi" */
.main-title {
    color: #015871;
    /* Màu xanh đậm */
    font-size: 42px;
    /* Kích thước chữ lớn */
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Khoảng cách chữ */
    margin-bottom: 20px;
}

.visible {
    animation: slideUpFade 1s ease-out forwards;
}