/* Homepage Banner */
section.homepage-banner {
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    width: 100%;
    height: 100vh;
    /* max-height: 880px; */
    min-height: 880px;
    position: relative;
    z-index: 5;


    /* @media (max-height: 881px) {
        max-height: 880px;
    } */

    @media (min-width: 1200px) {
        /* padding: 100px 64px; */
        padding: 100px 80px;
    }

    .homepage-banner-contents {
        display: flex;
        flex-direction: column;
        width: 100%;
        /* max-width: 825px; */
        margin-top: 100px;

        @media (min-width: 1921px) {
            max-width: 1300px;
            margin: auto;
        }


        h1 {
            margin-bottom: 16px;
        }

        p {
            max-width: 825px;
            color: #fff;
            font-family: 'Aktiv Grotesk Light', sans-serif;
            margin-bottom: 16px;
        }

        a {
            &.custom-red {
                font-size: 12px;
            }
        }
    }
}

/* Homepage Banner - end */

/* Homepage Image Grid */
section.homepage-image-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;

    .homepage-image-grid-contents {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1300px;
        margin: auto;

        .heading-text {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: 832px;
            margin: auto;
            text-align: center;
            margin-bottom: 65px;
        }

        .image-grid-items {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            grid-template-rows: repeat(6, 1fr);
            grid-column-gap: 24px;
            grid-row-gap: 24px;
            position: relative;

            @media (max-width: 1199px) {
                display: flex;
                flex-direction: column;
            }

            &::before {
                content: "";
                position: absolute;
                /* width: 159px; */
                /* height: 78px; */
                width: 187px;
                height: 110px;
                background: var(--colorRed);
                opacity: 0.4;
                /* right: 0; */
                /* top: 0; */
                right: -31px;
                top: -48px;
                z-index: 4;
            }

            &::after {
                content: "";
                position: absolute;
                /* width: 145px; */
                /* height: 51px; */
                width: 277px;
                height: 130px;
                background: var(--colorUltraLightBrown);
                opacity: 0.4;
                /* left: 0; */
                /* bottom: -32px; */
                /* z-index: 1; */
                left: -100px;
                top: auto;
                bottom: -30px;
                z-index: 2;
            }

            .image-grid-item {
                display: flex;
                flex-direction: column;
                width: 100%;
                height: 100vh;
                max-height: 495px;
                overflow: hidden;
                position: relative;
                z-index: 3;

                @media (max-width: 1199px) {
                    max-height: 375px;
                }

                @media (max-width: 767px) {
                    max-height: 202px;
                }

                @media (max-width: 575px) {
                    max-height: 300px;
                    min-height: 300px;
                }

                &:nth-of-type(1) {
                    @media (min-width: 1200px) {
                        grid-area: 1 / 1 / 4 / 3; 
                    }
                }

                &:nth-of-type(2) {
                    @media (min-width: 1200px) {
                        grid-area: 1 / 3 / 4 / 5; 
                    }
                }

                &:nth-of-type(3) {
                    @media (min-width: 1200px) {
                        grid-area:  1 / 5 / 4 / 7;
                    } 
                }

                &:nth-of-type(4) {
                    @media (min-width: 1200px) {
                        grid-area: 4 / 1 / 7 / 4;
                    }
                }

                &:nth-of-type(5) {
                    @media (min-width: 1200px) {
                        grid-area: 4 / 4 / 7 / 7;
                    }
                }
                

                &:hover {
                    .image-content {
                        &::before {
                            opacity: 0;
                        }

                        &::after {
                            opacity: 1;
                        }
                    }

                    .text-content {
                        p {
                            max-height: max-content;
                            margin-top: 24px;
                            opacity: 1;
                        }
                    }
                }

                .image-content {
                    display: flex;
                    position: relative;
                    width: 100%;

                    &::before {
                        content: "";
                        position: absolute;
                        inset: 0;

                        background: linear-gradient(
                        to top,
                        rgba(0, 0, 0, 0.4) 0%,
                        rgba(0, 0, 0, 0.4) 25%,
                        rgba(0, 0, 0, 0) 50%,
                        rgba(0, 0, 0, 0) 100%
                        );

                        opacity: 1;
                        transition: 0.4s ease;
                        z-index: 1;
                    }

                    &::after {
                        content: "";
                        position: absolute;
                        inset: 0;

                        background: rgba(0, 0, 0, 0.7);

                        opacity: 0;
                        transition: opacity 0.4s ease;
                        z-index: 2;
                    }

                    img {
                        display: block;
                        width: 100%;
                        height: 100vh;
                        max-height: 495px;
                        object-fit: cover;
                        transition: 0.4s ease;

                        @media (max-width: 1199px) {
                            max-height: 375px;
                        }

                        @media (max-width: 767px) {
                            max-height: 202px;
                        }

                        @media (max-width: 575px) {
                            max-height: 300px;
                            min-height: 300px;
                        }
                    }

                }

                .text-content {
                    padding: 24px;
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    position: absolute;
                    bottom: 0;
                    z-index: 3;


                    h3 {
                        color: #fff;
                        margin-bottom: 0;
                    }

                    p {
                        color: #fff;
                        margin-top: 24px;
                        height: 100%;
                        max-height: 0;
                        margin-top: 0;
                        overflow: hidden;
                        opacity: 0;
                        transition: 0.6s ease;
                    }
                }
            }
        }
    }
}

