@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre&family=Lora:ital@1&family=Oswald:wght@300&family=Raleway&family=Roboto+Condensed&family=Roboto:wght@300&display=swap');
:root {
    ---headFont: 'Frank Ruhl Libre', serif;
    ---paraFont: 'Roboto Condensed', sans-serif;
}

html, body {
    overflow-x: hidden;
}

/* ============================ navbar ============================================= */

.navbar {
    /* background: linear-gradient(to right, rgb(118, 0, 0), rgb(179, 0, 0)); */
    background: #fff;
    z-index: 100;
    box-shadow: 0 2px 4px #808080;
    padding: 0 0;
    color: #111;
}

.sticky {
    position: fixed;
    top: 0;
    transition: 0.5s ease all;
    background: #fff;
    box-shadow: 0 3px 7px #808080;
}

.navbar-brand {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 120px;
    /* max-height: 70px; */
    height: 80px;
    transform: scale(1.2);
    margin: 0;
    padding: 0;
}

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-lg,
.navbar>.container-md,
.navbar>.container-sm,
.navbar>.container-xl,
.navbar>.container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand img {
    width: 100%;
    height: 100%;
    padding: 10px;
}

.navbar-nav li.nav-item {
    position: relative;
    cursor: pointer;
    font-size: 20px;
}

.navbar .nav-item {
    padding: 0px 18px;
}

.navbar .nav-item .nav-link {
    font-size: 1.2rem;
    color: rgb(255, 25, 0);
    font-family: var(---headFont);
    font-weight: 500;
    transition: 0.4s ease-in-out;
    text-transform: capitalize;
}

.sticky .nav-item .nav-link {
    color: #fff;
}

.nav-item .nav-link.active {
    color: rgb(182, 21, 0) !important;
}

.navbar .nav-item .nav-link::before {
    content: '';
    width: 0%;
    height: 2px;
    display: block;
    background-color: currentColor;
    margin-top: 5px;
    bottom: 0;
    left: 0;
    border-radius: 50px;
}

.nav-item .nav-link.active::before,
.navbar .nav-item .nav-link:hover::before {
    width: 100%;
    transition: 0.5s ease-in-out;
}


/* #secondNavbar .nav-item .nav-link {
    color: #111;
} */

.navbar-collapse {
    flex-grow: inherit;
    justify-content: right;
}

.navbar-nav {
    position: relative;
    display: flex;
}

.navbar-icon {
    position: relative;
    display: flex;
    justify-content: center;
    transform: translateY(20%);
}

.nav-icon-item {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.dropdown-menu {
    position: fixed;
    top: 60px;
    right: 5%;
    z-index: 1000;
}

.nav-icon {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    transition: .4s ease all;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-icon span {
    padding: 0 5px;
    text-transform: capitalize;
}

.nav-icon:hover {
    color: #fff;
}

#menuToggle {
    display: none;
    z-index: 10000;
}

#afterLoginLink {
    display: none;
}

