* {
    margin: 0px;
    padding: 0px;
}

.maincontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem;
    font-size: 25px;
    color: rgb(55, 65, 81);
    max-width: 80%;
    margin: 0 auto;
}

.header1 {
    font-size: 37px;
}

.para1 {
    margin-top: 3rem;


}

/* #head {
    font-size: 4rem;
} */

/* -------------2-------------- */
.card-container {
    display: flex;
    gap: 20px;
    max-width: 100%;
    margin: auto;
    padding: 3rem;

}

#head2 {
    font-size: 4rem;
}


.big-card {
    background: #3c4756;
    color: white;
    padding: 40px;
    border-radius: 10px;
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.small-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 2.8;
}

/* Small Cards */
.small-card {
    background: #f8fbff;
    color: rgb(55 65 81);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: rgb(55 65 81);
}

.header2 {
    text-align: center;
    font-size: 3rem;
    color: rgb(55 65 81);
}

#headcard {
    font-size: 2.25rem;
    text-align: center;
    color: #a13535;
}

#paracard {
    font-size: 1.125rem;
    text-align: center;
    color: black;
}

/* --------------------3-------------------------- */
.why {
    text-align: -webkit-center;
    padding-top: 6rem;
}

.header3 {
    text-align: center;
    font-size: 3rem;

    color: rgb(55 65 81);

}

#head3 {
    font-size: 4rem;
}

.krishna {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
    border-radius: .75rem;
    height: 73rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.section img {
    max-width: 470px;
    height: auto;
}

.text {
    max-width: 400px;
    font-size: 18px;
    color: rgb(55 65 81);
}

.text h2 {
    font-size: 33px;
    font-weight: bold;
    color: rgb(55 65 81);
}

.number {
    font-size: 111px;
    font-weight: bold;
    color: #cc111a;

}


/* ---------------------------------------------- */
@media screen and (max-width: 768px) {

    .maincontainer {
        /* width: 100%; */
        padding: 2rem;
        font-size: 18px;
    }

    .header1 {
        font-size: 1.5rem;

    }

    /* ----2----- */
    .card-container {
        flex-direction: column;
    }

    .small-cards-container {
        grid-template-columns: 1fr;
    }

    /* ------3---------- */
    .section {
        flex-direction: column;
        text-align: center;
        align-items: center;
        align-content: center;
        width: -webkit-fill-available;

    }

    .section img {
        width: -webkit-fill-available;
    }

    .text {
        max-width: 100%;
    }

    .number {
        display: none;
    }

    #section1 {
        flex-direction: column-reverse;
    }

    .text h2 {
        font-size: 40px;
    }

    .text p {
        font-size: 43px;

    }

    .krishna {
        align-items: center;
        height: 112rem;
        width: -webkit-fill-available;

    }

}

.small-card {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.small-card:hover {
    transform: scale(1.05);
    /* Zoom-in effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow */
}

.small-card:active {
    transform: scale(0.98);
    /* Zoom-out effect when clicked */
}


/* ----------------------------------------------- */
/* footer */

.footer {
    /* background-color: #f8f9fa; */
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: -2rem;
}

.footer-column {
    flex: 1;
    min-width: 180px;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #4a5568;
    position: relative;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #4a5568;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    text-decoration: none;
    font-size: 20px;
    color: #4a5568;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #4a5568;
}

.link-boxes .box .link_name::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 35px;
    background: #fff;
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: -4rem;
    }

    .footer-column {
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}



.faq {
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    /* box-shadow: 0 0 12px rgba(0, 0, 0, 0.25); */
}

.faq__title {
    text-transform: uppercase;
    color: rgb(204, 17, 26);
}

details {
    background-color: #8a00008f;
    border-radius: 10px;
    cursor: pointer;
    padding: 20px 30px;
    margin-block: 30px;
}

summary,
.Q1 {
    text-align: left;
    color: black;
    font-size: x-large;
}

summary {
    margin-inline-start: 1rem;
    list-style-position: outside;
}

summary::marker {
    color: rgb(204, 17, 26);
    font-size: 18px;
}





@keyframes fillLeft {
    100% {
        right: 100%;
    }
}

@keyframes fillTop {
    100% {
        top: 100%;
    }
}

@keyframes fillLeftOdd {
    100% {
        left: 100%;
    }
}