/* Wireframe - Front Style */
body {
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.text-red {
    color: #a41c1c;
}

.text-grey {
    color: #313131;
}

img.logo {
    width: 64px;
    border-radius: 16px;
}

/* --------------- Header Section --------------- */
.section-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.app {
    padding-top: 80px;
}

.section-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    max-width: 1100px;
    margin: 24px auto;
    color: #333;
}

.header-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.button-join-us {
    padding: 8px 56px;
    border-radius: 16px;
    font-size: 12px;
    background-color: #a41c1c;
}

/* --------------- End of Header Section --------------- */


/* --------------- Home Section --------------- */

.section-home {
    min-height: 400px;
    background-color: #a41c1c;
}

.section-home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    max-width: 1100px;
}

.section-home-left {
    color: #fff;
    max-width: 700px;
}

.section-home-left h1 {
    font-size: 48px;
    margin-bottom: 24px;
}

.background-circle-home {
    width: 300px;
    height: 300px;
    background-color: #FFA6AD;
    border-radius: 50%;
}

.background-circle-home img {
    width : 300px;
    height: 300px;
    border-radius: 50%;
}
/* --------------- End of Home Section --------------- */


/* --------------- About Us Section --------------- */
.section-about-us {
    max-width: 1100px;
    margin: 0 auto;
}

.section-about-us-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    margin : 32px auto;
}

.section-about-us-left {
    max-width: 500px;
}

.section-about-us-left h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.section-about-us-left p {
    font-size: 16px;
    color: #555;
}

.background-circle-about-us {
    width: 300px;
    height: 300px;
    background-color: #e0e0e0;
    border-radius: 50%;
}

.section-about-us-right {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* --------------- End of About Us Section --------------- */

/* --------------- Why Choose Us Section --------------- */
.section-why-choose-us {
    background-color: #fff;
}

.section-why-choose-us-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 40px 42px;
    margin : 32px auto;
    max-width: 1132px;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #a41c1c;
    height: 260px;
}

.section-why-choose-us-cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: transparent;
    margin-top: -124px;
}

.section-why-choose-us-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-why-choose-us-card h4 {
    font-size: 18px;
    color: #a41c1c;
}

.text-card-choose-us {
    text-align: center;
    font-size: 14px;
    color: #555;
}

img.card-icon {
    width: 52px;
    height: 52px;
}
/* --------------- End of Why Choose Us Section --------------- */

/* --------------- Want To Know More Section --------------- */
.section-want-to-know-more {
    background-image: url('../img/bg-know-more.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    height: 700px;
    margin: 82px auto;
    position: relative;
}

.section-want-to-know-more::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(164, 28, 28, 0.6);
    z-index: 0;
}

.section-want-to-know-more-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background-color: #fff;
    width: 900px;
    color : #333;
    opacity: 0.9;
    border-radius: 16px;
    padding: 96px;
}

.section-want-to-know-more-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-want-to-know-more-content h5 {
    font-size: 18px;
    color: #891818;
    margin-bottom: 24px;
}

.section-want-to-know-more-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 32px;
    margin-top: 32px;
}

.section-want-to-know-more-content .button-join-us {
    padding: 12px 56px;
    border-radius: 16px;
    font-size: 14px;
    background-color: #a41c1c;
    font-weight: 600;
}

.section-want-to-know-more-content .button-join-us:hover {
    background-color: #891818;
    transition: background-color 0.3s ease;
}

/* --------------- End of Want To Know More Section --------------- */

/* --------------- Latest News Section --------------- */
.section-latest-news {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-latest-content {
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-latest-news h2 {
    font-size: 32px;
    margin-bottom: 24px;
}

.latest-news-slider-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.latest-news-slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.latest-news-prev,
.latest-news-next {
    position: static !important;
    flex-shrink: 0;
    margin-top: 0 !important;
    transform: none !important;
    top: auto !important;
    color: #a41c1c;
    --swiper-navigation-color: #a41c1c;
}

.section-latest-news-cards {
    width: 100%;
    padding: 0 40px;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.section-latest-news-cards .swiper-button-next,
.section-latest-news-cards .swiper-button-prev {
    color: #a41c1c;
}

#latest-news-pagination {
    position: relative !important;
    bottom: auto !important;
}

#latest-news-pagination .swiper-pagination-bullet-active {
    background-color: #a41c1c;
}

.section-latest-news-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-latest-news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.section-latest-news-card h4 {
    font-size: 18px;
    color: #a41c1c;
}

.card-latest-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
    gap: 8px;
}

.card-latest-title {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin: 0;
}

.card-latest-date {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
}

/* --------------- End of Latest News Section --------------- */

/* --------------- Location Section --------------- */
.section-location {
    background-color: #fff;
    padding: 40px 20px 0px 20px;
    margin: 84px auto 0px auto;
    border-top: 1px solid #e0e0e0;
}

