@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Lato', sans-serif;
}

body {
    font-family: 'Lato', sans-serif;
    scroll-behavior: smooth;
}

/* Home Page */
/* Header */
header {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

header .iconb {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

header .logo img {
    width: 60px;
    height: 60px;
}

header .logo h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1c1c1c;
}

/* Nav */
header nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

header nav ul li {
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #1c1c1c;
    font-weight: 500;
    font-size: .95rem;
    transition: all .3s ease;
    position: relative;
    padding-bottom: 5px;
    padding: 5px 10px;
}

header nav ul li a:hover {
    background: hsl(134, 61%, 41%, 0.5);
    color: white;
    border-radius: 2px;
}

header nav ul li a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translate(-50%, -50%);
    background: #28A745;
    width: 0;
    height: 4px;
    transition: all 0.3s ease;
}

header nav ul li a:hover::before {
    width: 100%;
}

header .btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
}

header .btns a {
    padding: 8px 18px;
    border: 1px solid #1c1c1c;
    border-radius: 8px;
    color: #1c1c1c;
    font-weight: 600;
    font-size: .95rem;
    transition: .4s ease;
}

header .btns a:hover {
    background: #28A745;
    color: #fff;
    border: 1px solid transparent;
}

header .btns a:nth-child(2) {
    background: #28A745;
    border: 1px solid transparent;
    color: #fff;
}

header .btns a:nth-child(2):hover {
    background: hsla(134, 61%, 41%, 0.4)
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px 40px;
    transition: all 0.4s ease;
    z-index: 999;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav .nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px 0;
}

.mobile-nav .nav ul li a {
    color: #1c1c1c;
    font-weight: 500;
    font-size: .95rem;
    transition: all .3s ease;
    position: relative;
    padding: 5px 10px;
    display: block;
}

.mobile-nav .nav ul li a:hover {
    background: hsla(134, 61%, 41%, 0.1);
    color: #28A745;
    border-radius: 5px;
}

.mobile-nav .btns {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px 0;
}

.mobile-nav .btns a {
    padding: 8px 18px;
    border: 1px solid #1c1c1c;
    border-radius: 8px;
    color: #1c1c1c;
    font-weight: 600;
    font-size: .95rem;
    text-align: center;
    transition: .4s ease;
}

.mobile-nav .btns a:hover {
    background: #28A745;
    color: #fff;
    border: 1px solid transparent;
}

.mobile-nav .btns a:nth-child(2) {
    background: #28A745;
    border: 1px solid transparent;
    color: #fff;
}

.mobile-nav .btns a:nth-child(2):hover {
    background: hsla(134, 61%, 41%, 0.4);
}

/* Hero */
.hero {
    background: linear-gradient(120deg, rgba(33, 136, 55, 0.7), rgba(33, 136, 55, 0.6)),
        url('/img/background%20Edulearn.jpg');
    height: 100vh;
    display: flex;
    padding: 0 60px;
    justify-content: center;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero .content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    width: 50%;
}

.hero .content h5 {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 300;
}

.hero .content .content-btns {
    display: flex;
    gap: 0 10px;
    margin-top: 15px;
}

.hero .content .content-btns a {
    padding: 8px 18px;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    transition: .4s ease;
}

.hero .content .content-btns a:nth-child(1) {
    background: #28A745;
    color: #fff;
    border: 1px solid transparent;
}

.hero .content .content-btns a:nth-child(1):hover {
    background: hsla(134, 61%, 41%, 0.7)
}

.hero .content .content-btns a:nth-child(2) {
    background: #fff;
    color: #28A745;
    border: 1px solid #28A745;
}

.hero .content .content-btns a:nth-child(2):hover {
    background: hsl(0, 0%, 100%, 0.7);
}

/* Courses, Footer & Instructors Common Styles */
.courses,
.feedback,
.instructors,
footer {
    padding: 50px 60px;
    text-align: center;
}

.courses h2,
.choose_Us h2,
.feedback h2,
.works h2,
.instructors h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.courses .courses_cards,
.instructors .instructors_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
    align-items: center;
    justify-content: center;
}

.courses .courses_cards .card {
    background: #fff;
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.courses .courses_cards .card:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

}

.courses .courses_cards .card .imgbox {
    width: 100%;
    height: 250px;
}

.courses .courses_cards .card .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.courses .courses_cards .card .card_content {
    padding: 10px 15px;
    text-align: left;
}

.courses .courses_cards .card .card_content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.courses .courses_cards .card .card_content h4 {
    font-size: 1.1rem;
    color: #218838;
    margin-bottom: 4px;

}

.courses .courses_cards .card .card_content p {
    font-size: .9rem;
    color: #1c1c1c;
    margin-bottom: 4px;
}

.courses .courses_cards .card .card_content .review {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.courses .courses_cards .card .card_content .review h5 {
    font-size: 1rem;
    color: #1c1c1c;
}

.courses .courses_cards .card .card_content .review .icons {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.courses .courses_cards .card .card_content .review .icons i {
    font-size: .8rem;
    color: #FFD700;
}

.courses .courses_cards .card .card_content .review h6 {
    font-weight: 400;
    color: #333;
}

.courses .courses_cards .card .card_content button {
    padding: 8px 18px;
    border-radius: 8px;
    background: #28A745;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    transition: .4s ease;
    width: 100%;
    cursor: pointer;
}

.courses .courses_cards .card .card_content button:hover {
    background: hsla(134, 61%, 41%, 0.7);
}

/* Choose Us & Works */
.choose_Us,
.works {
    padding: 50px 0px;
    text-align: center;
}

.choose_Us h2,
.works h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 50px;
}

.choose_Us .choose_us_cards,
.works .works_cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
    align-items: center;
    justify-content: center;
    padding: 50px 0px;
    background: #2ECC71;
}

