﻿.homepage-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.section-h2 {
    font-size: 48px;
    line-height: 1.25;
}

.mx-20p {
    margin-left: 20px;
    margin-right: 20px;
}

.new-site-header {
    border-bottom: 1px solid #D9D9D9;
}

    .new-site-header .text-skin-favourite-count {
        color: var(--c4k-black) !important;
    }

    .new-site-header .bg-skin-favourite-count {
        background-color: white !important;
    }

.new-header-menu {
    margin-bottom: -72px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.131338) 56.4%, rgba(0, 0, 0, 0) 100%);
}

    .new-header-menu .search-box {
        background: transparent !important;
        box-shadow: none !important;
    }

        .new-header-menu .search-box .search-icon {
            background-color: transparent !important;
        }

        .new-header-menu .search-box .autoComplete_wrapper input, .new-header-menu .search-box .autoComplete_wrapper input::placeholder {
            color: white !important;
        }

            .new-header-menu .search-box .autoComplete_wrapper input::placeholder {
                font-weight: 700;
                font-size: 14px;
            }

@media (min-width: 1400px) {
    .container {
        max-width: 1300px !important;
    }
}

.rounded-65{
    border-radius: 65px !important;
}

.c4k-ad-placement {
    height: 90px;
    width: 728px;
}

.home-page-ads {
    display: flex;
    justify-content: center;
}

.homepage-banner {
    height: calc(100vh - 80px);
    min-height: 600px;
    max-height: 740px;
    padding-bottom: 100px !important;
    display: flex;
    align-items: flex-end;
    width: 100vw;
    padding-left: 0px !important;
}

    .homepage-banner .childcare-overlay {
        border-bottom-left-radius: 65px;
    }

    .homepage-banner .homepage-banner-image {
        border-bottom-left-radius: 65px;
        border-bottom-right-radius: 65px;
    }

    .homepage-banner-heading {
        line-height: 1.2;
        font-size: 48px;
        margin-bottom: 24px;
    }

    .homepage-banner-heading .banner-sub-title {
        font-size: 20px;
        color: white;
        font-weight: 700;
        display: block;
        margin-top: 10px;
    }

.homepage-signup-banner {
    height: 740px;
    width: 100%;
    position: relative;
}

.homepage-helping-tab-container {
    display: block;
}

.homepage-helping-accordion-container {
    display: none;
}

.perfectcare-container .perfectcare-header h2 {
    max-width: 500px;
    padding-right: 40px;
}

.perfectcare-container .perfectcare-header p {
    max-width: 450px;
}

.perfectcare-slider-container, .perfectcare-cards-display {
    width: 100vw;
}

.perfectcare-slider-container {
    max-width: 3200px;
}

.perfect-care-frame {
    width: 306px;
    min-width: 306px;
    height: 430px;
}

    .perfect-care-frame .frame-gradient {
        z-index: 2;
        height: 195px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
        transform: rotate(-180deg);
    }

    .perfect-care-frame .top-section {
        z-index: 3;
        padding-top: 28px;
        padding-left: 24px;
        padding-right: 24px;
        height: 195px;
        color: #FFFFFF !important;
    }

        .perfect-care-frame .top-section h2 {
            line-height: 31px;
            margin-bottom: 0 !important;
        }

        .perfect-care-frame .top-section span {
            line-height: 15px;
        }


    .perfect-care-frame .bottom-section {
        z-index: 1;
        padding-bottom: 19px;
        padding-left: 32px;
        padding-right: 32px;
        height: 83px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    }

.care-next-btn {
    background-color: #5A60EC;
    height: 68px;
    width: 68px;
    position: absolute;
    top: calc(50% - 34px);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .care-next-btn.disabled {
        background-color: #b9b9b9;
        cursor: default;
    }



    .homepage-topchildcare-section {
        background-color: #FAF7F4;
        padding-left: 17px;
        padding-right: 17px;
    }

    .homepage-topchildcare-section h2 {
        max-width: 565px;
        font-size: 48px;
        padding-left: 13px;
        padding-right: 13px;
    }

    .homepage-topchildcare-section p {
        font-weight: 500;
        font-size: 16px;
        line-height: 26px;
        text-align: center;
        color: #5A5A5A;
        padding-left: 40px;
        padding-right: 40px;
        max-width: 800px;
        padding-top: 6px;
    }

.homepage-topchildcare-card-display {
    margin-top: 35px;
    grid-column-gap: 25px;
    grid-row-gap: 47px;
    padding-bottom: 68px;
}

.topchildcare-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 281px;
    min-width: 281px;
    height: 314px;
    background: #FFFFFF;
    border: 1px solid #D0D6D5;
    border-radius: 16px;
}