.home {
    section.homepage-image-grid {
        background: linear-gradient(180deg, #fff 14.64%, #fcfaf8 53.61%, #f8f5ef 84.9%);
        padding-bottom: 40px;
    }
}
/* Homepage Image Grid - end */

/* Homepage Split Contents */
section.homepage-split-content {
    display: flex;
    flex-direction: column;
    width: 100%;

    &#setOne {
        background: linear-gradient(rgb(248, 245, 239) 11.4%, rgb(255, 255, 255) 80.55%);
        padding-top: 40px;
        padding-bottom: 40px;
    }

    &#setTwo {
        background: linear-gradient(rgb(255, 255, 255) 14.64%, rgb(252, 250, 248) 53.61%, rgb(248, 245, 239) 84.9%);
        padding-top: 40px;

        .homepage-split-content-contents {
            flex-direction: row;
        }
    }

    .homepage-split-content-contents {
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        width: 100%;
        max-width: 1300px;
        gap: 108px;
        margin: auto;

        .heading-text {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 100%;
            max-width: 532px;

            @media (max-width: 767px) {
                max-width: 100%;
            }

            .title-kicker {
                margin-bottom: 16px;
            }

            .title-image {
                &.mobile-only {
                    display: flex;
                    position: relative;
                    margin-bottom: 16px;

                    @media (min-width: 768px) {
                        display: none;
                    }

                    img {
                        width: 100%;
                    }

                    &::after {
                        display: block;
                        position: absolute;
                        height: 85px;
                        width: 150px;
                        right: -24px;
                        top: 0;
                        content: "";
                        background: var(--colorUltraLightBrown);
                        opacity: 0.4;
                    }

                    &::before {
                        display: block;
                        position: absolute;
                        height: 105px;
                        width: 170px;
                        left: -32px;
                        bottom: 0;
                        content: "";
                        background: var(--colorRed);
                        opacity: 0.4;
                        z-index: 1;
                    }
                }
            }
        }

        .image_content {
            display: flex;
            position: relative;

            @media (max-width: 767px) {
                display: none;
            }

            &::after {
                display: block;
                position: absolute;
                height: 85px;
                width: 150px;
                right: -24px;
                top: 0;
                content: "";
                background: var(--colorUltraLightBrown);
                opacity: 0.4;
            }

            &::before {
                display: block;
                position: absolute;
                height: 105px;
                width: 170px;
                left: -32px;
                bottom: 0;
                content: "";
                background: var(--colorRed);
                opacity: 0.4;
                z-index: 1;
            }

            img {
                width: 100%;
                display: block;
                position: relative;
            }
        }
    }
}
/* Homepage Split Contents - end */

