:root {
    --import-color-yellow: #f0b533;
    --import-color-yellow-alt: #b8842c;
    --import-color-green: #31ad4a;
    --import-color-green-alt: #0a723a;
}

body {
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;         /* Standard */
}

/* General Styles */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

a, button, img, input {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

button, input {
    /* line-height: normal; */
    padding: 13px 12px;
}

button, input, select, textarea {
    font-size: 100%;
    margin: 0;
    max-width: 100%;
    vertical-align: baseline;
}


.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Styles for Course Categories Landing Page */

/* Header */
/* .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 10px 5%; 
    height: 80px;
} */

/* .logo {
    margin-right: 20px;
}

.logo img {
    height: 50px;
}

.search-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
} */

/* Best Sellers */
.best-sellers {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 10px;
    background: #f9f9f9;
    position: relative;
}

.course-card {
    display: inline-block;
    width: 250px;
    background: white;
    border-radius: 8px;
    margin: 0 10px;
    padding: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    text-align: center;
}

/* Animation */
@keyframes slideCards {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.best-sellers-inner {
    display: inline-block;
    animation: slideCards 20s linear infinite;
}

.best-sellers-inner:after {
    content: '';
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    /* .best-sellers {
        grid-template-columns: repeat(1, 1fr);
    } */
}

.video-floating {
    position: relative;
    bottom: 10px;
    left: 85%;
    right: 10px;
    width: 180px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    /* z-index: 9999; */
}
.video-floating video {
    width: 100%;
    height: auto;
    display: block;
}
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .video-floating {
        width: 120px;
        left: 77%;
    }
}

@media (max-width: 480px) {
    .video-floating {
        left: 65%;
    }
}

/* Intro Section */
/* .intro-section {
    text-align: center;
    background-color: #e6f2ff;
    padding: 50px 20px;
    margin: 20px 0;
} */

/* Community Stats */
.community-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    background: var(--import-color-green);
    color: #ffffff;
    padding: 10px 0;
}
.community-stat {
    text-align: center;
    color: #ffffff;
}

.community-stat i {
    font-size: 32px;
    color: var(--import-color-yellow);
    margin-bottom: 10px;
}

.community-stat svg {
    width: 32px;
}

.community-stat h4 {
    color: #ffffff;
    margin-bottom: 0 !important;
}

.community-stat p {
    color: #ffffff;
    margin-bottom: 0 !important;
}

.community-stat {
    padding: 0 30px;
}

@media (max-width: 760px) {
    .community-stat {
        padding: 0 10px;
    }

    .community-stat h4 {
        font-size: 20px;
    }
    .community-stat p {
        font-size: 15px;
    }
    
}

@media (max-width: 460px) {
    /* .community-stats {
        gap: 10px;
    } */
    .community-stat {
        padding: 0 10px;
    }

    .community-stat h4 {
        font-size: 15px;
    }
    
}

/* Testimonials */
/* .testimonials {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
    background: #fff;
}
.testimonial-desc {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
}
.testimonial-slider {
    flex: 2;
    overflow: hidden;
    position: relative;
}
.testimonial-track {
    display: flex;
    animation: slideTestimonials 20s linear infinite;
}
.testimonial-card {
    min-width: 300px;
    margin-right: 20px;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@keyframes slideTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
} */

/* Course Categories */
/* Styling for the entire section */
.course-categories {
    margin: 50px 300px 100px 300px; 
}

/* Styling for each row */
.rows {
    display: flex; /* To align content in a row */
    width: 100%; /* Ensure the rows take the full width available */
    border-radius: 20px; /* Capsule shape for each row */
    overflow: hidden; /* Ensure the border-radius affects all elements within */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-bottom: 40px;
}

/* Styling for the image container */
.image-div {
    width: 50%; /* Image takes half of the row width */
}

.image-div img {
    width: 100%; /* Ensure image fits its container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 20px 0 0 20px; /* Rounded edges on the left side of the image */
}

/* Styling for the content container */
.content-div {
    width: 50%; /* Content takes the other half of the row */
    display: flex; /* Flexbox for aligning text */
    flex-direction: column;
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    padding: 5px; /* Add space inside content div */
    color: #ffffff !important; 
    text-align: center;
    background-color: #31ad4a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Box shadow for better visibility */
    border-radius: 0 20px 20px 0; /* Rounded edges on the right side of the content */
}