.helping-btn-link {
    background-color: #5A60EC;
    color: white;
    margin-top: 20px;
}

    .helping-btn-link:hover {
        background-color: #FA5B81;
    }

.homepage-helping-section {
    height: 138px;
    padding: 11px 72px;
    color: #FFFFFF;
    flex-direction: row;
}

    .homepage-helping-section .helping-text {
        width: 32%;
        padding-top: 21px;
        padding-bottom: 12px;
        border-right: 1px solid white;
    }

        .homepage-helping-accordion-container .helping-text h3, .homepage-helping-section .helping-text h3 {
            font-size: 32px;
            line-height: 38px;
            width: 285px;
            color: #FFFFFF;
        }

    .homepage-helping-section .helping-tabs {
        width: 68%;
        margin-left: min(10%, 99px);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 78px;
    }

.testimonial-cards-display {
    padding-top: 86px;
    grid-column-gap: 25px;
    grid-row-gap: 55px;
}

.testimonial-card:nth-child(3n+2) {
    transform: translateY(-35px);
    margin-bottom: -35px;
}

.testimonial-card {
    height: auto;
    width: 356px;
    min-width: 356px;
}

    .testimonial-card .testimonial-text {
        padding: 48px 35px 42px 35px;
        border-radius: 15px;
        min-height: 234px;
    }


