@import url('https://fonts.googleapis.com/css?family=Montserrat:500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	background: #FFF;
	font-family: 'Open Sans', sans-serif;
}

/*SCROLLBAR Styling*/
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: #33b5ed;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #33b5ed; 
}

/*NAVIGATION BAR*/
.nav {
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5px; /* No horizontal padding to maximize width */
    position: fixed;
    top: 0px;
    z-index: 10;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
    margin: 0; /* Ensure no margin pushes it inward */
}
.nav li, a, button {
    float: left;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #2E3D49;
    display: block;
    text-decoration: none;
    text-align: center;
}

.nav ul li img {
    width: 20px;
    margin-right: 10px;
    transform: translateY(5px);
    padding-top: 5px;
}

.nav ul li {
    list-style: none;
    display: inline-block;
    padding: 0px 15px; /*change here if we added new course*/
}

.nav ul li a {
    transition: all 0.3s ease 0s;
}

.nav ul li a:hover {
    color: #33b5ed;
}

.nav ul li:hover {
    scale: 1.3;
    transition: 0.9s;
}

.nav button {
    padding: 9px 25px;
    background: linear-gradient(to right, #33b5ed, #03689b);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease 0s;
}

#srchbtn {
    padding: 9px 20px;
}

#srchbtn img {
    width: 15px;
    filter: brightness(100);
}

.nav button:hover {
    opacity: .9;
}

.nav .search {
    float: right;
}

.nav .search .srch {
    font-size: 13px;
    width: 300px;
    border: none;
    outline: none;
    border-bottom: 2px solid #33b5ed;
    padding: 9px;
}

.nav .search button {
    margin-right: 5px;
    float: right;
    margin-left: 10px;
}

.nav .switch-tab {
    cursor: pointer;
    visibility: hidden;
}

.nav .switch-tab img {
    width: 20px;
}

.nav .check-box {
    cursor: pointer;
    visibility: hidden;
}

.nav .list-switch {
    gap: 5px; /* Decreased gap between items */
    cursor: pointer;
    visibility: visible; /* Made visible to display items */
    align-items: center;
    display: flex; /* Ensure flex behavior */
}
/*TITLE*/
.title {
	margin-top: 150px;
	margin-left: 100px;
	
}
.title span{
	font-weight: 800;
	font-family: 'Open Sans', sans-serif;
	font-size: 70px;
	color: #2E3D49;
	filter: drop-shadow(0 20px 10px rgba(0, 0, 0, 0.2)); /* Drop shadow */
	text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.4); /* Added shadow with blur */
}
.title .shortdesc {
	padding: 15px;
	font-family: 'Open Sans', sans-serif;
	font-size: 24px;
	color: #2E3D49;
	margin-bottom: 50px;
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3); /* Added shadow to description */
}

/*Quick Links*/
.course {
	display: grid;
	justify-content: center;
}

.cbox {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	
}
.cbox .det {
	height: 60px;
	margin: 10px;
	background: #fff;
	cursor: pointer;
	border-radius: 50px;
	box-shadow: #000D  2px 2px 6px;
}
.cbox .det a{
	justify-content: space-around;
	width: 100%;
	padding: 20px;
	border-radius: 50px;
	border: 1px solid #33b5ed;
	font-size: 15px;
	color: #272529;
	font-family: cursive;
	text-decoration: none;
}

