@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');

:root {
    --primary-color: #1f8f00;
    --secondary-color: #3c5178;
    --red-color: #ff0000;
    --yellow-color: #FCBF2E;
    --dark-color: #200055;
    --white-color: #FFFFFF;
    --text-color: #4D4D4D;
    --text-color-2: #7B7B7B;
    --my-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.1)
}

*,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 100%;
    margin: 0;
    padding: 0;
    font-family: "Onest", sans-serif;
    letter-spacing: 0.25px;
    color: #121212;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

.pointer {
    cursor: pointer;
}

.primary-color {
    color: var(--primary-color) !important;
}

.red-color {
    color: var(--red-color) !important;
}

.section-padding {
    padding: 50px 0;
}

.title {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 3rem;
    font-weight: 700;

    &::before {
        content: "";

    }
}

.btn1 {
    font-family: inherit;
    display: inline-block;
    padding: 12px 24px;
    line-height: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease-in-out;
    z-index: 1;
    font-size: 1rem;
    border-radius: 6px;
    font-weight: 500;
    color: var(--primary-color);
}

.btn1:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--primary-color);
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

.btn1:hover {
    color: #fff;
}

.btn1:before {
    top: 100%;
    left: 100%;
    transition: all 0.7s;
}

.btn1:hover:before {
    top: -30px;
    left: -30px;
}

.btn1:active:before {
    background: var(--primary-color);
    transition: background 0s;
}

.btn2 {
    font-family: inherit;
    display: inline-block;
    padding: 12px 24px;
    line-height: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease-in-out;
    z-index: 1;
    font-size: 1rem;
    border-radius: 6px;
    font-weight: 500;
    color: var(--white-color);
    background-color: var(--primary-color);
}

.btn2:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: var(--secondary-color);
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

.btn2:hover {
    color: var(--white-color);
    border-color: var(--secondary-color);
}

.btn2:before {
    top: 100%;
    left: 100%;
    transition: all 0.7s;
}

.btn2:hover:before {
    top: -30px;
    left: -30px;
}

.btn2:active:before {
    background: var(--secondary-color);
    transition: background 0s;
}

/* ================================ 
Maquee Section 
=================================== */
.main-marquee {
    background-color: var(--primary-color);
    padding: 10px 0;
}

.marquee {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 24px;
    overflow: hidden
}

.track {
    position: absolute;
    white-space: nowrap;
    will-change: transform;
    animation: marquee 20s linear infinite
}

.track span {
    font-size: 0.875rem;
}



@keyframes marquee {
    from {
        transform: translateX(5%)
    }

    to {
        transform: translateX(-50%)
    }
}



.navbar {
    border-bottom: 1px solid #dbdbdb;
}

.navbar-brand img {
    height: 55px;
}


.navbar .nav-link {
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    padding: 8px 0 !important;
    margin: 0 0.75rem;
    color: #121212;
}

.navbar .nav-link::before {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    transition: all 0.25s ease-in-out;
    height: 2px;
    background-color: var(--primary-color);
}

.navbar .nav-link:hover::before {
    width: 100%;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

.navbar.scroll-on {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 12px 0;
    background: var(--white-color);
    box-shadow: 0 -2px 20px 5px #00000028;
    animation: fadeInDown 0.5s ease-in-out
}

@keyframes fadeInDown {
    0% {
        top: -30%
    }

    50% {
        top: -15%
    }

    100% {
        top: 0
    }
}


.banner {
    /* height: 86vh; */
    display: flex;
    align-items: center;
    padding: 2.5rem 0;
    background: url(../images/banner/banner-bg.jpg) no-repeat center;
}

.banner .slick-dotted.slick-slider {
    margin-bottom: 0px;
}

.banner .avatars {
    margin-bottom: 2.5rem;
    padding-top: 1rem;
}

.banner .avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
}

.banner h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: normal;

    i {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-right: 1rem;
    }
}

.banner p {
    line-height: 1.75rem;
    color: #4b4b4b;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 3.25rem;
    font-weight: 600;

    span {
        color: var(--primary-color);
    }
}

.banner .slick-dots {
    bottom: 20px;
}

.banner .banner-img {
    height: auto;
}





/* ================================ 
Foorm Section
===================================*/
.form-section {
    padding: 35px 0;
    background-color: var(--secondary-color);
}

.form-section label {
    font-weight: 500 !important;
    color: #000 !important;
}

.form-floating>.form-select {
    padding-top: 1.8rem;
}

.form-floating>.form-control,
.form-floating>.form-control-plaintext,
.form-floating>.form-select {
    height: 60px;
    font-weight: 600;
}