/* Homepage Featured Projects */
section.homepage-featured-projects {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 40px;

    .homepage-featured-projects-contents {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1300px;
        gap: 128px;
        margin: auto;

        .heading-text {
            padding: 0 24px;

            h2 {
                margin-top: 15px;
                margin-bottom: 15px;
            }

            p {
                margin-bottom: 15px;
            }
        }

        .featured-projects {
            padding: 40px 24px;
            padding-top: 0;
            display: flex;
            width: 100%;
            gap: 24px;
            position: relative;

            @media (max-width: 991px) {
                flex-direction: column;
            }

            background: linear-gradient(
            to top,
            rgba(248, 245, 239, 1.0) 0%,
            rgba(248, 245, 239, 1.0) 30%,
            rgba(248, 245, 239, 0) 50%,
            rgba(248, 245, 239, 0) 100%
            );

            &::after {
                display: block;
                position: absolute;
                height: 85px;
                width: 150px;
                right: -24px;
                bottom: 130px;
                content: "";
                background: var(--colorRed);
                opacity: 0.4;
            }

            &::before {
                display: block;
                position: absolute;
                height: 105px;
                width: 170px;
                left: -24px;
                top: 0;
                content: "";
                background: var(--colorUltraLightBrown);
                opacity: 0.4;
                z-index: 1;
            }

            

            .project-card {
                display: flex;
                flex-direction: column;
                width: 100%;
                position: relative;
                overflow: hidden;

                @media (max-width: 991px) {
                    min-height: 323px;
                    max-height: 323px;
                }
                


                &#shangSummitCard {
                    @media (min-width: 992px) {
                        bottom: 76px;
                    }
                }

                &#shangLayaCard {
                    @media (min-width: 992px) {
                        bottom: 148px;
                    }
                }

                &::before {
                    content: "";
                    position: absolute;
                    inset: 0;

                    background: linear-gradient(
                    to top,
                    rgba(0, 0, 0, 1.0) 0%,
                    rgba(0, 0, 0, 0.4) 25%,
                    rgba(0, 0, 0, 0.0) 50%,
                    rgba(0, 0, 0, 0) 100%
                    );

                    opacity: 1;
                    transition: 0.4s ease;
                    z-index: 1;
                }

                img {
                    &.web-only {
                        @media (max-width: 991px) {
                            display: none;
                        }
                    }
                    &.mobile-only {
                        @media (min-width: 992px) {
                            display: none;
                        }
                        height: 100vh;
                        object-fit: cover;
                        /* position: absolute; */
                        /* top: -115px; */
                    }
                }


                .text-content {
                    display: flex;
                    flex-direction: column;
                    position: absolute;
                    padding: 24px;
                    bottom: 0;
                    z-index: 3;

                    span {
                        color: #fff;
                    }

                    h3 {
                        color: #fff;
                        margin-top: 12px;
                        margin-bottom: 0;
                    }
                }
            }
        }
    }
}
/* Homepage Featured Projects - end */

