html, body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	background-color: #f8f9fa;
    font-family: Arial, sans-serif;

}

* {
    border-radius: 0 !important;
}

header {
    top: 0;
    position: sticky;
    background-color: #f1f1f1;
    z-index: 1000; /* Ensures the header stays on top */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for better appearance */
    border-bottom: 4px solid darkblue;
}

.headerMainDiv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.bars {
    margin-right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover; /* Ensures the logo image maintains its aspect ratio */
}

.cart-link {
    color: #333;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.badge {
    background-color: #ff6347; /* Slightly more noticeable color for the cart badge */
    color: #fff;
}

/*.sectionHeader{
	background-color: #F8F8FF;
	font-family: sans-serif;
	font-weight: bold;
}

.courseMainDiv{
	border-radius: 0;
	border: 1px solid #ddd;
	margin-bottom: 20px;
}

.courseCover{
	width: 100%;
	height: 120px;
}

.infoHeader{
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #ddd;
}

.infoFooter{
	display: flex;
	align-items: center;
	border-top: 1px solid #ddd;
	padding-top: 10px;
}

.addToCartBtn{
	flex: 1;
	background-color: darkblue;
	font-family: sans-serif;
	margin-right: 10px;
	border-radius: 0;
	border: 0;
	padding: 10px;
	color: #fff;
}

.priceDiv{
	background-color: red;
	padding: 10px;
	color: #fff;
}*/

.sectionHeader{
    background-color: #F8F8FF;
    font-family: sans-serif;
    font-weight: bold;
}

.courseMainDiv{
    border-radius: 0px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.courseMainDiv:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.courseCover{
    width: 100%;
    height: 200px;
    border-radius: 0;
    /*object-fit: cover;*/
}

.infoHeader{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.infoFooter{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.addToCartBtn{
    flex: 1;
    background-color: darkblue;
    font-family: sans-serif;
    margin-right: 10px;
    border-radius: 0px;
    border: 0;
    padding: 10px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.addToCartBtn:hover{
    background-color: navy;
}

.priceDiv{
    background-color: red;
    padding: 10px;
    color: #fff;
    border-radius: 0px;
}

.cartItem{
    display: flex;
    justify-content: space-between;
    /*align-content: center;*/
    align-items: center;
    padding: 20px 0;
}

.cartInfo{
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
}

.cartImage img{
    /*height: 100%;*/
}


/* Sidebar container */
.sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    background-color: #f1f1f1;
    color: #eee;
    transition: 0.3s ease;
    z-index: 1000;
    padding-top: 20px;
}

/* Sidebar header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #737373;
    font-size: 1.2em;
}

.close-btn {
    font-size: 1.5em;
    cursor: pointer;
}

/* Sidebar menu */
.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin: 20px 0;
}

.sidebar-menu li a {
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-size: 1em;
    transition: background 0.3s ease;
}

.sidebar-menu li a:hover {
    background-color: #808080;
    color: #fff;
}

.sidebar-menu li a i {
    margin-right: 10px;
}

/* Overlay for mobile view */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

/* Show sidebar and overlay on small devices */
#sidebar.open {
    left: 0;
}

#sidebar-overlay.show {
    display: block;
}

.active{
	background-color: #737373;
	color: #eee !important;
}


/* footer styles */
footer {
    background-color: #f1f1f1;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 100px;
    /*height: 50px;*/
    margin-bottom: 10px;
    border-radius: 50%;
}

.footer-text {
    font-family: sans-serif;
    font-size: 14px;
    color: #333;
}


.top-header {
    background-color: #f1f1f1;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}


/**/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-logo img {
    max-width: 80px;
    height: auto;
    border-radius: 50%;
}

.header-info {
    flex: 1;
    margin-left: 20px;
}

.header-info h1 {
    font-size: 2rem;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.header-info p {
    font-size: 1rem;
    margin: 5px 0 0;
    color: #555;
}


.about-section, .contact-section {
    padding: 50px 0;
}

.about-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-section ul {
    list-style-type: none;
    padding: 0;
}

.contact-section ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-form .form-control {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ccc;
}

.contact-form button {
    border-radius: 0;
    padding: 10px 20px;
    background-color: darkblue;
    color: #fff;
    border: none;
}

@media only screen and (max-width: 768px) {
    .about-section img, .contact-section .contact-form {
        margin-bottom: 20px;
    }
}


.btn {
    border-radius: 0;
}

.course-image-container img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: 0px;
}

.course-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.course-price {
    font-size: 1.5rem;
    font-weight: bold;
}

.course-description p, .course-syllabus {
    font-size: 1rem;
    line-height: 1.6;
}

.course-syllabus li {
    list-style: disc;
    margin-left: 1.5rem;
}

.review {
    border-left: 4px solid #007bff;
}

/*.star-rating .star {
    font-size: 1.5em;
    color: #ddd;
    cursor: pointer;
}
.star-rating .star.selected,
.star-rating .star:hover,
.star-rating .star:hover ~ .star {
    color: #f39c12;
}
*/

/* Submission Stars */
.submit-star-rating .star {
    font-size: 1.5em;
    color: #ddd;
    cursor: pointer;
}
.submit-star-rating .star.selected,
.submit-star-rating .star:hover,
.submit-star-rating .star.hover {
    color: #f39c12;
}

/* Display Stars */
.display-star-rating .star {
    font-size: 1.5em;
    color: #ddd;
    pointer-events: none; /* Prevent hover or click */
}
.display-star-rating .star.selected {
    color: #f39c12;
}



/* Loader style */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#loader h4{
    margin-bottom: -7px;
}

#loader img {
    width: 100px;
    height: 100px;
}