body {
    overflow-x: hidden;
}

@font-face {
    font-family: "League-Spartan";
    src: url(../fonts/league-spartan.bold.ttf);
}

@font-face {
    font-family: "Glacial-Indifference";
    src: url(../fonts/GlacialIndifference-Regular.ttf);
}

@font-face {
    font-family: "Glacial-Indifference-bold";
    src: url(../fonts/GlacialIndifference-Bold.ttf);
}

.stories-main-heading {
    font-family: "League-Spartan";
    font-size: 70.01px;
    font-weight: 800;
    line-height: 88.97px;
    text-align: center;
    color: rgba(87, 44, 126, 1) !important;

}

.stories-main-heading svg {
    position: absolute;
    margin-top: 7px;
    margin-left: -70px;
    z-index: -1;

}

@media(max-width:743px) {
    .stories-main-heading {
        width: 400px;
    }
}



.card-container {
    margin: 1rem 0;
}

.card {
    background-color: white;
    padding: 20px;
    border-radius: 30px;
    text-align: left;
    height: auto;
    box-shadow: 0px 4px 64px 0px rgba(0, 10, 60, 0.06);

}

.card-image {
    width: 100%;
    height: 400px;
    /* Ensures the image resizes proportionally */
    object-fit: cover;
    border-radius: 17px;
    opacity: 1;
    /* Image visibility */
}
@media (max-width: 420px) {
    .stories-main-heading {
        width: auto !important;
    }
}
.card-heading {
    font-family: 'League-Spartan';
    font-size: 30px;
    font-weight: 800;
    line-height: 46px;
    margin: 20px 0;
    color: rgba(87, 44, 126, 1) !important;
}

.card-text {
    font-family: "Glacial-Indifference";
    font-size: 20px;
    font-weight: 400;
    line-height: 31.17px;
    color: #555;
}
@media(max-width:600px){
    .padding-lg{
        padding: 0px 35px;
    }

}

.card-btn {
    display: inline-block;
    padding: 19px;
    font-family: "Glacial-Indifference-bold";
    font-size: 20px;
    font-weight: 500;
    /* height:  64px; */
    /* width: 180px; */
    color: rgba(46, 142, 216, 1);
    border: 1px solid rgba(46, 142, 216, 1);
    border-radius: 10px;
    text-align: center;
    margin: auto;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.card-btn svg {
    margin-left: 10px;
}




@media (max-width: 992px) {
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        /* Make each card full width on tablets and smaller */
    }

    .card-image {
        width: 100%;
        height: auto;
        /* Image will resize to fit the card */
    }
}

@media (max-width: 768px) {
    .card-heading {
        font-size: 24px;
    }

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

}


.read-more-heading {
    font-family: "League-Spartan";
    font-size: 40px;
    font-weight: 800;
    line-height: 46px;
    text-align: center;
}

.read-more-para {
    font-family: "Glacial-Indifference";
    font-size: 26px;
    font-weight: 400;
    line-height: 31.17px;
    text-align: left;

}

.read-more-image {
    width: 1260px;
    /* Keep the original width */
    height: 583px !important;
    /* Keep the original height */
    border-radius: 30px;
    max-width: 100%;
    /* Allow scaling down on smaller screens */
    height: auto;
    /* Maintain aspect ratio when scaling */
}

@media (max-width: 768px) {
    .read-more-image {
        width: 100%;
        /* Scale down for smaller screens */
        height: auto !important;
        /* Ensure height scales proportionally */
    }
}