.helping-tabs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    gap: 5.5px;
    position: relative;
    cursor: pointer;
}

    .helping-tabs-item.active, .helping-tabs-item:hover {
        color: #F6FF8F !important;
    }

        .helping-tabs-item.active span {
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .helping-tabs-item.active::before {
            position: absolute;
            content: "\25BC";
            left: 20px;
            bottom: -58px;
            width: 44px;
            color: #5A60EC;
            border: none;
        }

    .helping-tabs-item i {
        font-size: 26px;
    }

.homepage-helping-dropdown {
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-helping-dropdown .helping-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

    .homepage-helping-dropdown h3 {
        font-size: 40px;
        line-height: 48px;
        color: #5A60EC;
        width: 320px;
    }

    .homepage-helping-dropdown p {
        color: #272727;
        width: 445px;
        font-size: 16px;
        line-height: 26px;
    }

.homepage-logos-display{
    min-height: 100px;
}

.homepage-logos-display img {
    height: auto;
    min-height: 25px;
    object-fit: contain;
}

.perfectcare-cards-display {
    overflow-x: hidden;
}

    .perfectcare-cards-display .glider-slide {
        margin-right: 20px;
    }

    .perfectcare-cards-display a {
        display: block;
        width: 306px;
        min-width: 306px;
        height: 430px;
    }

.perfectcare-header{
    max-width: 880px;
    flex-direction: row;
    align-items: center;
}

.perfectcare-video-section .video-container {
    max-width: 910px;
    min-height: 200px;
    max-height: 100%;
    object-fit: contain;
    width: 100%;
    height: fit-content;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}


    .perfectcare-video-section .video-container::before {
        position: absolute;
        position: absolute;
        content: "";
        top: 12px;
        left: 0;
        height: 100%;
        width: calc(100% - 32px);
        margin: 0 16px;
        border-radius: 15px;
        background: #5A60EC;
        z-index:0;
    }


    .perfectcare-video-section .video-container .video-js {
        overflow: hidden;
        border: 4px solid #5A60EC;
        border-radius: 15px;
    }

    .perfectcare-video-section .video-container .vjs-poster{
        background-size: cover !important;
    }

    .perfectcare-video-section .video-container .vjs-big-play-centered .vjs-big-play-button {
        background: none !important;
        border: none !important;
    }

.vjs-vimeo-mobile .vjs-big-play-button{
    display: block !important;
}

.vjs-playing .vjs-big-play-button {
    display: none !important;
}

.vjs-has-started .vjs-big-play-button {
    display: none !important;
}

.perfectcare-video-section .video-js .vjs-big-play-button {
    height: 65px;
}

.perfectcare-video-section .video-js .vjs-big-play-button .vjs-icon-placeholder::before {
    content: "" !important;
    background: url("../png/play-btn.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

    .homepage-signup-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 3;
        align-items: flex-start;
        justify-content: center;
        padding-left:5%;
    }

    .homepage-signup-content img {
        height: 28px;
    }

    .homepage-signup-content h2 {
        color: #F6FF8F;
        font-size: 64px;
        font-weight: 700;
        line-height: 76px;
        max-width: 595px;
        margin-top: 22px;
        margin-bottom: 45px;
        padding-right: 20px;
    }

.homepage-signup-banner .childcare-overlay {
    border-radius: 65px 0 0 65px;
}

.features-section {
    gap: 13px;
    padding-bottom: 3rem;
    margin-top: -50px;
    position: relative;
    z-index: 3;
}

.homepage-features-card {
    width: 218px;
    height: 105px;
    background: #FAF7F4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 38px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    cursor: pointer;
    position: relative;
}
    .homepage-features-card span {
        font-weight: 700;
        font-size: 20px;
        color: var(--black);
    }

    .homepage-features-card .feature-icon {
        height: 35px;
        object-fit: contain;
    }


    .homepage-features-card .features-header {
        padding: 25px;
        border-radius: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%
    }

        .homepage-features-card .features-header .arrow-icon {
            display: none;
        }

    .homepage-features-card .feature-details {
        background: #FAF7F4;
        width: 218px;
        height: fit-content;
        border-radius: 0 0 15px 15px;
        padding: 15px 9px 22px 9px;
        position: absolute;
        left: 0;
        cursor: default;
        top: 90px;
        display: none;
        animation: growDown1 400ms ease-in-out forwards
    }

@keyframes growDown1 {
    0% {
        transform: scaleY(0)
    }

    100% {
        transform: scaleY(1)
    }
}

    .homepage-features-card:hover .feature-details {
        display: block;
    }

.features-section .border-top {
    border-top: 1px solid #9E9E9E;
}

.features-section .feature-details p {
    padding: 14px 6px;
    color: #5A5A5A;
    font-weight: 500;
    font-size: 14px;
    line-height: 19px;
}

.features-section .feature-details .feature-link {
    color: var(--c4k-pink);
    padding-left: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.features-section .feature-details .feature-link:hover {
    color: var(--dark-pink);
    padding-left: 6px;
}

    .features-section .feature-details .feature-link span {
        text-decoration: underline;
        font-weight: 700;
        font-size: 14px;
    }

    .solutions-display{
        display: flex;
        flex-direction: row;
        gap: 20px; 
        margin-top: 30px;
    } 

        .solutions-display .solution-card {
            display: flex;
            background: #FFFFFF;
            box-shadow: 0px 4px 38px rgba(0, 0, 0, 0.12);
            border-radius: 10px;
            width: 460px;
            height: 102px;
            overflow:hidden;
            align-items: center;
        }

        .solutions-display .solution-card img{
            height: 100%;
            width: 113px;
            object-fit: cover;
        }

            .solutions-display .solution-card .solution-title {
                padding: 20px;
                font-weight: 700;
                font-size: 20px;
                line-height: 24px;
            }
                .solutions-display .solution-card .solution-title:hover {
                    color: var(--c4k-pink);
                }


                .solutions-display .solution-card .solution-title .icon {
                    padding-top: 7px;
                    padding-left: 5px;
                    color: var(--c4k-pink);
                }



.homepage .calculate-subsidy-cta, .homepage .parenting-news-cta {
    background-color: transparent !important;
}

    .homepage .calculate-subsidy-cta > div, .homepage .parenting-news-cta > div {
        border-radius: 65px;
        overflow: hidden;
    }




        @media only screen and (max-width: 1210px) {
            .homepage-helping-tab-container {
                display: none;
            }

            .homepage-helping-accordion-container {
                display: block;
                padding: 78px 20px 80px 20px;
            }

            .helping-section-accordion {
                margin-top: 45px;
            }

            .helping-btn-link {
                width: fit-content !important;
            }

            .accordion-title {
                background-color: transparent;
                color: #FFFFFF;
                font-weight: 500;
                font-size: 18px;
                cursor: pointer;
                padding: 18px;
                width: 100%;
                text-align: left;
                border-bottom: 1px solid;
                outline: none;
                transition: 0.4s;
                position: relative;
                display: flex;
                align-items: center;
                gap: 30px;
            }

                .accordion-title::after {
                    position: absolute;
                    content: "\203A";
                    transform: rotate(90deg);
                    font-size: 28px;
                    color: #FFFFFF;
                    height: 7px;
                    width: 20px;
                    top: 50.5%;
                    right: 0;
                }

                .accordion-title i {
                    font-size: 24px;
                    width: 24px;
                }

                .accordion-title.active {
                    color: #F6FF8F;
                    font-weight: 700;
                }

                    .accordion-title.active::after {
                        position: absolute;
                        content: "\203A";
                        transform: rotate(270deg);
                        font-size: 28px;
                        color: #F6FF8F;
                        height: 7px;
                        width: 20px;
                        top: 27%;
                        right: 40px;
                    }

            .accordion-body {
                padding: 0;
                background-color: #CAE4FF;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.2s ease-out;
                width: 100vw;
                margin-left: -25px;
                margin-top: -1px;
                z-index: 2;
                position: relative;
            }

            .accordion-content {
                padding: 50px 40px 80px 34px;
            }

                .accordion-content h3 {
                    color: #5A60EC;
                    font-size: 32px;
                    line-height: 38px;
                    padding-right: 0px;
                }

                .accordion-content p {
                    font-style: normal;
                    font-weight: 500;
                    font-size: 16px;
                    line-height: 26px;
                    color: #272727;
                }
        }



        @media only screen and (max-width: 1200px) {
            .homepage-helping-section {
                height: fit-content;
                flex-direction: column;
            }

                .homepage-helping-section .helping-text {
                    width: 100%;
                    border-right: none;
                }

            .homepage-helping-accordion-container .helping-text {
                width: 100%;
            }

            .homepage-helping-section .helping-tabs {
                width: 100%;
            }

            .homepage-topchildcare-section {
            }

                .homepage-topchildcare-section h2 {
                    font-size: 32px;
                }

                .homepage-topchildcare-section p {
                    padding-top: 2px;
                }

            .homepage-topchildcare-card-display {
                margin-top: 23px;
                padding-bottom: 45px;
                margin-bottom: 60px;
                display: flex;
                gap: 17px;
                height: 100%;
                max-width: 100%;
                overflow-x: auto;
            }

                .homepage-topchildcare-card-display::-webkit-scrollbar-track {
                    background: #FFFFFF !important;
                }
        }


        @media only screen and (max-width: 1150px) {
            .testimonial-card {
                width: 300px;
                min-width: 300px;
            }
        }



        @media only screen and (max-width: 1024px) {

            .homepage-logos-section {
                padding-top: 105px !important;
                padding-bottom: 60px !important;
            }

            .homepage-perfectcare-section {
                padding-top: 50px !important;
                padding-bottom: 82px !important;
            }

            .perfectcare-header {
                flex-direction: column;
            }

            .perfectcare-container {
                padding-top: 5px !important;
            }

                .perfectcare-container .perfectcare-header h2 {
                    max-width: 100%;
                    padding-right: 0px;
                }

                .perfectcare-container .perfectcare-header p {
                    max-width: 100%;
                }

            .perfectcare-cards-display {
                max-width: 100%;
                overflow-x: auto;
                padding-bottom: 30px;
                padding-right: 20px;
            }


            .homepage-testimonial-section {
                padding-top: 120px !important;
                padding-bottom: 103px !important;
            }

            .homepage-topreads-section {
                padding-top: 78px !important;
                padding-bottom: 45px !important;
            }

            .homepage-section .watch-frames-container {
                display: flex;
                flex-direction: row;
                max-width: 100%;
                overflow-x: scroll;
                padding-bottom: 40px;
            }

                .homepage-section .watch-frames-container .frame {
                    width: 347px;
                    height: 195px;
                    min-height: 195px;
                }

            .testimonial-cards-display {
                display: flex;
                max-width: 100%;
                overflow-x: auto;
                padding-top: 25px;
                padding-bottom: 47px;
                gap: 20px;
            }


            .testimonial-card:nth-child(3n+2) {
                transform: translateY(0px);
                margin-bottom: -0px;
            }

            .testimonial-card {
                height: auto;
                width: 266px;
                min-width: 266px;
            }

                .testimonial-card .testimonial-text {
                    min-height: 319px;
                    padding: 48px 24px 25px 35px;
                }

            .features-section {
                flex-direction: column;
                align-items: center;
                padding-bottom: 3rem;
                padding-left: 20px;
                padding-right: 20px;
                margin-top: 50px;
                width: 100%;
                gap: 15px;
            }

            .homepage-features-card {
                width: 100%;
                height: fit-content;
                background: #FFFFFF;
                display: block;
            }

                .homepage-features-card .features-header {
                    height: 85px;
                    width: 100%;
                    position: relative;                    
                }

                .homepage-features-card .features-header .arrow-icon{
                   display: block;
                }
                    .homepage-features-card .features-header.active .arrow-icon {
                        transform: rotate(180deg);
                    }


                .homepage-features-card .feature-details {
                    background: #FFFFFF;
                    width: 100%;
                    height: fit-content;
                    padding: 0px 19px 22px 19px;
                    position: relative;
                    left: 0;
                    top: 0;
                    display: none;
                }

                .homepage-features-card:hover .feature-details {
                    display: none;
                }

            .solutions-display {
                flex-direction: column;
            } 

        }

@media only screen and (max-width: 991px) {

    .homepage-banner{
        margin-top: -48px;
    }

    .perfectcare-video-section .video-container .video-js {
        height: 435px;
    }

    .new-site-header {
        border-bottom: none;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.26) 0%, rgba(0, 0, 0, 0.131338) 56.4%, rgba(0, 0, 0, 0) 100%);
    }
}

@media only screen and (max-width: 990px) {
}



@media only screen and (max-width: 768px) {
    .px-sm-20 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .c4k-ad-placement {
        height: fit-content;
        width: 100%;
    }

    .home-page-ads {
        width: 100% !important;
        height: fit-content !important;
    }

    .section-h2 {
        font-size: 32px;
    }

    .homepage-helping-dropdown {
        flex-direction: column;
    }

    .homepage-banner-content .childcare-banner {
        padding: 0px;
        margin-bottom: 9px;
    }

    .homepage-banner {
        padding-bottom: 70px !important;
        align-items: flex-end;
        border-radius: 0 0 65px 65px;
        padding-left: 20px !important;
        min-height: 800px;
        height: 100%;
    }

        .homepage-banner .homepage-banner-image {
            border-radius: 0 0 65px 65px;
        }

        .homepage-banner .childcare-overlay {
            width: 100% !important;
/*            background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);*/
            transform: rotate(180deg);
            border-radius: 65px 65px 0 0;
        }

    .homepage-signup-banner .childcare-overlay {
        width: 100% !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
        transform: rotate(180deg);
        border-radius: 65px;
    }

    .homepage-signup-content {
        padding-left: 10%;
        padding-right: 25px;
    }

        .homepage-signup-content h2 {
            font-size: 48px;
            line-height: 53px;
        }

    .homepage-banner-heading {
        font-size: 36px;
        margin-bottom: 10px;
    }

        .homepage-banner-heading .banner-sub-title {
            max-width: 100%;
            font-size: 18px;
            margin: 5px 20px;
        }

    .perfectcare-video-section .video-container {
        max-width: 910px;
        min-height: 50px;
        margin-top: 50px;
    }

        .perfectcare-video-section .video-container .video-js {
            height: 255px;
        }

    .perfectcare-video-section .video-js .vjs-big-play-button {
        height: 38px;
    }

    .care-next-btn {
        height: 50px;
        width: 50px;
    }

    .homepage-logos-display img {
        height: 20px;
        min-height: 20px;
        object-fit: contain;
    }

    .solutions-display .solution-card{
        width: 100%;
        height: fit-content;
    }

        .solutions-display .solution-card .solution-title {
            padding: 10px 20px;
            font-size: 18px;
            line-height: 22px;
        }

                    .solutions-display .solution-card .solution-title:hover {
                        color: var(--c4k-pink);
                    }


                    .solutions-display .solution-card .solution-title .icon {
                        padding-top: 10px;
                        padding-left: 2px;
                    }
    }


@media only screen and (min-width: 3200px) {
    .perfectcare-slider-container {
        margin-left: calc(50% - 1400px);
    }
}
