
body {
    background-color: #f4f4f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* -----------------------------------------NAvbar---------------------------------------- */
/* ====================================================
   Navbar Styling
   ---------------------------------------------------- */

   .navbar-custom {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.4s ease;
    /* Smooth transition for sticky effect */
}

.navbar-custom.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Adding more depth when sticky */
    transition: all 0.4s ease;
}

/* Navbar Brand */
.navbar-custom .navbar-brand {
    flex: 0 0 auto;
}

/* Navbar Links */
.navbar-custom .navbar-nav {
    flex: 1;
    justify-content: center;
}

.navbar-custom .nav-link {
    color: #2C2D3F;
    font-weight: 600;
    padding: 8px 15px;
    transition: color 0.3s, border-bottom 0.3s;
}

.navbar-custom .nav-link:hover {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

.navbar-custom .nav-link.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Enroll Button Styling */
.navbar-custom .btn-enroll {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
}

.navbar-custom .btn-enroll:hover {
    background-color: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 91, 255, 0.5);
}

/* Dropdown Styling */
.dropdown-menu {
    width: 67vh;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* Dropdown Hover Effect */
.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================================
   Responsive Styling for Navbar
   ---------------------------------------------------- */

@media (max-width: 992px) {
    .navbar-custom .navbar-nav {
        justify-content: flex-start;
    }

    .navbar-custom .navbar-nav .nav-item {
        margin-left: auto;
        margin-right: auto;
    }

    .navbar-custom .btn-enroll {
        display: none;
        /* Hide the enroll button on smaller screens */
    }

    .navbar-custom .navbar-collapse {
        justify-content: space-between;
        /* Space between elements in collapsed navbar */
    }

    .navbar-custom .navbar-brand {
        flex: 1;
        /* Ensure brand takes up appropriate space */
    }

    .navbar-custom .navbar-nav {
        flex: 1;
        /* Ensure nav items take up appropriate space */
    }

    .navbar-custom .navbar-nav .nav-item {
        text-align: center;
        /* Center nav items */
    }
}

@media (max-width: 769px) {
    .navbar-custom {
        padding: 2px;
    }
    .navbar-custom .navbar-brand {
        flex: 1;
     
     
       /* border: 1px solid black; */
       
    }
    

    .navbar-custom .nav-link {
        padding-left: 0;
    }

    .navbar-custom .dropdown-menu {
        width: 100%;
        /* Full width on small screens */
    }
}

@media (max-width: 576px) {
    .navbar-custom .navbar-brand .logo {
        height: 40vh;
    }

    .navbar-custom .nav-link {
        font-size: 14px;
    }
}

/* Very small screens (less than 360px) */
@media (max-width: 390px) {
   
    .navbar-custom .navbar-brand {
        flex: 1;
    }

    .navbar-custom .navbar-nav {
        flex: 1;
        justify-content: space-between;
    }

    .navbar-custom .navbar-toggler {
        flex: 0 0 auto;
    }

    .navbar-custom .nav-link {
        font-size: 12px;
        padding: 5px 10px;
    }

    .navbar-custom .btn-enroll {
        display: none;
        /* Hide the enroll button on very small screens */
    }
}
@media (max-width: 380px) {
   
    .navbar-custom .navbar-brand {
        flex: 1;
      
    }
    .navbar-custom .navbar-brand img {
        flex: 1;
        height: 50px;
        
    }

    .navbar-custom .navbar-nav {
        flex: 1;
        justify-content: space-between;
    }

    .navbar-custom .navbar-toggler {
        flex: 0 0 auto;
    }

    .navbar-custom .nav-link {
        font-size: 8px;
        padding: 2px 8px;
    }

    .navbar-custom .btn-enroll {
        display: none;
        /* Hide the enroll button on very small screens */
    }
}

/* --------------------------------------------Course---------------------------------------- */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
}

