:root {
    --sect4-pink: #EF9595;
    --sect4-dark-teal: #293A4C;
    --sect4-green-teal: #15A191;
}

/* ==================== */
/* BASE STYLES */
/* ==================== */
.section-4 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section-4>section {
    padding: 30px 0;
    margin-top: 20px;
}

.section-4 row {
    margin: 0 !important;
    width: 100% !important;
}

/* Typography */
.section-4 h1,
.section-4 h2 {
    color: #333;
}

.section-4 p {
    color: #555;
}

.section-4 .wonderful-img {
    width: 60%;
}

/* ==================== */
/* OVERLAY CARD STYLES */
/* ==================== */
.section-4 .overlay-card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.516), rgba(0, 0, 0, 0));
}

.section-4 .overlay-horizontal-card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.516), rgba(0, 0, 0, 0));
}

/* Overlay Color Variations */
.section-4 .overlay-horizontal-card.pink {
    background: linear-gradient(to right, #ab5d61de, #ab5d6100);
}

.section-4 .overlay-horizontal-card.green {
    background: linear-gradient(to right, #409a8de8, #409a8d00);
}

.section-4 .overlay-horizontal-card.dark {
    background: linear-gradient(to right, #383837e1, #38383700);
}

/* ==================== */
/* WHR CONTAINER & CARD STYLES */
/* ==================== */
.whr-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 50px;
}

.whr-section.whr-card {
    padding: 30px 20px;
}

.whr-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FBF9FA;
    border-radius: 5px;
    margin: 0;
}

.whr-section>img {
    object-fit: cover;
    width: 372px;
    height: 223px;
}

.whr-box-information {
    text-align: center;
}

.whr-box-information h1 {
    font-weight: bolder;
    font-size: 30px;
}

.whr-box-information p {
    padding: 0 10px;
}

.whr-container .card {
    border: none;
    background-color: transparent;
}

.whr-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.whr-card h2 {
    font-size: 25px;
    font-weight: bolder;
}

.whr-container .whr-card-left,
.whr-container .whr-card-right {
    text-align: center;
}

.whr-thumb {
    position: relative;
    width: 300px;
    height: 187px;
    overflow: hidden;
}

.whr-thumb img {
    width: 100%;
    object-fit: cover;
}

.whr-container .whr-card-left .card-body img {
    justify-content: flex-end;
    text-align: right;
}

/* ==================== */
/* DESTINATION PAGE STYLES */
/* ==================== */
.section-4 .bali-section {
    position: relative;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-4 .section-title {
    color: #2d3436;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-4 .section-description {
    color: #636e72;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
}

.section-4 .location-card {
    position: relative;
    background: white;
    border-radius: 10px;
    height: 342px;
    overflow: hidden;
    margin: 10px 0;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-4 .location-card:hover {
    transform: translateY(-5px);
}

.section-4 .location-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-4 .location-card .location-name {
    position: absolute;
    bottom: 0;
    text-align: left;
    color: #fff;
    padding: 0 15px 20px;
    font-size: 25px;
    font-weight: 600;
}

.section-4 .explore-btn {
    background-color: transparent;
    border: 2px solid var(--sect4-pink);
    color: var(--sect4-pink);
    padding: 12px 30px;
    border-radius: 15px;
    font-weight: 600;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.section-4 .explore-btn:hover {
    background-color: var(--sect4-pink);
    color: white;
}

.section-4 .section-divider {
    display: flex;
    max-width: 331px;
    height: 5px;
    margin-bottom: 20px;
}

.section-4 .section-divider .divider-line {
    height: 100%;
    width: 35%;
    background-color: #D9D9D9;
}

.section-4 .section-divider .divider-line.active {
    width: 25%;
    background-color: var(--tc-orange);
}

/* ==================== */
/* FOOTER STYLES */
/* ==================== */
.section-4 .footer-feature {
    background-color: var(--sect4-dark-teal);
    padding: 10px 20px;
    margin-top: 20px;
    color: white;
}

.section-4 .footer-feature>div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.section-4 .footer-feature img {
    width: 89px;
    height: 90px;
}

.section-4 .footer-feature .wyx-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin: 0;
}

.section-4 .footer-feature .wyx-box p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.664);
}

footer.footer {
    background: var(--sect4-dark-teal);
    color: white;
    font-size: 0.9rem;
    margin-top: 30px;
}

footer.footer p {
    color: white;
}

footer.footer a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 400;
}

