/* Headings */
h1 {
    font-size: 3rem;
    color: #222;
}

a {
    text-decoration: unset;
    transition: all 0.15s;
    color: rgb(217, 217, 217);
    font-size: 1.5vh;
}



/* -------------------------------------------------------------------------------------------------------------- */
/* container banner */


.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px);
}

/* Overlay container for front image */
.overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.front-image-wrapper {
    width: 100%;
    max-width: 80%;
    height: 80vh;
    height: 80dvh;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.front-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text container that floats above the overlay */
.container-text {
    position: absolute;
    /* float above overlay */
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    text-align: center;
}

.text-overlay h1 {
    font-weight: bold;
    font-size: clamp(15px, 1.5vw, 40px);
    /* min 16px, max 32px, scales with viewport width */
    line-height: 1.2;
    padding-bottom: 60px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: rgb(217, 217, 217) !important;
    margin: 0 auto;
    max-width: 90%;
    /* keeps lines balanced */
    white-space: normal;
}

.text-overlay1 h1 {
    font-size: clamp(10px, 1vw, 20px);
    /* min 16px, max 32px, scales with viewport width */
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    color: rgb(217, 217, 217) !important;
    margin: 0 auto;
    max-width: 90%;
    /* keeps lines balanced */
    white-space: normal;
}



@media only screen and (max-width: 1200px) {
    @media (max-width: 1200px) {
        /* .text-overlay h1 {
            font-size: 3vh;
        } */

        /* .text-overlay1 h1 {
            font-size: 1.8vh;
        } */
    }
}

@media only screen and (max-width: 991px) {
    @media (max-width: 991px) {
        /* .text-overlay h1 {
            font-size: 2.5vh;
        } */

        /* .text-overlay1 h1 {
            font-size: 1.5vh;
        } */
    }
}


@media only screen and (max-width: 576px) {
    @media (max-width: 576px) {
        .text-overlay1 h1 {
            max-width: 100%;
        }

    }
}

@media only screen and (max-width: 460px) {
    @media (max-width: 460px) {}
}




/* end container banner*/
/* -------------------------------------------------------------------------------------------------------------- */






/* -------------------------------------------------------------------------------------------------------------- */
/* container about us */

.aboutus-container {
    display: grid;
    width: 80%;
    margin: 0 auto;
}

.divider {
    width: 100%;
    /* 70% width */
    height: 2px;
    /* line thickness */
    background-color: #333;
    /* line color */
    margin-top: 100px;

    /* spacing above/below and center horizontally */
}


/* Header Title */
.page-title {
    font-size: 3vh;
    font-weight: bold;
    letter-spacing: 5px;
    padding-bottom: 50px;
}

.section {
    display: flex;
    width: 100%;
    height: 100%;
}



.image-side {
    width: 90%;
    height: 100%;
}

.text-side {
    width: 100%;
    height: 100%;
}

.image-side img {
    width: 80%;
    height: 80vh;
    object-fit: cover;
}

.text-side {
    flex-direction: column;
    justify-content: center;
}

.text-side h2 {
    font-size: 2.5vh;
    margin-top: 100px;
    letter-spacing: 5px !important;
}

.text-side p {
    font-size: 1.5vh;
    line-height: 3;
    color: #333;
    margin-top: 50px;
    letter-spacing: 1px !important;
    text-align: justify;
}


@media only screen and (max-width: 1200px) {
    @media (max-width: 1200px) {
        .divider {
            margin-top: 100px !important;
        }

        .page-title {
            font-size: 3vh;
        }

        .section {
            flex-direction: column;
            height: auto;
        }

        .image-side,
        .text-side {
            width: 100%;
            height: auto;
        }

        .image-side img {
            width: 100%;
        }

        .text-side h2 {
            margin-top: 30px;
            font-size: 1.8vh;
        }

        .text-side p {
            line-height: 2.5;
            font-size: 1.5vh;
        }
    }
}

@media only screen and (max-width: 768px) {
    @media (max-width: 768px) {
        .page-title {
            font-size: 28px;
        }

        .image-side {
            width: 100%;
            height: 500px;
        }

        .text-side {
            width: 100%;
            height: auto;
        }

        .image-side img {
            width: 100%;
            height: 100%;
        }

        .text-side h2 {
            margin-top: 50px;
            font-size: 20px !important;
        }

        .text-side p {
            font-size: 1.2vh;
        }
    }
}

/* end container about us */
/* -------------------------------------------------------------------------------------------------------------- */





/* -------------------------------------------------------------------------------------------------------------- */
/* container service */


/* Full container */
.container-service {
    width: 80%;
    margin: 0 auto;
}

.divider {
    width: 100%;
    /* 70% width */
    height: 2px;
    /* line thickness */
    background-color: #333;
    /* line color */
    margin-bottom: 100px;

    /* spacing above/below and center horizontally */
}

/* Services Section */
.services {
    padding: 50px 0;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.services-container h2 {
    grid-column: 1;
    /* left */
    font-size: 3vh;
    font-weight: bold;
    letter-spacing: 5px;
}

.services-image-box {
    grid-column: 2;
    text-align: left;
    /* right */
}

.services-text {
    grid-column: 1;
    /* left under h2 */
}

.services-text p {
    font-size: 1.5vh;
    line-height: 2.5;
    color: #333;
    letter-spacing: 1px !important;
    text-align: justify;
}

.btn-learn {
    font-weight: bold;
    text-decoration: none;
    color: #000 !important;
    border-bottom: 2px solid #000;
    transition: 0.3s;
    font-size: 2vh;
}

.btn-learn:hover {
    color: #666;
    border-color: #666;
}

.services-image-box img {
    width: 80%;
    height: 90%;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 0px;
    margin-left: 100px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 2000px) {
    .services-image-box img {
        height: 100%;

    }
}



@media (max-width: 1200px) {
    .divider {
        margin-top: 0;
    }

    .services-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "h2"
            "image"
            "text";
    }

    .services-text h2 {
        grid-area: h2;
    }

    .services-image-box {
        grid-area: image;
    }

    .services-text {
        grid-area: text;
    }


    /* Adjust image for mobile */
    .services-image-box img {
        width: 100%;
        margin: 0 auto;
        /* center image */
        height: 700px;
        /* avoid fixed 800px squish */
    }

    .btn-learn {
        font-size: 1.8vh !important;
    }
}

@media (max-width: 991px) {
    .services-image-box img {
        width: 100%;
        height: 700px;
        margin-top: 0px;
        margin-left: 0px;

    }
}

@media only screen and (max-width: 768px) {
    @media (max-width: 768px) {
        .services-text h2 {
            font-size: 28px !important;
        }

        .services-text p {
            font-size: 1.2vh;
        }

        .btn-learn {
            font-size: 15px !important;
        }

        .services-image-box img {
            height: 550px;
            width: 90%;
            margin-top: 0px;

        }
    }
}

@media only screen and (max-width: 460px) {
    @media (max-width: 460px) {
        .services-text h2 {
            font-size: 28px !important;
        }

        .services-text p {
            font-size: 1.2vh;
        }

        .btn-learn {
            font-size: 15px !important;
        }

        .services-image-box img {
            height: 450px;
            width: 90%;
            margin-top: 0px;

        }
    }
}

/* end container service */
/* -------------------------------------------------------------------------------------------------------------- */





/* -------------------------------------------------------------------------------------------------------------- */
/* container showcase */


.container-show-case {
    width: 80%;
    margin: 0 auto;
    margin-top: 50px;
}

.showcase-title {
    font-size: 3vh;
    font-weight: bold;
    letter-spacing: 5px;
}

/* --------------------------------------------------------------------------- */
/* Carousel Styles (center aligned & responsive) */
/* Carousel Styles */
.carousel-wrapper {
    position: relative;
    width: auto;
    display: flex;
    height: 450px;
    align-items: center;
    margin-top: 50px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel {
    display: flex;
    transition: transform 0.6s ease-in-out;
    gap: 20px;
}

.carousel-item {
    flex: 0 0 100%;
    /* 3 items per row with gap */
    flex-direction: column;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    border-radius: 2px;
    object-fit: cover;
    height: 400px;
}


.carousel-item .title {
    margin-top: 10px;
    margin-bottom: 50px;
    font-size: 1.5vh;
    color: #333;
    text-align: center !important;
    /* change from center to left */
    width: 100%;
    /* ensure it spans the full image width */
    color: gray;
}


/* Fancy glass buttons */
.btn {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn i {
    font-size: 28px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn:hover.left i {
    transform: translateX(-5px);
    color: #ff7e5f;
}

.btn:hover.right i {
    transform: translateX(5px);
    color: #ff7e5f;
}

.btn.left {
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
}

.btn.right {
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
}

/* ≥ 992px → 2 images */
@media (min-width: 500px) {
    .carousel-item {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

/* ≥ 1701px → 3 images */
@media (min-width: 1701px) {
    .carousel-item {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 2400px) {
    .carousel-wrapper {
        height: 350px;
    }

    .carousel-item img {
        height: 300px;
    }

}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .carousel-wrapper {
        height: 300px;
    }

    .carousel-item img {
        height: 250px;
    }

    .showcase-title {
        font-size: 3vh;
    }

    .btn {
        width: 40px;
        height: 50px;
    }

    .btn i {
        font-size: 18px;
    }

    .carousel-item .title {
        font-size: 1.5vh;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-wrapper {
        height: 250px;
    }

    .carousel-item img {
        height: 180px;
    }

    .showcase-title {
        font-size: 28px;
    }

    .btn {
        width: 40px;
        height: 50px;
    }

    .btn i {
        font-size: 20px;
    }

    .carousel-item .title {
        font-size: 10px;
    }
}

@media (max-width: 460px) {
    .carousel-item .title {
        font-size: 10px;
    }
}


/* end container showcase */
/* -------------------------------------------------------------------------------------------------------------- */