


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-1440 {
    max-width: 1280px;
    margin: auto;
    padding: 0 80px;
    width: 100%;
}

a:visited {
    color: none;
}

[data-animate="left"] {
    opacity: 0;
    transform: translateX(-20px);
    visibility: hidden;
}

[data-animate="right"] {
    opacity: 0;
    transform: translateX(20px);
    visibility: hidden;
}

[data-animate].animate {
    animation: slideIn 1.5s ease forwards;
    visibility: visible;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(var(--slide-offset, 0));
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

[data-animate="left"] {
    --slide-offset: -20px
}

[data-animate="right"] {
    --slide-offset: 20px;
}


/* ---------------------------------------Hero section idream-------------------------------------------- */

.hero-section-idreampage {
    margin-top: 160px;
}


.hero-section-idreampage-heading>h1 {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 60px;
    line-height: 1.4;
    text-align: center;
    color: #212121;
}

.hero-section-idreampage-heading>h1>span {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 100px;
    line-height: 1.4;
    text-align: center;
    color: #1BB1E7;
}

.middle-background-section {
    width: 100%;
    background: linear-gradient(180deg, #CDF0F9 0%, rgba(205, 240, 249, 0) 100%);
    position: relative;
    margin-top: 160px;
    height: 175px;
    display: flex;
    justify-content: center;
}


.idream-products-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 25px;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 50%;
}
.fade-element {
    opacity: 0;
    transition: opacity 1s ease-in;
  }
  
  .fade-element.visible {
    opacity: 1;
  }

.idream-product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100%/5);
    height: 260px;
    background: #FFFFFF;
    border: 1px solid #DEDEDE;
    box-shadow: 13.0775px 12.3684px 0px rgba(18, 17, 17, 0.07), 7.70005px 7.28253px 0px rgba(18, 17, 17, 0.050624), 3.95465px 3.74021px 0px rgba(18, 17, 17, 0.039312), 1.59023px 1.504px 0px rgba(18, 17, 17, 0.030688), 0.355709px 0.336421px 0px rgba(18, 17, 17, 0.019376);
    border-radius: 30px;
    padding: 15px 8px;
    text-decoration: none !important;
    padding-top: 25px;
}

.idream-products-container-mobile{
    display: none !important;
}



a:focus {
    outline: none;
}

.idream-product-card>div>h3 {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
    color: #212121;
    text-align: center;
}

.idream-product-card>div>p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.01em;
    color: #212121;
    margin-bottom: 0.5rem;

}

.idream-product-card>div>img {
    display: flex;
    margin: 0;
    width: 60%;
}

.idream-product-card-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/*------------------------------------------------What makes us different-----------------------------------------------------  */

.makes-us-different {
    margin-top: 140px;
}

.makes-us-different-heading>h2 {
    font-family: Poppins;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.4px;
    letter-spacing: 0%;
    text-align: center;
    color: #212121;
}

.makes-us-different-content-container {
    display: flex;
    justify-content: space-between;
    margin-top: 96px;

}

.makes-us-different-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-top: 60px;
    width: 50%;
}

.makes-us-different-content-heading>h3 {
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: #212121;
    width: 80%;
}


.makes-us-different-content-paragraph>p {
    width: 80%;
    margin-top: 40px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: #575756;
    margin: 1rem 0px;
    cursor: pointer;
}

.makes-us-different-content-button>a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #1BB1E7;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.makes-us-different-images {
    width: 50%;
    display: flex;
    justify-content: end;

}

.why_div_img-1,
.why_div_img-2 {
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------Let's work together-------------------------------------------------- */

.work-together {
    margin-top: 100px;
}

.work-together-heading>h2 {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 48px;
    line-height: 1.4;
    color: #212121;
    text-align: center;
}


.work-together-row {
    display: flex;
    justify-content: center;
    gap: 36px;
}

.work-together-card {
    background: #FFFFFF;
    border: 1px solid #DEDEDE;
    box-shadow: 13.0775px 12.3684px 0px rgba(18, 17, 17, 0.07), 7.70005px 7.28253px 0px rgba(18, 17, 17, 0.050624), 3.95465px 3.74021px 0px rgba(18, 17, 17, 0.039312), 1.59023px 1.504px 0px rgba(18, 17, 17, 0.030688), 0.355709px 0.336421px 0px rgba(18, 17, 17, 0.019376);
    border-radius: 25px;
    display: flex;
    justify-content: start;
    flex-direction: column;
    height: auto;
    gap: 8px;
    padding: 30px 45px;
    width: 35%;
    margin-top: 48px;
}

.work-together-leftIMG {
    left: 0%;
    position: absolute;
    margin-top: 70px;
}

.work-together-leftIMG>img,
.work-together-rightIMG>img {
    width: 270px;
    height: 220px;
}

.work-together-rightIMG {
    right: 0%;
    position: absolute;
    margin-top: -18%;
}

.work-together-card>h3 {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 117.5%;
    color: #212121;
}


.work-together-card>p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.01em;
    color: #575756;
    margin-bottom: 0;
}