.left {
    flex: 1;
    max-width: 25%;
    padding: 15px;
    background-color: #ffffff; 
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    max-height: 600px; /* Set a maximum height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.left h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.left ul {
    list-style: none;
}

.left ul li {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #007bff; 
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex; 
    align-items: center; 
}

.left ul li i {
    margin-right: 10px; 
}

.left ul li:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.right {
    flex: 3;
    padding: 15px;
}

.search-bar {
    margin-bottom: 20px;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: 'Roboto', sans-serif; 
}

.search-bar input:focus {
    border-color: #007bff; 
    outline: none;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course {
    padding: 20px;
    background: linear-gradient(135deg, #ff6a00, #ee0979); 
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
    transition: transform 0.3s;
}

.course:hover {
    transform: scale(1.02); 
}

.course h3 {
    margin-bottom: 10px;
    color: #fff; 
}

.course p {
    margin-bottom: 10px;
    font-weight: bold;
    color: #fff; 
}

.course ul {
    list-style: none;
    padding-left: 20px;
}

.course ul li {
    margin-bottom: 5px;
    color: #fff; 
}

/* Category selection */
.category-selection {
    display: none;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .left {
        display: none; /* Hide category list */
    }

    .category-selection {
        display: block; /* Show category selection */
    }

    .right {
        max-width: 100%;
    }
}

.footer{
	position:relative;
}
.footer .footer-top{
	padding:100px 0px;
	position:relative;
	background:#1A76D1;
}
.footer .footer-top:before{
	position:absolute;
	content:"";
	left:0;
	top:0;
	height:100%;
	width:100%;
	background:#000;
	opacity:0.1;
}

.footer .single-footer .social{
	margin:0px;
}
.footer .single-footer .social li{
	display:inline-block;
	margin-right:8px;
}
.footer .single-footer .social li:last-child{
	margin-right:25px;
}
.footer .single-footer .social li a {
	height: 34px;
	width: 34px;
	line-height: 34px;
	text-align: center;
	border: 1px solid #fff;
	text-align: center;
	padding: 0;
	border-radius: 100%;
	display: block;
	color:#fff;
	font-size: 16px;
    text-decoration: none;
}

.footer .single-footer .social li a :hover{
    background: #fff;
}
.footer .single-footer.f-link li a i{
	margin-right:10px;
}
.footer .single-footer.f-link li{
	display:block;
	margin-bottom:12px;
}
.footer .single-footer.f-link li:last-child{
	margin:0;
}
.footer .single-footer.f-link li a {
	display: block;
	color: #fff;
	text-transform: capitalize;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
	font-weight: 400;
    text-decoration: none;
}
.footer .single-footer.f-link li a:hover{
	padding-left:3px;
    color: #000;
   
}
.footer .single-footer h2{
	color:#fff;
	font-size:20px;
	font-weight:600;
	text-transform:capitalize;
	margin-bottom:40px;
	padding-bottom:20px;
	text-transform:capitalize;
	position:relative;
}
.footer .single-footer h2::before{
	position: absolute;
	content: "";
	left: 0;
	bottom: 0px;
	height: 3px;
	width: 50px;
	background: #fff;
}
.footer .single-footer .time-sidual{
	margin-top:15px;
}
.footer .single-footer .time-sidual{
	overflow:hidden;
}
.footer .single-footer .time-sidual li {
	display: block;
	color: #fff;
	width: 100%;
	margin-bottom: 5px;
}
.footer .single-footer .time-sidual li span{
	display:inline-block;
	/* float:right; */
}
.footer .single-footer .day-head .time {
	font-weight: 400;
	float: right;
}
.footer .single-footer p{
	color:#fff;
}
.footer .single-footer .newsletter-inner{
	margin-top:20px;
	position:relative;
}
.footer .single-footer .newsletter-inner input {
	background: transparent;
	border: 1px solid #fff;
	height: 50px;
	line-height: 42px;
	width: 100%;
	margin-right: 15px;
	color: #fff;
	padding-left: 18px;
	padding-right: 70px;
	display: inline-block;
	/* float: left; */
	border-radius: 0px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
	font-weight: 400;
	border-radius: 5px;
}
.footer .single-footer .newsletter-inner input:hover{
	padding-left: 22px;
}
.footer input::-webkit-input-placeholder {
    opacity: 1;
    color: #fff !important;
}

.footer input::-moz-placeholder {
    opacity: 1;
    color: #fff !important;
}

.footer input::-ms-input-placeholder {
    opacity: 1;
    color: #fff !important;
}
.footer input::input-placeholder {
    opacity: 1;
    color: #fff !important;
}
.footer .single-footer .newsletter-inner .button {
	position: absolute;
	right: 0;
	top: 0;
	height: 50px;
	line-height: 50px;
	width: 50px;
	background: #fff;
	border-left: 1px solid #fff;
	text-shadow: none;
	box-shadow: none;
	display: inline-block;
	border-radius: 0px;
	border: none;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	transition: all 0.4s ease;
	border-radius: 0 5px 5px 0;
	color: #1A76D1;
	font-size: 25px;
}
.footer .single-footer .newsletter-inner .button i{
	-webkit-transition:all 0.4s ease;
	-moz-transition:all 0.4s ease;
	transition:all 0.4s ease;
}
.footer .single-footer .newsletter-inner .button:hover i{
	color:#2C2D3F;
}
.footer .copyright{
	background:#1A76D1;
	padding:25px 0px 25px 0px;
	text-align:center;
}
.footer .copyright .copyright-content p{
	color:#fff;
}
.footer .copyright .copyright-content p a{
	color:#fff;
	font-weight:400;
	text-decoration:underline;
	display:inline-block;
	margin-left:4px;
}
/*=========================
	End Footer CSS
===========================*/
.footer_sticky {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    
    color: white;
    text-align: center;
 }
 .footer_sticky .float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:60px;
	left:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}


.footer_sticky .my-float{
	margin-top:16px;
}
.footer_sticky .float_comment{
	position:fixed;
	width:60px;
	height:60px;
	bottom:130px;
	left:40px;
	background-color:#2076ef;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.footer_sticky .comment{
    margin-top:16px;
}
.footer-bar {
    background-color:black;
    color: white;
    /* padding: 10px 0; */
    text-align: center;
    display: flex;
    justify-content: space-around;
    height: 33px;
    border-radius: 10px;
}
.footer-bar .footer-bar-location,
.footer-bar .footer-bar-demo{
    background-color: #2076ef;
    font-size: larger;
    width: 40vh;
    border-radius: 5px;
    margin: 0px 2px;
 
    /* height: 53px; */
}
.footer-bar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}


/* --------------------------------------query------------------------------ */
.query{
    width: 20%;
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index:1;
    /* height: 50px; */
    border-radius: 10px;
    /* margin-left: 100px; */
}
.query .query-ask{
    height: 20px;
}
.query .textarea{
    width: 100%;
}
@media (max-width: 576px) {
    .query{
        display: none;
    }
}