/* Navigation Menu Styles */
.heads {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 30px;
}

#desktop-nav {
    padding: 15px 0;
}

#desktop-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

#desktop-nav ul li {
    position: relative;
}

#desktop-nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

#desktop-nav ul li a:hover,
#desktop-nav ul li.active a {
    color: var(--base-color, #007bff);
    background: var(--base-color, #007bff);
    background: rgba(0, 123, 255, 0.1);
}

#desktop-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--base-color, #007bff);
    transition: width 0.3s ease;
}

#desktop-nav ul li.active a::after,
#desktop-nav ul li a:hover::after {
    width: 80%;
}

/* Course Highlights Section */
.product-details h1.title,
.product-details h2 {
    color: #333;
    margin-bottom: 20px;
}

.product-details hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--base-color, #007bff), var(--secondary-color, #0056b3));
    margin: 20px auto;
    width: 100px;
}

.crs {
    list-style: none;
    padding: 0;
}

.crs li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.crs li i {
    color: var(--base-color, #28a745);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* About Course Cards */
.abt-cour {
    padding: 60px 0;
}

.category-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-decoration: none;
    border: 2px solid var(--base-color, #007bff);
}

.category-card .icon-wrap {
    margin-bottom: 20px;
}

.category-card .icon-wrap img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.category-card .content-wrap h6 {
    color: #333;
    font-weight: 600;
    margin: 0;
    font-size: 16px;
}

/* Instructor Section */
.Instructor {
    padding: 60px 0;
}

/* Make instructor image circular */
.Instructor .key.instru img {
    border-radius: 50% !important;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.accordion-button {
    background: #fff;
    border: none;
    padding: 20px 25px;
    font-weight: 600;
    color: #333;
}

.accordion-button:not(.collapsed) {
    background: var(--base-color, #007bff);
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 20px 25px;
    background: #fff;
}

/* Certificate Section */
.Certificate {
    padding: 60px 0;
}

.Certificate img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonials {
    background: #f8f9fa;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-card .user-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
}

.testimonial-card h5 {
    color: #333;
    margin-bottom: 5px;
}

.testimonial-card .text-secondary {
    color: #666 !important;
}

/* Swiper Styles - Hide Arrows */
.swiper {
    width: 100%;
    padding: 20px 0 50px;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination-bullet {
    background: var(--base-color, #007bff);
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Hide Swiper Arrows */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #desktop-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    #desktop-nav ul li a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-card .icon-wrap img {
        width: 40px;
        height: 40px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Padding */
section {
    scroll-margin-top: 80px;
}

/* Module and Lesson Styling */
.module-header {
    background-color: var(--base-color-light, #f8f9fa) !important;
    font-weight: bold;
    border-left: 4px solid var(--base-color, #007bff) !important;
    margin-bottom: 0;
}

.lesson-item {
    padding-left: 3rem !important;
    border-left: 2px solid var(--secondary-color-light, #e9ecef) !important;
    position: relative;
}

.lesson-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    width: 8px;
    height: 1px;
    background-color: var(--secondary-color, #dee2e6);
}

.module-header:hover {
    background-color: var(--secondary-color-light, #e9ecef) !important;
}

.lesson-item:hover {
    background-color: var(--base-color-light, #f8f9fa);
}

.curriculam-list .list-group-item {
    border-radius: 0;
    border-left-width: 2px;
}

.curriculam-list .list-group-item:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.curriculam-list .list-group-item:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}