*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	 font-family: "Montserrat", sans-serif;
	color: #232d39;
line-height: 1.5;
letter-spacing: 1px;
}
html{
	scroll-behavior: smooth;
	--primary-clr: #30479c;
	/* --primary-clr: #0f47ad; */
	--primary-medium-clr: #d8e9df;
	--primary-light-clr: #edfaf1;
	--bg-clr-1: #ffffff;
	--dark-heading-clr: #232d39;
	--dark-text-clr: #6c757d;
	--light-heading-clr: #efefef;
	--light-text-clr: #cecece;
}
/*   === Global Styling Starts ===   */
button.btn{
	padding: 10px 18px;
	background-color: var(--primary-clr);
	color: var(--light-heading-clr);
	font-size: 15px;
	border: 1px solid transparent;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s;
}
button.btn:hover{
	background-color: var(--light-heading-clr);
	color: var(--primary-clr);
	border: 1px solid var(--primary-clr);
}
.section-header h1{
	position: relative;
	font-size: 45px;
	letter-spacing: 1px;
	color: var(--dark-heading-clr);
	margin-bottom: 20px;
}
.section-header h1::before{
	position: absolute;
	content: '';
	width: 100px;
	height: 1px;
	left: 0;
	top: calc(100% + 5px);
	background-color: var(--dark-text-clr);
}
.section-header h1::after{
	position: absolute;
	content: '';
	width: 50px;
	height: 3px;
	left: 0;
	top: calc(100% + 4px);
	background-color: var(--primary-clr);
}
.section-header p{
	color: var(--dark-text-clr);
	margin-bottom: 40px;
	max-width: 700px;
}
/*   === Global Styling Ends ===   */
body{
	width: 100%;
	min-height: 100vh;

}
.website-container{
	width: 100%;
	/* max-width: 1550px; */
	min-height: 100vh;
	margin: 0px auto;

}
/*   === Home Section Styling Starts ===   */
section.home{
	position: relative;
	width: 100%;
	/* max-width: 1550px; */
	min-height: 100vh;
	background-color: var(--primary-light-clr);
}
.home .main-navbar{
	position: absolute;
	width: 100%;
	/* max-width: 1550px; */
	/* max-width: 100vw; */
	height: 12vh;
	max-height: 80px;
	background-color: #fff;
	padding: 0px 8%;
	margin: 0px auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 100;

	left: 0;
}
.home.active .main-navbar{
	position: fixed;
	top: 0;
	margin: 0px auto;
	box-shadow: 0px 2px 10px rgba(0,0,0,0.25);
	animation: showMenu 0.6s ease-in;
}
@keyframes showMenu{
	from{
		transform: translateY(-100px);
	}
	to{
		transform: translateY(0px);
	}
}
.main-navbar .logo{
	text-decoration: none;
}
.main-navbar .logo img{
	width: 60px;
	height: 60px;
	/* height: auto; */
}




/* From Uiverse.io by escannord */
.cta-button{
	/* border: 2px solid red; */
	max-width: 300px;
}
.cta-button .button {
	--color: #30479c;
	padding: 1rem 2rem;
	background-color: transparent;
	color: var(--color);
	font-weight: bolder;
	text-transform: uppercase;
	display: flex;
	justify-content: space-around;
	align-items: center;
	cursor: pointer;
	position: relative;
	border-radius: 5px;
  }

  .cta-button .arrow {
	display: inline-flex;
	position: relative;
	width: 30px;
	height: 15px;
	margin-left: 0.5rem;
  }

  .cta-button .arrow::after,
  .arrow::before {
	content: "";
	display: inline-block;
	position: absolute;
	border-color: var(--color);
  }

  .cta-button .arrow::after {
	width: 10px;
	height: 0;
	border: 2px solid var(--color);
	top: 50%;
	left: 0;
	transform: translateY(-50%);
  }

  .cta-button .arrow::before {
	width: 10px;
	height: 10px;
	border-top: 4px solid var(--color);
	border-right: 4px solid var(--color);
	left: 3px;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
  }

  .cta-button .button:hover {
	background-color: var(--color);
	color: white;
  }

  .cta-button .button:hover .arrow {
	transform: translateX(10px);

  }

  .cta-button .button:hover .text {
	transform: translateX(10px);
	color: white;
  }

  .cta-button .button:hover .arrow::after {
	width: 25px;
	border-color: white;
  }

  .cta-button .button:hover .arrow::before {
	left: 15px;
	border-color: white;
  }

  .button,
  .text,
  .arrow,
  .arrow::after,
  .arrow::before,
  .button::before,
  .button::after {
	transition: all 0.3s, box-shadow 0.2s;
  }

  .cta-button .button::before {
	content: "";
	position: absolute;
	height: 100%;
	width: 10px;
	border-radius: 5px;
	border: solid 3px var(--color);
	border-right-color: transparent;
	background-color: transparent;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
  }

  .cta-button .button::after {
	content: "";
	position: absolute;
	height: 100%;
	width: 10px;
	border-radius: 5px;
	border: solid 3px var(--color);
	border-left-color: transparent;
	background-color: transparent;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
  }

  .cta-button .button:hover:before,
  .button:hover:after {
	width: 50% !important;
  }

  .cta-button .button:active {
	box-shadow: 0px 0px 0px 7px rgba(79, 78, 105, 0.295);
  }