.section-location-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.section-location-content h2 {
    font-size: 32px;
    color: #a41c1c;
}

.map-responsive {
    width: 100%;
    height: 400px;
}

.map-responsive iframe {
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    border: 0;
}
/* --------------- End of Location Section --------------- */

/* --------------- Footer Section --------------- */
.section-footer {
    background-color: #fff;
    color: #333;
    padding: 48px 20px 0;
    border-top: 1px solid #e0e0e0;
}

.section-footer .text-white {
    color: #1a1a2e !important;
}

.section-footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
}

.footer-left h4 {
    font-size: 18px;
    margin: 0;
}

.footer-left p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.footer-right {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-right-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 130px;
}

.footer-right-item h4 {
    font-size: 16px;
    margin: 0 0 4px;
}

.footer-right-item p {
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-right-item a.text-grey {
    text-decoration: none;
}

.footer-right-item a.text-grey:hover {
    color: #c0392b !important;
}

.social-media-icons {
    display: flex;
    gap: 16px;
}

.social-media-icons a {
    font-size: 18px;
    transition: color 0.2s;
}

.social-media-icons a:hover i {
    color: #c0392b !important;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-links li a {
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.quick-links li a:hover {
    color: #c0392b !important;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    margin: 0;
}

/* --------------- End of Footer Section --------------- */

/* --------------- News Modal --------------- */
.news-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

.news-modal-overlay.active {
    display: flex;
}

.news-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 700px;
    max-width: 92vw;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.news-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-close:hover {
    background: #a41c1c;
}

.news-modal-swiper {
    width: 100%;
    height: 360px;
}

.news-modal-swiper .swiper-slide img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.news-modal-swiper .swiper-button-prev,
.news-modal-swiper .swiper-button-next {
    color: #fff;
}

.news-modal-swiper .swiper-pagination-bullet-active {
    background-color: #a41c1c;
}

.news-modal-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    gap: 12px;
}

.news-modal-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #313131;
    margin: 0;
}

.news-modal-body span {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
}

.section-latest-news-card {
    cursor: pointer;
}

.section-latest-news-card:hover {
    box-shadow: 0 4px 12px rgba(164, 28, 28, 0.2);
    transition: box-shadow 0.2s ease;
}
/* --------------- End of News Modal --------------- */

/* --------------- Responsive --------------- */

/* Hamburger Button */
.header-items-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.header-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.header-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Tablet */
@media (max-width: 992px) {
    .section-header-top {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        margin: 20px auto;
        padding: 0 16px;
    }

    .section-home-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .section-home-left {
        max-width: 100%;
    }

    .section-about-us-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .section-about-us-left {
        max-width: 100%;
    }

    .section-about-us-right img {
        max-width: 100%;
    }

    .section-why-choose-us-content {
        height: auto;
        padding: 32px 24px;
        margin: 16px;
    }

    .section-why-choose-us-cards {
        flex-wrap: wrap;
        margin-top: 24px;
        max-width: 100%;
        padding: 0 16px;
    }

    .section-why-choose-us-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .section-want-to-know-more {
        height: auto;
        margin: 40px auto;
        padding: 40px 16px;
    }

    .section-want-to-know-more-content {
        width: 100%;
        padding: 48px 32px;
    }

    .section-latest-content {
        width: 100%;
    }

    .section-footer-content {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }

    .footer-right {
        flex-wrap: wrap;
        gap: 32px;
    }
}

/* Phone */
@media (max-width: 576px) {
    .app {
        padding-top: 72px;
    }

    .section-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 12px 16px;
        flex-wrap: nowrap;
    }

    .header-hamburger {
        display: flex;
    }

    .header-items-group {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        flex-direction: column;
        padding: 16px;
        gap: 14px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 998;
    }

    .header-items-group.open {
        display: flex;
    }

    .button-join-us {
        padding: 8px 24px;
    }

    .section-home-left h1 {
        font-size: 28px;
    }

    .background-circle-home,
    .background-circle-home img {
        width: 200px;
        height: 200px;
    }

    .section-why-choose-us-card {
        flex: 1 1 100%;
    }

    .section-want-to-know-more-content {
        padding: 32px 20px;
    }

    .section-want-to-know-more-content h2 {
        font-size: 22px;
    }

    .section-want-to-know-more-content h5 {
        font-size: 15px;
    }

    .news-cards-grid {
        grid-template-columns: 1fr;
    }

    .latest-news-prev,
    .latest-news-next {
        display: none;
    }

    .news-modal-swiper,
    .news-modal-swiper .swiper-slide img {
        height: 220px;
    }

    .news-modal-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .footer-right {
        flex-direction: column;
        gap: 20px;
    }

    .section-footer-content {
        padding: 0 4px 32px;
    }

    .image-about-us,
    .image-home {
        max-width: 100%;
        height: auto;
    }
}

/* --------------- End of Responsive --------------- */