.choose_Us .choose_us_cards .card,
.works .works_cards .card {
    width: 280px;
    padding: 20px;
    transition: all 0.3s ease;
}

.choose_Us .choose_us_cards .card:hover,
.works .works_cards .card:hover {
    transform: translateY(-5px);
}

.choose_Us .choose_us_cards .card .imgbox,
.works .works_cards .card .imgbox {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.choose_Us .choose_us_cards .card .imgbox img,
.works .works_cards .card .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.choose_Us .choose_us_cards .card .card_content,
.works .works_cards .card .card_content {
    text-align: center;
}

.choose_Us .choose_us_cards .card .card_content h3,
.works .works_cards .card .card_content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.choose_Us .choose_us_cards .card .card_content p,
.works .works_cards .card .card_content p {
    font-size: 0.9rem;
    color: hsl(0, 0%, 100%, 0.7);
    line-height: 1.5;
}

/* Feedback */
.feedback .feedback_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
    align-items: stretch;
    justify-content: center;
}

.feedback .feedback_cards .card {
    width: 100%;
    max-width: 350px;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feedback .feedback_cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feedback .feedback_cards .card .header {
    display: flex;
    align-items: center;
    gap: 0 15px;
    margin-bottom: 15px;
}

.feedback .feedback_cards .card .header .imgbox {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.feedback .feedback_cards .card .header .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #28A745;
}

.feedback .feedback_cards .card .header .title {
    text-align: left;
}

.feedback .feedback_cards .card .header .title h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feedback .feedback_cards .card .header .title h4 {
    font-size: 0.9rem;
    color: #28A745;
}

.feedback .feedback_cards .card .feedback_content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    text-align: left;
}

.feedback .feedback_cards .card .feedback_content .icons {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.feedback .feedback_cards .card .feedback_content .icons i {
    color: #FFD700;
    font-size: 0.9rem;
}

.feedback .feedback_cards .card .feedback_content .icons h5 {
    font-size: 0.8rem;
    color: #666;
}


.feedback .feedback_circle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
    margin-top: 30px;
}

.feedback .feedback_circle .circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback .feedback_circle .circle:hover {
    background: #28A745;
}

.feedback .feedback_circle .circle.active {
    background: #28A745;
    transform: scale(1.2);
}

/* Instructors */

.instructors .instructors_cards .card {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: all .3s ease;
    width: 100%;
    max-width: 350px;
}

.instructors .instructors_cards .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.01);

}

.instructors .instructors_cards .card .imgbox {
    width: 100%;
    height: 250px;
}

.instructors .instructors_cards .card .imgbox img {
    width: 100%;
    height: 100%;
    border-radius: 10%;
}

.instructors .instructors_cards .card .info {
    margin-top: 20px;
    text-align: center;
}

.instructors .instructors_cards .card .info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.instructors .instructors_cards .card .info h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #666;
}

.instructors .instructors_cards .card .info .socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 5px;
}

.instructors .instructors_cards .card .info .socials img {
    width: 30px;
    height: 30px;
}

/* Ready */
.ready {
    padding: 50px 60px;
    width: 100%;
    text-align: center;
    background: #2ECC71;
    margin-top: 50px;
}

.ready h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.ready h4 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 15px;
}

.ready button {
    padding: 10px 30px;
    font-size: 1.1rem;
    background: #fff;
    color: #28A745;
    border: none;
    border-radius: 5px;
    transition: .3s ease;
    cursor: pointer;
}

.ready button:hover {
    background: hsl(0, 0%, 100%, 0.7);
}

/* Footer */
footer {
    background: #1c1c1c;
    color: #fff;
    margin-top: 80px;
}

footer .footer_content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    text-align: left;
}

footer .footer_content .about {
    flex: 1 1 300px;
}

footer .footer_content .about .logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

footer .footer_content .about .logo img {
    width: 50px;
    height: 50px;
}

footer .footer_content .about .logo h1 {
    font-size: 1.5rem;
    color: #fff;
}

footer .footer_content .about p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 10px;
}

footer .footer_content .about h4 {
    color: #28A745;
    font-size: 0.9rem;
}

footer .footer_content .quick_links,
footer .footer_content .social_links {
    flex: 1 1 150px;
}

footer .footer_content h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

footer .footer_content .quick_links ul li {
    margin-bottom: 10px;
}

footer .footer_content .quick_links ul li a {
    color: #ccc;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

footer .footer_content .quick_links ul li a:hover {
    color: #28A745;
}

footer .footer_content .social_links .socials {
    display: flex;
    gap: 15px;
}

footer .footer_content .social_links .socials img {
    width: 25px;
    height: 25px;
    transition: all 0.3s ease;
}

footer .footer_content .social_links .socials img:hover {
    transform: translateY(-3px);
}

footer .footer_content .newsletter {
    flex: 1 1 300px;
}

footer .footer_content .newsletter p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}