.cbox .det a:hover{
	background: linear-gradient(to right, #33b5ed, #196484);
	color: white;
}

.inbt {
	padding: 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 30px;
	color: #2E3D49;
	margin: 100px;
	margin-bottom: 50px;
}
/*COURSES AVAILABLE modified */
.courses-grid {
	display: grid;
	justify-content: center;
}

.course-flex {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
}

.course-box {
	height: 60px;
	width: 180px; /* Adjust width as needed */
	margin: 10px;
	background: #fff;
	cursor: pointer;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.course-box a {
	display: flex;
	justify-content: space-around;
	width: 100%;
	padding: 20px;
	border-radius: 50px;
	border: 1px solid #33b5ed;
	font-size: 15px;
	color: #272529;
	font-family: cursive;
	text-decoration: none;
}

.course-box a:hover {
	background: linear-gradient(to right, #33b5ed, #196484);
	color: white;
}

.intro-text {
	padding: 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 30px;
	color: #2E3D49;
	margin: 100px;
	margin-bottom: 50px;
}

.course-box img {
	width: 100%;
	height: 100%;
	object-fit: scale-down;
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50px;
}
/*COURSES AVAILABLE*/
.ccard {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	background-color: #f0f4f8; /* Light background for contrast */
	padding: 40px 20px;
}

.ccardbox {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.dcard {
	margin: 15px;
	position: relative;
	width: 300px;
	height: 200px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dcard:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.image-container:hover img {
	transform: scale(1.1);
}

.overlay-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	padding: 15px;
	border-radius: 10px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
}

.image-container:hover .overlay-text {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	visibility: visible;
}

.inbt {
    font-size: 2rem;
    text-align: center;
    color: #333;
    margin-bottom: 40px;
	
    font-weight: bold;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
	
}

.course-card {
	
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.course-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-info {
    padding: 20px;
}

.course-info h2 {
    font-size: 1.8rem;
    color: #33b5ed;
    margin-bottom: 15px;
}

.course-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.course-card:hover img {
    transform: scale(1.1);
}

/* Responsive text alignment */
@media (max-width: 768px) {
    .inbt {
        font-size: 1.5rem;
    }

    .course-info h2 {
        font-size: 1.5rem;
    }
}

/*Small Titles for  Topics*/
.title2 {
	position: relative;
	padding-top: 150px;
	margin-left: 100px;
}
.title2 span{
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	font-size: 30px;
	color: #2E3D49;
}
.title2 .shortdesc2 {
	padding: 10px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	color: #2E3D49;
	margin-bottom: 10px;
}

/*Videos Section*/
.ccardbox2 {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.dcard2 {
	margin: 20px;
	width: 300px;
	height: 160px;
	background: linear-gradient(to right, #33b5ed, #1d6787);
	border-radius: 10px;
}
.dcard2:hover .fpart2 img {
	display: none;
}
.dcard2 .fpart2 { 
	width: inherit;
	height: 180px;
	background: #000;
	color: #000;
	text-align: left;
	border-top-right-radius: 100px;
	transform: translateY(-19px);
	box-shadow: 0 0 20px rgba(0,0,0,0.4);
	overflow: hidden;
}
.dcard2 .tag {
	position: relative;
	margin-left: 270px;
	top: 10px;
	color: #fff;
}
.dcard2 .fpart2 img {
	width: 100%;
	height: 100%;
}
.fpart2 iframe {
	height: inherit;
	width: inherit;
}

/*Watch Full Playlist*/
.click-me {
	justify-content: center;
	display: flex;
}
.click-me a {
	color: #33b5ed;
	text-decoration: none;
	transition-duration: .5s;
	padding: 10px;
}
.click-me a:hover {
	background: #33b5ed;
	color: #fff;
}

/*PROJECTS*/
.project-panel {
	/*background: #000;*/
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.project-card {
	width: 250px;
	/*height: 220px;*/
	background: #fff;
	margin-right: 10px;
	margin-bottom: 10px;
	border-radius: 5px;
	cursor: pointer;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.project-card img {
	width: inherit;
	/*height: 140px;*/
}
.project-card:hover {
	transform: scale(1.2);
	transition: .5s ease;
}
.project-card:hover .download a{
	visibility: visible;
}
.project-card .info {
	padding: 10px;
}
.project-card .info h4 {
	color: #2E3D49;
}
.project-card .info p {
	font-size: 12px;
}
.download {
	margin-top: 10px;
	display: flex;
	justify-content: center;
}
.download a{
	padding: 5px 10px;
	color: #33b5ed;
	font-size: .8em;
	visibility: hidden;
}
.download:hover a{
	transition: .5s ease;
	background: #33b5ed;
	color: #fff;
}

/* partener section*/
.partner-section {
	text-align: center;
	padding: 50px;
	background-color: #f9f9f9;
  }
  
  .section-title {
	font-size: 2rem;
	color: #33b5ed; /* Purple color */
	margin-bottom: 30px;
  }
  
  .partner-row {
	display: flex;
	overflow-x: auto;
	padding: 20px;
	scroll-behavior: smooth;
	align-items: center;
  }
  
  .partner {
	max-width: 200px;
	margin: 0 15px;
	transition: transform 0.3s, box-shadow 0.3s;
	
  }
  
  .partner img {
	width: 100%;
	border-radius: 12px;
	border: 2px solid transparent;
	transition: border-color 0.3s;
  }
  
  .partner:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .partner:hover img {
	border-color: #33b5ed; /* Border color change on hover */
  }
  @media (max-width: 768px) {
	.partner {
	  min-width: 150px;
	}
  }
  
  @media (max-width: 480px) {
	.partner {
	  min-width: 120px;
	}
  }
  
/*Sample Papers*/

.sample {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-around;
}
.lastSample {
	margin-bottom: 100px;
}
.sample ul {
	margin: 20px;
}

.sample ul li{
	padding: 28px;
	list-style: none;
}

.sample ul li a {
	color: #33b5ed;
	width: 300px;
	font-size: 20px;
}

/*Footer*/

footer {
	color: #E5E8EF;
	background: #000D;
	padding: 50px 0; 
}

footer .footer-container {
	max-width: 1300px;
	margin: auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap-reverse;
}

footer .social-media img{
	width: 22px;
}

footer .logo {
	width: 180px;
	color: #fff;
	font-family: 'Montserrat', cursive;
}
footer .social-media{
	margin: 20px 0;
}

footer .social-media a{
	color: #001a21;
	margin-right: 10px;
	font-size: 22px;
	text-decoration: none;
}

footer .right-col h1{
	font-size: 26px;
}
footer .border{
	width: 100px;
	height: 4px;
	background: linear-gradient(to right, #33b5ed, #1c6e91);
	margin: 2px;
}

footer .newsletter-form {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
footer input::placeholder {
  color: white !important;
}
footer .txtb {
	flex: 1;
	padding: 18px 40px;
	font-size: 16px;
	background: #343A40;
	border: none;
	font-weight: 700;
	outline: none;
	border-radius: 5px;
	min-width: 260px;
	margin-top: 20px;
	color: white;
}

footer .btn {
	margin-top: 20px;
	padding: 18px 40px;
	font-size: 16px;
	color: #f1f1f1;
	background: linear-gradient(to right, #33b5ed, #1c7093);
	border: none;
	font-weight: 700;
	outline: none;
	border-radius: 5px;
	margin-left: 20px;
	cursor: pointer;
	transition: opacity .3s linear;	
}

footer .btn:hover {
	opacity: .7;
}


/*For Responsive Website*/
@media screen and (max-width: 960px) {
	.footer-container {
		max-width: 600px;
	}
	.right-col {
		width: 100%;
		margin-bottom: 60px;
	}
	.left-col {
		width: 100%;
		text-align: center;
	}
	.social-media {
		display: flex;
		justify-content: center;
	}
}

@media screen and (max-width: 700px) {
	footer .btn{
		margin: 0;
		width: 100%;
		margin-top: 20px;
	}
}
@media screen and (max-width: 1366px) {
	.search {
		display: none;
		margin-bottom: 10px;
	}
}

@media screen and (max-width: 1000px) {
	.nav ul, .nav .search {
		display: none;
	}
	.nav #learned-logo {
		transition: 1s ease;
		margin-left: 40%;
		transform: scale(1.5);
	}
	.nav ul li{
		width: 100%;
		margin-bottom: 5px;
	}
	.nav .switch-tab {
		visibility: visible;
	}
	.nav .check-box {
		visibility: visible;
	}
	.search {
		visibility: visible;
		margin: 30px;
		margin-top: 0px;
	}
}
