@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

.main-banner img {
    max-width: 100%;
    height: auto;
}

.about-program-section {
    width: 100% !important;
    padding-top: 4rem;
    padding-bottom: 4.5rem;
}

.about-programe {
    /*font-family: "Roboto", sans-serif;*/
    /*text-align: center;*/
    color: #1a4681;
    font-size: 40px;
    font-weight: 600;
    word-spacing: 3px;
}

/* Base style (for desktop) */
.no-record-text h3 {
    text-align: center;
    font-size: 34px;
    font-family: "Roboto";
    color: #000000ad;
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .no-record-text h3 {
        font-size: 28px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .no-record-text h3 {
        font-size: 22px;
    }
}


.gradient-line {
    background: linear-gradient(to right, #cc7c2c, #1b4680);
    padding: 3.5px;
}

.gradient-line a {
    font-size: 16px;
    font-family: "Roboto";
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

.about-program-section-img img {
    /* width: 80%; */
    /* height: 100%;
    padding-right: 2rem; */
    width: 85%;
    height: 75%;
    border-radius: 20px;
}

.card-wrapper {
    border-radius: 30px;
    padding: 1px;
    /* thickness of border */
    background: linear-gradient(to right, #cc7c2c, #1b4680);
    /* gradient border */
    width: 100%;
    display: inline-block;
}

.about-program-content {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.about-program-content h5 {
    color: rgba(0, 0, 0, 0.651);
    font-size: 1.5rem;
}

.about-program-content h1 {
    color: rgba(0, 0, 0, 0.829);
    font-weight: 500;
    font-size: 40px;
}

/* .card-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
} */


.card-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}


.card-wrapper {
    border-radius: 30px;
    padding: 1px;
    /* Border thickness */
    background: linear-gradient(to right, #cc7c2c, #1b4680);
    /* Gradient border */
    display: inline-block;
    width: fit-content;
    overflow: hidden;
    /* Ensures border radius clipping */
}

.card-custom-home {
    width: 330px;
    height: 370px;
    overflow: hidden;
    border-radius: 28px;
    /* slightly smaller than .card-wrapper to show border */
    background-color: white;
    /* prevents gradient bleed */
    box-shadow: rgba(0, 0, 0, 0.63) 0px 3px 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: none;
}

.card-custom-home-after-login {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 330px;
    height: 420px;
    overflow: hidden;
    border-radius: 28px;
    /* smaller than wrapper's 30px */
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.63) 0px 3px 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: none;
}

.card-custom-articles {
    width: 400px;
    height: 420px;
    border: none;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: rgba(0, 0, 0, 0.63) 0px 3px 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.custom-bg {
    background: #1a4681;
    height: 250px;
    align-items: center;
    display: flex;
}

.card-icon {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    background-color: white;
    border-radius: 50%;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 28px;
}

.two-line-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-content {
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    line-height: 24px;
    font-size: 17px;
    font-family: sans-serif;
    padding: 13px 20px !important;
}

.access-now-btn {
    font-weight: 400;
    position: relative;
    bottom: 0;
    text-align: center;
    background: #1a4681;
    width: 100%;
    padding: 8px;
    font-size: 22px;
    cursor: pointer;
    color: white;
}

.access-now-btn-disable {
    position: absolute;
    bottom: 0;
    text-align: center;
    background: grey;
    width: 100%;
    padding: 8px;
    font-size: 22px;
    cursor: pointer;
    color: white;
}

.article-card {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: center;
    width: 80%;
    height: max-content;
    /* height: 55%; */
    border-radius: 25px 0px;
    padding: 8px;
    font-size: 22px;
    cursor: pointer;
    color: white;
    background: rgb(83 83 83 / 31%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0px;
}

.article-card p {
    color: white;
    font-size: 20px;
    opacity: 0.85;
    margin-bottom: 10px;
    padding: 25px 20px 0px;
}

.article-card h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    padding: 0px 25px;
}

.arrow-div {
    padding: 10px;
    background-color: white;
    color: black;
}

.arrow-div img {
    width: 40px;
}

.article-view-heading {
    width: 65%;
    margin: 0px auto 40px;
}

.article-view-heading h2 {
    font-size: 40px;
    margin: 20px auto;
}

.banner-article-view img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
}

.accordion-item-custom {
    border: 3px solid #8080807a;
    border-radius: 20px !important;
    overflow: hidden;
}

.accordion-button-custom:not(.collapsed) {
    color: rgb(82 82 184 / 71%);
    font-weight: 600;
    font-size: 23px;
    background-color: white;
    border-bottom: 3px solid #8080807a;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-item:last-of-type>.accordion-header .accordion-button-custom.collapsed {
    color: rgb(82 82 184 / 71%);
    font-weight: 600;
    font-size: 23px;
    padding: 17px 30px;
}

.accordion-item:first-of-type>.accordion-header .accordion-button-custom {
    color: rgb(82 82 184 / 71%);
    font-weight: 600;
    font-size: 23px;
    padding: 17px 30px;
}

.accordion-body-custom ul li {
    color: #808080d7;
    font-weight: 500;
    margin: 13px 0px;
    font-size: 17px;
}

.accordion-body-custom {
    padding: 10px 25px;
}

.webinar-wrapper {
    border-radius: 30px;
    padding: 2px;
    /* thickness of border */
    background: linear-gradient(to right, #cc7c2c, #1b4680);
    /* gradient border */
    width: 100%;
    display: inline-block;
}

.webinar-section-div {
    background-size: cover;
    background-position: right;
    color: white;
    display: flex;
    align-items: center;
    padding: 1rem 3rem;
    border-radius: 28px;
    /* slightly smaller to fit inside wrapper */
    background-color: rgba(0, 0, 0, 0.4);
    /* optional overlay over image for readability */
    backdrop-filter: blur(2px);
    /* optional: softens background */
}

.main-text-banner {
    font-size: 43px;
    font-weight: 700;
}

.webinar-heading {
    width: 40%;
    display: -webkit-box;
    font-size: 1.2rem;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title {
    font-weight: 600 !important;
}

.card-description {
    padding-top: 0 !important;
    font-weight: 300 !important;
}

.footer-text-container {
    font-size: 11.5px !important;
}

@media (max-width: 1200px) {
    .about-program-section-img img {
        width: 100%;
        height: 100%;
    }

    .about-program-section-img {
        padding: 0;
    }
}

@media (max-width: 992px) {
    .about-program-section-img img {
        margin-bottom: 14px;
        width: 60%;
        margin: auto;
    }

    .about-program-section-img {
        padding: 0;
    }
}

@media (max-width: 425px) {
    .about-programe {
        font-size: 32px !important;
        margin-top: 30px !important;
        margin-bottom: 20px !important;
    }

    .set-font {
        font-weight: 300;
        font-size: 16px !important;
    }

    .bold-class {
        font-weight: bold;
        font-size: 12px !important;
    }

    .about-program-section {
        padding-bottom: 0;
    }

    .about-program-section-img img {
        margin-bottom: 0;
        width: 72% !important;
        /* Or any value like 60%, 300px, etc. */
        height: auto !important;
    }

    .margin {
        margin: 0 0 20px 0 !important;
    }

    .webinar-section-div {
        background-size: cover;
        color: white;
        height: 65vh;
        display: flex;
        align-items: center;
        padding: 1rem 2rem !important;
        /* border: 2px solid #1a4681;
        border-radius: 15px; */
    }
}

@media (max-width: 505px) {
    .webinar-section-div {
        background-size: cover;
        color: white;
        height: 65vh;
        display: flex;
        align-items: center;
        padding: 1rem 2rem !important;
        /* border: 2px solid #1a4681;
        border-radius: 15px; */
    }
}

@media (max-width: 768px) {
    .about-program-section {
        padding-bottom: 0;
    }

    .about-programe {
        font-size: 2.5rem;
        margin-top: 40px !important;
    }

    .about-program-section-img img {
        width: 100%;
        height: 90%;
        padding-right: 0;
        object-fit: cover;
        /* object-position: center; */
        margin-bottom: 1.5rem;
    }

    .about-program-section {
        padding-top: 0;
        margin-top: 0;
    }
}

.about-programe-highlight {
    color: #2b388f;
    font-weight: 800;
}

@media (max-width: 992px) {
    .about-program-section {
        padding-bottom: 20px;
    }

    .set-image {
        margin-top: 20px;
    }
}

.about-programe-highlight {
    color: #2b388f;
    font-weight: 800;
}

.set-font {
    font-weight: 300;
    font-size: 18px;
    /*text-align: center;*/
}

.bold-class {
    font-weight: 700;
    font-size: 20px !important;
}

@media (max-width: 576px) {
    .set-font {
        font-weight: 500;

        font-size: 12px;
    }

    .bold-class {
        font-size: 14px !important;
    }

    .webinar-section-div {
        background-size: cover;
        color: white;
        height: 63vh !important;
        display: flex;
        align-items: center;
        padding: 1rem 3rem;
        /* border: 2px solid #1a4681;
        border-radius: 15px; */
    }

    .main-text-banner {
        font-size: 35px;
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    .set-font {
        font-weight: 500;

        font-size: 14px;
    }

    .bold-class {
        font-size: 16px !important;
    }

    .about-program-section-img img {
        width: 55%;
        /* Or any value like 60%, 300px, etc. */
        height: auto;
    }

    .card-custom-home {
        width: 280px;
        height: 370px;
        border: 1px solid #1a4681;
        overflow: hidden;
        /* border-radius: 16px; */
        box-shadow: rgba(0, 0, 0, 0.63) 0px 3px 8px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-icon {
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
        background-color: white;
        border-radius: 50%;
        width: 110px;
        height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: auto;
        font-size: 28px;
    }

    .webinar-section-div {
        background-size: cover;
        color: white;
        height: 60vh;
        display: flex;
        align-items: center;
        padding: 1rem 3rem;
        /* border: 2px solid #1a4681;
        border-radius: 15px; */
    }

    .main-text-banner {
        font-size: 38px;
        font-weight: 700;
    }
}

@media (min-width: 1600px) {
    .custom-size {
        width: 40% !important;
    }

    .custom-width-second {
        width: 35% !important;
    }
}

@media (max-width: 1200px) and (min-width: 1001px) {
    .about-program-section {
        padding-bottom: 10px;
        margin: 10px;
    }

    .set-font {
        font-weight: 500;
        font-size: 14px;
    }

    .bold-class {
        font-size: 16px !important;
    }
}

.card-content b {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bottom-pad{
    padding-bottom: 0px !important ;
}

@media (max-width: 768px) {
    .custom-bg {
        height: 220px;
    }

    .card-custom-home .card-icon {
        width: 90px;
        height: 90px;
    }

    .card-custom-home {
        height: 310px;
    }
}