.form-floating,
.search-btn {
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.search-btn {
    background-color: #209600;
    transition: all 0.35s ease-in-out;

    &:hover {
        background-color: #1d7504;
    }
}

.form-floating>.form-control:focus~label {
    font-size: 15px;
}



.about h5 {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;

    &::after {
        content: '';
        width: 40px;
        background-color: var(--primary-color);
        height: 2px;
        display: inline-block;
        margin-left: 10px;
    }
}

.about h2 {
    font-size: 2rem;
    line-height: 2.8rem;
    font-weight: 600;
    margin: 1rem 0;
}

.about .short-desc {
    line-height: 1.75rem;
}

.about .icon-contain {
    width: 60px;
    min-width: 60px;
    height: 60px;
    background-color: var(--primary-color);
}

.about .cont h6 {
    margin-bottom: 8px;
    font-size: 20px;
}

.about .cont small {
    line-height: 1.4rem;
}



.education {
    background: linear-gradient(rgba(60, 81, 120, 0.85), rgba(60, 81, 120, 0.85)), url("../images/education/edu-bg.webp") center;
    background-size: cover;
}


.education .inner-contain {
    padding: 20px;
    border-radius: 10px;
    background-color: var(--white-color);
    transition: all 0.35s ease-in-out;

    &:hover {
        transform: translateY(-10px);
    }
}

.education .inner-contain .img-fluid {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.education .inner-contain .content {
    padding: 0 0.5rem;
}

.education .inner-contain h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.education .inner-contain p {
    font-size: 0.9rem;
    line-height: 1.4rem;
    color: #4b4b4b;
    margin-bottom: 0;
}

/* ================================ 
Blogs Section 
=================================== */
.blogs .inner-contain img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.blogs .inner-contain .date-badge {
    font-size: 14px;
    font-weight: 400;
    padding: 10px;
    display: inline-block;
    padding-bottom: 4px;
    color: #4b4b4b;
}

.blogs .inner-contain h3 {
    font-size: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 30px;
    font-weight: 500;
    padding: 0 10px;
    margin-top: 1rem;
    color: #353535;
}


.footer {
    background-color: #010300;
    font-size: 14px;
}

.footer h2 {
    line-height: 2.75rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.footer-link:hover {
    color: #eb4c4b;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--white-color);
    border-radius: 50%;
    color: var(--white-color);
    font-size: 16px;
    transition: all 0.3s;
    background: transparent;
}

.social-icon:hover {
    background-color: #eb4c4b;
    border-color: var(--primary-color);
}

.getquoteModal .my-btn-close {
    position: absolute;
    top: -12px;
    right: -12px;
    border-radius: 50%;
    padding: 10px;
    background-color: var(--red-color);
    color: var(--white-color);
    width: 30px;
    height: 30px;
    border-radius: 5px;
    z-index: 88;
    border: none;
    outline: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.modal .form-control,
.modal .form-select {
    min-height: 50px;
}

.inner-banner {
    width: 100%;
    height: 200px;
    background: #2f6a1e;
    align-content: center;
    color: var(--white-color);
}

.inner-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 6px;
}

.inner-banner h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 6px;
}



.apply-box {
    background: #f1f1f1;
    padding: 30px;
    border-radius: 6px;
    color: var(--primary-color);
}

.apply-box h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: bold;
}

.apply-box input,
.apply-box select {
    margin-bottom: 15px;
    min-height: 48px;
}

.apply-box .btn-send {
    background: yellow;
    color: black;
    font-weight: bold;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
}

.admission-text h5 {
    font-weight: bold;
    color: #1a1a5c;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.admission-text p {
    color: #555;
    line-height: 1.75rem;
}



.galleryBox {
    aspect-ratio: 1 / 1;
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 0.5rem;
}

.galleryBox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ================================ 
            Contact Us Page 
=================================== */
.contact .inner-contain {
    padding: 30px;
    background-color: #c5dbec;
}

.general-info .inner-contain {
    display: flex;
    align-items: center;
}

.general-info .cont-img {
    height: 40px;
}

.general-info .inner-contain h5 {
    font-size: 24px;
    margin-left: 10px;
    font-weight: 600;
}

.general-info p {
    font-size: 14px;
}

.general-info .my-linkss {
    color: var(--primary-color);
    font-weight: 600;
}

.social-links {
    width: 40px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 18px;
    border: 1px solid var(--primary-color);
    margin-right: 10px;
}

.faculty .card {
    border: 1px solid #e7e7e7;
}

.faculty .card-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.faculty .card-text {
    font-size: 0.9rem;
    color: #555;
}

.inner-edu {
    background-image: none;
}

.inner-edu .inner-contain {
    border: 1px solid #cfcfcf;
}

.features-section h5 {
    margin-bottom: 0.5rem;
}

.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1528px) {
    .banner {
        height: auto;
    }
}