@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --mainColor: #C0392B;
    --yellowColor: #E6B800;
    --footerBG: linear-gradient(90deg, #1A1A1A 0%, #6E2018 100%);
    --profileBG: #6E2018;
    --contactBG: rgba(250, 233, 201, 30%);
    ;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Merriweather", serif;
}

a {
    text-decoration: none !important;
}

.fs-01 {
    font-size: 3rem;
}

.fs-7 {
    font-size: 0.75rem;
}

.shadow {
    box-shadow: 0px 0px 20px 0px #00000026 !important;
}

.fontOpenSans {
    font-family: "Open Sans", sans-serif;
}

.themeBg {
    background: var(--mainColor);
}

.themeBgYellow {
    background: var(--yellowColor);
}

.themeColor {
    color: var(--mainColor);
}

.mxWidthAuto {
    max-width: fit-content;
    margin: 0 auto;
}

.navbar {
    background: var(--mainColor) !important;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    border-radius: 8px;
    background-color: white;
    transition: width 0.4s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active menu */
.nav-link.active {
    font-weight: bold;
}

.nav-link.active::after {
    width: 100%;
}

.topLogo {
    width: 110px;
}

.homeCaroselImg img {
    height: 100vh;
}

.normalHover {
    transition: all 0.3s ease-in-out;
}

.normalHover:hover {
    color: var(--mainColor) !important;
    transition: all 0.3s ease-in-out;
}

.topSocialIcon {
    transition: all 0.3s ease-in-out;
    width: 30px;
    height: 30px;
    background: var(--mainColor);
}

.topSocialIcon:hover {
    transform: scale(1.1);
    background: #f1f1f1;
    color: #000 !important;
}

.topMainHeading {
    padding-left: 9.5rem;
    font-weight: 900;
}

.topMainHeading .text {
    
    white-space: nowrap;
    width: 0;
    max-width: fit-content;
    animation: typing 6s steps(40, end) forwards;
    vertical-align: bottom;
}

.pencil {
    opacity: 1;
    animation: fadeOut 1s ease forwards;
    animation-delay: 6s;
    color: var(--mainColor);
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* Mobile Responsive animation */
.topMainHeadingResp {
    padding-left: 10%;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    /* line by line */
    position: relative;
}

.topMainHeadingResp .text {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    border-right: 2px solid transparent;
    /* cursor look chahiye toh */
}

/* Pehli line typing */
.topMainHeadingResp .line1 {
    animation: typing1 4s steps(30, end) forwards;
}

/* Dusri line typing (delay ke sath) */
.topMainHeadingResp .line2 {
    animation: typing2 4s steps(30, end) forwards;
    animation-delay: 4s;
    /* pehli ke baad start hoga */
}

/* Pencil icon fade out */
.topMainHeadingResp .pencil {
    margin-top: 5px;
    opacity: 1;
    color: var(--mainColor);
    animation: fadeOut 1s ease forwards;
    animation-delay: 8s;
    /* dono line ke baad */
}

/* Keyframes */
@keyframes typing1 {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes typing2 {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* --- Mobile view --- */
@media (max-width: 576px) {
    .topMainHeadingResp {
        padding-left: 0%;
        font-size: 1.25rem;
        height: 80px;
        line-height: 1.2;
    }

    .topMainHeadingResp .pencil {
        align-self: flex-start;
        /* mobile mai neeche shift hoga */
    }
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.hidden {
    display: none;
}


/* top slider */

/* Caption styling */
.carousel-caption {
    top: 10%;
    transform: translateY(0%);
    text-align: left;
    left: 10%;
    right: auto;
}

.carousel-indicators {
    position: static;
    margin-top: 15px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #6E2018;
    transition: opacity 0.3s ease;
}

/* About us */

.aboutUniversities {
    margin-top: 1rem;
    position: relative;
    top: 3rem;
}

.aboutUniversities .card {
    width: 92%;
}

.aboutUniversities img {
    height: 80px;
    width: 80px;
    object-fit: contain;
}

/* .ourInstitutionsHead{
    font-size: 3.4rem;
} */

.grasGradient {
    background-image: url(../images/chairmanBG.png);
    background-size: cover;
    height: 500px;
}

.chairmanImg {
    width: 38%;
}


.btn-danger {
    transition: all 0.3s ease-in-out;
}

.btn-danger:hover {
    background-color: var(--yellowColor);
    color: #000;
    transition: all 0.3s ease-in-out;
}

.readMore {
    color: var(--mainColor);
    transition: all 0.3s ease-in-out;
}

.readMore span {
    border-bottom: 1px solid var(--mainColor);
}

.readMore:hover span {
    color: #000;
    border-bottom: 1px solid #000;
    transition: all 0.3s ease-in-out;
}

.readMore:hover i {
    color: #000;
}

.badgeStyle {
    background: var(--mainColor);
    height: 80px;
    width: 80px;
    /* margin: 36% 0% 0 4%; */
    /* top: 36%; */
}

.badgeStyleMargin {
    top: 41%;
}

.badgeStyleHome {
    top: 42%;
}

.badgeStyleMarginSingle {
    top: 37%;
}

.blogHeadingFs {
    font-size: 1.4rem;
}

.ourBlogs {
    padding-bottom: 10rem;
}

.arrowCircle {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease-in-out;
}

.arrowCircle:hover {
    background: var(--yellowColor) !important;
    color: #fff !important;
    transition: all 0.3s ease-in-out;
}

.circleDiveBG {
    background: linear-gradient(180deg, rgba(192, 57, 43, 0.9) 0%, rgba(192, 57, 43, 0.9) 100%);
}

.circleDive {
    width: 120px;
    height: 120px;
    transition: all 0.3s ease-in-out;
    left: 0;
    right: 0;
    top: -4rem;
    z-index: 9;
    padding: 0.7rem;
}

.quickLinkHeading {
    margin-bottom: 6rem;
}

/* About Page */
.aboutTopBanner {
    background: url(../images/aboutBanner.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 425px;
}

.aboutGallary {
    width: 60%;
    top: 10%;
}

.missonDiv {
    width: 35%;
    margin-left: 10%;
    margin-top: 5rem;
}

.vissionDiv {
    width: 35%;
}

.goalsDiv {
    width: 35%;
    margin-left: 10%;
}

.aboutUsGradient {
    background: linear-gradient(180deg, #FFFFFF 16.44%, #FAF3E0 100%);
}

.founderMessageSection {
    background-color: #FAF3E0;
    padding-top: 12rem;
}

.founderMessageDiv img {
    width: 65%;
}

.founderMessageDiv div {
    width: 56%;
    top: 17%;
    right: 5%;
}

.profileName {
    background: var(--profileBG);
    border: solid 2px #fff;
    width: fit-content;
    left: 15%;
}

.profileName_1 {
    background: var(--profileBG);
    border: solid 2px #fff;
    width: fit-content;
    left: -10%;
}

/* .founderCarousel img {
    width: 75%;
} */

.aboutImportImg {
    width: 350px;
}

.aboutBodySection {
    padding-top: 8rem;
}

.bodyOuterDiv {
    width: 55%;
    margin: 0 auto;
    background: hwb(5.64deg 16.86% 24.71% / 25%);
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;
    height: 450px;
}

.bodyOuterDiv img {}

.bodyCarouselOuterDiv {
    width: 80%;
    margin: 0 auto;
    background: hwb(5.64deg 16.86% 24.71% / 25%);
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;
    height: 350px;
}

.bodyCarouselOuterDiv img {
    height: 400px;
    width: 340px;
    object-fit: contain;
}

.clientCarousel {
    margin-top: 8rem;
}

.timelineSection {
    height: 900px;
}

.timelineDiv {
    z-index: 9;
}

.timelineMain {
    width: 90%;
}

.timelineText_1 {
    top: 0%;
    left: 8%;
    width: 15%;
}

.timelineText_2 {
    top: 0%;
    left: 44%;
    width: 15%;
}

.timelineText_3 {
    top: 0%;
    right: 5%;
    width: 15%;
}

.timelineText_4 {
    bottom: -5%;
    left: 26%;
    width: 15%;
}

.timelineText_5 {
    bottom: -5%;
    right: 23%;
    width: 15%;
}


/* Institutions Page */
.institutionsTopBanner {
    background: url(../images/InstitutionBanner.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 425px;
}

.instituteBoxes {
    top: 5%;
    z-index: 9;
}

.InstitutionBannerBottomDiv {
    height: 990px;
}

.instituteBoxes .card-body img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}


/* Gallery Page */
.galleryTopBanner {
    background: url(../images/galleryBanner.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 425px;
}

.gallerySection {
    padding-bottom: 10rem;
}

.custom-tabs {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 8px solid #f0dcdc;
}

.custom-tabs .nav-link {
    flex: 1 1 auto;
    text-align: center;
    color: #000;
    font-size: 16px;
    border: none;
    background: none;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-tabs .nav-link.active {
    color: var(--mainColor);
    font-weight: 600;
}

/* Active underline (animated) */
.tab-underline {
    position: absolute;
    bottom: -8px;
    height: 8px;
    background: var(--mainColor);
    transition: all 0.3s ease;
    z-index: 2;
}

.tab-content img {
    object-fit: cover;
}


/* Blogs Page */
.blogsTopBanner {
    background: url(../images/blogsBanner.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 425px;
}


/* Contact Page */
.contactTopBanner {
    background: url(../images/contactBanner.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 425px;
}

.contactSection {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    padding-bottom: 10rem;
}

.contactBG {
    background: var(--contactBG);
}

.bg-info {
    --bs-bg-opacity: 1;
    background-color: rgb(253 248 239) !important;
}

.contactFormHeader {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.contactMailBox {
    width: 100px;
    height: 80px;
}

.mapZindex {
    z-index: 1;
}

.contactMailIcon {
    width: 80px;
    border-right: solid 2px #cdcdcd;
}

.contactHead {
    top: 34rem;
    width: 45%;
}


/* Footer Css */
footer {
    background: var(--footerBG);
    padding-top: 10rem;
    padding-bottom: 1.5rem;
}

.borderRight {
    width: 2px;
    height: 35px;
}

.btnSubscribe {
    background: var(--yellowColor);
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.footerYellow {
    top: -16rem;
}