/* Homepage Maps */
section.homepage-maps {
    background: linear-gradient(
		180deg,
		#fff 14.64%,
		#fcfaf8 53.61%,
		#f8f5ef 84.9%
	);
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    width: 100%;


    @media (max-width: 575px) {
        overflow: hidden;
    }

    .homepage-maps-contents {
        display: flex;
        align-items: center;
        gap: 60px;
        width: 100%;
        max-width: 1300px;
        margin: auto;
        position: relative;
        border-top: 1px solid var(--colorUltraLightBrown);

        @media (max-width: 1199px) {
            border-top: none;
            flex-direction: column;
            overflow: hidden;
        }

        h2 {
            @media (max-width: 1199px) {
                order: -1;
                text-align: center;
            }
        }

        .map-content {
            display: flex;
            justify-content: center;
            width: 100%;
            max-width: 650px;
            min-width: 650px;
            /* max-width: 516px; */
            position: relative;
            /* margin-right: 60px; */
            border-right: 1px solid var(--colorUltraLightBrown);

            @media (max-width: 1199px) {
                border-right: none;
            }


            .property-map {
                padding-top: 40px;
                display: flex;
                width: 100%;
                max-width: 516px;
                position: relative;

                img {
                    width: 100%;
                    max-width: 516px;
                    min-width: 516px;
                    height: 100%;
                    max-height: 516px;
                    margin: auto;
                }
            }

            .property-pins {
                display: flex;
                position: absolute;
                width: 100%;
                max-width: 516px;
                height: 100%;
                max-height: fit-content;
                top: 0;

                .property-pin {
                    display: flex;
                    position: absolute;
                    cursor: pointer;

                    &#shangBauhiniaResidencesPin {
                        right: 139px;
                        bottom: -407px;
                    }

                    &#shangSummitPin {
                        right: 355px;
                        bottom: -147px;
                    }

                    &#aureliaResidencesPin {
                        right: 335px;
                        bottom: -306px;
                    }

                    &#horizonHomesPin {
                        right: 341px;
                        bottom: -292px;
                    }

                    &#theShangGrandTowerPin {
                        right: 380px;
                        bottom: -295px;
                    }

                    &#theEnterpriseCenterPin {
                        right: 381px;
                        bottom: -288px;
                    }

                    &#assemblyGroundsPin {
                        right: 390px;
                        bottom: -290px;
                    }

                    &#shangSalcedoPlacePin {
                        right: 372px;
                        bottom: -282px;
                    }

                    &#theRiseMakatiPin {
                        right: 385px;
                        bottom: -276px;
                    }

                    &#theStFrancisShangriLaPlacePin {
                        right: 316px;
                        bottom: -262px;
                    }

                    &#shangCentralPin {
                        right: 323px;
                        bottom: -254px;
                    }

                    &#shangriLaPlazaPin {
                        right: 331px;
                        bottom: -248px;
                    }

                    &#oneShangriLaPlacePin {
                        right: 318px;
                        bottom: -245px;
                    }

                    &#shangResidencesAtWackWackPin {
                        right: 338px;
                        bottom: -240px;
                    }

                    img
                        {
                            max-width: 19.98px;
                            max-height: 29.58px;
                            margin: unset;
                        }
                    }
                }
            }
        }

        .text-content {
            display: flex;
            flex-direction: column;
            /* flex-direction: column-reverse; */
            width: 100%;
            height: 100%;
            max-height: fit-content;
            position: relative;
            margin-top: auto;
            padding-right: 30px;
            transition: 0.4s ease;

            @media (max-width: 1336px) {
                margin-top: unset;
            }

            @media (max-width: 1199px) {
                padding-right: 0;
                background: var(--colorChalkBrown);
                padding: 24px;
            }

            h2 {
                margin-bottom: 56px;
                order: -1;
            }

            &::before {
                content: "";
                position: absolute;

                width: 100%;

                height: 100%;
                max-height: 274px;
                background: var(--colorChalkBrown);
                opacity: 0.4;
                right: -61px;
                bottom: 0;
                z-index: 0;

                @media (max-width: 1199px) {
                    display: none;
                }
            }
    
            .custom-heading {
                /* padding: 32px 67px; */
                /* padding: 32px; */
                /* padding-left: 67px; */
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                width: 100%;
                max-width: 786px;
                height: 100vh;
                max-height: 224px;
                min-height: 224px;
                /* position: absolute; */
                position: relative;
                /* bottom: 0; */
                /* right: -70px; */

                @media (max-width: 1199px) {
                    max-width: 100%;
                    height: 100%;
                    max-height: unset;
                    min-height: unset;
                }

                .heading-text {
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    max-width: 518px;

                    @media (max-width: 1199px) {
                        max-width: 100%;
                    }

                    h3 {
                        margin-bottom: 24px;
                    }

                    p {
                        margin-bottom: 16px;
                    }

                    .map-cta {
                        a {
                            display: flex;
                            align-items: center;
                            gap: 10px;

                            &.arrow-link {
                                font-family: 'Aktiv Grotesk Cd';
                                font-size: 12px;
                                color: var(--colorRed);
                                letter-spacing: 0.18em;
                                font-weight: 700;
                                text-transform: uppercase;
                                transition: 0.4s ease;

                                &:hover {
                                    color: var(--colorYellow);

                                    svg {
                                        color: var(--colorYellow);
                                        margin-left: 10px;
                                    }
                                }
                            }

                            svg {
                                color: var(--colorRed);
                                transition: 0.4s ease;
                            }
                        }
                    }
                }
            }
        }
}
/* Homepage Maps - end */

