#hero-section{
    width: 100%;
    height: calc(100svh - 52px - 22px);
    background-image: url('/static/assets/background-images/main-image.svg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--primary-shade);
    font-family: 'Sansation-regular';
    display: flex;
    align-items: center;
}


#hero-written-section{
    max-width: 550px;
    /* margin-top: auto;
    margin-bottom: auto; */
    margin-left: var(--style-position);
    margin-right: var(--style-position);
}

#hero-slogan{
    font-size: clamp(52px, 10vw, 96px);
}

#hero-slogan-sup-desc{
    font-size: clamp(24px, 5vw, 32px);
}

#hero-get-counselling{
    font-size: 16px;
    padding: 9px;
    border-radius: 13px;
    background-color: var(--accent-color);
    color: var(--main-color);
    margin-top: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 11px;
    border: none;
    position: relative;
    width: fit-content;
    text-decoration: none;
}

#hero-get-counselling:active{
    /* outline: 2px solid black; */
    scale: 95%;
}


#hero-get-counselling img{
    width: 30px;
}



@media screen and (max-width: 700px) {
    #hero-section{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }


    #hero-get-counselling{
        position: absolute;
        right: var(--style-position);
        top: calc(100svh  - 45px - 13vw);
    }
}






/* CYAS  SECTION */
#cyas{
    display: grid;
    justify-content: center;
    align-content: center;
    align-items: center;
    grid-template-areas:         
        "box1 box2"       
        "box1 box3";
    /* min-height: 90svh; */
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

#cyas-image-container{
    width: clamp(340px, 47vw, 812px);
}

#cyas img{
    max-width: 100%;
}


#cyas-text-section{
    grid-area: box2;
}


#cyas-text-section h1{
    font-size: clamp(32px, 3vw, 64px);
    font-family: "Inter-bold";
    font-weight: 600px;
    margin-bottom: 12px;
}

#cyas-text-section h1 span{
    color: var(--accent-color);
}

#cyas-text-section p#cyas-desc{
    font-size: clamp(16px, 2vw, 36px);
}


#icai-block{
    /* display: flex;
    justify-content: center;
    flex-flow: column; */
    grid-area: box3;
    display: flex;
    height: 100%;
    flex-flow: column nowrap;
    justify-content: space-evenly;

}

.icai-block-top-section{
    display: grid;
    grid-template-columns: 1fr;
    /* width: 545px; */
    justify-items: start;
    align-items: center;
    gap: 1rem;
    width: 100%;
}


/* .icai-block-top-section hr{
    transform: rotate(0deg);
    width: 0px;
    height: 77px;
} */

/* .tags{
    display: flex;
    justify-content: start;
    gap: 15px;
    width: fit-content;
} */


.tags{
    display: grid;
    grid-template-columns: 1fr 3fr;
    width: 229px;
}

.tag-icon{
    width: 40px;
}

/* .tag-desc{
        display: flex;
    flex-flow: column;
    justify-content: space-between;
} */

.tag-heading{
    font-family: "Inter-bold";
}



@media screen and (max-width: 1150px) {
    #cyas {
        display: grid;
        justify-content: center;
        align-content: center;
        align-items: end;
        grid-template-areas: 
            "box2 box2"
            "box1 box1"
            "box3 box3";
        /* min-height: 90svh; */
        /* grid-template-columns: 1fr 1fr; */
        grid-template-rows: auto 1fr 1fr;
        gap: 0px;
        margin-top: 1rem;
        margin-bottom: 1rem;
        max-width: 100svh;
    }

}



/* Guarantee plan section */

#guarantee-plan-container{
    background: linear-gradient(to bottom, var(--main-color), #d8a1161a);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

/* #guarantee-plan-container .container-heading{
    margin: 3rem;
} */

#guarantee-plan-container .container-heading h1{
    color: var(--accent-color);
}

#guarantee-plan-container .section-desc{
    text-align: center;
}

/* #guarantee-plan-container h2{
    font-family: 'Inter-bold';
} */

