/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* General Styling */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Root Variables */
:root {
    --color-default: #124359;
    --color-second: #0067ac;
    --color-white: #fff;
    --color-body-: #a7d2ef;
    --color-light: #EBD774;
}

/* Navbar Styling */
.navbar {
    background-color: #0B4D5C !important;
    /* Ensure it overrides other styles */
    color: white;
    padding: 2px;
}

.navbar-collapse {
    flex-basis: fit-content ! important;
}

.nav-item {
    margin-right: -23px;
}

/* Playstore Image Styling */
.playstore {
    height: auto;
}

/* Carousel Styling */
.carousel-item {
    height: 350px;
}

@media (max-width: 767px) {


    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 768px) {

    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    .carousel-inner .carousel-item-start.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
    transform: translateX(0);
}

.multiItem {
    height: 220px;
}

.prev,
.next {
    font-size: 30px;
    color: black;
    height: 160px;
}

/* Browse Courses Styling */
.browseAllCourses {
    background-color: #D6F0FC;
}

.BrowseCourses {
    align: left;
}

.button1 {
    align: left;
    margin-right: 20px;
    font-weight: 500;
    color: rgb(71, 71, 71);
}

.CoursesItemBox {
    height: 110px;
    width: 215px;
    border: 1.5px solid rgb(218, 218, 218);
    background-color: white;
    border-radius: 10px;
    margin: 20px;
    position: relative;
    color: rgb(71, 71, 71);
}

.cc {
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: 500;
    margin: 10px;
}

/* Job and Current Affairs Styling */
.jobAndCurrentAffairs {
    background-color: white;
}

.jobCurrent {
    font-weight: 400;
}

.affairs {
    font-weight: 500;
}

/* Today's Question Box Styling */
.todaysQuestionBox {}

.Questionoftheday {
    border: 2px solid #0DCEF4;
    border-radius: 20px;
    height: 300px;
}

.discriptionbox {
    font-weight: 800;
    font-size: 30px;
}

/* Profile Image Styling */
.profile {
    border: 4px solid;
    border-color: #124359;
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Custom Border Styling */
.custom {
    width: 250px;
    border: 4px solid;
    border-color: #124359;
}

@media all and (min-width: 767px) {
    #navElementDropdown {
        display: none;
    }
}

.scroll-hide-navbar {
    transition: top 0.3s ease-in-out;
}

.hidden-navbar {
    top: -100px;
}