/* Hover effect when a row is hovered */
a:hover .rows {
    transform: scale(1.05); /* Slightly scale up the row */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Add a stronger box shadow */
    text-decoration: none;
    color: #000000;
}

a  {
    text-decoration: none;
}

/* Styling for the h2 text */
.content-div h2 {
    margin: 0; /* Remove default margin */
    padding-bottom: 15px;
    font-size: 20px; /* Set a font size */
    font-weight: bold; /* Bold text */
    color: #ffffff !important; /* Dark color for text */
}

.content-div p {
    font-size: 16px;
    color: #ffffff !important;
}

@media (max-width: 1025px) {
    .course-categories {
        margin: 50px 100px 100px 100px; /* 20px top/bottom, 120px left/right */
    }


    .image-div, .content-div {
        width: 100%; /* Image and content take full width */
    }

    .content-div {
        padding: 5px; /* Adjust padding for smaller screens */
    }

    .content-div h2 {
        font-size: 16px; /* Adjust font size for smaller screens */
    }

    .content-div p {
        font-size: 12px;
    }
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .course-categories {
        /* margin: 30px 65px;  */
    }


    .image-div, .content-div {
        width: 100%; /* Image and content take full width */
    }

    .content-div {
        padding: 2px; /* Adjust padding for smaller screens */
    }

    .content-div h2 {
        font-size: 12px; /* Adjust font size for smaller screens */
        padding-bottom: 2px;
    }

    .content-div p {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .course-categories {
        margin: 30px 30px; 
    }

    .content-div {
        padding: 2px;
    }

    .content-div h2 {
        font-size: 8px; /* Further adjust font size for very small screens */
    }

    .content-div p {
        font-size: 7px;
    }
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}



/* Styles for Services Landing Page */
.welcome-message {
    text-align: center;
    margin-top: 100px;
}

.welcome-message h1 {
    font-size: 2em;
}

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




/* Styles for Course Landing Page */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.hero-section .title {
    margin: 30px 0;
    /* height: 30vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section .title h1 {
    font-size: 60px;
    font-weight: 700;
}

.hero-section .title p {
    font-size: 20px;
}

.hero-section .title-image {
    width: 100%;
    background-color: #ffffff;
    background-position: center;
    background-size: contain;
    display: grid;
    place-content: center;
}


.title-image {
    position: relative;
    display: inline-block;
}

.title-image .main-image {
    width: 1200px;
    height: 100vh;
    display: block;
    border-radius: 10px;
}

.title-image .sticker {
    position: absolute;
    top: 10px; /* adjust as needed */
    right: 130px; /* adjust as needed */
    width: 200px; /* or whatever size looks good */
    height: auto;
    z-index: 10;
}


.page-content {
    margin: 30px auto;
    padding: 50px 20px 90px !important;
    max-width: 820px;
    /* text-align: center; */
}

.page-content .intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    margin-bottom: 20px;
}

.page-content .intro h3 {
    font-size: 44px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 300;
}

.page-content .intro p {
    /* line-height: 3.2em !important; */
    font-size: 19px;
}

.page-content h3 {
    margin-bottom: 20px
}

.page-content button {
    max-width: 100%;
    width: 100%;
    margin: 20px 0;
    background-color: var(--import-color-yellow);
    color: #ffffff;
    font-weight: 600;
    border: var(--import-color-yellow-alt);
    border-radius: 5px;
    display: block;
    position: relative;
}

.page-content button:hover {
    background-color: var(--import-color-yellow-alt);
}

.page-content p {
    margin-bottom: 20px;
    letter-spacing: 2px;
    /* line-height: 3.2em; */
    font-size: 19px;
}

.curriculum {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: left;
}

.curriculum h3 {
    font-size: 32px;
}


.curriculum ul {
    padding: 0 16px;
    list-style: "✔ ";
}

.curriculum ul li {
    padding: 6px 0;
    font-size: 19px;
}

.swiper {
    width: 100%;
    padding: 20px 0;
    margin: 20px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-section h3 {
    font-size: 32px;
    color: #ffffff

}

/* .testimonial-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
    color: #000000;
} */

.testimonial-section .testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    color: #000000;
}

.testimonial-section .testimonial-card p {
    /* line-height: 1.2em; */
}