.work-together-button {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.work-together-button>a>button {
    background: #14B1E7;
    padding: 20px 50px;
    border-radius: 6px;
    font-size: 18px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-family: 'Poppins';
    cursor: pointer;
}

/* ---------------------------------------------Get more out of iDream Education-------------------------------*/


.out-of-idream {
    margin-top: 120px;
}

.out-of-idream-heading>h2 {
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 48px;
    line-height: 1.4;
    color: #212121;
    text-align: center;
}

.out-of-idream-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.out-of-idream-header>ul {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0 40px;
    width: fit-content;
    border-bottom: 2px solid #C0C0C0;
    width: 55%;
}


.out-of-idream-header>ul>li {
    list-style-type: none;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #202030;
    border: none;
    cursor: pointer;
}


.out-of-idream-header>ul>.active-list-item {
    font-size: 20px;
    border-bottom: 3px solid #1BB1E7;
    padding: 0px 10px;
    padding-bottom: 15px;
}


.out-of-idream-container {
    display: none;
    justify-content: space-between;
    gap: 40px;
    margin-top: 60px;
    align-items: start;
}

.out-of-idream-card {
    cursor: pointer;
    width: calc(100%/3);
    height: 408px;
    background: #FFFFFF;
    box-sizing: border-box;
    border-radius: 40px;
    transition: all 0.4s ease-in-out;
    background-size: cover;
    box-shadow: 13.0775px 12.3684px 0px rgba(18, 17, 17, 0.07), 7.70005px 7.28253px 0px rgba(18, 17, 17, 0.050624), 3.95465px 3.74021px 0px rgba(18, 17, 17, 0.039312), 1.59023px 1.504px 0px rgba(18, 17, 17, 0.030688), 0.355709px 0.336421px 0px rgba(18, 17, 17, 0.019376);
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 35px;
}

.out-of-idream-card>p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4;
    color: white;
    margin-bottom: 0;
}

.out-of-idream-card-date {
    display: flex;
    justify-content: start;
    align-items: center;
    color: white;
    font-family: 'Inter';
    font-style: normal;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
}


.out-of-idream-card-read-more>a {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
}

.out-of-idream-card-read-more>a:focus {
    outline: none;
}


.out-of-idream-card-read-more>a>p {
    color: white;
    font-family: 'Inter';
    font-style: normal;
    font-size: 14px;
    letter-spacing: 0.01em;
    margin-bottom: 0;
}


/* ---------------------Digital Learning Solutions------------------------ */

.digital-learning-solution {
    margin-top: 150px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
    height: 400px;

}

.digital-learning-solution-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 40px;
}

.digital-learning-solution-content-heading>h2 {
    font-family: "Poppins";
    font-weight: 400;
    font-size: 48px;
    color: rgb(38, 37, 47);
    line-height: 1.4;
    text-align: left;
}

.digital-learning-solution-button>a {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
    color: #1BB1E7;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.digital-learning-solution-cards-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
    align-items: start;
}

.digital-learning-solution-card {
    width: 85%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    box-shadow: 13.0775px 12.3684px 0px rgba(18, 17, 17, 0.07), 7.70005px 7.28253px 0px rgba(18, 17, 17, 0.050624), 3.95465px 3.74021px 0px rgba(18, 17, 17, 0.039312), 1.59023px 1.504px 0px rgba(18, 17, 17, 0.030688), 0.355709px 0.336421px 0px rgba(18, 17, 17, 0.019376);
    border-radius: 12px;
    transition: all 0.5s linear;
    cursor: pointer;
    overflow: hidden;
    padding: 20px;
    padding-bottom: 10px;
}

.active-card .digital-learning-solution-card-paragraph>p {
    max-height: 200px;
}

.digital-learning-solution-card-heading>h4 {
    font-size: 16px;
    font-family: "Poppins";
    color: rgb(38, 37, 47);
    line-height: 1.4;
    font-weight: 600;
}

.digital-learning-solution-card-paragraph>p {
    font-size: 15px;
    font-family: "Inter";
    color: rgb(87, 87, 86);
    line-height: 1.4;
    font-weight: 400;
    margin-top: 10px;
    margin-bottom: 0;
    overflow: hidden;
    height: 100%;
    max-height: 0;
    transition: max-height 1s ease-in-out;
}



