:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    /* --dark: #264357; */
    --dark : #095d40
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.navbar {
    position: fixed;
    width: 100%;
    height: auto;
    z-index: 9;
    top: 0;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-weight: 600;
    transition: .5s;
    font-size: 1.25rem;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
    font-weight: bold;

}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
    border-bottom: 5px solid;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24, 25, 26, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.offer-box-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #095d40;
    color: #ffffff;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    height: 90px;
    width: 90px;
}

.offer-box-icons i {
    transition: transform 0.5s ease-in-out;
    /* Apply transition to the icon */
}

.service-item:hover {
    transform: translateY(-10px);
    /* Lifts the card */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    /* Floating shadow effect */
}

.service-item:hover .offer-box-icons i {
    transform: rotateY(360deg);
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.bg-secondary {
    background-color: #f7f7f7 !important;
}

.navbar-brand img {
    width: 180px;
}

.card {
    background-color: #f7f7f7;
    border-radius: 15px;
    padding: 20px;
}

button.back-to-top {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    height: 0px;
    width: 0px;
    overflow: hidden;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    color: transparent;
    clear: both;
    visibility: hidden;
    position: fixed;
    cursor: pointer;
    display: block;
    border: none;
    right: 50px;
    bottom: 75px;
    font-size: 0px;
    outline: 0 !important;
    z-index: 99;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

button.back-to-top:hover,
button.back-to-top:active,
button.back-to-top:focus {
    outline: 0 !important;
}

button.back-to-top::before,
button.back-to-top::after {
    content: "";
    display: block;
    border-bottom: solid 10px #e5582a;
    border-left: solid 10px transparent;
    line-height: 0;
    border-right: solid 10px transparent;
    height: 0;
    margin: 18px auto 0;
    width: 0;
    border-radius: 20px;
    visibility: hidden;
}

button.back-to-top.show::after,
button.back-to-top.show::before {
    visibility: visible;
}

button.back-to-top::after {
    border-bottom-color: #fff;
    position: relative;
    top: -24px;
}

button.back-to-top.show {
    display: block;
    background: #fff;
    color: #00ab6c;
    font-size: 25px;
    right: 25px;
    bottom: 70px;
    height: 50px;
    width: 50px;
    visibility: visible;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
}

button.back-to-top.show:active {
    box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 4px 8px 2px rgba(0, 0, 0, 0.25);
}

.whatsapp {
    background: #fff;
    height: 50px;
    width: 50px;
    border-radius: 50px;
    position: fixed;
    cursor: pointer;
    border: none;
    right: 25px;
    bottom: 10px;
    outline: 0 !important;
    z-index: 99;
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.fa-whatsapp {
    font-size: 24px !important;
    color: green;
}

hr {
    border-color: #e5582a;
    color: #e5582a;
    background-color: #e5582a;
    opacity: 1;
}

.bg-primary {
    background-color: #095d40 !important;
}

.cust-card {
    background-color: white;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid #095d40;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.cust-card:hover {
    color: white;
    transform: translateY(-10px);
    /* Lifts the card */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    /* Floating shadow effect */
}

/* Background fill effect with transparency */
.cust-card::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #095d40;
    transition: top 0.4s ease-in-out;
    z-index: 0;
    /* Lower z-index so content stays above */
    mix-blend-mode: multiply;
    /* Ensures text remains visible */
}

.cust-card:hover::before {
    top: 0;
}

.cust-card * {
    position: relative;
    z-index: 1;
    /* Ensures text and icons stay visible */
    transition: color 0.3s ease-in-out;
}

.card-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: #095d40;
    border-radius: 50px;
    height: 60px;
    width: 60px;
    transition: background-color 0.3s ease-in-out;
}

.cust-card .card-icons i {
    transition: transform 0.5s ease-in-out;
}

.cust-card:hover .card-icons {
    background-color: white;
}

.cust-card:hover .card-icons i {
    color: #095d40 !important;
    transform: rotateY(360deg);
}

#call_back_btn {
    background-color: #095d40;
    outline: #095d40;
    border-color: #095d40;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: transform 0.3s ease-in-out;
}

#call_back_btn:hover {
    color: #095d40;
    background-color: white;
    transform: scale(1.05);
}

.text-primary {
    color: #095d40 !important;
}

#scholarship {
    position: relative;
}

#scholarship .scholarship-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.scholarship-btn {
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

.student-img{
    width: 65px;
    border: 2px solid #095d40;
}

/* modal content css starts here */
.modal-title {
    color: #095d40;
    font-weight: bold;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: #000;
    text-decoration: none;
}

.university-title {
    background-color: #095d40;
    border: 1px solid #095d40;
    padding: 16px 20px;
    border-radius: 10px;
    margin: 20px auto;
    /* box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.24); */
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    transition-property: box-shadow, transform;
    transition-duration: 500ms;
    transition-timing-function: ease-in-out;
    cursor: pointer;
    will-change: box-shadow, transform;
}

.university-title p {
    margin-bottom: 0;
    font-weight: 500;
    color: white;
}

.university-title:hover {
    box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}


.header {
    background-color: white;
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    padding: 10px;
    /* box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.24); */
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    text-align: center;
}

.header img {
    width: 75px;
}

.header-info,
.footer {
    background-color: #095d40;
    padding: 15px;
    text-align: center;
}

.header-info h3 {
    color: #fff;
}

.footer p {
    color: #fff;
    margin: 10px 0;

}

/* modal content css ends here */

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }

    .display-1 {
        font-size: calc(1rem + 4.5vw);
    }

    .scholarship-text h1{
        font-size: 25px;
        text-align: center;
    }

    .service-item {
        height: 450px;
    }

    .navbar-brand img {
        width: 130px;
    }
}