/* Homepage Contact */
section.homepage-contact {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;

    .homepage-contact-contents {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1348px;
        margin: auto;
        background: var(--colorChalkBrown);
        padding: 40px 24px;


        .heading-text {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: fit-content;
            text-align: center;
            margin-bottom: 24px;
            
            h2 {
                color: var(--colorRed);
            }

            /* p {

            } */
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            width: 100%;
            max-width: fit-content;

            form {
                display: flex;
                flex-direction: column;
                /* width: 100%; */
                width: 100vw;
                max-width: 626px;

                @media (max-width: 767px) {
                    max-width: -webkit-fill-available;
                }

                br {
                    display: none;
                }

                input {
                    width: 100%;
                    margin-bottom: 25px;
                    padding: 15px;
                    background: none;
                    border: 1px solid #000;

                    &[type="submit"] {
                        &.standard-btn {
                            text-decoration: none;
                            padding: 16.5px 32px;
                            border: 1px solid #fff;
                            color: #fff;
                            font-family: 'Aktiv Grotesk Cd';
                            font-size: 14px;
                            font-weight: 700;
                            text-transform: uppercase;
                            letter-spacing: 0.18em;

                            display: flex;
                            align-items: center;
                            justify-content: center;

                            background: linear-gradient(90deg, transparent 50%, #000000 50%);
                            background-size: 230% 100%;
                            background-position: 100% 0%;

                            transition: background-position 0.4s ease;

                            width: 100%;
                            max-width: fit-content;
                            height: 100%;
                            /* max-height: 48px; */
                            max-height: max-content;

                            margin: auto;
                        }

                        &.standard-btn:hover {
                            color: var(--colorYellow);
                            background-position: 0% 0%;
                        }

                        &.custom-yellow {
                            border: 1px solid var(--colorYellow);
                            background: linear-gradient(90deg, transparent 50%, var(--colorYellow) 50%);
                            background-size: 230% 100%;
                            background-position: 100% 0%;
                        }

                        &.custom-red {
                            border: 1px solid var(--colorRed);
                            background: linear-gradient(90deg, transparent 50%, var(--colorRed) 50%);
                            background-size: 230% 100%;
                            background-position: 100% 0%;

                            &:hover {
                                color: var(--colorYellow);
                                background-position: 0% 0%;
                            }
                        }
                    }
                }

                textarea {
                    background: none;
                    width: 100%;
                    resize: none;
                    padding: 29px 15px;
                    border: 1px solid #000;
                    margin-bottom: 24px;
                }
            }
        }
    }
}
/* Homepage Contact - end */

/* Homepage Carousel */
section.homepage-carousel {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    background: linear-gradient(to bottom,
     rgba(0, 0, 0, 0) 0%,
     rgba(0, 0, 0, 0) 25%,
     /* rgba(0, 0, 0, 0) 50%, */
     /* rgba(248, 245, 239, 1) 50%, */
     rgba(0, 0, 0, 0) 45%,
     rgba(248, 245, 239, 1) 45%,
     rgba(248, 245, 239, 0.7) 75%,
     rgba(248, 245, 239,0.5) 100%,
     rgba(248, 245, 239, 0) 100%
     );

    .homepage-carousel-contents {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1300px;
        margin: auto;

        .heading-text {
            margin-left: 40px;
            margin-bottom: 56px;

            h2 {
                margin-bottom: 0;
            }
        }

        .video-carousel {
            margin-bottom: 80px;

            &::before {
                content: "";
                position: absolute;

                width: 430px;
                height: 240px;
                background: var(--colorRed);
                opacity: 0.4;
                left: -61px;
                top: -40px;
                z-index: 0;
            }

            .flickity-viewport {
                /* background: #fff; */
                overflow: visible;
                clip-path: inset( -100vw -100vw -100vw 0 );
            
                .flickity-slider {
                    .carousel-cell {
                        width: 88.5%;
                        height: 400px;
                        margin-right: 24px;
                        /* background: #8C8; */
                        border-radius: 5px;
                        counter-increment: gallery-cell;
                        cursor: pointer;

                        img {
                            &.play-button {
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                transform: translate(-50%, -50%);
                                pointer-events: none;
                            }

                            &.carousel-thumbnail {
                                min-height: 400px;
                                object-fit: cover;
                            }
                        }

                        p {
                            text-align: center;
                            margin-top: 15px;
                        }
                    }
                }
            }
        }
    }
}

section.carousel-navigation {
    /* background: var(--colorFadedBrown); */
    background: var(--colorChalkBrown);
    padding: 0 !important;
    display: flex;
    position: relative;
    width: 100%;

    .carousel-navigation-contents {
        padding: 10px 0;
        display: flex;
        position: relative;
        justify-content: flex-end;
        gap: 40px;
        width: 100%;
        max-width: 1300px;
        margin: auto;

        span {
            &.carousel-status {
                display: flex;
                align-items: center;
                font-family: "SchnyderThin", serif;
                font-weight: 300;
                font-size: 26px;
                line-height: 120%;
                color: #333;
                text-align: right;
            }
        }

        .carousel-buttons {
            display: flex;

            .flickity-button {
                background: none;

                &.flickity-prev-next-button {
                    display: flex;
                    position: relative;
                    width: 100%;
                    height: 100%;
                    border-radius: 0;
                    max-height: fit-content;

                    svg {
                        color: var(--colorRed);
                    }

                    &.previous {
                        left: 0;
                    }

                    &.next {
                        right: 0;
                    }
                }

                &:hover {
                    background: none;
                }

                &:focus {
                    box-shadow: none;
                }

                &.flickity-prev-next-button {
                    position: relative;
                }
            }
        }
    }
}

.modal {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;

  &.active {
    display: flex !important;
  }

  .modal-content {
    display: flex;
    flex-direction: column;
    position: relative;
    /* background-color: #fff; */
    background: none;
    width: 80%;
    /* max-width: 800px; */
    /* max-width: 592px; */
    max-width: 720px;
    padding: 20px;

    span {
        &.close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 30px;
            color: #333;
            cursor: pointer;
        }
    }

    #video-container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* 16:9 aspect ratio */

        iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }
    }
  }
}
/* Homepage Carousel - end */

