:root {
    --main-blue: rgb(0, 43, 128);
    --light-blue: rgba(48, 77, 131, 0.801);
    --secondary-blue: #0383c6;
    --main-cyan: rgb(130, 205, 222);
    --main-font: 'Source Sans 3', sans-serif;
    --secondary-font: 'Merriweather', serif;
}

* {
    list-style: none;
    text-decoration: none !important;
}

a {
    color: inherit;
}

.container {
    padding-inline: 5rem;
}

.bg-cyan {
    background-color: var(--main-cyan) !important;
}

.bg-blue {
    background-color: var(--main-blue) !important;
}

.bg-blue-secondary {
    background-color: var(--secondary-blue);
}

.text-cyan {
    color: var(--main-cyan) !important;
}

.text-blue {
    color: var(--main-blue);
}

.text-blue-secondary {
    color: var(--secondary-blue);
}

.main-font {
    font-family: var(--main-font) !important;
}

.secondary-font {
    font-family: var(--secondary-font);
}

#site-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.fa-circle-arrow-up {
    position: fixed;
    bottom: 20px;
    right: -50px;
    font-size: 1.5rem;
    color: white;
    background-color: var(--secondary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
}

.fa-circle-arrow-up.show {
    right: 20px;
}

.fa-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 70px;
    width: 45px;
    height: 45px;
    background-color: rgb(0, 168, 132);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 50%;
    z-index: 999;
    cursor: pointer;
}

/* !---------------------------------------Alert Style Start------------------------------------- */
#offcanvas {
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 5px #00000038;
    transition: top 2s;
    min-width: 320px;
}

#offcanvas .btn-close:focus {
    box-shadow: none;
}

.offcanvas-alert {
    overflow: hidden;
}

.alert-img {
    max-width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
}

.alert-img::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background-color: var(--secondary-blue);
    right: -20px;
}

.alert-img img {
    border-radius: 50%;
}

#offcanvas a {
    color: var(--secondary-blue) !important;
    font-size: 0.8rem;
    font-weight: 600;
}

#offcanvas a:hover {
    text-decoration: underline !important;
}

/* !---------------------------------------Alert Style End-------------------------------------- */

/* !---------------------------------------Header Style Start----------------------------------- */
.header-top {
    background-color: var(--main-blue);
}

.header-top a {
    font-size: 0.8em;
    font-weight: 400;
    color: var(--main-blue);
    background-color: rgb(4, 209, 255);
    padding: 3px 10px;
    border-radius: 3px;
}

.header-top>div>div:first-child a:hover {
    background-color: #63cbd1;
}

.search-box {
    position: relative;
    background-color: var(--main-cyan);
    border-radius: 3px;
    padding-right: 0.5rem;
}

.search-box input {
    padding: 0 0.5rem;
    width: 200px;
    border: none;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    font-size: 0.9rem;
}

.search-box button {
    background-color: transparent;
    border: none;
    border-radius: 3px;
    width: 30px;
    color: var(--main-blue);
}

.search-box::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 25px;
    background-color: white;
    left: -12px;
}

.navbar-brand {
    width: 60px;
    height: 60px;
}

.navbar-collapse ul li {
    font-size: 16px;
    font-weight: 500;
}


.navbar-collapse ul li.dropdown:hover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    border-bottom: 2px solid var(--main-cyan);
    bottom: 5px;
    margin: 0 0.25rem;
}

.navbar-collapse ul li:hover .dropdown-menu {
    display: block !important;
    border-radius: 0;
    background-color: rgba(143, 209, 224);
}

.navbar-collapse ul li:hover .spicial-dropdown {
    display: flex !important;
    margin-left: -27rem !important;
    border-radius: 0;
    background-color: rgba(143, 209, 224);
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: transparent;
    color: white;
}

.offcanvas {
    color: white;
    background-color: #193f8cd3;
}

.offcanvas .dropdown ul {
    margin: 0.5rem 0;
    background-color: #002b7f;
}

.offcanvas .nav-link {
    color: white;
}

/* !---------------------------------------Header Style End-------------------------------------- */

/* !---------------------------------------Slider Style Start------------------------------------ */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #00ceff;
}

.carousel-indicators .active {
    background-color: white;
}

