/******* SECTION - 1 *******/

.section1 {
    width: 100%;
    height: 90vh;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.section1-heading {
    position: absolute;
    bottom: 0;
    z-index: 1;
    color: #FFFFFF;
    text-align: center;
}

.section1-heading h1 {
    text-transform: uppercase;
    margin: 0.5rem 0;
    -webkit-animation: tracking-in-expand-fwd 2s cubic-bezier(0.215, 0.61, 0.355, 1) both;
    animation: heading1 2s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    cursor: default;
}

@-webkit-keyframes heading1 {
    0% {
        letter-spacing: -0.5em;
        -webkit-transform: translateZ(-700px);
        transform: translateZ(-700px);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}

@keyframes heading1 {
    0% {
        letter-spacing: -0.5em;
        -webkit-transform: translateZ(-700px);
        transform: translateZ(-700px);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}


@media (max-width: 1024px) {
    .section1 {
        height: 70vh;
    }

    .video {
        height: 70vh;
    }

    .section1-heading {
        margin: 0rem 3rem;
    }

    .section1-heading h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .section1 {
        height: 70vh;
    }

    .video {
        height: 70vh;
    }

    .section1-heading {
        margin: 0rem 2rem;
        padding: 0;
    }

    .section1-heading h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 425px) {
    .section1 {
        height: 60vh;
    }

    .video {
        height: 60vh;
    }

    .section1-heading h1 {
        font-size: 1.2rem;
    }
}

/******* SECTION - 2 *******/

.section2 {
    background-color: #FFFFFF;
    overflow: hidden;
}

.section2-container {
    display: flex;
    width: 100%;
    align-items: center;
}

.section2-container.show .section2-left-container {
    transform: translateX(0);
    opacity: 1;
}

.section2-container.show .section2-right-container {
    transform: translateX(0);
    opacity: 1;
}

.section2-left-container {
    width: 60%;
    margin: 1rem 4rem;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.section2-left-container h1 {
    font-size: 2.6rem;
    font-weight: 600;
}

.section2-left-container p {
    font-size: 1.1rem;
    color: grey;
    margin-top: 1.5rem;
}

.section2-left-container button {
    width: 35%;
    background-color: #4f74ad;
    border-radius: 2rem;
    border: none;
    padding: 0.5rem;
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.5rem;
    cursor: pointer;
}

.section2-left-container button:hover {
    background-color: #FFFFFF;
    color: #4f74ad;
    border: 2px solid #4f74ad;
}

.section2-right-container {
    width: 40%;
    align-content: center;
    margin: 2rem;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.section2-right-container img {
    width: 30rem;
}

.section2-right-container .img01 {
    border-radius: 1rem 1rem 0rem 0rem;
}

.section2-right-container .img02 {
    border-radius: 0rem 0rem 1rem 1rem;
}

@media (max-width: 1024px) {
    .section2-left-container {
        margin: 1rem 2rem;
    }

    .section2-right-container {
        margin: 1rem;
    }

    .section2-right-container img {
        width: 25rem;
    }
}

@media (max-width: 768px) {
    .section2-container {
        flex-direction: column;
    }

    .section2-left-container {
        width: 100%;
        padding: 2rem;
    }

    .section2-right-container {
        width: 100%;
        padding: 0rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .section2-right-container img {
        width: 35rem;
    }
}

@media (max-width: 425px) {
    .section2-container {
        text-align: center;
    }

    .section2-left-container h1 {
        font-size: 2rem;
    }

    .section2-left-container p {
        font-size: 1rem;
    }

    .section2-left-container button {
        width: 90%;
    }

    .section2-right-container img {
        width: 23rem;
    }
}

/******* SECTION - 3 *******/

.section3 {
    background-color: #FFFFFF;
    overflow: hidden;
    margin: 0;
    padding: 48px 0;
    font-size: 1.2rem;
    line-height: 1.6rem;
    min-height: 100vh;
}

.section3 h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: #4f74ad;
}

@media (max-width: 768px) {
    .section3 h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 425px) {
    .section3 h1 {
        font-size: 2rem;
    }
}

.articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 45px;
}

article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

article.show {
    opacity: 1;
    transform: translateY(0);
}

article h2 {
    margin: 0 0 18px 0;
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    color: var(--title-color);
    transition: color 0.3s ease-out;
    cursor: pointer;
}

article p {
    font-size: 1rem;
    color: grey;
}

figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
}

.article-body {
    padding: 24px;
    background-color: #F5F5F5;
}

.article-body:hover {
    background-color: #FFFFFF;
}

article:has(:hover, :focus) {
    --img-scale: 1.2;
    --title-color: #4f74ad;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

@media screen and (max-width: 960px) {
    article {
        container: card/inline-size;
    }

    .article-body p {
        display: none;
    }
}

@container card (min-width: 380px) {
    .article-wrapper {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }

    .article-body {
        padding-left: 0;
    }

    figure {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    figure img {
        height: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/******* SECTION - 4 *******/

.section4 {
    background-color: #FFFFFF;
    overflow: hidden;
}

.section4 h1 {
    text-align: center;
    color: #4f74ad;
}

.section4 h2 {
    text-align: center;
    font-size: 3rem;
}

.section4-container1 {
    display: flex;
    width: 100%;
}

.section4-container1 .container-image {
    width: 50%;
}

.container-image img {
    width: 90%;
    margin: 3rem;
}

.section4-container1 .container-content {
    width: 50%;
}

.container-content {
    margin-top: 2rem;
}

.container-content h1 {
    color: #000000;
    text-align: left;
    margin: 1rem;
    font-weight: bold;
}

.container-content ul {
    margin: 1rem;
    line-height: 3rem;
    list-style-type: none;
}

.container-content ul li img {
    margin-right: 1rem;
}

.section4-container1 .contents {
    margin-left: 2rem;
}

.section4-container1 .images {
    margin-right: 2rem;
}

@media (max-width: 1024px) {
    .container-image img {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .container-image img {
        width: 85%;
        margin: 2rem;
    }

    .container-content h1 {
        margin: 0rem;
        font-size: 1.7rem;
    }

    .container-content ul {
        margin: 0rem;
        line-height: 2rem;
    }

    .container-content ul li img {
        margin-right: 1rem;
    }
}

@media (max-width: 425px) {
    .section4-container1 {
        flex-direction: column;
    }

    .section4-container1 .container-image {
        width: 100%;
    }

    .container-image img {
        width: 85%;
        margin: 2rem;
    }

    .section4-container1 .container-content {
        width: 100%;
        margin: 2rem;
    }
}

/******* SECTION - 5 *******/

.section5 {
    background-color: #FFFFFF;
    overflow: hidden;
}

.section5 h1 {
    text-align: center;
    color: #4f74ad;
}

.section5-container {
    display: flex;
    align-content: center;
    text-align: center;
    width: 100%;
}

.inner-container {
    border: 1px dashed #000;
    margin: 2rem;
    width: 30%;
    height: 17rem;
}

.inner-container img {
    width: 5rem;
    margin: 1rem;
}

.inner-container h2 {
    margin: 1rem;
    font-size: 2rem;
    color: #4f74ad;
    font-weight: bold;
}

.inner-container p {
    margin: 1rem;
}

@media (max-width: 1024px) {
    .inner-container {
        height: 20rem;
    }
}

@media (max-width: 768px) {
    .inner-container h2 {
        font-size: 1.5rem;
    }

    .inner-container p {
        margin: 0.5rem;
    }
}

@media (max-width: 425px) {
    .section5 h1 {
        font-size: 2.2rem;
    }

    .section5-container {
        flex-direction: column;
    }

    .inner-container {
        margin: 2rem;
        width: 85%;
        height: 17rem;
    }
}