#guarantee-plan{
    display: grid;
    grid-template-columns: repeat(3, 360px);
    grid-template-rows: auto;
    grid-auto-rows: 180px;
    margin: auto var(--style-position);
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 3rem;
    min-height: 80svh;
}


.plan-box{
    width: 360px;
    height: 180px;
    border-radius: 22px;
    box-shadow: 0px 0px 5px #00000042, 0px 4px 4px #00000017;
    padding: 2rem;
    background-color: var(--main-color);
}

#guarantee-plan .box-icon{
    margin-bottom: 1rem;
    height: 29px;
}

#guarantee-plan .box-heading{
    font-family: 'Inter-bold';
    /* margin-bottom: 10px; */
    font-size: 24px;
}


@media screen and (max-width: 1245px) {
    #guarantee-plan{
        grid-template-columns: repeat(2, minmax(360px, 1fr));
        margin-bottom: 3rem;
        margin-top: 2rem;
    }
}


@media screen and (max-width: 785px) {
    #guarantee-plan{
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .plan-box{
        width: 100%;
        /* min-height: 220px; */
        padding: 1rem;
    }


    #guarantee-plan .box-icon{
        margin-bottom: 0.5rem;
        height: 20px;
    }


    #guarantee-plan-container .box-heading{
        font-size: 16px;
    }

    #guarantee-plan-container .box-desc{
        font-size: 13px;
    }
}



/* PURCHASE PLAN SECTION */

#purchase-plans{
    margin: auto var(--style-position);
    margin-top: 4rem;
}

#purchase-plans .heading{
    text-align: center;
    color: var(--accent-color);
}

#plan-selection{
    margin: 1rem;
}

#plans-container{
    margin: auto;
    width: clamp(17rem, 24vw, 30rem);
    display: flex;
    /* gap: 1rem; */
    font-size: clamp(13px, 1.5vw, 16px);
    /* height: 3rem; */
    text-align: center;
    /* border: 1px solid; */
    border-radius: 100px;
    padding: 3px;
    outline: 1px solid var(--primary-shade);
    background-color: var(--accent-shade2);
}

.plan-tab{
    flex-grow: 1;
    text-decoration: none;
    list-style-type: none;
    /* padding: 1rem; */
    width: 100%;
    height: 100%;
    line-height: clamp(1.5rem, 2vw,2.5rem);
    /* border: 1px solid; */
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.selected-plan{
    background-color: #b98400;
    color: var(--main-color);
}


#plan-lists{
    margin-top: 4rem;
}

.plan-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: stretch;
    gap: 1rem;
}

.plan{
    width: 438px;
    /* min-height: 40rem; */
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    padding: 1.5rem 3rem;
    color: var(--text);
    display: grid;
}

.plan-heading{
    font-weight: 600;
    color: var(--secondary-shade);
    text-align: center;
}


.plan-price{
    font-family: 'Inter-bold';
    color: var(--accent-dark);
    font-size: 3rem;
}

.plan-details{
    margin: 2rem auto 4rem;
    display: grid;
    gap: 2rem;
}

.plan-detail{
    display: flex;
    gap: 15px;
    justify-content: start;
    align-items: center;
    /* line-height: 3rem; */
}

.plan-details img{
    width: 20px;
}


.purchase-bttn{
    display: flex;
}

.purchase-bttn button{
    margin: auto;
    font-family: 'Inter-bold';
    font-size: 1.5rem;
    /* padding: 10px 73px; */
    width: 90%;
    line-height: 3rem;
    border-radius: 100px;
    border: 1px solid var(--primary-shade);
    background-color: var(--accent-color);
    color: var(--main-color);
    box-shadow: 0px 0px 5px var(--accent-color), 0px 6px 6px var(--primary-shade);
    cursor: pointer;
    /* animation: box-shadow 0.2 linear; */
    outline: none;
}


.purchase-bttn button:hover{
    outline: none;
}


.purchase-bttn button:active{
    box-shadow: none;
}


@media screen and (max-width: 1780px) {
    .plan-list{
        grid-template-columns: repeat(2, 1fr);
    }
}


@media screen and (max-width: 1021px) {
    .plan-list{
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: 1fr;
    }
}