@media(max-width:990px) {
    .navbar>.container,
    .navbar>.container-fluid,
    .navbar>.container-lg,
    .navbar>.container-md,
    .navbar>.container-sm,
    .navbar>.container-xl,
    .navbar>.container-xxl {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    .navbar-brand {
        position: relative;
    }
    .navbar-brand .h1 {
        font-size: 1.6rem;
        line-height: 5px;
        font-weight: 600;
        text-align: left;
    }
    .navbar-brand p {
        font-size: 1rem;
        text-align: left;
    }
    .navbar-icon {
        right: 10px;
        position: absolute;
        transform: translateY(-50%);
    }
    .nav-icon-item {
        padding: 0 5px;
    }
    .navbar .navbar-nav>li>a:focus {
        outline: none !important;
        box-shadow: none;
    }
    .navbar-toggler-icon {
        display: block;
        position: relative;
        z-index: 10000;
    }
    .navbar-toggler-icon,
    .navbar-toggler-icon:before,
    .navbar-toggler-icon:after {
        width: 2rem !important;
        height: 2px !important;
        cursor: pointer;
        background: #111;
        transition: transform .5s ease-in-out;
        left: 0px;
        z-index: 100000;
    }
    .sticky .navbar-toggler-icon,
    .sticky .navbar-toggler-icon:before,
    .sticky .navbar-toggler-icon:after {
        background-color: #111;
    }
    .navbar-toggler-icon:before,
    .navbar-toggler-icon:after {
        content: '';
        position: absolute;
        left: 0;
    }
    .navbar-toggler-icon:before {
        bottom: 6px;
    }
    .navbar-toggler-icon:after {
        top: 6px;
    }
    #navbarNav {
        height: fit-content;
        width: 300px;
        opacity: 0;
        position: fixed;
        z-index: 100;
        top: -100%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        transition: 0.5s ease;
        border-radius: 10px;
    }
    #navbarNav:after {
        font-family: 'Material Icons';
        content: "\e5cd";
        position: absolute;
        top: -80px;
        right: 0;
        color: red;
        font-size: 2rem
    }
    .backBlur {
        position: fixed;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        left: 0;
        top: -100%;
        opacity: 0;
        background: rgba(0, 0, 0, 0.3);
    }
    .topNavbar {
        left: 0
    }
    #menuToggle:checked~#navbarNav {
        top: 50%;
    }
    #menuToggle:checked~.backBlur {
        top: 50%;
    }
    .navbar-nav {
        padding: 20px 0;
    }
    .navbar .nav-item {
        padding: 0 20px;
        text-align: center;
    }
    .navbar .nav-item .nav-link {
        padding: 5px 5px 15px 5px;
        text-decoration: none;
        font-size: 16px;
        color: #111;
        display: block;
        transition: 0.3s;
        position: relative;
    }
    .nav-item .nav-link.active {
        color: #111 !important;
    }
    .nav-item .nav-link.active::before,
    .navbar .nav-item .nav-link:hover::before {
        width: 0%;
        transition: 0.5s ease-in-out;
    }
    .navbar .nav-item .nav-link.linkLine::before {
        content: 0;
        position: absolute;
        left: 0;
        bottom: 0;
        background: #fff;
        width: 100%;
        height: 1px;
    }
    #afterLoginLink {
        padding: 0;
        position: relative;
        display: block;
    }
    .navbar-toggler-icon-close {
        display: block;
        position: relative;
        position: absolute;
        right: 20px;
        top: 30px;
        cursor: pointer;
    }
    .navbar-toggler-icon-close:hover {
        transform: rotate(400deg);
    }
    .navbar-toggler-icon-close,
    .navbar-toggler-icon-close:before,
    .navbar-toggler-icon-close:after {
        width: 1.6rem;
        height: 2px;
        background: #111;
        transition: transform .5s ease-in-out;
        transform: rotate(45deg)
    }
    .navbar-toggler-icon-close:before,
    .navbar-toggler-icon-close:after {
        content: '';
        position: absolute;
        left: 0;
    }
    .navbar-toggler-icon-close:before {
        bottom: 6px;
        opacity: 0;
    }
    .navbar-toggler-icon-close:after {
        top: 0px;
        transform: rotate(90deg);
    }
}

@media(max-width:768px) {
    .navbar-brand {
        position: relative;
        height: fit-content;
        transform: scale(1.2);
    }
}

/* ========================= home section ========================= */

.homeSection {
    width: 100%;
    height: 85vh;
    background-color: rgb(0, 0, 0);
    overflow-x: hidden;
    outline: none;
}

.homeSection1 {
    width: 100%;
    height: 85vh;
    overflow-x: hidden;
}

#firstSlide {
    background-image:  url(img/banner01.jpg);
    background-position: center 100%;
    background-repeat: no-repeat;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: 100% 100%;
    animation: slideShow1 22s infinite alternate;
}

#firstSlide1 {
    /* background: linear-gradient(to left, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0)), url(img/banner1.jpg); */
    background-image: url(img/banner01.jpg);
    background-position: center 100%;
    background-repeat: no-repeat;
    -o-background-size: 100%;
    -moz-background-size: 100%;
    -webkit-background-size: 100%;
    background-size: 100% 100%;
    animation: slideShow 22s infinite alternate;
}

#secondSlide {
    /* background: linear-gradient(to left, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.4)), url(img/banner2.jpg); */
    background-image: url(img/banner02.jpg);
    background-position: center 100%;
    background-repeat: no-repeat;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: 100% 100%;
    animation: slideShow1 22s infinite alternate;
}

#secondSlide1 {
    /* background: linear-gradient(to left, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0)), url(img/banner2.jpg); */
    background-image: url(img/banner02.jpg);
    background-position: center 100%;
    background-repeat: no-repeat;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: 100% 100%;
    animation: slideShow1 22s infinite alternate;
}

#thirdslide {
    /* background: linear-gradient(to left, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0)), url(img/banner3.png); */
    background-image: url(img/banner03.jpg);
    background-position: center 100%;
    background-repeat: no-repeat;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: 100% 100%;
    animation: slideShow2 22s infinite alternate;
}

#thirdslide1 {
    /* background: linear-gradient(to left, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0)), url(img/banner3.png); */
    background-image: url(img/banner03.jpg);
    background-position: center;
    background-repeat: no-repeat;
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    background-size: 100% 100%;
    animation: slideShow2 22s infinite alternate;
}