/* Drawer Overlay */
.drawer-overlay-cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: flex-end;
    z-index: 1000;
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 1s ease, visibility 0s linear 1s; /* Fade-in effect */
}

/* Drawer Content */
.drawer-cont {
    /* width: 300px; */
	width: 80%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(100%); /* Initially off-screen */
    transition: transform .7s ease, opacity 0.3s ease; /* Slide and fade */
}

/* When the drawer is opened */
.drawer-overlay-cont.open {
    opacity: 1;
    visibility: visible; /* Drawer becomes visible */
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.drawer-overlay-cont.open .drawer-cont {
    transform: translateX(0); /* Slide-in the drawer */
}
.container-courselist {
	/* max-width: 800px; */
	width: 100%;
	/* border: 2px solid red; */
	margin: 10px auto;
	background: #fff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.search-bar {
	margin-bottom: 20px;
}
.search-bar input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.filter-courselist {
	margin-bottom: 20px;
	cursor: pointer;
}

.filter-courselist select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.filter-courselist select option {
	padding: 20px;
	cursor: pointer;
}
.course-list {
	list-style: none;
	padding: 0;
	list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
	
}
.course-card{
	padding: 5px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}
.course-card .category {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-desc, .course-ratings {
    margin-top: 10px;
	
}

.course-card img {
    max-width: 100%;
	max-height: 250px;
	min-height: 250px;
	/* object-fit: cover; */
    /* height: auto; */
}
.course-item {
	padding: 15px;
	border-bottom: 1px solid #ddd;
}
.course-item:last-child {
	border-bottom: none;
}
/* Close Button */
.close-drawer-cont {
    align-self: flex-end;
    background: rgb(223, 223, 223);
    border: none;
    font-size: 25px;
    cursor: pointer;
    color: #ff0808;
	font-weight: bold;
	padding: 0 5px;
	border-radius: 10px;

}

.close-drawer-cont:hover {
    color: #cb0404;
}


.main-navbar .nav-list{
	list-style: none;
}
.main-navbar .nav-list li{
	display: inline-block;
	margin: 0px 10px;
}
.main-navbar .nav-list li a{
	position: relative;
	color: #141515;
	font-weight: 500;
	font-size: 18px;
	text-decoration: none;
	letter-spacing: 1px;
}
.main-navbar .nav-list li a::after{
	position: absolute;
	content: '';
	width: 100%;
	height: 2px;
	background-color: #141515;
	left: 0;
	top: calc(100% + 2px);
	transition: all 0.3s;
	transform: scaleX(0);
}
.main-navbar .nav-list li a:hover::after{
	transform: scaleX(1);
}
.main-navbar .get-started-btn{
	background-color: #30479c;
	color: #fff;
}
.li-btn{
	background-color: #fff;
	color: #fff !important;
	border: 1px solid var(--light-heading-clr);
	padding: 10px 20px;
	border-radius: 10px;
	display: none;
}
.li-btn:hover{
	background-color: var(--light-heading-clr);
	color: #fff !important;
	border: 1px solid var(--light-heading-clr);
}
.main-navbar .get-started-btn:hover{
	background-color: var(--primary-clr);
	color: var(--light-heading-clr);
	border: 1px solid var(--light-heading-clr);
}
.main-navbar .menu-btn{
	min-width: 30px;
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	cursor: pointer;
	display: none;
}
.main-navbar .menu-btn span{
	position: relative;
	display: block;
	width: 100%;
	height: 2px;
	background-color: #141515;
	border-radius: 5px;
	transition: all 0.4s;
}
.main-navbar .menu-btn span::before,
.main-navbar .menu-btn span::after{
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 80%;
	height: 100%;
	background-color: #141515;
	transition: all 0.4s;
}
.main-navbar .menu-btn span::before{
	transform: translateY(-9px);
}
.main-navbar .menu-btn span::after{
	transform: translateY(9px);
}
.home .banner{
	width: 100%;
	min-height: 100vh;
	padding: 100px 8% 70px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.home .banner .banner-desc{
	position: relative;
	flex-basis: 50%;
	max-width: 700px;
	z-index: 2;
}
.banner .banner-desc h2{
	font-size: 55px;
	color: var(--dark-heading-clr);
	letter-spacing: 1px;
	line-height: 1.4;
	margin-bottom: 10px;
}
.banner .banner-desc p{
	color: var(--dark-text-clr);
	line-height: 1.4;
	margin-bottom: 50px;
        font-size: 18px;
}
.banner .banner-desc .search-bar{
	position: relative;
	width: 400px;
	height: 50px;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.banner-desc .search-bar input{
	width: 100%;
	height: 100%;
	padding: 0px 60px 0px 10px;
	font-size: 17px;
	letter-spacing: 1px;
	background-color: var(--primary-light-clr);
	color: var(--dark-text-clr);
	border: 2px solid #c1dbcc;
	border-radius: 5px;
	outline-color: var(--primary-clr);
}
.banner-desc .search-bar i{
	position: absolute;
	height: 100%;
	width: 50px;
	background-color: var(--primary-clr);
	right: 0;
	color: var(--light-heading-clr);
	border-radius: 0px 5px 5px 0px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}
.home .banner .banner-img{
	position: relative;
	flex-basis: 50%;
	display: flex;
	justify-content: flex-end;
	z-index: 1;
}
.banner-img .banner-img-container{
	position: relative;
	width: 400px;
	z-index: 2;
}
.banner-img .banner-img-container img{
	width: 100%;
	height: auto;
}
.banner-img .banner-img-container .states{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.banner-img-container .states .total-courses{
	position: absolute;
	padding: 6px 10px 6px 6px;
	background-color: var(--light-heading-clr);
	border-radius: 5px;
	bottom: 15%;
	left: -80px;
	display: flex;
	align-items: center;
	box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.3);
}
.states .total-courses .icon{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary-clr);
	margin-right: 7px;
}
.states .total-courses .icon i{
	font-size: 22px;
	color: var(--light-heading-clr);
}
.states .total-courses .desc{
	display: flex;
	flex-direction: column;
}
.states .total-courses .desc span:nth-child(1){
	font-size: 24px;
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: 2px;
}
.states .total-courses .desc span:nth-child(2){
	font-size: 15px;
	color: var(--dark-text-clr);
}
.banner-img-container .states .courses-ratings{
	position: absolute;
	width: 90px;
	height: 90px;
	padding: 10px;
	border-radius: 50%;
	background-color: var(--light-heading-clr);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	top: 80px;
	right: 5px;
	box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.3);
}
.states .courses-ratings span:nth-child(1){
	color: var(--dark-heading-clr);
	font-size: 24px;
	font-weight: 600;
	text-align: center;
}
.states .courses-ratings span:nth-child(1) i{
	color: gold;
	font-size: 14px;
}
.states .courses-ratings span:nth-child(2){
	color: var(--dark-text-clr);
	font-size: 15px;
	text-align: center;
}
.banner-img .banner-img-container .pattern{
	position: absolute;
	top: 20px;
	left: -40px;
	z-index: -1;
}
.banner-img-container .pattern img{
	width: 150px;
	height: auto;
	opacity: 0.4;
}

/* course detail modal starts here */
/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10000;
}

.modal-overlay.open {
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 20px;
    max-width: 800px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    border-radius: 8px;
	
}

.close-modal, .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
}