/* Homepage Years */
section.homepage-years {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    max-height: 619px;
    padding: 0;
    position: relative;
    overflow: hidden;

    .homepage-years-background {
        background: url('http://shang-properties-recode-new.local/wp-content/uploads/2026/04/homepage-years-bg.png');
        background-size: cover;
        background-repeat: no-repeat;
        width: 100%;
        height: 100vh;
        max-height: 472px;
        display: flex;
        position: absolute;
        z-index: -1;
    }

    .homepage-years-contents {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        width: 100%;
        /* max-width: 1300px; */
        max-width: 1465px;
        height:100%;
        max-height: 539px;
        margin: auto;
        padding: 0 80px;

        @media (max-width: 575px) {
            padding: 0 20px;
        }

        .years-container {
            background-color: var(--colorChalkBrown);
            border: 1px solid var(--colorUltraLightBrown);
            /* padding: 30px; */
            padding: 24px;
            display: flex;
            gap: 35px;
            width: 100%;
            max-width: fit-content;

            @media (max-width: 400px) {
                flex-direction: column;
            }

            .years-counter {
                display: flex;
                position: relative;
                /* width: 100%; */
                width: 100vw;
                max-width: 240px;

                span {
                    &.count-main {
                        color: var(--colorUltraLightBrown);
                        font-size: 180px;
                        font-family: 'SchnyderThin';
                        line-height: 100%;
                    }

                    &.count-text {
                        position: absolute;
                        color: #2e2e2e;
                        font-size: 60px;
                        font-family: 'SchnyderThin';
                        line-height: 100%;
                        bottom: 0;
                        right: 0;
                    }
                }
            }

            .heading-text {
                display: flex;
                flex-direction: column;
                justify-content: center;
                width: 100%;
                max-width: 395px;

                span {
                    &.title-kicker {
                        color: var(--colorRed);
                    }
                }

                h2 {
                    font-size: 24px;
                    font-family: 'Aktiv Grotesk Light';
                    width: 100%;
                    text-wrap: auto;
                    /* max-width: 315px; */
                    max-width: 273px;
                    margin-top: 8px;
                }

                p {
                    font-size: 12px;    
                }
            }
        }
    }
}