@keyframes slideShow {
    0% {
        background-size: 100% 100%;
    }
    100% {
        background-size: 115% 115%;
    }
}

@keyframes slideShow1 {
    0% {
        background-size: 100% 100%;
    }
    100% {
        background-size: 115% 115%;
    }
}

@keyframes slideShow2 {
    0% {
        background-size: 100% 100%;
    }
    100% {
        background-size: 115% 115%;
    }
}

.homeSection .carousel-inner,
.homeSection .carousel-item {
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.homeSection1 .carousel-inner,
.homeSection1 .carousel-item {
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.homeSection .carousel-caption,
.homeSection1 .carousel-caption {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 24%;
}

.homeSection .carousel-caption h5 {
    font-size: 4rem;
    font-weight: 600;
    font-family: var(---headFont);
    text-transform: capitalize;
    line-height: 3.2rem;
    letter-spacing: 5px;
    color: #fff;
}

.homeSection1 .carousel-caption h5 {
    font-size: 3.4rem;
    font-weight: 600;
    font-family: var(---headFont);
    text-transform: capitalize;
    line-height: 3.6rem;
    letter-spacing: 5px;
    color: #111;
}

.homeSection .carousel-caption h4 {
    font-size: 3rem;
    font-weight: 600;
    font-family: var(---paraFont);
    text-transform: capitalize;
    line-height: 3.6rem;
    color: #fff;
}

.homeSection1 .carousel-caption h4 {
    font-size: 2rem;
    font-weight: 600;
    font-family: var(---paraFont);
    text-transform: capitalize;
    line-height: 3.6rem;
    color: #fff;
}

.homeSection .carousel-caption p {
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(---paraFont);
    text-transform: capitalize;
    line-height: 3.6rem;
    color: #fff;
}

.homeSection .carousel-indicators [data-bs-target] {
    width: 0.6rem;
    height: 0.6rem;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 100px;
}

.homeSection .carousel-item .buttonnav a,
.buttonnav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border: 2px solid #fff;
    border-radius: 20px;
    font-family: var(---fontroboto);
    padding: 7px 28px;
}

.myGallery .buttonnav a {
    color: #180101;
    text-decoration: none;
    font-size: 1.2rem;
    border: 2px solid #180101;
    border-radius: 20px;
    font-family: var(---fontroboto);
    padding: 7px 28px;
}

.homeSection .carousel-item .buttonnav a:hover {
    background-color: #fff;
    border: 2px solid #fff;
    color: #111;
}

.buttonnav a:hover {
    background-color: #180101;
    border: 2px solid #fff;
    color: #fff;
}

.top-links {
    list-style: none;
    display: flex;
    position: absolute;
    justify-content: center;
    z-index: 90;
    width: 100%;
    bottom: 16%;
    left: 0;
}

.top-links li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    font-size: 20px;
    width: 40px;
    height: 40px;
}

.top-links li a {
    padding: 10px;
}

.top-links li a i {
    color: #fff;
}

.top-links li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    font-size: 20px;
    border-radius: 10px;
    width: 40px;
    height: 40px;
}

@media(max-width:1229px) {
    .homeSection .carousel-caption h5 {
        font-size: 3.3rem;
        font-weight: 600;
        font-family: var(---headFont);
        text-transform: capitalize;
        line-height: 3.2rem;
        letter-spacing: 5px;
        color: #fff;
    }
}

@media(max-width:990px) {
    .homeSection {
        width: 100%;
        height: 80vh;
        overflow-x: hidden;
    }
    .homeSection .carousel-inner,
    .homeSection .carousel-item {
        width: 100%;
        height: 80vh;
    }
    .homeSection .carousel-caption,
    .homeSection1 .carousel-caption {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 25%;
        right: 0;
        bottom: 0;
        left: 0;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        text-align: center;
    }
    .homeSection .carousel-caption h5 {
        font-size: 2.6rem;
        font-weight: 600;
        text-transform: capitalize;
        line-height: 2rem;
    }
}

