@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/*header section*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    line-height: 1.5;
	font-family: 'Poppins', sans-serif;
}

/*header {
    background-color: #fff;
    color: #2a2929;
    padding: 15px 0;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1315px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    color: #2a2929;
    text-decoration: none;
    font-size: 1.5em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

ul li ul.dropdown li{
	display: block;
    width: fit-content;
}

ul li ul.dropdown {
	width:100%;
	/*background: #3bad5b;
	position: absolute;
	z-index: 999;
	display: none;
}

ul li a:hover{
	background:  #cee5d5;
	;
}

ul li:hover ul.dropdown{
	display: block;
}
20p
nav ul li a {
    color: #2a2929;
    text-decoration: none;
    font-size: 1em;
}

nav ul li a.login {
    background-color: #a4ed44;
    padding: 5px 10px;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #333;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
    }

    nav ul.showing {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}*/


/* First section */



header {
    width: 100%;
    background-color: #fff; /* Adjust as needed */
    position: relative;
    z-index: 10;
}

.course_banner {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    position: relative;
}

.banner {
    width: 100%;
    position: relative;
}

.banner_heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 5;
}

.banner_img img {
    /* margin-top: 80px; */
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .banner_heading {
        top: 40%;
    }
}

@media (max-width: 768px) {
    .banner_heading {
        top: 30%;
    }
}

@media (max-width: 480px) {
    .banner_heading {
        top: 20%;
    }
}



/* 2nd section */



.banner-bottom-section {
    position: relative;
    padding: 20px 0;
}

.banner_bottom_container {
    padding: 0 15px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.blog {
    background: #d9f3b6;
    box-shadow: 0 0 10px rgba(34, 34, 34, 0.1);
    border-radius: 60px 60px 0 0;
    padding: 50px;
    text-align: center;
    font-family: Roboto, sans-serif;
    margin-top: -50px;
}

.blog .heading h2 {
    color: #202020;
    font-weight: 700;
    font-size: 32px;
    font-family: Roboto, sans-serif;
    padding-bottom: 10px;
    line-height: 1.2;
    margin: 0;
}

.blog .heading h2 span {
    color: #2fb463;
}

@media (max-width: 1024px) {
    .blog {
        padding: 30px;
    }

    .blog .heading h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .blog {
        padding: 20px;
    }

    .blog .heading h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .blog {
        padding: 15px;
    }

    .blog .heading h2 {
        font-size: 20px;
    }
}

/* 3rd section  */


/* 3rd section */


.unlock {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.unlock_container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.unlock img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .unlock_container {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .unlock_container {
        padding: 0 5px;
    }
}



/* all couse cards css */



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

.header_logo a {
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.courses-section {
    padding: 40px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.courses-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
}

.course-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1300px;
    padding: 0 20px;
    gap: 40px; /* Increased gap between cards */
}

.course-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 26.66px); /* Adjust width to fit 3 cards within 1400px container */
    text-align: left;
    position: relative;
    overflow: hidden;
    margin: 10px 0; /* Adjusted margin for better spacing */
}

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff6347;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.card-badge.exclusive {
    background-color: #1e90ff;
}

.course-card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
}

