/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: Arial, sans-serif;
    background-color: lightgray;
}


/* Swiper Hero Section */
.swiper-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    height: 100%;
}

.slide-content {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.slide-content h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 24px;
}

/* Button Styles */
.btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* About Section */
.about {
    padding: 48px 16px;
    text-align: center;
    background-color: white;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: black;
}

.about p {
    font-size: 16px;
    line-height: 25.6px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Swiper Customization */
.swiper-pagination {
    bottom: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: lightseagreen;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: blue;
    opacity: 1;
}

/* Responsive Navbar & Hero */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    .menu li {
        margin: 10px 0;
    }

    .menu a {
        font-size: 22px;
    }

    .swiper-container {
        height: 50vh;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .about h2 {
        font-size: 24px;
    }

    .about p {
        font-size: 14px;
    }
}

/* Popular Courses Section */
.popular_courses {
    padding: 30px 0;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.single-courses {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 calc(90% - 10px);
    max-width: calc(90% - 10px);
}

.single-courses:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.courses_banner img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.courses_info_wrapper {
    padding: 15px;
    text-align: center;
}

.courses_title h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

.courses_title .teachers_name {
    font-size: 14px;
    color: #777;
}

.courses_info ul {
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

.courses_info ul li {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.courses_info ul li i {
    color: #007bff;
}

.purchase_price .read_more-btn {
    background: #007bff;
    color: #fff;