#modal .modal-content iframe {
    width: 100%;
    height: 315px;
}

/* Ensure course modal doesn’t override video modal */
#courseModal {
    z-index: 1000;
}

#modal {
    z-index: 1010; /* Higher z-index to appear above course modal if both are open */
}

/* Chatbot and course card styles unchanged */
.chatbot-container {
    display: none;
}

.chatbot-container.active {
    display: block;
}

.course-card {
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
	/* border: 2px solid red; */
}
.course-card2{
	border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
	/* border: 2px solid red; */
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 34px;
    border: none;
    background: none;
    cursor: pointer;
	color: #f90101;
}

.modal-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.summary {
    margin-top: 20px;
}

/* Update course card button */
.view-details-btn {
    padding: 15px 15px;
    background-color: #30479c;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.view-details-btn:hover {
    background-color: #30479c;
}
/* Pagination Styles */
.pagination {
    margin-top: 70px;
    text-align: center;
}

.page-btn {
    padding: 5px 10px;
    margin: 0 5px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
}

.page-btn.active {
    background-color: #007bff;
    color: white;
}

.page-btn:hover:not(.active) {
    background-color: #e9ecef;
}
/* Existing styles (ensure these are included) */

.course-ratings {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* course detail modal ends here */
/* Define the animation keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply the animation to the banner */
.banner-desc, .banner-img-container {
    opacity: 0;
}

.banner-desc.animate {
    animation: fadeIn 1s ease-out forwards;
}

.banner-img-container.animate {
    animation: slideInRight 1.2s ease-out forwards;
}

/*   === Home Section Styling Ends ===   */

/*   === Partners Section Styling Starts ===   */
section.partners{
	width: 100%;
	padding: 30px 8%;
	background-color: var(--primary-medium-clr);
}
.partners h3{
	margin-bottom: 40px;
	color: var(--dark-heading-clr);
	font-size: 40px;
}
.partners .partners-slider .brand-item{
	text-align: center;
	/* background-color: var(--light-heading-clr); */
	padding: 5px;

}
.partners .partners-slider .brand-item img{
	width: 120px;
	height: 60px;
	display: inline-block;
}
.owl-carousel .owl-nav{
	position: absolute;
	right: 0;
	top: -80px;
}
.owl-carousel .owl-nav button{
	border-radius: 5px !important;
}
.owl-carousel .owl-nav .owl-prev i,
.owl-carousel .owl-nav .owl-next i{
	padding: 8px 14px !important;
	border-radius: 5px;
	font-size: 16px !important;
	background-color: var(--primary-clr) !important;
	color: var(--light-heading-clr);
	border: 1px solid transparent;
	cursor: pointer;
	transition: 0.3s;
}
.owl-carousel .owl-nav .owl-prev i:hover,
.owl-carousel .owl-nav .owl-next i:hover{
	background-color: var(--light-heading-clr) !important;
	color: var(--primary-clr);
	border: 1px solid var(--primary-clr);
}
.owl-carousel .owl-dots{
	margin-top: 20px;
}
.owl-carousel .owl-dots .owl-dot span{
	padding: 4px !important;
}
.owl-carousel .owl-dots .owl-dot.active span{
	background-color: var(--primary-clr) !important;
}
/*   === Partners Section Styling Ends ===   */

/*   === Services Section Styling Starts ===   */
section.services{
	width: 100%;
	padding: 100px 8% 20px;
}
.services .services-contents{
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.services-contents .service-box{
	flex-basis: calc(calc(100% / 3) - 2%);
	padding: 25px 20px;
	cursor: pointer;
	transition: all 0.3s;
}
.services-contents .service-box:hover{
	box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}
.service-box .service-icon{
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	background-color: var(--primary-clr);
	outline: 1px solid var(--primary-medium-clr);
	outline-offset: 10px;
}
.service-box .service-icon i{
	font-size: 24px;
	color: var(--light-heading-clr);
}
.service-box .service-desc{
	margin-top: 25px;
}
.service-box .service-desc h2{
	margin-bottom: 10px;
	color: var(--dark-heading-clr);
	font-size: 22px;
}
.service-box .service-desc p{
	line-height: 1.4;
	color: var(--dark-text-clr);
}
.service-box:nth-child(1) .service-icon{
	background-color: #fef0ef;
	outline-color: #fef0ef;
}
.service-box:nth-child(1) .service-icon i{
	color: #f76250;
}
.service-box:nth-child(2) .service-icon{
	background-color: #e8f9ef;
	outline-color: #e8f9ef;
}
.service-box:nth-child(2) .service-icon i{
	color: #30479c;
}
.service-box:nth-child(3) .service-icon{
	background-color: #f1f0fe;
	outline-color: #f1f0fe;
}
.service-box:nth-child(3) .service-icon i{
	color: #5a49f3;
}

/* service section scroll animation starts here*/
/* General styles for the service boxes */
/* General styles for the service boxes */
.services-contents {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
  }

  .service-box {
	flex: 1 1 30%;
	text-align: center;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	opacity: 0; /* Initially hidden */
	transform: translateY(50px); /* Start from below */
	transition: opacity 0.6s ease, transform 0.6s ease;
  }

  /* Apply animation delay based on index */
  .service-box.visible:nth-child(1) {
	transition-delay: 0.4s;
  }
  .service-box.visible:nth-child(2) {
	transition-delay: 0.8s;
  }
  .service-box.visible:nth-child(3) {
	transition-delay: 1.15s;
  }

  /* Reveal styles */
  .service-box.visible {
	opacity: 1;
	transform: translateY(0);
  }


/* service section scroll animation ends here */



/*   === Services Section Styling Ends ===   */

/*   === Courses Section Styling Starts ===   */
section.courses{
	width: 100%;
	padding: 100px 8% 20px;
}
.courses .section-header{
	position: relative;
	display: block;
	justify-content: space-between;
}
.courses .section-header .courses-btn{
	position: absolute;
	right: 0;
	bottom: 40px;
	padding: 10px 26px;
}
.courses .course-contents{
	display: flex;
	/* justify-content: space-between; */
	gap: 15px;
	flex-wrap: wrap;
}
.courses .course-contents .course-card{
	flex-basis: calc(calc(100% / 3) - 1.2%);
	border: 1px solid #eee;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 20px;
	cursor: pointer;
	transition: all 0.3s;
}
.courses .course-contents .course-card:hover{
	box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}
.course-contents .course-card img{
	width: 100%;
	height: 250px;
	/* object-fit: cover; */
	border-radius: 5px;
}
.course-contents .course-card .category{
	position: relative;
	display: flex;
	justify-content: space-between;
	padding: 10px 0px;
}
.course-card .category img{
	position: absolute;
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 50%;
	right: 15px;
	top: -50%;
	outline: 1px solid var(--primary-clr);
	outline-offset: 3px;
}
.course-card .category .subject{
	padding: 8px 10px;
	background-color: var(--primary-light-clr);
	border-radius: 5px;
	margin-top: 5px;
}
.course-card .category .subject h3{
	font-size: 18px;
	font-weight: 500;
	color: var(--primary-clr);
}
.course-card .course-title{
	/* border: 2px solid red; */
	margin-bottom: 60px;
	font-size: 20px;
	color: var(--dark-heading-clr);
}
.course-card .course-desc{
	margin: 20px 0px;
	display: flex;
	justify-content: space-between;
}
.course-card .course-desc span{
	font-size: 14px;
	font-weight: 500;
	color: var(--dark-text-clr);
}
.course-card .course-desc span i{
	color: var(--primary-clr);
}
.course-card .course-ratings{
	padding: 15px 0px 0px;
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #ccc;
	bottom: 10px;
    padding-top: 30px;
    position: absolute;
    margin-right: 100px;
    width: 90%;
}
.course-card .course-ratings span{
	color: var(--primary-clr);
	font-size: 18px;
	font-weight: bold;
}
.course-card .course-ratings span:nth-child(1) i{
	color: gold;
	font-size: 14px;
}
.course-card .course-ratings span b{
	font-size: 16px;
	margin-right: 5px;
}

.course-card {
	opacity: 1; /* Start hidden */
	transform: translateY(50px); /* Start from below */
	transition: opacity 0.6s ease, transform 0.6s ease;
  }

  /* Reveal animation */
  .course-card.visible {
	opacity: 1;
	transform: translateY(0);
  }
  .filter-btn {
	padding: 10px 20px;
	margin: 5px;
	border: none;
	cursor: pointer;
        font-size: 18px;
	background: #f1f1f1;
	border-radius: 5px;
	/* transition: background 0.5s; */
	transition: all 0.3s ease;
  }


  .filter-btn.active {
	background: #30479c;
	color: #fff;
  }

/*   === Courses Section Styling Ends ===   */

/*   === Courses Categories Section Styling Starts ===   */
section.categories{
	width: 100%;
	padding: 100px 8% 20px;
}
.categories .categories-contents{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.categories-contents .category-item{
	flex-basis: calc(calc(100% / 4) - 1%);
	background-color: var(--primary-light-clr);
	padding: 25px 15px;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s;
	margin-top: 20px;
}
.categories-contents .category-item:hover{
	box-shadow: 0px 0px 10px rgba(32, 130, 69, 0.2);
	transform: translateY(-3px);
}
.category-item .category-icon{
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--primary-clr);
}
.category-item .category-icon i{
	color: var(--light-heading-clr);
	font-size: 20px;
}
.category-item .category-desc{
	margin-top: 20px;
	text-align: center;
}
.category-item .category-desc h3{
	color: var(--dark-heading-clr);
	font-size: 20px;
	margin-bottom: 10px;
}
.category-item .category-desc p{
	color: var(--dark-text-clr);
	font-size: 15px;
	line-height: 1.4;
}
/*   === Courses Categories Section Styling Ends ===   */

/*   === Teacher Section Styling Starts ===   */
section.instructor{
	width: 100%;
	padding: 100px 8% 20px;
}
.instructor .instructor-container{
	width: 100%;
	padding: 70px 8%;
	background-color: var(--primary-light-clr);
	border-radius: 0px 100px 0px 100px;
}
.instructor-container h2{
	font-size: 24px;
	color: var(--dark-heading-clr);
}
.instructor-container p{
	margin: 20px 0px 35px;
	color: var(--dark-text-clr);
}

.instructor-container button a{
	text-decoration: none;
	color: var(--light-heading-clr);
}
.instructor-container button a:hover{
	color: #333;
}

/*   === Teacher Section Styling Ends ===   */

/*   === Testimonials Section Styling Starts ===   */
section.testimonials{
	width: 100%;
	padding: 100px 8%;
}
.testimonials .section-header{
	width: 70%;
	max-width: 700px;
}
.testimonials-slider .testimonials-item{
	position: relative;
	padding: 20px 25px;
	background-color: var(--primary-light-clr);
}
.testimonials-item .profile{
	display: flex;
	align-items: center;
}
.testimonials-item .profile .profile-image{
	width: 55px;
	height: 55px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 15px;
}
.testimonials-item .profile .profile-image img{
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}
.testimonials-item .profile .profile-desc{
	display: flex;
	flex-direction: column;
}
.profile .profile-desc span:nth-child(1){
	font-size: 24px;
	font-weight: bold;
	color: var(--primary-clr);
}
.profile .profile-desc span:nth-child(2){
	font-size: 15px;
	color: var(--dark-heading-clr);
}
.testimonials-item > p{
	margin: 15px 0px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--dark-text-clr);
}
.testimonials-item .quote{
	text-align: center;
}
.testimonials-item .quote i{
	font-size: 25px;
	color: var(--dark-text-clr);
	margin-right: 20px;
}
.testimonials-item .ratings{
	margin-top: 20px;
}
.testimonials-item .ratings i{
	font-size: 17px;
	color: gold;
	cursor: pointer;
}
/*   === Testimonials Section Styling Ends ===   */

/*   === Footer Section Styling Starts ===   */
section.footer{
	width: 100%;
	padding: 70px 8% 30px;
	background-color: #141515 !important;
}
.footer .footer-contents{
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 50px;
        gap: 20px;
}
.footer-contents .footer-col{
	flex-basis: calc(calc(100% / 4) - 20px);
}
.footer-contents .footer-col .col-title{
	min-height: 60px;
	display: flex;
	align-items: flex-end;
	margin-bottom: 30px;
}
.footer-col .col-title h3{
	font-size: 24px;
	color: var(--light-heading-clr);
}
.footer-col .col-contents{
	display: flex;
	flex-direction: column;
        font-size: 15px;
}
.footer-col-1 .col-title img{
	width: 60px;
}
.footer-col-1 .col-contents p{
	color: var(--light-text-clr);
	font-size: 15px;
	line-height: 1.3;
	margin-bottom: 15px;
}
.footer-col-2 .col-contents .contact-row{
	margin-bottom: 15px;
	display: flex;
	flex-direction: column;
}
.footer-col-2 .col-contents .contact-row span{
	color: var(--light-text-clr);
	font-size: 15px;
}
.footer-col-2 .col-contents .contact-row span:nth-child(1){
	color: var(--light-heading-clr);
	font-size: 17px;
	font-weight: 500;
	margin-bottom: 2px;
}
.footer-col-3 .col-contents a{
	text-decoration: none;
	color: var(--light-text-clr);
	margin-bottom: 10px;
	align-self: flex-start;
	transition: all 0.3s;
}
.footer-col-3 .col-contents a:hover{
	letter-spacing: 2px;
}
.footer-col-4 .col-contents input{
	width: 100%;
	padding: 15px;
	background-color: var(--light-heading-clr);
	color: var(--dark-text-clr);
	border: none;
	border-radius: 5px;
}
.footer-col-4 .col-contents .newsletter-btn{
	background-color: var(--light-heading-clr);
	color: var(--primary-clr);
	margin-top: 20px;
}
.footer-col-4 .col-contents .newsletter-btn:hover{
	background-color: transparent;
	color: var(--light-heading-clr);
	border: 1px solid var(--light-heading-clr);
}
.footer .copy-rights{
	padding: 30px 0px 0px;
	border-top: 1px solid var(--light-text-clr);
	text-align: center;
         width: 100%;
}
.footer .copy-rights p{
	color: var(--primary-light-clr);
}
.footer .copy-rights p b{
	color: #30479c;
}
.footer p{
	color: #ffffffe5;
}
/*   === Footer Section Styling Ends ===   */





/*   === Media Query Starts ===   */
@media(max-width: 968px){
	/* Home Section */
	.main-navbar .menu-btn{
		display: flex;
		margin-left: 40px;
		z-index: 101;
	}
	.get-started-btn{
		display: none;
	}
	.li-btn{
		display: block;
	}
	.main-navbar .menu-btn.active span,
	.main-navbar .menu-btn.active span::before,
	.main-navbar .menu-btn.active span::after{
		width: 100%;
	}
	.main-navbar .menu-btn.active span::before{
		transform: rotate(45deg) translateY(0px);
	}
	.main-navbar .menu-btn.active span::after{
		transform: rotate(-45deg) translateY(0px);
	}
	.main-navbar .menu-btn.active span{
		background-color: transparent;
	}
	.main-navbar .nav-list{
		position: fixed;
		width: 100%;
		height: 100vh;
		top: 0;
		/*right: 0;*/
		right: -100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: var(--primary-clr);
		transition: right 0.3s cubic-bezier(.15, .61, .94, .25);
       		z-index: 100;
                background: #30479c;
	}
	.main-navbar .nav-list.active{
		right: 0;
	}
	.main-navbar .nav-list li{
		margin: 25px 0px 0px;
	}
	.main-navbar .nav-list li:nth-child(1){
		margin-top: 180px;
	}
	.main-navbar .nav-list li a{
		font-size: 20px;
		letter-spacing: 1px;
                color: #fff;
	}
           .main-navbar .navbar .nav-list li a::after{
              background-color: #fff;
            }
	.main-navbar .get-started-btn-container{
		margin-left: auto;
	}
	.home .banner{
		flex-direction: column-reverse;
		justify-content: flex-start;
		align-items: flex-start;
	}
	.home .banner .banner-desc,
	.home .banner .banner-img{
		flex-basis: 100%;
	}
	.home .banner .banner-img{
		align-self: center;
		margin-bottom: 50px;
	}
	/* Services Section */
	.services-contents .service-box{
		flex-basis: calc(calc(100% / 2) - 2%);
	}
	.services-contents .service-box:not(:last-child){
		margin-bottom: 20px;
	}
	/* Courses Section */
	.courses .course-contents .course-card{
		flex-basis: calc(calc(100% / 2) - 1.2%);
	}
	.courses .section-header{
		flex-direction: column;
	}
	.courses .section-header .courses-btn{
		position: relative;
		align-self: flex-start;
		margin-top: 20px;
	}
	/* Courses Categories Section */
	.categories-contents .category-item{
		flex-basis: calc(calc(100% / 2) - 1%);
		margin-bottom: 15px;
	}
	/* Footer Section */
	.footer-contents .footer-col{
	flex-basis: calc(calc(100% / 2) - 20px);
	}
}

@media(max-width: 768px){
	/* Home Section */
	.banner-img-container .states .total-courses{
		left: 5px;
		bottom: 10%;
	}
	.banner .banner-desc h2{
		font-size: 42px;
	}
	/* Testimonials Section */
	.testimonials .section-header{
		width: 100%;
		margin-bottom: 70px;
	}
	.drawer-cont {
		width: 95%;
	}
}

@media(max-width: 668px){
	/* Partners Section */
	.partners h3{
		margin-right: 150px;
	}
	/* Services Section */
	.services-contents .service-box{
		flex-basis: 100%;
	}
	/* Courses Section */
	.courses .course-contents .course-card{
		flex-basis: 100%;
	}
}

@media(max-width: 568px){
	/* Courses Categories Section */
	.categories-contents .category-item{
		flex-basis: 100%;
	}
	/* Footer Section */
	.footer-contents .footer-col{
		flex-basis: 100%;
	}
}

@media(max-width: 468px){
	.banner-img .banner-img-container{
		width: 100%;
	}
	.banner .banner-desc .search-bar{
		width: 100%;
	}
	.banner-img-container .states .courses-ratings{
		top: 30px;
		right: -10px;
	}
	.banner .banner-desc h2{
		font-size: 32px;
	}
	.main-navbar .get-started-btn-container{
		display: none;
	}
	/* Partners Section */
	.partners h3{
		margin-right: 0px;
		margin-bottom: 80px;
	}
}
/*   === Media Query Ends ===   */


/* chatbot style starts here */

/* Chatbot Toggle Button */
.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #30479c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-10px); /* Bounce up */
    }
    40% {
        transform: translateY(0); /* Return to start */
    }
    60% {
        transform: translateY(-5px); /* Smaller bounce */
    }
    80% {
        transform: translateY(0); /* Settle back */
    }
    100% {
        transform: translateY(0);
    }
}

