@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');

/* font-family: "Manrope", sans-serif; */
/* font-family: "Inter", sans-serif; */

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

/* primary color #261fb3 */

html,
body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

#pediaStroke {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
}

a,
p,
span, small ul, ul li{
    font-family: "Inter", sans-serif;
    color: #222;
}

a {
    text-decoration: none;
    color: #222;
}

::-webkit-scrollbar {
    display: none;
}

.PediaHero, .CausesSection{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.PediaHeroContainer{
    width: 100%;
    max-width: 1400px;
    min-height: 450px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.PediaHeroContainer{
    background-image: url(./pedia\ stroke\ hero.jpg);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20px;
}

.pediaOverlay{
    width: 100%;
    height: 100%;
    min-height: 450px;
    /* max-width: 850px; */
    padding: 20px;
    text-align: center;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #ffffff60;
    backdrop-filter: blur(10px);
}


.pediaOverlay h4{
    font-size: 1rem;
    font-weight: 500;
    color: #372ffc;
    text-decoration: underline;
    margin-bottom: 15px;
}

.pediaOverlay h1{
    font-size: 3rem;
    line-height: 3.5rem;
    font-weight: 650;
    max-width: 750px;
    margin-bottom: 20px;
    text-align: center;
}

.pediaOverlay p{
    margin-bottom: 15px;
    max-width: 700px;
}

.pediaOverlay a{
    margin-top: 15px;
    padding: 10px 25px;
    background: linear-gradient(125deg, #25228d, #372ffc);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 15px;
}

.CausesContainer{
    width: 100%;
    max-width: 1400px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 30px;
}

.causes-Left, .causes-Right{
    width: 50%;
    height: auto;
    padding: 10px;
}

.causes-Right{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-direction: column;
}

.causes-Left h4{
    font-size: 1rem;
    font-weight: 500;
    color: #372ffc;
    text-decoration: underline;
}

.causes-Left h1{
    color: #111;
    font-size: 3rem;
    line-height: 3.5rem;
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 85%;
}

.causes-Left p{
    color: #222;
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 80%;
}

.causesCta{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

.cause-Cta1, .cause-Cta2{
    padding: 10px 25px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.cause-Cta1{
    background: linear-gradient(125deg, #25228d, #372ffc);
    color: #fff;
}

.cause-Cta2{
    border: 1px solid #25228d;
    color: #222;
}

.causes-Left ul li{
    margin-left: 15px;
    margin-bottom: 3px;
    font-size: 1rem;
    list-style: disc;
}

.causes-Left ul{
    margin-top: 10px;
    margin-bottom: 20px;
}

.CausesCards{
    width: 100%;
    height: auto;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 15px 15px;
}

.causesCard{
    width: 50%;
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 5px 5px 60px #25228d15;
    border: 1px solid #25228d10;
    border-radius: 15px;
    transition: all .3s ease-in-out;
}

.causesCard:hover{
    transform: translateY(-5px);
    box-shadow: 10px 10px 60px #25228d25;
}

.causesCard h4{
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #25228d;
}

.causesCard p{
    color: #333;
    text-align: justify;
}

.riskFactorContainer{
    overflow-y: hidden;
}

.riskSlider-1, .riskSlider-2{
    overflow: hidden;
}

.riskFactCard{
    min-width: 20%;
    width: auto;
    max-width: 30%;
}


/* responsive code */
@media only screen and (max-width:768px){
    body{
        width: 100%;
        height: 100%;
        /* padding:0 10px; */
    }

    .PediaHero, .PediaHeroContainer, .pediaOverlay, .CausesSection, .CausesContainer, .causes-Left, .causes-Right{
        width: 100%;
        height: auto;
        padding: 0 10px;
    }

    .PediaHero{
        padding: 0 10px;

        .PediaHeroContainer{
            min-height: 500px;
            margin: 0;
            padding: 8px;

            .pediaOverlay{
                min-height: 500px;
            }
        }
    }


    

    .pediaOverlay h1{
        font-size: 2rem;
        line-height: 2.5rem;
    }


    .CausesSection{
        
        .CausesContainer{
            margin: 50px 0;
            padding: 0;
            gap: 30px;

            .causes-Right{

                .CausesCards{
                    gap: 15px;

                    .causesCard{
                        height: 250px;
                    }
                }
            }
        }
    }

    .CausesContainer{
        flex-wrap: wrap;
    }

    .causes-Left, .causesCta{
        text-align: left;
    }

    .causes-Left h4, .causes-Left h1, .causes-Left p{
        width: 100%;
        max-width: 100%;
    }

    .causes-Left h1{
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .causesCta{
        width: 100%;
        flex-wrap: wrap;
    }

    .cause-Cta1, .cause-Cta2{
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .riskFactorContainer .section-heading{
        font-size: 2rem;
        line-height: 2.5rem
    }

}
/* responsive code */