.testimonial-section .testimonial-card h4 {
    font-size: 17px;
}
.testimonial-section .testimonial-card-img {
    width: 100%;
    height: 100%;
}
.testimonial-section .testimonial-card-img img, video {
    width: 250px;
    height: 300px;
    border-radius: 10px;
}
@media (max-width: 480px) {
    .testimonial-section .testimonial-card-img img, video {
        width: 300px;
        height: 300px;
        border-radius: 10px;
    } 
}


.call-to-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    margin: 20px 0;
}

.footer-section {
    background-color: #f5f8fa;
    color: #000000;
    padding: 30px;
    /* text-align: center; */
}

.footer-section a {
    color: #2b2b2b;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--import-color-green-alt);
}

.footer-section .footer-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-section .footer-heading .footer-links .footer-links-menu {
    padding: 0;
    margin: 0 -10px;
    list-style: none;
    display: flex;
    /* flex-wrap: wrap; */
    align-items: center;
}

.footer-section .footer-heading .footer-links .footer-links-menu li {
    margin: 0;
    padding: 0 10px;
    position: relative;
    /* line-height: 1.67; */
}

.footer-section .footer-heading .footer-links .footer-links-menu li a {
    color: #2b2b2b;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section .footer-heading .footer-links .footer-links-menu li a:hover {
    color: var(--import-color-green-alt);
}

.footer-section .footer-heading .footer-links .footer-links-menu li a::after {
    position: absolute;
    content: "";
    left: auto;
    bottom: 0;
    background: #000000;
    width: 1px;
    height: 24px;
    transition: 0.3s;
    right: 0;
}

.footer-section .disclaimer {
    text-align: center;
}

.footer-section .disclaimer p {
    padding-bottom: 5px;
}

@media (max-width: 1025px) {
    /* .hero-section .title h1 {
        font-size: 40px;
        font-weight: 700;
    } */
    .title-image .main-image {
        width: 950px;
        height: 100vh;
    }
    .title-image .sticker {
        position: absolute;
        top: 40px; /* adjust as needed */
        right: 10px; /* adjust as needed */
        width: 120px; /* or whatever size looks good */
        height: auto;
        z-index: 10;
    }
}

@media (max-width: 950px) {
    /* .hero-section .title h1 {
        font-size: 40px;
        font-weight: 700;
    } */
    .hero-section .title p {
        font-size: 16px;
    }
    .title-image .main-image {
        width: 800px;
        height: 100vh;
    }
    .footer-section .footer-heading .footer-links .footer-links-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-section .footer-heading .footer-links .footer-links-menu li a::after {
        display: none;
    }
}

@media (max-width: 768px) {
    
    /* .hero-section .title h1 {
        font-size: 40px;
        font-weight: 700;
    } */
    .title-image .main-image {
        width: 650px;
        height: 100vh;
    }
    .title-image .sticker {
        position: absolute;
        top: 40px; /* adjust as needed */
        right: 50px; /* adjust as needed */
        width: 120px; /* or whatever size looks good */
        height: auto;
        z-index: 10;
    }
    .swiper {
        width: 100%;
        padding: 20px 0;
        margin: 20px 0;
    }
    
    
}

@media (max-width: 480px) {
    .page-content h3 {
        font-size: 20px;
        /* line-height: 25px; */
    }
    .page-content .intro h3 {
        font-size: 20px;
    }
    
    .page-content .intro p {
        /* line-height: 3.2em !important; */
        font-size: 15px;
    }
    main p, li {
        font-size: 15px;
        /* line-height: 25px; */
    }
    .curriculum ul li {
        padding: 6px 0;
        font-size: 15px;
    }
    .hero-section .title h1 {
        font-size: 40px;
        font-weight: 700;
    }
    .title-image .main-image {
        width: 370px;
        height: 50vh;
    }
    .title-image .sticker {
        position: absolute;
        top: 40px; /* adjust as needed */
        right: 10px; /* adjust as needed */
        width: 100px; /* or whatever size looks good */
        height: auto;
        z-index: 10;
    }
   
    .testimonial-section .testimonial-card {
        background-color: white;
        border-radius: 10px;
        padding: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        text-align: center;
    }
    .testimonial-section .testimonial-card p {
        font-size: 12px
    }
}