.chatbot-toggle:hover {
    animation: bounce 0.6s ease; 
}

.chatbot-toggle:focus {
    outline: 2px solid #0b4787;
    outline-offset: 2px;
	background-color: #30479c;
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
	min-height: 400px;
    max-height: 400px;
    background-color: white;
    /* border: 12px solid #ddd; */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    display: none; /* Hidden by default */
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}

/* Chatbot Header */
.chatbot-header {
    background-color: #30479c;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-header span{
	font-size: 20px;
	color: white;
}

.chatbot-header .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Chatbot Messages */
.chatbot-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #fff;
}

/* Chatbot Input */
.chatbot-input {
    display: flex;
    border-top: 1px solid #ddd;
}

.chatbot-input input {
    flex: 1;
    padding: 10px;
    border: none;
    border-right: 1px solid #ddd;
    outline: none;
}

.chatbot-input .send-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
}

/* Show Chatbot when active */
.chatbot-container.active {
    display: flex;
}

/* Optional: Smooth Transition */
.chatbot-container, .chatbot-toggle {
    transition: all 0.3s ease;
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal content */
#modalDetails{
	
}
.modal-content {
    position: relative;
    width: 85%;
    max-width: 800px;
	max-height: 500px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	overflow-y: hidden;
	
}

.modal-content iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
/* chatbot style ends here */