footer.footer .footer-info,
footer.footer .footer-menu {
    margin-top: 50px;
}

footer.footer .btn-warning {
    border-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

footer.footer .title {
    font-weight: 800;
    font-size: 14px;
}

footer.footer ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

footer.footer .contacts-support {
    display: flex;
    flex-direction: column;
}

footer.footer .contacts-support li {
    display: flex;
    align-items: center;
}

footer.footer .contacts-support li i {
    font-size: 20px;
    margin-right: 10px;
}

footer.footer .contacts-support li span {
    margin-left: 10px;
}

footer.footer .btn-primary {
    padding: 5px;
}

footer.footer .btn-primary i {
    font-size: 20px;
}

footer.footer .maincontent {
    padding: 0 10px;
}

/* ==================== */
/* TIPS TRAVEL STYLES */
/* ==================== */
.section-4 .tips-travel-box {
    padding: 20px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-4 .tip-card {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 229px;
}

.section-4 .tip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-4 .tip-card-info {
    position: absolute;
    padding: 20px 10px;
    bottom: 0;
}

.section-4 .tip-card:hover {
    transform: translateY(-5px);
}

.section-4 .tip-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}


.section-4 .read-more {
    position: relative;
    display: block;
    color: #060606;
    background-color: white;
    text-align: center;
    border-radius: 10px;
    padding: 5px 0;
    width: 173px;
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.section-4 .read-more:hover {
    border-bottom-color: var(--sect4-pink);
}

.section-4 .see-all-btn {
    background-color: transparent;
    border: 2px solid var(--sect4-green-teal);
    color: var(--sect4-green-teal);
    padding: 12px 30px;
    border-radius: 15px;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.section-4 .see-all-btn:hover {
    background-color: var(--sect4-green-teal);
    color: white;
}

/* ==================== */
/* RESPONSIVE STYLES */
/* ==================== */
@media (min-width: 768px) {
    .whr-box-information p {
        padding: 0 30px;
    }
}

@media (min-width: 992px) {

    .section-4 .wonderful-img {
        width: 100%;
    }

    .whr-card-left .card-body {
        display: flex;
        justify-content: end;
        align-items: end;
        text-align: end;
    }

    .whr-card-right .card-body {
        display: flex;
        justify-content: start;
        align-items: start;
        text-align: start;
    }

    .whr-card-left .card-body .card-title {
        text-align: end;
        width: 100%;
    }

    .whr-card-right .card-body .card-title {
        text-align: start;
        width: 100%;
    }

    .whr-container {
        flex-direction: row;
    }

    .whr-card {
        flex-direction: row;
    }

    .whr-box-information h1 {
        text-align: start;
        padding-right: 30px;
    }

    .whr-box-information p {
        text-align: start;
    }

    .whr-container .whr-card-left .card-body {
        justify-content: flex-end;
        text-align: right;
    }

    .whr-container .whr-card-right .card-body {
        justify-content: flex-start;
        text-align: left;
    }

    footer.footer .footer-menu {
        padding-left: 150px;
        margin-top: 140px;
    }

    footer.footer .maincontent {
        padding: 0 80px;
    }
}

@media (min-width: 1200px) {
    .section-4 .tip-card {
        max-width: 391px;
    }

    .section-4 .footer-feature>div {
        margin-top: 10px;
    }

    .section-4 .section-divider {
        width: 311px;
    }
}

@media (max-width: 768px) {
    .section-4 .section-divider {
        width: 201px;
    }

    .section-4 .section-title {
        font-size: 2rem;
    }

    .section-4 .location-card {
        margin: 8px 0;
    }

    .section-4 .tip-card {
        margin: 10px 0;
    }
}