footer .footer_content .newsletter .input {
    display: flex;
    gap: 10px;
}

footer .footer_content .newsletter .input input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    background: #333;
    color: #fff;
}

footer .footer_content .newsletter .input button {
    padding: 10px 20px;
    background: #28A745;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

footer .footer_content .newsletter .input button:hover {
    background: #218838;
}

/* Course page2*/

/* Hero2 */
.hero2 {
    background: linear-gradient(120deg, rgba(33, 136, 55, 0.7), rgba(33, 136, 55, 0.6)),
        url('/img/background%20Edulearn.jpg');
    height: 85vh;
    display: flex;
    padding: 0 60px;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero2 .content {
    max-width: 800px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.hero2 .content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;

}

.hero2 .content h3 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;

}

.hero2 .content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    width: 70%;
}

/* Available Courses */
.available_courses {
    padding: 50px 60px;
    font-family: 'Lato', sans-serif;
    margin-top: 50px;
}

.available_courses h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: left;
    color: #1c1c1c;
}

.available_courses .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 80px;
}

.available_courses .header .searchbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    flex: 1;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.available_courses .header .searchbox:focus-within {
    border: 2px solid #28A745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.available_courses .header .searchbox input {
    width: 100%;
    font-size: 1rem;
    color: #1c1c1c;
    font-family: 'Lato', sans-serif;
}

.available_courses .header .searchbox input::placeholder {
    color: #666;
}

.available_courses .header .searchbox i {
    font-size: 1.4rem;
    color: #28A745;
    cursor: pointer;
    transition: .3s ease;
    padding: 8px;
    border-radius: 5px;
}

.available_courses .header .searchbox i:hover {
    color: #218838;
    background: hsla(134, 61%, 41%, 0.1);
}

.available_courses .header .filter_icons {
    position: relative;
    display: flex;
    gap: 15px;
}

.available_courses .header .filter_icons .icon {
    position: relative;
    cursor: pointer;
}

.available_courses .header .filter_icons .icon i {
    font-size: 1.2rem;
    color: #1c1c1c;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.available_courses .header .filter_icons .icon:hover .dropdown {
    opacity: 1;
    transform: translateY(0px);
    visibility: visible;
}

.available_courses .header .filter_icons .icon:hover i {
    background: hsla(134, 61%, 41%, 0.1);
    color: #28A745;
}

.available_courses .header .filter_icons .dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    width: 250px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    opacity: 0;
    transform: translateY(15px);
    visibility: hidden;
    z-index: 1;
    border-radius: 10px;
    transition: .4s ease;

}

.available_courses .available_courses_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    justify-content: center;
}

.available_courses .header .filter_icons .dropdown li {
    list-style: none;
    padding: 10px 15px;
    color: #666;
    cursor: pointer;
    transition: background 0.3s ease;
}

.available_courses .header .filter_icons .dropdown li:hover,
.available_courses .header .filter_icons .dropdown li.active {
    background: hsl(134, 61%, 41%, 0.7);
}

.available_courses .header .filter_icons .dropdown li a {
    color: #1c1c1c;
}

.available_courses .header .filter_icons .dropdown li:hover a,

.available_courses .header .filter_icons .dropdown li.active a {
    color: #fff;
}


