body {
    overflow-x: hidden;
    overflow-y: inherit;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-height: max-content;
    max-width: 100vw;
}

html {
    max-height: 1300dvh;
    scroll-behavior: smooth;
}



.width-container {
    padding-left: 5%;
    padding-right: 5%;
}

.custom-padding-5 {
    padding-top: 5%;
}

.custom-h1 {
    font-size: 36px;

    font-weight: 550;
    background: linear-gradient(90deg, oklch(36% 0.50 340), oklch(90% 0.5 200));
    color: transparent;
    -webkit-background-clip: text;
}

.custom-h2 {
    font-size: 30px;
}

.custom-h3 {
    font-size: 26px;
    line-height: 48px;
    color: rgb(128, 128, 128);
}

.custom-h4 {
    font-size: 18px;
    line-height: 32px;
    color: rgb(128, 128, 128);
}

.cards-h5 {
    font-size: 16px;
    line-height: 28px;
}

.cards-h6 {
    font-size: 14px;
    line-height: 26px;
    text-align: center;
    opacity: .8;
}

.sec-2-heading {
    font-size: 36px;
    font-weight: 500;
}

.vl {
    border-left: 1px solid rgb(209, 209, 209);
    min-height: fit-content;
}

#test {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 5em;
    font-weight: bold;
}

span {
    background: linear-gradient(-60deg, rgba(255, 255, 255, 0) 33.3%, rgba(255, 255, 255, 1) 66.7%);
    background-size: 300% 100%;
    background-position-x: calc(100% - var(--percentage));
    -webkit-background-clip: text;
}


@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.anim-text {
    font-size: clamp(3rem, 1.5vw, 3rem);
    font-weight: bold;
    background: linear-gradient(to right,
            #7953cd 20%,
            #00affa 30%,
            #0190cd 70%,
            #764ada 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

.card-body {
    padding: .5rem .5rem !important;
}

.topic-card {
    background-color: #f9f9f9;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 320px !important;
    width: 300px !important;
}

.topic-card:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #e2e0fa, #ffffff);
    opacity: 1 !important;
}

.topic-card img {
    margin-top: 10px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.card-text {
    color: #666666;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .topic-card {
        width: 100%;
        margin-bottom: 20px;
    }
}


.stat-card {
    background: linear-gradient(135deg, #fae0f9, #ffffff);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background-color: #f0f4f8;
}

.stat-content {
    flex: 0 0 70%;
    padding: 30px;
}

.stat-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #866c6c;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #007bff;
    margin: 5px 0;
}

.stat-description {
    font-size: 1em;
    color: #666666;
    margin-top: 5px;
}

.stat-image {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.carousel-indicators {
    top: 150% !important;
}

.carousel-item {}

.challenge_icon {
    height: 64px;
    width: 64px !important;
}



@media screen and (min-width: 481px) and (max-width:768px) {
    .custom-h1 {
        font-size: 28px;
        line-height: 32px;
    }

    .anim-text {
        font-size: 24px !important;
    }

    .problems_sub_header {
        font-size: 20px;
    }

    .problems_header2 {
        font-size: 16px;
        line-height: 22px;
    }

    .solution_sub_header {
        font-size: 20px;
    }

    .cards-h5 {
        font-size: 14px;
        line-height: 20px;
    }

    .card-text {
        font-size: 12px;
    }

    .parent>.card {
        width: 100% !important;
        height: 90%;
        padding: 5px;
    }

    .content {
        padding: 30px 30px 0 25px !important
    }

    .title {
        font-weight: 500 !important;
    }

    .challenge_icon {
        height: 46px;
        width: 46px !important;
    }

    .anim-text {
        font-size: 24px !important;
    }

    .topic-card {
        margin: 2px;
        height: 280px !important;
        width: 350px !important;
    }

    .stat-card {
        padding: 5px;
        padding-right: none !important;
        height: 60%;
    }

    .stat-content {
        padding: 15px;
    }

    .stat-content .cards-h6 {
        font-size: 12px;
        line-height: 18px;
    }

    .carousel-indicators {
        top: 120% !important;
    }

}

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

    .custom-h1 {
        font-size: 28px;
    }

    .anim-text {
        font-size: 28px !important;
    }


    .problems_sub_header {
        font-size: 20px;
    }

    .problems_header2 {
        font-size: 16px;
        line-height: 22px;
    }

    .solution_sub_header {
        font-size: 20px;
    }

    .topic-card {
        height: 270px !important;
        width: 300px !important;
    }

    .cards-h5 {
        font-size: 14px;
        line-height: 20px;
    }

    .card-text {
        font-size: 12px;
    }

    .parent>.card {
        width: 100% !important;
        height: 95%;
        padding: 5px;
    }

    .content {
        padding: 30px 30px 0 25px !important
    }

    .title {
        font-weight: 500 !important;
    }

    .challenge_icon {
        height: 40px;
        width: 40px !important;
    }

}




@media screen and (min-width: 1025px) and (max-width: 1261px) {
    .custom-h4 {
        font-size: 18px;
        line-height: 26px;
        color: rgb(128, 128, 128);
    }

    .cards-h5 {
        line-height: 22px;
    }

    .topic-card {
        min-height: auto;
        height: 350px !important;
        width: 300px !important;
    }
}


@media screen and (max-width: 1536px) and (max-height: 819px) {
    .custom-h1 {
        font-size: 28px;
    }

    .problems_sub_header {
        font-size: 20px;
    }

    .problems_header2 {
        font-size: 16px;
        line-height: 22px;
    }

    .solution_sub_header {
        font-size: 20px;
    }

    .topic-card {
        height: 270px !important;
        width: 300px !important;
    }

    .cards-h5 {
        font-size: 14px;
        line-height: 20px;
    }

    .card-text {
        font-size: 12px;
    }

    .parent>.card {
        width: 100% !important;
        height: 95%;
        padding: 5px;
    }

    .content {
        padding: 30px 30px 0 25px !important
    }

    .title {
        font-weight: 500 !important;
    }
}

@media screen and (max-width:1024px) and (min-height: 601px) {
    .card {
        padding: 5px !important;
        background-color: red;
    }

    .topic-card {
        padding: 5px !important;
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    .anim-text {
        font-size: 24px !important;
    }

    .carousel-indicators {
        top: 100% !important;
    }

    .topic-card {
        height: 70% !important;
        width: 95% !important;
    }

    .stat-card {
        padding-right: none !important;
        height: 60%;
        width: 100%;
        margin-right: 5%;
    }

    .stat-content {
        display: flex;
        align-items: center;
    }

    .stat-content .cards-h6 {
        font-size: 12px;
        line-height: 18px;
    }

    .stat-content {
        flex: 0 0 100%;
    }

    .stat-image {
        display: none;
    }

    .custom-h3 {
        font-size: 24px;
        line-height: 36px;
        color: rgb(128, 128, 128);
    }
}

@media (max-width: 280px) {
    .content {
        padding: 10px 20px 0 15px !important;
    }

}