/* course detail modal style goes here */

.course-detail-header{
	/* background-color: #30479c; */
	background-color: #dadada;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	margin-top: 20px;

}
.course-detail-title{
	padding: 5px;
}
.course-detail-title h2{
	
	color: #000;
	font-size: 25px;
	font-weight: 700;
}
.course-detail-category{
	padding: 5px;
}
.course-detail-category p{
	font-size: 20px;
	color: #000;
	font-weight: 700;
}
.modal-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
	
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.modal-left-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-right-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-image-container {
    width: 100%;
    text-align: center;
}

.modal-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    max-height: 200px;
}

.modal-title {
    font-size: 1.2rem !important;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.modal-details-list,
.modal-dates-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 15px;
    margin: 0;
    font-size: 1rem;
    color: #555;
}

.modal-details-list dt,
.modal-dates-list dt {
    font-weight: bold;
    text-align: right;
}

.modal-details-list dd,
.modal-dates-list dd {
    margin: 0;
}

.modal-summary {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    flex-grow: 1; /* Allows summary to expand and fill space */
	max-height: 450px;
	overflow-y: scroll;
   padding-bottom: 30px;
	
}

.modal-summary h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #444;
}

.modal-summary p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
   
	
}

.moodle-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #30479c;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.moodle-btn:hover {
    background: #0056b3;
}

.moodle-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Two-column layout for larger screens */
@media (min-width: 768px) {
    .modal-content-wrapper {
        flex-direction: row;
        align-items: stretch;
	
    }

    .modal-left-column {
        width: 40%;
    }

    .modal-right-column {
        width: 60%;
    }

    .modal-image {
        max-height: 200px;
    }

    .modal-title {
        font-size: 1.75rem;
    }
}

/* Ensure modal fits small screens */
@media (max-width: 767px) {
    .modal-content-wrapper {
        max-width: 100%;
    }
	.modal-summary{
		display: none;
	}
}