.card-content {
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rating {
    color: #ffc107;
    font-size: 14px;
}

.learners {
    font-size: 14px;
    color: #777;
}

.compare {
    font-size: 14px;
    color: #1e90ff;
    cursor: pointer;
}

.course-card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.course-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.subscribe-btn {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.subscribe-btn:hover {
    background-color: #218838;
}

/* Media Queries */
@media (max-width: 1400px) {
    .course-cards {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .course-card {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .course-card {
        width: 100%;
    }

    .card-content {
        padding: 10px;
    }

    .subscribe-btn {
        padding: 5px 10px;
    }
}


/* Metorship */

.mentorship-section-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px; /* Decreased padding for smaller height */
    box-sizing: border-box;
}

.mentorship-section {
    width: 100%;
    max-width: 1200px; /* Adjusted max-width for container */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*background-color: #FFD700; /* Match the yellow background color */
    padding: 10px; /* Decreased padding for smaller height */
    border-radius: 10px;
    box-sizing: border-box;
    margin: 0 auto;
}

.mentorship-text {
    font-size: 37px; /* Adjusted font size for smaller screens */
    font-weight: bold;
    color: white;
    flex: 1;
    text-align: left;
    white-space: nowrap; /* Ensures text stays on one line */
    overflow: hidden; /* Hide overflow if text exceeds container */
    text-overflow: ellipsis; /* Show ellipsis if text overflows */
    padding-right: 20px;
    box-sizing: border-box;
}

 .mentorship-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
} 

.mentorship-image img {
    max-width: 150%; /* Set image size to 40% of the container width */
    height: 30vh; /* Maintain aspect ratio */
}

@media (max-width: 768px) {
    .mentorship-section {
        flex-direction: column;
        text-align: center;
    }

    .mentorship-text {
        font-size: 1.2em; /* Adjusted font size for smaller screens */
        margin-bottom: 10px; /* Decreased margin for smaller screens */
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .mentorship-text {
        font-size: 1em; /* Further adjusted font size for smallest screens */
    }

    .mentorship-section {
        padding: 5px; /* Further decreased padding for smallest screens */
    }
}



.mentor .mentor_box .mentor_box_right {
    width: 30%;
    margin-top: -35px;
    margin-bottom: -20px;
}

/* Choose */

.choose-section {
    padding: 80px 0;
}
.section-heading {
    text-align: center;
    padding-bottom: 65px;
}
.section-heading small {
    letter-spacing: .47em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .3);
    font-size: 16px;
    font-family: Roboto, sans-serif;
    font-weight: 700;
}
.section-heading h2 {
    color: #2fb463;
    font-weight: 700;
    font-size: 28px;
    font-family: Montserrat, sans-serif;
    padding: 10px 0 0;
}

.choose-blog ul {
    display: flex;
   flex-wrap: wrap;
    margin: -15px;
}

.choose-blog ul li {
    width: 50%;
    padding: 15px;
}
.choose-blog ul li .choose-content {
    position: relative;
    padding: 45px;
    padding-left: 150px;
    box-shadow: 0 0 6px #e1dbdb;
    border-radius: 100px;
}
ul{
    list-style: none;
}
.choose-blog ul li .choose-content span {
    width: 108px;
    height: 108px;
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100px;
    background: #eaf9ff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.choose-blog ul li .choose-content img {
    max-width: 45px;
    height: auto;
}
/*img{
    vertical-align: middle;
}*/

video{
    vertical-align: middle;
    width: fit-content;
}
.choose-blog ul li strong {
    text-transform: capitalize;
    color: rgba(0, 0, 0, .9);
    font-weight: 600;
    font-size: 16px;
    font-family: Montserrat, sans-serif;
    padding-bottom: 15px;
    display: block;
}
.choose-blog ul li p {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    color: rgba(0, 0, 0, .7);
    font-family: Roboto, sans-serif;
}
.choose-blog ul li .choose-content:hover {
    background: linear-gradient(90deg, #2fb463 0, #13e866 100%);
}
.choose-blog ul li .choose-content:hover strong {
    color: #fff;
}





/*  */

.certificate-header {
    background-color: #2E8B57;
    color: white;
    width: 100%;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 70px;
    position: relative;
}

.certificate-header-content {
    max-width: 504px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.certificate-header p {
    margin-bottom: 10px;
    font-weight: bold;
}

.certificate-header h1 {
    margin: 0;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 60px;
}

.certificate-container {
    max-width: 504px;
    margin: -100px auto 0; /* Adjust this to control how much the image overlaps the green background */
    text-align: center;
    position: relative;
    z-index: 1; /* Ensures it overlaps the header */
}

.certificate-content {
    padding: 0;
    background-color: white; /* Ensure the lower part of the image is on a white background */
    position: relative;
    z-index: 1;
}

.certificate-content img {
    width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .certificate-header-content, .certificate-container {
        width: 90%;
        padding: 0 10px;
    }

    .certificate-header h1 {
        font-size: 20px;
    }

    .certificate-content img {
        max-width: 100%;
        max-height: auto;
    }
}

@media (max-width: 480px) {
    .certificate-header h1 {
        font-size: 18px;
    }
}






/* FQA */

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f8f8f8;
    padding: 20px;
}

.faq-container {
    width: 90%;
    max-width: 800px;
}

.faq-container h1 {
    text-align: center;
    color: #2E8B57;
    font-size: 24px;
    margin-bottom: 10px;
}

.faq-container h2 {
    text-align: center;
    color: #666666;
    font-size: 18px;
    margin-bottom: 20px;
}

.faq-wrapper {
    max-height: 60vh; /* Adjust height if needed */
    overflow-y: auto;
    padding-right: 10px;
}

.faq {
    background-color: #ffffff;
    border-radius: 20px;
    margin-bottom: 10px;
    padding: 10px 20px;
}

.faq .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    transition: background-color 0.3s, color 0.3s;
}

.faq .question h3 {
    font-size: 18px;
    color: #333333;
    margin: 0;
    transition: color 0.3s;
}

.faq .arrow {
    font-size: 18px;
    transition: transform 0.3s;
}

.faq .answer {
    display: none;
    padding: 10px 0;
    color: #666666;
    font-size: 16px;
}

.faq.active .question {
    background-color: #2E8B57;
    color: #ffffff;
    border-radius: 20px;
    padding: 10px 20px;
}

.faq-wrapper::-webkit-scrollbar {
    width: 6px;
}

.faq-wrapper::-webkit-scrollbar-thumb {
    background: #2E8B57;
    border-radius: 10px;
}

.faq-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

@media (max-width: 768px) {
    .faq-container h1 {
        font-size: 20px;
    }

    .faq-container h2 {
        font-size: 16px;
    }

    .question h3 {
        font-size: 16px;
    }

    .answer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .faq-container h1 {
        font-size: 18px;
    }

    .faq-container h2 {
        font-size: 14px;
    }

    .question h3 {
        font-size: 14px;
    }

    .answer {
        font-size: 12px;
    }
}




/* testimorial */




.testimonial-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 50px;
}

.testimonial-container {
    max-width: 1300px;
    width: 100%;
    padding: 20px;
    /* background-color: #fff; */
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    border-radius: 10px;
    text-align: center;
    padding-bottom: 100px;
}

.testimonial-header h3 {
    /* color: gray;
    font-size: 14px; */
    font-family: Roboto, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: .47em;
    color: rgba(0, 0, 0, .3);
    text-align: left;
    margin: 0;
    padding-bottom: 11px;
}

.testimonial-header h2 {
    /* font-size: 35px;
    margin: 10px 0;
    color: #218838;
    font-family: Montserrat, sans-serif; */
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 45px;
    text-align: left;
    color: #2fb463;
    position: relative;
    display: block;

}

.testimonial-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

.left-section {
    /* width: 40%; */
    width: 30%;
    text-align: left;
    /* padding-left: 40px; */
    margin-top: 30px;
}

.left-section h2 {
    /* color: gray;
    font-size: 14px;
    margin: 0; */
    padding-bottom: 17px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: .47em;
    color: rgba(0, 0, 0, .3);
    font-family: Roboto, sans-serif;
}

.left-section h1 {
    /* font-size: 32px;
    margin: 10px 0; */
    font-weight: 700;
    font-size: 28px;
    line-height: 31px;
    color: #252525;
    padding-bottom: 30px;
    position: relative;
    display: inline-block;
    font-family: Montserrat, sans-serif;

}

.left-section p {
    /* color: gray;
    font-size: 16px;
    font-family: Montserrat, sans-serif; */
    margin: 0;
    color: rgba(0, 0, 0, .70);
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    font-family: Roboto, sans-serif;
}

.right-section {
    width: 60%;
    text-align: left;
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    display: none;
    padding: 20px;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slider p{
    margin: 0;
    color: rgba(0, 0, 0, .70);
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
}

.testimonial-slide p {
    /* margin-top: 30px; */
    padding-top: 20px;
}

.testimonial-slide .rating{
    padding-top: 20px;
}

.testimonial-slide.active {
    display: block;
}


.rating span {
    color: gold;
    font-size: 20px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.slider-controls button {
    background-color: transparent;
    border: 1px solid #00c853;
    color: #00c853;
    font-size: 24px;
    padding: 10px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 50%;
    outline: none;
    width: 50px;
    height: 50px;
}

.slider-controls button:hover {
    background-color: #00c853;
    color: #fff;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .testimonial-container {
        padding: 15px;
    }
    .testimonial-header h2 {
        font-size: 22px;
    }
    .left-section h1 {
        font-size: 28px;
    }
    .left-section p {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .testimonial-content {
        flex-direction: column;
        align-items: center;
    }
    .left-section, .right-section {
        width: 100%;
        text-align: center;
    }
    .right-section {
        margin-top: 20px;
    }
    .left-section h2, .left-section h1 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .testimonial-header h2 {
        font-size: 20px;
    }
    .left-section h1 {
        font-size: 24px;
    }
    .left-section p {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .testimonial-header h2 {
        font-size: 18px;
    }
    .left-section h1 {
        font-size: 20px;
    }
    .left-section p {
        font-size: 10px;
    }
}



/*footer*/
/* .footer_container{
	max-width: 1170px;
	margin:auto;
}
.footer .row{
	display: flex;
	flex-wrap: wrap;
}
.footer ul{
	list-style: none;
}
.footer{
	background-color: #24262b;
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e63;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col ul li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col ul li a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links a:hover{
	color: #24262b;
	background-color: #ffffff;
}

/*responsive
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
} */