.available_courses .available_courses_cards .card {
    width: 100%;
    max-width: 350px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.available_courses .available_courses_cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.available_courses .available_courses_cards .card .imgbox {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.available_courses .available_courses_cards .card .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.available_courses .available_courses_cards .card:hover .imgbox img {
    transform: scale(1.1);
}

.available_courses .available_courses_cards .card .content {
    padding: 20px;
    position: relative;
}

.available_courses .available_courses_cards .card .content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1c1c1c;
    line-height: 1.4;
}

.available_courses .available_courses_cards .card .content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.available_courses .available_courses_cards .card .content .instructor {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(40, 167, 69, 0.1);
    color: #28A745;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.available_courses .available_courses_cards .card .content .instructor img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #28A745;
}

.available_courses .available_courses_cards .card .content .review_price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.available_courses .available_courses_cards .card .content .review_price .rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.available_courses .available_courses_cards .card .content .review_price .rating i {
    color: #FFD700;
    font-size: 0.9rem;
}

.available_courses .available_courses_cards .card .content .review_price h5 {
    font-size: 0.9rem;
    color: #666;
}

.available_courses .available_courses_cards .card .content .review_price h4 {
    font-size: 1.4rem;
    color: #28A745;
    font-weight: 700;
}

.available_courses .available_courses_cards .card .content button {
    width: 100%;
    padding: 12px;
    background: #28A745;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #28A745;
    margin-top: 15px;
}

.available_courses .available_courses_cards .card .content button:hover {
    background: transparent;
    color: #28A745;
}

/* About Page3 */
/* Hero3 */
.hero3 {
    background: linear-gradient(120deg, rgba(33, 136, 55, 0.7), rgba(33, 136, 55, 0.6)),
        url('/img/background%20Edulearn.jpg');
    height: 85vh;
    display: flex;
    padding: 0 60px;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.hero3 .content {
    width: 80%;
    max-width: 600px;
    text-align: center;
}

.hero3 .content h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
}

.hero3 .content {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 400;
}

.story,
.mission {
    padding: 50px 60px;
    margin-top: 50px;
    margin-bottom: 30px;
}

.story .story_row,
.mission .mission_row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story .story_row .story_imgbox,
.mission .mission_row .mission_imgbox {
    flex: 1 1 400px;
    max-width: 500px;
    height: 650px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.story .story_row .story_imgbox img,
.mission .mission_row .mission_imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story .story_row .story_imgbox:hover img,
.mission .mission_row .mission_imgbox:hover img {


    transform: scale(1.05);
}

.story .story_row .story_content,
.mission .mission_row .mission_content {
    flex: 1 1 400px;
    padding: 30px;
    color: #1c1c1c;
}

.story .story_row .story_content h2,
.mission .mission_row .mission_content h2 {

    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #28A745;
}

.story .story_row .story_content p,
.mission .mission_row .mission_content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* Join */

.join {
    padding: 60px;
    background: linear-gradient(120deg, rgba(33, 136, 55, 0.9), rgba(33, 136, 55, 0.8)),
        url('/img/background%20Edulearn.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 100px;
}

.join .join_content {
    max-width: 800px;
    margin: 0 auto;
}

.join h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.join h4 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 30px;
}

.join .join_buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.join .join_buttons button {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.join .join_buttons .primary_btn {
    background: #fff;
    color: #28A745;
    border: 2px solid #fff;
}

.join .join_buttons .primary_btn:hover {
    background: transparent;
    color: #fff;
}

.join .join_buttons .secondary_btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.join .join_buttons .secondary_btn:hover {
    background: #fff;
    color: #28A745;
}

/* Page4 */
/* Hero4 & Hero5 */
.hero4,
.hero5,
.hero6 {
    background: linear-gradient(120deg, rgba(33, 136, 55, 0.7), rgba(33, 136, 55, 0.6)),
        url('/img/background%20Edulearn.jpg');
    height: 85vh;
    display: flex;
    padding: 0 60px;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero4 .content,
.hero5 .content,
.hero6 .content {
    max-width: 1200px;
    text-align: center;
}

.hero4 .content h1,
.hero5 .content h1,
.hero6 .content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.hero4 .content h3,
.hero5 .content h3,
.hero6 .content h3 {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 300;
}

/* Pricing */
.pricing {
    margin-top: 50px;
    margin-bottom: 30px;
    padding: 50px 60px;
    text-align: center;
}

.pricing h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1c1c1c;
}

.pricing .pricing_cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing .pricing_cards .card {
    width: 320px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 35px 25px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing .pricing_cards .card.popular {
    border-color: #28A745;
    transform: scale(1.05);
}

.pricing .pricing_cards .card.popular .popular-tag {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #28A745;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pricing .pricing_cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
    border-color: #28A745;
}

.pricing .pricing_cards .card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing .pricing_cards .card .top {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing .pricing_cards .card .top h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1c1c1c;
}

.pricing .pricing_cards .card .top h4 {
    color: #28A745;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pricing .pricing_cards .card .top h4 span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.pricing .pricing_cards .card .info ul {
    margin-bottom: 30px;
}

.pricing .pricing_cards .card .info ul li {
    margin: 15px 0;
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing .pricing_cards .card .info ul li i {
    color: #28A745;
    font-size: 1.2rem;
}

.pricing .pricing_cards .card button {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    background: #28A745;
    color: #fff;
    width: 100%;
    border: 2px solid #28A745;
}

.pricing .pricing_cards .card button:hover {
    background: transparent;
    color: #28A745;
}

/* Compare Plans Section */
.compare-plans {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
}

.compare-plans h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 700;
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
}

.comparison-table thead tr {
    background: #28A745;
    color: white;
}

.comparison-table th {
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table td {
    color: #666;
    font-size: 1rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #333;
}

.comparison-table i.fa-check {
    color: #28A745;
    font-size: 1.2rem;
}

.comparison-table i.fa-times {
    color: #dc3545;
    font-size: 1.2rem;
}

/* Start Learning Today Section */
.start-learning,
.subscription-section {
    background: #2ECC71;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 150px;
}

.start-learning::before,
.subscription-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(46, 204, 113, 0.8), rgba(46, 204, 113, 0.9));
}

.start-learning .content,
.subscription-section .content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.start-learning h2,
.subscription-section h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.start-learning p,
.subscription-section p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.start-learning .cta-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2ECC71;
    background: #fff;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.start-learning .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

/* Page 5 */
/* Blog */
.blog {
    padding: 80px 60px;
    background: #f8f9fa;
}

.blog h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1c1c1c;
}

.blog_categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.blog_categories button {
    padding: 10px 25px;
    border-radius: 30px;
    background: transparent;
    border: 2px solid #28A745;
    color: #28A745;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog_categories button:hover,
.blog_categories button.active {
    background: #28A745;
    color: #fff;
}

.blog_cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.blog_cards .card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog_cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}


.blog_cards .card .imgbox {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog_cards .card .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog_cards .card:hover .imgbox img {
    transform: scale(1.1);
}

.blog_cards .card .imgbox .category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #28A745;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.blog_cards .card .content {
    padding: 25px;
}

.blog_cards .card .content .info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.blog_cards .card .content .info span {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog_cards .card .content .info i {
    color: #28A745;
}

.blog_cards .card .content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1c1c1c;
    line-height: 1.4;
}

.blog_cards .card .content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog_cards .card .content .read-more {
    color: #28A745;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.blog_cards .card .content .read-more:hover {
    gap: 12px;
}

.blog_pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.blog_pagination button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #28A745;
    color: #28A745;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog_pagination button:hover,
.blog_pagination button.active {
    background: #28A745;
    color: #fff;
}

/* Subscripe */
.subscription-section .content .subscription-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
}

.subscription-section .content .subscription-form input {
    background: #fff;
    padding: 8px 15px;
    width: 100%;
    max-width: 300px;
    border-radius: 4px;
    color: #1c1c1c;
    font-size: 1rem;
    border: 1px solid #666;
}

.subscription-section .content .subscription-form input::placeholder {
    color: #666;
}

.subscription-section .content .subscription-form button {
    padding: 8px 15px;
    border: 1px solid #666;
    background: #fff;
    color: #2ECC71;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: .3s ease;
    text-align: center;
}

.subscription-section .content .subscription-form button:hover {
    background: #e9e8e8;
}

/* Page6 */
/* Contact */
.contact {
    padding: 50px 60px;
    margin: 50px 0;
    display: flex;
    justify-content: center;
}

.contact .contact_row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact .contact_row .contact_details {
    flex: 1 1 50%;
    padding: 40px;
    color: #1c1c1c;
}

.contact .contact_row .contact_details h2 {
    margin-bottom: 25px;
    color: #1c1c1c;
    font-weight: 700;
    font-size: 1.8rem;
}

.contact .contact_row .contact_details .detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact .contact_row .contact_details .detail .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background: #2ECC71;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.contact .contact_row .contact_details .detail .icon:hover {
    transform: scale(1.1);
}

