/* hero */
.hero {
    width: 100%;
    min-height: 80vh;
    background: url(../image/index-hero.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5% 0;
}

.hero-updates {
    width: 100%;
    height: 60dvh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.enquire-button {
    padding: 10px 40px;
    outline: none;
    border: none;
    background: var(--color-2);
    color: white;

    &:hover {
        background: var(--color-3);
    }
}

.hero-p-anchor {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 30px 5px 10px !important;
    border-left: 3px solid var(--color-3);
    position: relative;

    &:hover {
        background: var(--color-3);
        color: black;
    }

    &:hover .bi-arrow-right {
        color: white;
    }
}


.hero-p-anchor .bi-arrow-right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: var(--color-3);
}

/* hero end */

/* quick links */

.quick-links {
    width: 100%;
    background: whitesmoke;
}

.quick-links-anchor {
    text-decoration: none;
    text-align: center;
    color: white;
    background: var(--color-1);
    padding: 10px 20px;
    border-radius: 5px;
    display: block;
    width: calc(100% / 6);

    &:hover {
        background: var(--color-3);
    }
}

/* quick links end*/

/* welcome  */
.welcome {
    width: 100%;
    background: white;
    display: flex;
    justify-content: center;
}

.welcome-video {
    width: 100%;
    border-radius: 5px;
}

.who-button {
    border: 1px solid var(--color-2);
    background: white;
    outline: none;
    color: var(--color-2);
    padding: 10px 40px;
    border-radius: 5px;
    text-transform: uppercase;

    &:hover {
        background: var(--color-2);
        color: white;
    }
}

/* welcome end */

/* programmes */

.programmes {
    width: 100%;
    background: var(--color-4);
}

.programme-card {
    width: 100%;
    background: white;
    border-radius: 8px;
    /* padding: 5px; */
    border: 2px solid #ebebeb;
}

.programme-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / .6;
    border-radius: 8px;
    border: 2px solid #ebebeb;
}

.programme-heading {
    font-size: 20px;
    color: var(--color-2);
    font-weight: 500;
}

.programme-text {
    color: gray;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.programme-icon {
    color: var(--color-1);
    font-size: 40px;
}

.learn-more-anchor {
    display: flex;
    align-items: center;
    width: max-content;
    text-decoration: none;
    letter-spacing: 2px;
    padding: 10px 40px;
    background: var(--color-2);
    color: white;
    font-weight: 500;
    border: 1px solid var(--color-2);

    &:hover {
        border: 1px solid var(--color-3);
        background: var(--color-3);
        color: white;
    }

    margin-top: 20px;
}

/* programmes end */

/* success-stories */

.success-stories {
    width: 100%;
    background: white;
    position: relative;
}

.success-slider{
    width: 100%;
    display: flex;
    justify-content: center;
}

.success-img {
    display: block;
    border-radius: 10px;
    width: 50%;
}

/* success-stories end */

/* director message */

.director-message {
    width: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(../image/assistant-director-banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.director-message-card {
    width: 100%;
    height: 100%;
}

.director-img {
    width: 100%;
}

.director-name,
.director-designation {
    border: none;
    border-left: 2px solid #DEA918;
}

/* director message end */

/* daily article */
.daily-article {
    background: white;
}

.article-card {
    width: 100%;
    height: 100%;
}

.article-img-long {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.article-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / .5;
    border-radius: 8px;
}

/* daily article end */

/* ceo-message */

.ceo-message {
    background: var(--color-4);
}

.ceo-img {
    width: 100%;
    border-radius: 5px;
}

/* ceo-message end */


/* activities-updates */

.activities-updates {
    background: white;
}



/* activities-updates end */



@media (max-width:1250px) {
    .quick-links-anchor {
        width: calc(100% / 4);
    }
}

@media(max-width:992px) {
    .hero {
        height: max-content;
        padding: 50px 0 !important;
    }
    .hero-updates{
        height: max-content !important;
    }
}

@media(max-width:768px) {
    .quick-links-anchor {
        width: calc(100% / 3);
    }
}

@media(max-width:576px) {
    .quick-links-anchor {
        width: calc(100%);
    }
    .success-img{
        width: 80%;
    }
}