@media(max-width:600px) {
    .homeSection {
        width: 100%;
        height: 80vh;
        overflow: hidden;
        background-color: rgb(0, 0, 0);
    }
    .homeSection1 {
        width: 100%;
        height: 60vh;
        overflow: hidden;
        background-color: rgb(0, 0, 0);
    }
    #firstSlide {
        /* background: linear-gradient(to left, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.4)), url(img/banner1.jpg); */
        background-image: url(img/mbanner01.jpeg);
        background-position: center 100%;
        background-repeat: no-repeat;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: 100% 100%;
    }
    #firstSlide1 {
        /* background: linear-gradient(to left, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0)), url(img/banner1.jpg); */
        background-image: url(img/mbanner01.jpeg);
        background-position: center 100%;
        background-repeat: no-repeat;
        -o-background-size: 100%;
        -moz-background-size: 100%;
        -webkit-background-size: 100%;
        background-size: 100% 100%;
    }
    #secondSlide {
        /* background: linear-gradient(to left, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.4)), url(img/banner2.jpg); */
        background-image: url(img/mbanner02.jpeg);
        background-position: center 100%;
        background-repeat: no-repeat;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: 100% 100%;
    }
    #secondSlide1 {
        /* background: linear-gradient(to left, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0)), url(img/banner2.jpg); */
        background-image: url(img/mbanner02.jpeg);
        background-position: center 100%;
        background-repeat: no-repeat;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: 100% 100%;
    }
    #thirdslide {
        /* background: linear-gradient(to left, rgb(0, 0, 0, 0.3), rgb(0, 0, 0, 0.3)), url(img/banner3.png); */
        background-image: url(img/mbanner03.jpeg);
        background-position: center 100%;
        background-repeat: no-repeat;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: 100% 100%;
    }
    #thirdslide1 {
        background: linear-gradient(to left, rgb(0, 0, 0, 0), rgb(0, 0, 0, 0)), url(img/banner3.png);
        background-image: url(img/mbanner03.jpeg);
        background-position: center;
        background-repeat: no-repeat;
        -o-background-size: cover;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: 100% 100%;
    }
    .homeSection .carousel-inner,
    .homeSection .carousel-item {
        width: 100%;
        height: 80vh;
        overflow: hidden;
    }
    .homeSection1 .carousel-inner,
    .homeSection1 .carousel-item {
        width: 100%;
        height: 60vh;
        overflow: hidden;
    }
    .homeSection .carousel-caption,
    .homeSection1 .carousel-caption {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 25%;
        right: 0;
        bottom: 0;
        left: 0;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        text-align: center;
    }
    .homeSection .carousel-caption h5 {
        font-size: 1.6rem;
        font-weight: 600;
        text-transform: capitalize;
        line-height: 2rem;
        letter-spacing: 2px;
        color: #fff;
        font-family: 'roboto';
    }
    .homeSection1 .carousel-caption h5 {
        font-size: 2.6rem;
        font-weight: 600;
        font-family: var(---headFont);
        text-transform: capitalize;
        line-height: 3.6rem;
        letter-spacing: 5px;
        color: #111;
    }
    .homeSection .carousel-caption h4 {
        font-size: 3rem;
        font-weight: 600;
        font-family: var(---fontPoppins);
        text-transform: capitalize;
        line-height: 3.6rem;
        color: #fff;
    }
    .homeSection1 .carousel-caption h4 {
        font-size: 1rem;
        font-weight: 600;
        font-family: var(---fontPoppins);
        text-transform: capitalize;
        line-height: 3.6rem;
        color: #fff;
    }
    .homeSection .carousel-caption p {
        font-size: 0.9rem;
        font-weight: 600;
        font-family: var(---fontPoppins);
        text-transform: capitalize;
        line-height: 1.6rem;
        color: #fff;
    }
    .homeSection .carousel-item .buttonnav a,
    .buttonnav a {
        font-size: 0.9rem;
        border: 2px solid #fff;
        border-radius: 18px;
        font-family: var(---fontroboto);
        padding: 5px 24px;
    }
    .homeSection .carousel-item .buttonnav a:hover {
        background-color: transparent;
        border: 2px solid var(---primaryColor);
        color: var(---primaryColor);
    }
    .top-links {
        list-style: none;
        display: flex;
        position: absolute;
        justify-content: center;
        z-index: 90;
        width: 100%;
        left: 0;
    }
    .homeSection .carousel-indicators [data-bs-target] {
        width: 0.6rem;
        height: 0.6rem;
        background-color: #fff;
        border: 2px solid #fff;
        border-radius: 100px;
    }
}


/* ========================= about ============================== */

.aboutUs {
    padding: 40px 100px;
}

.aboutUs .aboutText h2 {
    font-family: var(---headFont);
    margin-top: 20px;
}

.aboutUs .aboutText h6 {
    font-family: var(---paraFont);
    font-size: 20px;
    margin-bottom: 10px;
}

.aboutText a {
    text-decoration: none;
}

.aboutText button {
    background-color: #fff;
    padding: 6px 8px;
    color: rgb(236, 35, 0);
    font-weight: bold;
    border: rgb(236, 35, 0) solid 2px !important;
    border-radius: 10px;
}

.aboutImg {
    width: 80%;
    height: 300px;
}

.aboutImg img{
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 5px 10px;

}