.slider-title {
    background-color: var(--light-blue);
    color: white;
    padding: 1.5rem 1rem;
    font-weight: 600;
    font-size: 1.5rem;
    min-width: 100%;
}

.img-fluid {
    min-width: 100%;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-prev i {
    width: 60px;
    height: 60px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-control-next i {
    width: 60px;
    height: 60px;
}

/* !---------------------------------------Slider Style End------------------------------------ */

/* !---------------------------------------Courses Style Start-----------------------------*/
.course-img {
    width: 100px;
    height: 100px;
    margin: 0.5rem 0;
    transition: all 0.3s;
}

.course-img img {
    height: 100%;
}

.course-img:hover {
    scale: 1.2;
}

.main-img {
    min-width: 360px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--main-cyan);
}

.img2 img {
    right: 50px;
}

.img4 {
    bottom: -70px;
    margin-left: 6rem;
}

.img6 img {
    left: 50px;
}

.explore-course {
    width: 100px;
    height: 100px;
}

/* !---------------------------------------Courses Style End-------------------------------*/

/* !---------------------------------------Blogs Style Start--------------------------------*/
.blogs {
    margin-top: 7rem !important;
}

.blogs .card-img {
    width: 200px;
}

/* !---------------------------------------Blogs Style End----------------------------------*/

/* !---------------------------------------News Style Start----------------------------------- */
.news .col .card {
    min-height: 420px;
}

.news .col .card .card-body a {
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 1.25rem;
}

.news .col .card .card-body a:hover {
    text-decoration: underline !important;
}

/* !---------------------------------------News Style End--------------------------------------*/

/* !---------------------------------------Footer Style Start----------------------------------*/
footer {
    background-color: rgb(230, 230, 230);
    padding: 1.5rem 0;
}

footer .footer-top ul li {
    position: relative;
    font-weight: 700;
}

footer .footer-top ul li:not(:last-child):after {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background-color: black;
    right: -10px;
}

footer .footer-top ul li a:hover {
    text-decoration: underline !important;
}

.footer-middle {
    background-color: rgb(249, 249, 249);
}

.footer-middle a {
    color: var(--secondary-blue);
}

.footer-middle a:hover {
    text-decoration: underline !important;
}

.footer-middle h6 {
    font-weight: 700;
    margin: 2rem 0;
}

.footer-middle p {
    font-size: 0.82rem;
}

.footer-middle-img {
    width: 100px;
    height: 100px;
}

.footer-middle ul li {
    margin: 0.5rem 0;
}

.footer-bottom ul li {
    width: 40px;
    height: 40px;
    border: 2px solid gray;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.footer-bottom ul li:hover {
    color: var(--secondary-blue);
    border: 2px solid var(--main-blue);
}

/* !---------------------------------------Footer Style End------------------------------------*/
/* !Media Query For Different Devices   */

@media (min-width:769px) and (max-width:1439px) {

    .navbar-collapse ul li,
    .fa-chevron-down {
        font-size: 10.71px;
    }
}

@media (min-width:992px) and (max-width:1024px) {
    .carousel-control-next {
        right: 10px;
    }

    .carousel-control-prev {
        left: 10px;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .carousel-control-next {
        right: 30px;
    }

    .carousel-control-prev {
        left: 30px;
    }
}

@media (min-width:320px) and (max-width:768px) {
    .slider-title {
        padding: 0;
    }

    .carousel-item img {
        width: 300px;
    }
}

@media (min-width:320px) and (max-width:426px) {
    .slider-title {
        font-size: 1rem !important;
    }

    .slider-title {
        padding: 2.25rem;
    }

    .course-container {
        position: relative;
    }

    .main-img {
        position: absolute;
    }

    .img2 {
        bottom: 35px;
        left: -55px;
    }

    .img3 {
        bottom: 145px;
        left: -5px;
    }

    .img5 {
        top: -20px;
    }

    .img1 {
        top: -257px;
        left: 98px;
    }

    .img6 {
        top: 21px;
        right: -43px;
    }

    .img4 {
        bottom: -95px;
        left: 90px;
        margin: 0;
    }

    .img7 {
        left: -108px;
        top: -86px;
    }
}