/* ----------------------------------------------Stories that inspire----------------------------------------- */

.stories-that-inspire {
    margin-top: 130px;
}

.stories-that-inspire-container {
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: start;

}

.stories-that-inspire-heading>h2 {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.4;
    text-align: center;
    color: #212121;
}

.stories-that-inspire-row {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: start;
    width: calc(95%/3);
}

.stories-that-inspire-card {
    border-radius: 20px;
    border: 1px solid #DEDEDE;
    background: #FFFFFF;
    box-shadow: 13.078px 12.368px 0px 0px rgba(18, 17, 17, 0.07), 7.7px 7.283px 0px 0px rgba(18, 17, 17, 0.05), 3.955px 3.74px 0px 0px rgba(18, 17, 17, 0.04), 1.59px 1.504px 0px 0px rgba(18, 17, 17, 0.03), 0.356px 0.336px 0px 0px rgba(18, 17, 17, 0.02);
    padding: 30px 35px;
}

.stories-that-inspire-card>p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #575756;
    margin: 1rem 0;
}


.stories-that-inspire-card>h4 {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #202030;

}

/*------------------------------------------------Connect with us--------------------------------------------------*/

.contact-container {
    background-color: #CDF0F9;
    padding: 80px 90px 80px 90px;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 120px;
}




.contact-container-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 24px;
}


.contact-container-text p {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 24px;
    color: #323232;
    text-align: left;
    line-height: 40px;
    width: 90%;
}

.contact-container-text button {
    border: none;
    background: #FFFFFF;
    border-radius: 7.61828px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.01em;
    color: #14B1E7;
    padding: 10px 40px;
    text-align: center;
    margin-bottom: 0px;
    cursor: pointer;
}

.contact-container-img>img {
    width: 525px;
}


/* ----------------------------------------------Homepage footer------------------------------------------------- */


.home-footer-container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    border-top: 1px solid #EEEEEE;
    padding-top: 45px;
    margin-top: 80px;
    gap: 5%;
}

.home-footer-container-card>ul>li>h3 {

    font-family: "Poppins";
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    font-style: normal;
    color: #202030;

}

.home-footer-container-card>ul>li>a {
    text-decoration: none;
    font-family: Inter;
    font-size: 14px;
    color: #212121;
}

.home-footer-container-card>ul {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    list-style: none;
    margin: 0;
}


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

    .hero-section-idreampage-heading>h1,
    .makes-us-different-heading>h2,
    .work-together-heading>h2,
    .out-of-idream-heading>h2,
    .stories-that-inspire-heading>h2 {
        font-size: 42px;
        line-height: 1.4;
    }

    .work-together,
    .out-of-idream,
    .digital-learning-solution,
    .stories-that-inspire,
    .contact-container,
    .home-footer-container {
        margin-top: 70px;
    }

    .hero-section-idreampage-heading>h1>span {
        font-size: 80px;
    }

    .work-together-leftIMG>img,
    .work-together-rightIMG>img {
        width: 170px;
        height: 150px;
    }

    .work-together-rightIMG {
        margin-top: -20%;
    }

    .makes-us-different {
        margin-top: 120px;
    }

    .hero-section-idreampage {
        margin-top: 120px;
    }

    .digital-learning-solution-content-heading>h2 {
        font-size: 32px;
    }

    .idream-product-card {
        width: calc(100%/4);
    }

    .idream-product-card>div>p {
        font-size: 13px;
    }
}

@media screen and (max-width: 1200px){
    .middle-background-section{
        width: 100%;
        background: linear-gradient(180deg, #CDF0F9 0%, rgba(205, 240, 249, 0) 100%);
        position: relative;
        margin-top: 20%;
        height: 350px;
        display: flex;
        justify-content: center;
    }

    
    .idream-products-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    
    .idream-product-card {
        border-radius: 10px;
    }

}

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

    .work-together-card {
        padding: 25px 30px;
        width: 37%;
    }

    .stories-that-inspire-container {
        margin-top: 40px;
    }

    .stories-that-inspire-container {
        margin-top: 50px;
        flex-direction: column;
    }

    .stories-that-inspire-row {
        flex-direction: row;
        width: 100%;
    }

    .stories-that-inspire-card {
        width: 50%;
    }

    .contact-container {
        padding: 50px 60px;
    }

}