@media(max-width: 500px) {
    .aboutUs {
        padding: 15px;
    }
    .aboutImg {
        margin-top: 10px;
        width: 100%;
        height: 250px;
    }
}

/* ====================== premium class ============================ */

.premium {
    padding: 20px 40px;
    background: linear-gradient(to right, rgb(0,0,0, .3), rgb(0,0,0, .7)),url(img/banner2.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}

.swiper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.card-body {
    width: 100%;
    height: 100%;
}

.swiper-button-next {
    color: rgb(236, 35, 0);
}

.swiper-button-prev {
    color: rgb(236, 35, 0);
}

.premium .premiumIcon {
    width: 100px;
    height: 100px;
    margin: auto;
}

.premium .premiumIcon img {
    width: 100%;
    height: 100%;
}

.premium .card-title {
    margin: 15px 0px;
}

.cardservice {
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 5px 10px;
    /* margin: 4%; */
    padding: 25px;
}

.premium .cardservice {
    height: 33rem;
}

.premium .premiumText h2 {
    color: #fff;
    font-family: var(---headFont);
    font-size: 45px;
    text-align: center;
}

@media(max-width: 500px) {
    .premium .cardservice{
        height: 32rem;
    }
}

/* ========================== our courses ================================= */

.courses {
    padding: 20px 100px;
}

.courses .coursesHead {

    text-align: center;
}

.courses .coursesHead h2 {
    font-family: var(---headFont);
}

.courses .coursesHead h6 {
    font-family: var(---paraFont);
    font-size: 22px;
} 

.courses .cardservice .card-body {
    text-align: center;
    justify-content: space-between;
}

.courses .cardservice {
    margin-bottom: 20px;
     min-height:  450px; 
}

.courses .cardservice {
    height: auto;
}

.courses .premiumIcon {
    width: 120px;
    height: 120px;
    margin: auto;
}

.courses .premiumIcon img {
    width: 100%;
    height: 100%;
}

.courses .courseBtn {
    background-color: #fff;
    padding: 8px 10px;
    color: rgb(236, 35, 0);
    font-weight: bold;
    border: rgb(236, 35, 0) solid 2px !important;
    border-radius: 10px;
   
    
}

.courses .courseBtn:hover {
    background-color: rgb(196, 29, 0);
    color: #fff;
}

.cardservice .card-title {
    font-family: var(---headFont);
    font-size: 32px;
    margin: 10px 0px;
}

@media(max-width:500px) {
    .courses{
        padding: 15px;
    }
    .courses .cardservice {
        height: auto;
        margin-bottom: 20px;
    }
    .courses .coursesHead h6 {
        margin-bottom: 25px;
    }
    .courses .premiumIcon {
        width: 98px;
        height: 95px;
    }
}
/* =============================== counter ============================ */
.counter {
    background: linear-gradient(to right, rgb(0,0,0, .4), rgb(0,0,0, .7)),url(img/banner3.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding:  80px;    
}

.counter .counterItem {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.counter .counterIcon i {
    font-size: 50px;
    margin-bottom: 15px;
}

@media(max-width: 500px) {
    .counter {
        padding: 20px;
    }
    .counter .counterItem {
        margin-bottom: 45px;
    }
}

/* ======================== life at tution ========================= */

.tutionLife {
    padding: 30px 100px;
}

.tutionLife .tutionLifeHead h2 {
    font-family: var(---headFont);
    text-align: center;
    font-size: 35px;
    margin-bottom: 20px;
}

.tutionLife .tutionLifeImg {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 10px;
} 

.attrectionCard h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: fit-content;
    padding: 10px 15px;
    background-color: rgb(0, 0, 0, .5);
    margin: 0;
    text-align: center;
    transition: 0.5s ease-in-out;
    color: #fff;
    font-size: 1.3rem;
}

.attractionBody {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: rgb(0, 0, 0, .5);
    bottom: -100%;
    opacity: 0;
    transition: 0.5s ease-in-out;
    padding: 10px;
}

.attractionBody h3 {
    text-align: center;
    font-weight: 500;
    color: #fff;
    font-size: 1.4rem;
}

.attractionBody p {
    text-align: center;
    color: #eee;
    font-size: .90rem;
}

.attrectionCard:hover .attrectionImg h3 {
    visibility: hidden;
    opacity: 0;
    transition: 0.5s ease-in-out;
}

.tutionLifeImg img:hover .attractionBody {
    bottom: 0;
    transition: 0.5s ease-in-out;
    opacity: 1;
}


.tutionLife .tutionLifeImg img {
    width: 100%;
    height: 100%;
}

@media(max-width:500px) {
    .tutionLife{
        padding: 20px;
    }
}

/* ======================== Video Styling ========================= */

.tutionLifeVideo {
    position: relative;
    height: 250px !important;/* Ensures all videos have the same height */
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000; 
    border-radius: 0px;
    overflow: hidden;
}

.tutionLifeVideo > video {
    width: 100%; /* Ensures all videos take full width */
    height: 100% !important; /* Makes sure all videos match the container height */
    object-fit: cover; /* Prevents distortion and maintains aspect ratio */

}


/* Title overlay on videos */
/* .tutionLifeVideo h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0;
    text-align: center;
    transition: 0.5s ease-in-out;
    color: #fff;
    font-size: 1.3rem;
}

/* Hover effect to fade in the title */
/* .tutionLifeVideo:hover h3 {
    background-color: rgba(0, 0, 0, 0.8);
}  */

/* Responsive adjustments for small screens */
@media (max-width: 500px) {
    .tutionLifeVideo {
        height: 200px;
    }
}


/* ================================== footer ================================= */

.footer-section {
    background: #34333b;
    position: relative;
}

.footer-cta {
    border-bottom: 1px solid #373636;
}

.single-cta i {
    color: #d00006;
    font-size: 30px;
    float: left;
    margin-top: 8px;
}

.cta-text {
    padding-left: 15px;
    display: inline-block;
}

.cta-text h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 2px;
}

.cta-text span {
    color: #757575;
    font-size: 15px;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-pattern img {
    position: absolute;
    top: 0;
    left: 0;
    height: 330px;
    background-size: cover;
    background-position: 100% 100%;
}

.footer-logo {
    width: 200px;
    height: 150px;
    margin-bottom: 10px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
}

.footer-text p {
    margin-bottom: 14px;
    font-size: 14px;
    color: #cfcfcf;
    line-height: 28px;
}

.footer-social-icon span {
    color: #fff;
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-family: var(---headFont);
    margin-bottom: 20px;
}


.footer-social-icon a {
    color: #fff;
    font-size: 16px;
    margin-right: 15px;
}

.footer-social-icon i {
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 38px;
    border-radius: 50%;
}

.facebook-bg {
    background: #3B5998;
}

.twitter-bg {
    background: #55ACEE;
}

.google-bg {
    background: #f304df;
}

.footer-widget-heading h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
}

.footer-widget-heading h3::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    height: 2px;
    width: 50px;
    background: #d00006;
}