.contact .contact_row .contact_details .detail .icon i {
    color: #fff;
    font-size: 1.2rem;
}

.contact .contact_row .contact_message {
    flex: 1 1 50%;
    padding: 40px;
    background: #2ECC71;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.contact .contact_row .contact_message h2 {
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
}

.contact .contact_row .contact_message form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact .contact_row .contact_message form input,
.contact .contact_row .contact_message form textarea {
    padding: 12px 18px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.contact .contact_row .contact_message form input:focus,
.contact .contact_row .contact_message form textarea:focus {
    border-color: #1c1c1c;
    outline: none;
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}

.contact .contact_row .contact_message form textarea {
    resize: none;
    height: 150px;
    display: block;
}

.contact .contact_row .contact_message form button {
    padding: 12px 18px;
    background: #fff;
    color: #2ECC71;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.contact .contact_row .contact_message form button:hover {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}




/* Responsive */

@media (max-width: 1024px) {
    .pricing .pricing_cards {
        gap: 20px;
    }

    .pricing .pricing_cards .card {
        width: 300px;
    }
}

@media (max-width: 1200px) {
    .available_courses .available_courses_cards .card {
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .available_courses .available_courses_cards {
        gap: 20px;
    }

    .available_courses .available_courses_cards .card {
        max-width: 280px;
    }

    .available_courses .available_courses_cards .card .imgbox {
        height: 200px;
    }
}



@media (max-width: 986px) {
    .hero .content h1 {
        width: 80%;
    }

}

@media (max-width: 850px) {
    header .iconb {
        display: block;
    }

    header nav {
        display: none;
    }

    header .btns {
        display: none;
    }

    /* About Page3 */
    .story .story_row .story_content h2,
    .mission .mission_row .mission_content h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .story .story_row .story_content p,
    .mission .mission_row .mission_content p {
        font-size: 1rem;
    }

}

@media (max-width: 786px) {

    /* header */
    header {
        padding: 8px 35px;
    }

    header .logo img {
        width: 55px;
        height: 55px;
    }

    header .logo h1 {
        font-size: 1.3rem;
    }

    .mobile-nav {
        top: 71px;
        height: calc(100vh - 71px);
        padding: 20px 35px;
    }

    .mobile-nav .nav ul li a {
        font-size: .9rem;
        padding: 3px 10px;
    }

    .mobile-nav .btns {
        align-items: first baseline;
    }

    .mobile-nav .btns a {
        font-size: .85rem;
        padding: 6px 15px;
    }

    /* hero */
    .hero {
        padding: 0 35px;
    }

    .hero .content h1 {
        font-size: 2.8rem;
        width: 80%;
    }

    .hero .content h5 {
        font-size: 1rem;
    }

    .hero .content.content-btns {
        gap: 0 5px;
    }

    .hero .content.content-btns a {
        font-size: .85rem;
        padding: 5px 15px;
    }

    /* courses*/
    .courses,
    .instructors,
    footer {
        padding: 40px 35px;
    }

    .courses .courses_cards .card,
    .instructors .instructors_cards .card {
        max-width: 300px;
    }

    .courses .courses_cards .card .imgbox,
    .instructors .instructors_cards .card .imgbox {
        height: 200px;
    }

    /* Choose us & Works */
    .choose_Us,
    .works {
        padding: 40px 0px;
    }

    .choose_Us .choose_us_cards,
    .works .works_cards {
        padding: 40px 0px;
    }

    .choose_Us .choose_us_cards .card,
    .works .works_cards .card {
        width: 250px;
    }

    /* feedback */
    .feedback {
        padding: 40px 35px;
    }

    .feedback .feedback_cards .card {
        max-width: 320px;
        padding: 25px 15px;
    }

    .feedback .feedback_cards .card .header .imgbox {
        width: 60px;
        height: 60px;
    }

    .feedback .feedback_cards .card .header .title h2 {
        font-size: 1.1rem;
    }

    /* Ready */
    .ready {
        padding: 30px 35px;
    }

    .ready h2 {
        font-size: 1.8rem;
    }

    .ready h4 {
        font-size: 1rem;
    }

    .ready button {
        padding: 8px 20px;
        font-size: 1rem;
    }

    footer .footer_content {
        gap: 25px;
    }

    footer .footer_content .about .logo img {
        width: 45px;
        height: 45px;
    }

    footer .footer_content .about .logo h1 {
        font-size: 1.3rem;
    }

    /* Hero2 */
    .hero2 {
        padding: 0 35px;
    }

    .hero2 .content h1 {
        font-size: 2.2rem;
    }

    .hero2 .content h3 {
        font-size: 1.4rem;
    }

    .hero2 .content p {
        font-size: 1rem;
        width: 85%;
    }

    /* Available Courses */
    .available_courses {
        padding: 40px 30px;
    }

    .available_courses h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
        text-align: center;
    }

    .available_courses .header {
        flex-direction: column;
        gap: 20px;
    }

    .available_courses .header .searchbox {
        padding: 10px 15px;
    }

    .available_courses .header .searchbox input {
        font-size: 0.95rem;
    }

    .available_courses .header .searchbox i {
        font-size: 1.2rem;
    }

    .available_courses .header {
        flex-direction: column;
        gap: 20px;
    }

    .available_courses .header .filter_icons {
        width: 100%;
        justify-content: center;
    }

    .available_courses .header .filter_icons .icon i {
        font-size: 1.1rem;
        padding: 8px;
    }

    .available_courses .header .filter_icons .dropdown {
        top: 40px;
        width: 220px;
    }

    .available_courses .header .filter_icons .icon:nth-child(1) .dropdown {
        right: 0%;
    }

    .available_courses .header .filter_icons .icon:last-child .dropdown {
        right: 0;
    }

    .available_courses .available_courses_cards .card {
        max-width: 320px;
    }

    .available_courses .available_courses_cards .card .content h3 {
        font-size: 1.2rem;
    }

    .available_courses .available_courses_cards .card .content p {
        font-size: 0.9rem;
    }

    /* Story */
    .story,
    .mission {
        padding: 30px 20px;
    }

    .story .story_row,
    .mission .mission_row {
        gap: 30px;
    }

    .story .story_row .story_imgbox,
    .mission .mission_row .mission_imgbox {
        height: 350px;
    }

    .story .story_row .story_content h2,
    .mission .mission_row .mission_content h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .story .story_row .story_content p,
    .mission .mission_row .mission_content p {
        font-size: 1rem;
        text-align: left;
    }

    /* Join */
    .join {
        padding: 40px 20px;
    }

    .join h2 {
        font-size: 2rem;
    }

    .join h4 {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .join .join_buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .join .join_buttons button {
        width: 100%;
        max-width: 250px;
        padding: 10px 25px;
        font-size: 1rem;
    }

    /* Hero4 & Hero5 */
    .hero4,
    .hero5 .hero6 {
        padding: 0 35px;
    }

    .hero4 .content h1,
    .hero5 .content h1,
    .hero6 .content h1 {
        font-size: 2.5rem;
    }

    .hero4 .content h3,
    .hero5 .content h3,
    .hero6 .content h3 {
        font-size: 1rem;
    }

    /* Pricing */
    .pricing {
        padding: 40px 20px;
    }

    .pricing h2 {
        font-size: 1.8rem;
    }

    .pricing .pricing_cards .card {
        width: 100%;
        max-width: 320px;
    }

    .pricing .pricing_cards .card.popular {
        transform: scale(1);
    }

    .pricing .pricing_cards .card.popular:hover {
        transform: translateY(-10px);
    }

    /* Plans */
    .compare-plans h2 {
        font-size: 1.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    /* Start Learning */
    .start-learning,
    .subscription-section {
        padding: 60px 20px;
    }

    .start-learning h2,
    .subscription-section h2 {
        font-size: 2.5rem;
    }

    .start-learning p,
    .subscription-section p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .start-learning .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    /* Blog */
    .blog {
        padding: 50px 30px;
    }

    .blog h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .blog_categories {
        margin-bottom: 40px;
    }

    .blog_categories button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .blog_cards {
        flex-direction: column;
        gap: 25px;
    }
      /* Contact */
      .contact {
        padding: 20px 15px; 
    }

    .contact .contact_row .contact_details,
    .contact .contact_row .contact_message {
        padding: 15px; 
    }

    .contact .contact_row .contact_details h2,
    .contact .contact_row .contact_message h2 {
        font-size: 1.4rem; 
    }

    .contact .contact_row .contact_message form textarea {
        height: 100px; 
    }

}

@media (max-width: 576px) {
    .available_courses .available_courses_cards .card {
        max-width: 100%;
    }

    .available_courses .available_courses_cards {
        gap: 15px;
    }

    .available_courses .available_courses_cards .card {
        max-width: 100%;
    }

    .available_courses .available_courses_cards .card .imgbox {
        height: 180px;
    }

    .available_courses .available_courses_cards .card .content {
        padding: 15px;
    }

    .available_courses .available_courses_cards .card .content .instructor {
        padding: 4px 10px;
    }

    .available_courses .available_courses_cards .card .content .instructor img {
        width: 25px;
        height: 25px;
    }

    .available_courses .available_courses_cards .card .content .instructor h6 {
        font-size: 0.85rem;
    }

    .available_courses .available_courses_cards .card .content .review_price {
        padding: 12px 0;
    }

    .available_courses .available_courses_cards .card .content .review_price h4 {
        font-size: 1.2rem;
    }

    .available_courses .available_courses_cards .card .content button {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Blog */
    .blog {
        padding: 40px 20px;
    }

    .blog h2 {
        font-size: 1.8rem;
    }

    .blog_categories {
        gap: 10px;
    }

    .blog_categories button {
        padding: 6px 15px;
        font-size: 0.85rem;
    }

    .blog_cards .card {
        max-width: 100%;
    }

    .blog_cards .card .imgbox {
        height: 200px;
    }

    .blog_cards .card .content {
        padding: 20px;
    }

    .blog_cards .card .content h2 {
        font-size: 1.2rem;
    }

    .blog_cards .card .content p {
        font-size: 0.9rem;
    }
     /* Contact */
     .contact {
        padding: 20px 15px; 
    }

    .contact .contact_row .contact_details,
    .contact .contact_row .contact_message {
        padding: 15px; 
    }

    .contact .contact_row .contact_details h2,
    .contact .contact_row .contact_message h2 {
        font-size: 1.4rem; 
    }

    .contact .contact_row .contact_message form textarea {
        height: 100px;
    }

}

@media (max-width: 481px) {

    /* header */
    header {
        padding: 5px 30px;
    }

    header .logo img {
        width: 50px;
        height: 50px;
    }

    header .logo h1 {
        font-size: 1rem;
    }

    .mobile-nav {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 20px;
    }

    .mobile-nav .nav ul li a {
        font-size: .85rem;
        padding: 5px;
    }

    .mobile-nav .btns {
        margin-top: 15px;
        align-items: first baseline;
    }

    .mobile-nav .btns a {
        font-size: .8rem;
        padding: 4px 12px;
    }

    /* hero */
    .hero {
        padding: 0 30px;
    }

    .hero .content h1 {
        font-size: 2rem;
        width: 100%;
    }

    .hero .content h5 {
        font-size: .9rem;
    }

    .hero .content .content-btns {
        gap: 5px 0px;
        flex-direction: column;
        text-align: center;
    }

    .hero .content.content-btns a {
        font-size: .8rem;
        padding: 5px 10px;
    }

    /* course*/
    .courses,
    .instructors,
    footer {
        padding: 30px 20px;
    }

    .choose_Us {
        padding: 30px 0px;
    }

    .courses .courses_cards .card,
    .instructors .instructors_cards .card {
        max-width: 100%;
    }

    .courses .courses_cards .card .imgbox,
    .instructors .instructors_cards .card .imgbox {
        height: 180px;
    }

    .courses .courses_cards .card .card_content h3 {
        font-size: 1.2rem;
    }

    .courses .courses_cards .card .card_content h4 {
        font-size: 1rem;
    }

    /* choose_us & Works*/
    .choose_Us,
    .works {
        padding: 30px 0px;
    }

    .choose_Us .choose_us_cards,
    .works .works_cards {
        padding: 30px 0px;
    }

    .choose_Us .choose_us_cards .card,
    .works .works_cards .card {
        width: 100%;
    }

    /* feedback */
    .feedback {
        padding: 30px 20px;
    }

    .feedback .feedback_cards .card {
        max-width: 100%;
        padding: 20px 15px;
    }

    .feedback .feedback_cards .card .header {
        gap: 0 10px;
    }

    .feedback .feedback_cards .card .header .imgbox {
        width: 50px;
        height: 50px;
    }

    .feedback .feedback_cards .card .header .title h2 {
        font-size: 1rem;
    }

    .feedback .feedback_cards .card .header .title h4 {
        font-size: 0.8rem;
    }

    .feedback .feedback_cards .card .feedback_content p {
        font-size: 0.85rem;
    }

    .feedback .feedback_circle {
        margin-top: 20px;
        gap: 0 8px;
    }

    .feedback .feedback_circle .circle {
        width: 10px;
        height: 10px;
    }

    /* Ready */
    .ready {
        padding: 20px 20px;
    }

    .ready h2 {
        font-size: 1.5rem;
    }

    .ready h4 {
        font-size: 0.9rem;
    }

    .ready button {
        padding: 5px 15px;
        font-size: 0.9rem;
    }

    /* footer */

    footer .footer_content {
        gap: 20px;
    }

    footer .footer_content .about {
        flex: 1 1 100%;
    }

    footer .footer_content .quick_links,
    footer .footer_content .social_links,
    footer .footer_content .newsletter {
        flex: 1 1 100%;
    }

    footer .footer_content .about .logo img {
        width: 40px;
        height: 40px;
    }

    footer .footer_content .about .logo h1 {
        font-size: 1.2rem;
    }

    footer .footer_content h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    /* Hero2 */
    .hero2 {
        padding: 0 20px;
    }

    .hero2 .content h1 {
        font-size: 1.8rem;
    }

    .hero2 .content h3 {
        font-size: 1.2rem;
    }

    .hero2 .content p {
        font-size: 0.9rem;
        width: 100%;
    }

    /* Available Courses */
    .available_courses {
        padding: 30px 20px;
    }

    .available_courses h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .available_courses .header {
        gap: 15px;
    }

    .available_courses .header .searchbox {
        padding: 8px 12px;
    }

    .available_courses .header .searchbox input {
        font-size: 0.9rem;
    }

    .available_courses .header .searchbox i {
        font-size: 1.1rem;
        padding: 6px;
    }

    .available_courses .header .filter_icons {
        gap: 10px;
    }

    .available_courses .header .filter_icons .icon i {
        font-size: 1rem;
        padding: 7px;
    }

    .available_courses .header .filter_icons .dropdown {
        width: 180px;
        padding: 10px 0;
    }

    .available_courses .header .filter_icons .dropdown li {
        padding: 10px 15px;
    }

    .available_courses .header .filter_icons .dropdown li a {
        font-size: 0.9rem;
    }

    .available_courses .header .filter_icons .icon:nth-child(1) .dropdown {
        right: -100%;
    }

    .available_courses .header .filter_icons .icon:nth-child(2) .dropdown {
        right: 0px;
    }

    .available_courses .available_courses_cards .card {
        max-width: 100%;
    }

    .available_courses .available_courses_cards {
        gap: 15px;
    }

    .available_courses .available_courses_cards .card {
        max-width: 100%;
    }

    .available_courses .available_courses_cards .card .imgbox {
        height: 180px;
    }

    .available_courses .available_courses_cards .card .content {
        padding: 15px;
    }

    .available_courses .available_courses_cards .card .content .instructor {
        padding: 4px 10px;
    }

    .available_courses .available_courses_cards .card .content .instructor img {
        width: 25px;
        height: 25px;
    }

    .available_courses .available_courses_cards .card .content .instructor h6 {
        font-size: 0.85rem;
    }

    .available_courses .available_courses_cards .card .content .review_price {
        padding: 12px 0;
    }

    .available_courses .available_courses_cards .card .content .review_price h4 {
        font-size: 1.2rem;
    }

    .available_courses .available_courses_cards .card .content button {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Story */
    .story .story_row .story_imgbox,
    .mission .mission_row .mission_imgbox {
        height: 300px;
    }

    .story .story_row .story_content h2,
    .mission .mission_row .mission_content h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .story .story_row .story_content p,
    .mission .mission_row .mission_content p {
        font-size: .9rem;
        text-align: left;
    }

    .story .story_row .story_content,
    .mission .mission_row .mission_content {
        padding: 20px 10px;

    }

    /* Join */
    .join {
        padding: 30px 15px;
    }

    .join h2 {
        font-size: 1.8rem;
    }

    .join h4 {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Hero4 & Hero5 */
    .hero4,
    .hero5,
    .hero6 {
        padding: 0 20px;
    }

    .hero4 .content h1,
    .hero5 .content h1,
    .hero6 .content h1 {
        font-size: 2rem;
    }

    .hero4 .content h3,
    .hero5 .content h3,
    .hero6 .content h3 {
        font-size: 0.9rem;
    }

    /* Pricing */
    .pricing {
        padding: 30px 15px;
    }

    .pricing h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .pricing .pricing_cards .card {
        padding: 25px 15px;
    }

    .pricing .pricing_cards .card .top h2 {
        font-size: 1.5rem;
    }

    .pricing .pricing_cards .card .top h4 {
        font-size: 2rem;
    }

    /* Plans */
    .compare-plans {
        padding: 40px 10px;
    }

    .compare-plans h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }

    /* Start Learning */
    .start-learning {
        padding: 50px 15px;
    }

    .start-learning h2 {
        font-size: 2rem;
    }

    .start-learning p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .start-learning .cta-button {
        padding: 10px 25px;
        font-size: 1rem;
    }

    /* Subcription */
    .subscription-section .content .subscription-form input {
        padding: 8px 10px;
    }

    .subscription-section .content .subscription-form button {
        padding: 8px 10px;
    }
    /* Contact */
    .contact {
        padding: 15px 10px; 
    }

    .contact .contact_row .contact_details,
    .contact .contact_row .contact_message {
        padding: 10px; 
    }

    .contact .contact_row .contact_details h2,
    .contact .contact_row .contact_message h2 {
        font-size: 1.3rem; 
    }

    .contact .contact_row .contact_details .detail {
        gap: 10px;
    }

    .contact .contact_row .contact_details .detail .icon {
        height: 35px; 
        width: 35px; 
    }

    .contact .contact_row .contact_message form input,
    .contact .contact_row .contact_message form textarea {
        padding: 8px 12px; 
    }

    .contact .contact_row .contact_message form textarea {
        height: 80px;
    }

    .contact .contact_row .contact_message form button {
        padding: 8px 12px;
        font-size: 0.8rem; 
    }
}