/******* 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;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black; /* Darker green */
}

@-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: 3rem;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.section2-left-container h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.section2-left-container p {
    font-size: 1.1rem;
    margin-top: 2rem;
    color: grey;
}

.inner-section2 {
    display: flex;
    width: 100%;
}

.inner-section2-left {
    width: 60%;
    padding: 2rem;
}

.inner-section2-left p {
    margin-top: 0;
    color: grey;
}

.inner-section2-left h2 {
    font-weight: 600;
}

.inner-section2-right {
    width: 40%;
    padding: 2rem;
    margin-top: -1.5rem;
    color: grey;
}

.inner-section2-right button {
    width: 100%;
    padding: 0.6rem;
    background-color: #4f74ad;
    border: none;
    color: #FFFFFF;
    border-radius: 5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

.section2-left-container button:hover {
    background-color: #FFFFFF;
    color: #4f74ad;
    border: 2px solid #4f74ad;
}

.section2-right-container {
    width: 40%;
    align-items: center;
    justify-content: center;
    margin: 2rem;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.section2-right-container .img01 {
    width: 30rem;
    background: #4f74ad;
    border-radius: 1rem 1rem 0rem 0rem;
}

.section2-right-container .img02 {
    width: 30rem;
    border-radius: 0rem 0rem 1rem 1rem;
}

@media (max-width: 1024px) {
    .section2-container {
        flex-direction: column;
    }

    .section2-left-container {
        width: 90%;
    }

    .section2-right-container {
        width: 90%;
    }

    .section2-right-container .img01 {
        width: 58rem;
    }

    .section2-right-container .img02 {
        width: 58rem;
    }
}

@media (max-width: 768px) {
    .section2-right-container .img01 {
        width: 43rem;
    }

    .section2-right-container .img02 {
        width: 43rem;
    }
}

@media (max-width: 425px) {
    .section2-left-container h1 {
        font-size: 1.5rem;
    }

    .section2-left-container p {
        font-size: 1rem;
    }

    .inner-section2 {
        flex-direction: column;
    }

    .inner-section2-left {
        width: 100%;
    }

    .inner-section2-right {
        width: 100%;
    }

    .section2-right-container .img01 {
        width: 24rem;
    }

    .section2-right-container .img02 {
        width: 24rem;
    }
}

/******* 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 h5 {
    text-align: center;
    font-size: 2.5rem;
    color: #4f74ad;
    margin-bottom: 1.5rem;
}

.section3 h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

#services {
    background-color: #4f74ad;
    color: #FFFFFF;
    padding: 0.3rem;
}

@media (max-width: 768px) {
    .section3 h5 {
        font-size: 2rem;
    }

    .section3 h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 425px) {
    .section3 h5 {
        font-size: 2.2rem;
    }

    .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 {
    max-width: 100%;
    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 h5 {
    text-align: center;
    font-size: 2.5rem;
    color: #4f74ad;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.section4 h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0rem 13rem 2rem 13rem;

}

.section4-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 2rem;
    margin: 0rem 3rem;
}

.section4-item {
    background-color: #F5F5F5;
    color: #ffffff;
    height: 24rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.section4-item:hover {
    border: 1.5px solid #4f74ad;
}

.section4-item i {
    background-color: #FFFFFF;
    padding: 1rem;
    margin: 2rem 1rem 1rem 1rem;
    width: 6rem;
    border-radius: 0.5rem;
}

.section4-item h2 {
    color: #000000;
    font-size: 1.4rem;
    padding: 0.5rem;
    font-weight: 600;
}

.section4-item p {
    color: grey;
    padding: 0.7rem;
}

@media (max-width: 1024px) {
    .section4 h1 {
        margin: 0rem 11rem 2rem 11rem;

    }

    .section4-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
    }

    .section4-item {
        height: auto;
    }
}

@media (max-width: 768px) {
    .section4 h1 {
        margin: 0rem 5rem 2rem 5rem;
    }
}

@media (max-width: 425px) {
    .section4 h5 {
        margin-top: 1rem;
    }

    .section4 h1 {
        font-size: 2rem;
        margin: 0rem 1rem 2rem 1rem;

    }

    .section4-container {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, auto);
    }

    .section4-item {
        height: auto;
    }
}

/******* SECTION - 5 *******/

.section5 {
    background-color: #FFFFFF;
    overflow: hidden;
}

.section5 h5 {
    font-size: 2.5rem;
    text-align: center;
    color: #4f74ad;
    margin-top: 3rem;
}

.section5 h1 {
    font-size: 3rem;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
}

.section5-container {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    gap: 2rem;
    padding: 1rem;
    margin: 2rem 4rem;
    align-items: stretch;
}

.section5-item {
    background-color: #eceaea;
    height: 30rem;
    text-align: left;
    border: 1px solid #FFFFFF;
    border-radius: 0.5rem;
}

.section5-heading {
    font-size: 1.2rem;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
}

.section5-heading p {
    background-color: #FFFFFF;
    height: 5rem;
    padding: 1rem;
    margin: 2rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.section5-heading p:hover {
    background-color: #FFFFFF;
}

.section5-heading p.active {
    background-color: #4f74ad;
    color: white;
}

.section5-image img, .section5-content p {
    display: none;
}

.section5-image img.active, .section5-content p.active {
    display: block;
}

.hidden {
    display: none;
}

.section5-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0.5rem;
}

.section5-content {
    padding: 1rem 1.5rem 0rem 0rem;
    font-size: 1.1rem;
    background-color: #FFFFFF;
    color: grey;
}

@media (max-width: 1024px) {
    .section5-container {
        grid-template-columns: 1fr 1fr;
    }

    .section5-heading, .section5-image {
        width: 100%;
        margin: 0;
    }

    .section5-content {
        grid-column: 1 / -1;
        padding: 1rem;
        font-size: 1.3rem;
        height: auto;
        border: 3px solid #eceaea;
    }
}

@media (max-width: 768px) {
    .section5-container {
        margin: 2rem 2rem;
    }

    .section5-item {
        height: 26rem;
    }

    .section5-heading {
        font-size: 1rem;
    }

    .section5-heading p {
        height: 4rem;
        padding: 1rem;
        margin: 2rem 1rem;
    }

    .section5-content {
        padding: 1rem;
        font-size: 1.1rem;
        height: auto;
    }
}

@media (max-width: 425px) {
    .section5 h1 {
        font-size: 2.5rem;
    }

    .section5-container {
        grid-template-columns: 1fr;
    }

    .section5-content {
        font-size: 0.9rem;
    }
}