.footer-widget ul li {
    display: inline-block;
    /* float: left; */
    width: 50%;
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: #cfcfcf;
    text-transform: capitalize;
}

.footer-widget ul li a:hover {
    color: #a41d21;
}

.subscribe-form {
    position: relative;
    overflow: hidden;
}

.subscribe-form input {
    width: 100%;
    padding: 14px 28px;
    background: #2E2E2E;
    border: 1px solid #2E2E2E;
    color: #fff;
}

.copyright-area {
    background: #202020;
    padding: 25px 0;
}

.copyright-text p {
    margin: 0;
    font-size: 14px;
    color: #878787;
}

.copyright-text p a {
    color: #d00006;
    text-decoration: none;
}

.footer-menu li {
    display: inline-block;
    margin-left: 20px;

}

.footer-menu li:hover a {
    color: #d00006;
}

.footer-menu li a {
    font-size: 14px;
    color: #878787;
}

.footer-section .footer-social {
    margin-top: 20px;
}

.footer-section .footer-social .footer-social-icon{
    background-color: #d00006;
    border-radius: 10px;
    width: 50px;
    display: flex;
    align-content: center;
    justify-content: center;
}

.footer-social .footer-social-icon i {
        font-size: 25px;
        color: #fff;
        display: flex;
        align-content: center;
        justify-content: center;
}

@media(max-width: 600px) {
    .footer-section .footerUsefulWidth {
        width: 50%;
    }
}

/* ================================= about.php ============================================
================================================================================================== */