@media screen and (max-width: 992px) {
    .container-1440 {
        padding: 0 30px;
    }

    .hero-section-idreampage-heading>h1,
    .makes-us-different-heading>h2,
    .work-together-heading>h2,
    .out-of-idream-heading>h2,
    .stories-that-inspire-heading>h2 {
        font-size: 32px;
    }

    .hero-section-idreampage-heading>h1>span {
        font-size: 50px;
    }

    .makes-us-different {
        margin-top: 70px;
    }

    .why_img {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
    }

    .makes-us-different-content {
        margin-top: 0;
    }

    .work-together-leftIMG,
    .work-together-rightIMG {
        display: none;
    }

    .work-together-card {
        width: 50%;
    }

    .makes-us-different-content-heading>h3 {
        width: 85%;
        margin-top: 10px;
        font-weight: normal;
    }

    .work-together-button>a>button {
        padding: 15px 30px;
        font-size: 14px;
    }

    .out-of-idream-card {
        padding: 20px;
    }

    .out-of-idream-card>p {
        font-size: 16px;
    }

    .out-of-idream-header {
        margin-top: 30px;
    }

    .out-of-idream-container {
        margin-top: 40px;
        gap: 20px;
    }

    .digital-learning-solution-content-heading>h2 {
        font-size: 28px;
    }

    .digital-learning-solution-card {
        width: 100%;
    }

    .contact-container-text p {
        font-size: 24px;
        line-height: 1.4;
    }

    .contact-container-text button {
        font-size: 16px;
    }

    .home-footer-container {
        padding-top: 35px;
    }

    .contact-container {
        padding: 40px 50px;
    }
    .middle-background-section{
        margin-top: 28%;
    }

    .makes-us-different-content-container{
        margin-top: 50px;
    }
}

@media screen and (max-width: 850px) {
    
    .out-of-idream-container {
        flex-direction: column;
    }

    .out-of-idream-card{
        width: 100%;
    }

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

    .idream-product-card {
        width: calc(100%/3);
    }

    .contact-container-text p {
        font-size: 16px;
    }

    .contact-container-img>img {
        width: 350px;
    }

    .contact-container-text button {
        padding: 6px 25px;
        font-size: 14px;
    }


    .makes-us-different-content-container {
        flex-direction: column-reverse;
        gap: 35px;
    }

    .makes-us-different-content,
    .makes-us-different-images {
        width: 100%;
    }

    .work-together-row {
        flex-direction: column;
        gap: 0;
    }

    .work-together-card {
        width: 100%;
        border-radius: 12px;
        margin-top: 36px;
    }

    .work-together-button {
        margin-top: 36px;
    }

    .makes-us-different-content-heading>h3,
    .makes-us-different-content-paragraph>p {
        width: 100%;
    }


    .digital-learning-solution {
        height: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .digital-learning-solution-card {
        width: 100%;
    }

    .stories-that-inspire-row {
        flex-direction: column;
    }

    .stories-that-inspire-card {
        width: 100%;
    }

    .home-footer-container {
        flex-wrap: wrap;
    }

    .home-footer-container-card {
        margin-top: 20px;
    }

    .home-footer-container {
        padding-top: 20px;
    }

    .state-board-list-at-footer {
        grid-template-columns: 1fr 1fr;
    }


    .middle-background-section{
        margin-top: 45%;
        height: 550px;
    }

}

@media screen and (max-width: 600px) {
    .container-1440 {
        padding: 0 22px;
    }

    .work-together,
    .out-of-idream,
    .digital-learning-solution,
    .stories-that-inspire,
    .contact-container,
    .home-footer-container {
        margin-top: 50px;
    }

    .hero-section-idreampage-heading>h1,
    .makes-us-different-heading>h2,
    .work-together-heading>h2,
    .out-of-idream-heading>h2,
    .stories-that-inspire-heading>h2 {
        font-size: 24px;
    }

    .hero-section-idreampage-heading>h1>span {
        font-size: 28px;
    }

    .home-footer-container {
        padding-top: 24px;
    }

    .contact-container {
        flex-direction: column-reverse;
        gap: 30px;
        padding: 35px 48px;
    }

    .idream-products-container {
        gap: 32px;
    }

    .contact-container-text p {
        width: 100%;
    }

    .out-of-idream-header>ul {
        width: 100%;
    }

    .out-of-idream-header>ul{
        padding: 0;
    }

    .idream-product-card {
        width: calc(80%/2);
    }

    .middle-background-section{
    display: none;
    }

    .idream-products-container-mobile{
        display: flex !important;
        position: static;
        margin-top: 6%;
    }
}


@media screen and (max-width: 490px) {
    .idream-product-card {
        width: calc(90%/2);
    }

    .idream-products-container {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 390px) {
    .idream-product-card {
        width: 90%;
        height: 100%;
    }
}