/* Homepage Years - end */

/* Homepage News and Updates */
section.homepage-news-updates {
    padding-top: 40px !important;

    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(to bottom,
     rgba(0, 0, 0, 0) 0%,
     rgba(0, 0, 0, 0) 25%, 
     rgba(0, 0, 0, 0) 38%,
     rgba(248, 245, 239, 0.8) 38%,
     rgba(248, 245, 239, 0.6) 45%,
     rgba(248, 245, 239, 0.5) 75%,
     rgba(248, 245, 239,0.4) 100%,
     rgba(248, 245, 239, 0) 100%
     );

    .homepage-news-updates-contents {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1300px;
        margin: auto;

        .heading-content {
            display: flex;
            width: 100%;
            justify-content: space-between;
            margin-bottom: 24px;

            @media (max-width: 1199px) {
                flex-direction: column;
                gap: 16px;
            }

            /* .text-content {

            } */

            .heading-cta {
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
            }
        }

        .news-updates-grid {
            display: flex;
            width: 100%;
            gap: 24px;

            @media (max-width: 1199px) {
                flex-direction: column;
            }

            .news-update-item {
                display: flex;
                flex-direction: column;
                width: 100%;
                height: 100%;
                max-height: auto;

                a {
                    .item-image {
                        margin-bottom: 16px;

                        img {
                            height: 100vh;
                            max-height: 337px;
                            object-fit: cover;

                            @media (max-width: 1199px) {
                                width: 100%;
                            }
                        }
                    }

                    .item-text {
                        span {
                            &.title-kicker {
                                color: var(--colorRed);
                            }
                        }

                        h3 {
                            font-family: 'Aktiv Grotesk Light', sans-serif;
                            font-size: 18px;
                            margin-top: 8px;
                            
                            
                            @media (min-width: 1200px) {
                                height: 65px;
                            }
                        }

                        p {
                            margin-bottom: 0;
                        }
                    }
                }
            }

            .item-cta {
                display: flex;
                flex-direction: column;
                position: relative;
                margin-top: auto;

                span {
                    font-family: 'Aktiv Grotesk Light', sans-serif;
                    font-size: 14px;
                }

                .arrow-cta {
                    margin-top: 16px;

                    a {
                        display: flex;
                        align-items: center;
                        gap: 10px;

                        svg {
                            transition: 0.4s ease;
                        }

                        &.arrow-link {
                            font-family: 'Aktiv Grotesk Cd';
                            font-size: 12px;
                            color: var(--colorRed);
                            letter-spacing: 0.18em;
                            font-weight: 700;
                            text-transform: uppercase;
                            transition: 0.4s ease;

                            &:hover {
                                color: var(--colorYellow);

                                svg {
                                    color: var(--colorYellow);
                                    margin-left: 10px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

/* Homepage News and Updates - end */

/* Homepage Newsletter */
section.homepage-newsletter {
    display: flex;
    flex-direction: column;
    width: 100%;

    .homepage-newsletter-contents {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        max-width: 626px;
        margin: auto;

        .text-content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            margin-bottom: 32px;
        }

        .form-main {
            form {
                display: flex;
                flex-direction: column;
                width: 100%;

                .wpcf7-not-valid-tip {
                    position: absolute;
                    display: none;
                }

                br {
                    display: none;
                }

                input {
                    width: 100%;
                    padding: 15px;
                    border: 1px solid #000;
                    margin-bottom: 20px;

                    &::placeholder {
                        font-family: 'Aktiv Grotesk Light';
                        font-size: 16px;
                        color: #777777;
                    }

                    &[type="submit"] {
                        &.standard-btn {
                            text-decoration: none;
                            padding: 16.5px 32px;
                            border: 1px solid #fff;
                            color: #fff;
                            font-family: 'Aktiv Grotesk Cd';
                            font-size: 14px;
                            font-weight: 700;
                            text-transform: uppercase;
                            letter-spacing: 0.18em;

                            display: flex;
                            align-items: center;
                            justify-content: center;

                            background: linear-gradient(90deg, transparent 50%, #000000 50%);
                            background-size: 230% 100%;
                            background-position: 100% 0%;

                            transition: background-position 0.4s ease;

                            width: 100%;
                            max-width: fit-content;
                            height: 100%;
                            /* max-height: 48px; */
                            max-height: max-content;

                            margin: auto;
                            margin-top: 32px;
                            margin-bottom: 0;
                        }

                        &.standard-btn:hover {
                            color: var(--colorYellow);
                            background-position: 0% 0%;
                        }

                        &.custom-yellow {
                            border: 1px solid var(--colorYellow);
                            background: linear-gradient(90deg, transparent 50%, var(--colorYellow) 50%);
                            background-size: 230% 100%;
                            background-position: 100% 0%;
                        }

                        &.custom-red {
                            border: 1px solid var(--colorRed);
                            background: linear-gradient(90deg, transparent 50%, var(--colorRed) 50%);
                            background-size: 230% 100%;
                            background-position: 100% 0%;
                            

                            &:hover {
                                color: var(--colorRed);
                                background-position: 0% 0%;
                            }
                        }
                    }
                }

                label {
                    display: flex;
                    width: 100%;
                    font-family: 'Aktiv Grotesk Light';
                    color: #575757;

                    .wpcf7-form-control-wrap {
                        display: flex;
                        flex-direction: column;
                    }

                    span {
                        display: flex;
                        width: 100%;
                        /* max-width: fit-content; */
                        margin: 0;

                        input {
                            &[type="checkbox"] {
                                width: 100%;
                                max-width: 16px;
                                min-width: 16px;
                                height: 100%;
                                max-height: 16px;
                                min-height: 16px;
                                margin: 0;
                                margin-right: 10px;
                                accent-color: var(--colorRed);
                                align-items: center;
                               
                                &::after {
                                    content: "";
                                    width: 16px;
                                    height: 16px;
                                    display: inline-block;
                                    background: transparent;
                                    border-radius: 2px;
                                    border: 1px solid #81001f;
                                    position: relative;
                                    /* top: 2px; */
                                }
                            }
                        }
                    }

                    &[for="agree-info"] {
                        margin-bottom: 15px;
                    }

                    &[for="agree-privacy"] {
                        span {
                            max-width: fit-content;
                            margin: 0;
                            text-wrap: nowrap;
                        }

                        a {
                            height: 100%;
                            max-height: fit-content;
                            margin-left: 2px;
                            text-decoration: underline;
                            color: var(--colorRed);
                        }
                    }
                }
            }
        }
    }
}





/* Homepage Newsletter - end */