.aboutHome {
    background: linear-gradient(to left, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.4)), url(img/banner1.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.aboutHome h2 {
    font-family: var(---headFont);
    font-size: 45px;
}

.aboutHome h6 {
    font-family: var(---paraFont);
}

/* ===================== director ============================= */

.director {
    padding: 20px 80px;
}
.director .directorTxt h2 {
    margin-top: 30px;
    font-family: var(---headFont);
}

.director .directorTxt h6 {
    font-family: var(---paraFont);
    font-size: 22px;
}

.director .directorImg {
    width: 53%;
    height: 430px;
}

.director .directorImg img {
    width: 100%;
    height: 100%;
    /* border-radius: 50%; */
    box-shadow: 5px 10px 20px 1px rgba(0,0,0, .253);
}

@media(max-width:500px) {
    .director{
        padding: 20px;
    }
    .director .directorImg {
        width: 100%;
        height: 370px;
    }
}
/* ============================== vision mission ============================ */

.vision {
    padding: 20px 80px;
}

.vision .visionImg {
    width: 90%;
    height: 300px;
}

.vision .visionImg img {
    width: 100%;
    height: 100%;
}

.vision .visionPointer {
    display: flex;
}

.vision .visionPointer .visionIcon i{
    font-size: 40px;
    color: rgb(196, 29, 0);
    margin-right: 10px;
}

.vision .visionPointer .pointerText h4 {
    font-family: var(---headFont);
}

.vision .visionPointer .pointerText p{
    font-family: var(---paraFont);
}


@media(max-width: 500px){
    .vision {
        padding: 18px;
    }
    .vision .visionImg {
        margin-top: 25px;
        width: 100%;
    }
}

/* ================================= success.php =================================
==================================================================================== */
.successHome {
    background: linear-gradient(to left, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.4)), url(img/tution-banner.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.successHome h1 {
    font-family: var(---headFont);
    font-size: 45px;
}

.successHome h2 {
    font-family: var(---headFont);
    font-size: 45px;
}

.successHome h6 {
    font-family: var(---paraFont);
}

/* =============================== toppers ========================================== */

.toppers {
    padding: 40px 80px;
}

.toppers .topperCard {
    padding: 0px 30px;
    margin-bottom: 30px;
}

.toppers .topperCard .topperImg {
    width: 100%;
    height: 265px;
} 

.toppers .topperCard .topperImg img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: rgb(196, 29, 0) solid 5px;
} 

.toppers .topperCard .topperText {
    text-align: center;
}

@media(max-width:500px){
    .toppers{
        padding: 18px;
    }
    .toppers .topperCard{
        margin-bottom: 15px;
    }
    .toppers .topperCard .topperImg {
        height: 220px;
    }
}

/* ================================== testimonal.php ====================================
=============================================================================================== */

.testimonalHome {
    background: linear-gradient(to left, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.4)), url(img/tution1.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.testimonalHome h2 {
    font-family: var(---headFont);
    font-size: 45px;
}

.testimonalHome h6 {
    font-family: var(---paraFont);
}

/* =================== student review ====================== */

.studentReview {
    padding: 10px;
}

.studentReview .studentReviewHead h2 {
    font-family: var(---headFont);
    text-align: center;
    padding: 15px 0px;
    font-size: 40px;
}

.studentCard {
    display: flex;
    padding: 20px 160px;
}

.studentCard .studentCardImg {
    width: 550px;
    height: 400px;
}

.studentCard .studentCardImg img {
    width: 100%;
    height: 100%;
}

.studentCard .studentCardTextInner {
    background-color: rgb(53, 53, 53);
    padding: 40px;
    border-radius: 10px;
}

/* .studentCard .studentCardText {
    margin-top: 25vh;
    transform: translateX(-30px);
} */

.studentCard .studentCardText h6 {
    color: #fff;
}

.studentCard .studentCardTextInner h4 {
    text-align: right;
    color: #fff;
    margin-top: 15px;
}

.studentCard .studentCardImg img{
    width: 100%;
    height: 100%;
} 

@media(max-width: 600px) {
    .studentReview .studentReviewHead h2 {
        padding: 0px;
    }
    .studentCard {
        padding: 20px;
        display: unset;
    }
    .studentCard .studentCardText {
        transform: translateX(0px);
        margin-top: 0vh;
    }
    .studentCard .studentCardImg {
        width: 100%;
        height: 250px;
        padding: 0px 20px;
    }    
    .studentCard .studentCardTextInner {
        padding: 10px;
    }
    .studentCard .studentCardTextInner h4 {
        margin-top: 0px;
    }
}

/* ============================= parents review ========================================== */
.custReview .wrapper {
    background: linear-gradient(to right, rgb(32, 84, 121, .6), rgb(32, 84, 121, .8)), url(img/banner2.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 70vh;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.custReview .wrapper h2 {
    font-family: var(---headFont);
    color: #fff;
    margin-top: 0;
}

.custReview .wrapper h5 {
    font-family: var(---btnFont);
    color: #fff;
    margin-bottom: 50px;
}

.wrapper .cards {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1000px;
    margin: 0 auto;
}

.custReview .reviewCard {
    width: 380px;
    height: 280px;
    border-radius: 15px;
    margin: 7px;
    padding: 20px 30px;
    position: relative;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 10px 20px 25px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

.custReview .reviewCard img {
    height: 90px;
    width: 90px;
    border: 2px solid var(---primeColor);
    border-radius: 50%;
    position: absolute;
    top: -40px;
    left: 10px;
}

.custReview .reviewCard h4 {
    font-family: var(---btnFont);
    margin-bottom: 0;
}

.custReview .reviewCard p {
    font-family: var(---paraFont);
    margin-top: 37px;
    margin-bottom: 0.5rem;
}

.custReview .reviewCard i {
    font-size: 60px;
    position: absolute;
    bottom: 20px;
    right: 25px;
    color: #fdb901;
}

.custReview .reviewCard:hover {
    transform: scale(1.4);
    color: #333;
    background-color: #fff;
    z-index: 10000;
}

@media (max-width: 768px) {
    .wrapper .cards {
        flex-direction: column;
        width: 100%;
        flex-wrap: wrap;
    }
    .custReview .reviewCard {
        margin: 40px 0;
        width: 95%;
    }
    .custReview .reviewCard:hover {
        transform: scale(1.1);
        color: #333;
        background-color: #fff;
        z-index: 10000;
    }
    .custReview .wrapper h2 {
        font-family: var(---headFont);
        color: #fff;
        margin-top: 30px;
    }
}


/* =========================== courses.php ========================================= */

.coursesHome {
    background: linear-gradient(to left, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.4)), url(img/tution3.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.coursesHome h1 {
    font-family: var(---headFont);
    font-size: 45px;
}

.coursesHome h2 {
    font-family: var(---headFont);
    font-size: 45px;
}

.coursesHome h6 {
    font-family: var(---paraFont);
}

.ssc {
    padding: 20px 100px;
}

.ssc .sscImg {
    width: 80%;
    height: 300px;
}

.ssc .sscImg img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.icse {
    padding: 20px 100px;
}

.icse .icseImg {
    width: 80%;
    height: 300px;
}

.icse .icseImg img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.courseText h2 {
    font-family: var(---headFont);
    margin-top: 15px;
}

.courseText h6 {
    font-family: var(---paraFont);
    font-size: 18px;
    margin-bottom: 20px;
}

.courseText a {
    text-decoration: none;
}

.courseText button {
    background-color: #fff;
    padding: 8px 10px;
    color: rgb(236, 35, 0);
    font-weight: bold;
    border: rgb(236, 35, 0) solid 2px !important;
    border-radius: 10px;
}

@media(max-width:500px){
    .ssc{
        padding: 15px;
    }
    .icse {
        padding: 15px;
    }
    .ssc .sscImg {
        width: 100%;
    }
    .icse .icseImg {
        width: 100%;
    }
}
/* ============================= contact ====================================== */

.contactHome {
    background: linear-gradient(to left, rgb(0, 0, 0, 0.4), rgb(0, 0, 0, 0.4)), url(img/banner2.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.contactHome h2 {
    font-family: var(---headFont);
    font-size: 45px;
}

.contactHome h6 {
    font-family: var(---paraFont);

}

/* ================ contact boxes ======================== */
.contactBoxes {
    padding: 40px 80px;
    background-color: #eee;
}

.contactBox {
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 250px;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 15px 0 rgb(0 0 0 / 19%);
}

.contactBoxTxt h4 {
    font-family: var(---headFont);
}

.contactBoxTxt h6 {
    font-family: var(---paraFont);
}

.contactBoxIcon {
    background-color: rgb(255, 25, 0);
    border-radius: 50%;
    padding: 20px 25px;
    margin-bottom: 18px;
}

.contactBoxIcon i {
    font-size: 45px;
    color: #fff;
}  

@media(max-width:500px) {
    .contactBoxes {
        padding: 20px;
    }
    .contactBoxIcon i {
        font-size: 30px;
    }  
    .contactBox {
        margin-bottom: 15px;
    }
    
}

/* ======================= form and map ============================== */

.formAndMap {
    background: linear-gradient(to right, rgb(255, 255, 255, .7), rgb(255, 255, 255, .4)),url(img/formBg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    padding: 40px 100px;
}


/* form */

.homeContact {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px 0;
}

.contactForm .titleSection {
    font-family: var(---headFont);
    text-align: center;
}

.contactForm #success {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.contactForm button {
    background-color: #fdcf0a;
    padding: 10px 18px;
    text-align: center;
}       

.contactSection {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.contactSection h1 {
    margin-bottom: 40px;
}

.mapSection {
    padding: 10px;
    height: 350px;
}

.mapSection iframe {
    border-radius: 10px;
    box-shadow: 5px 10px 20px 1px rgba(0,0,0, .253);
}

#contactForm .control-group {
    margin-bottom: 10px;
}

@media(max-width: 500px){
    .formAndMap{
        padding: 20px;
    }
}