* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
}

/* Courses Section */
.courses-section {
    padding: 85px 0;
    min-height: calc(100vh - 121px);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding: 0 4.5vw;
}

/* Course Card */
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-2px);
}

/* Course Header */
.course-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding-top: 20px;
    padding-bottom: 8px;
}

.course-type {
    font-size: 19px;
    font-weight: 600;
    color: #575757;
    letter-spacing: 0.5px;
}

.course-name {
    font-size: 19px;
    font-weight: bold;
    color: #575757;
    letter-spacing: 0.5px;
}

/* Course Image */
.course-image {
    position: relative;
    height: 415px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}


/* Course Button */
.course-button {
    padding: 12px 0;
    text-align: center;
}

.btn-course {
    padding: 3px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-blue {
    background-color: #007bff;
    color: white;
}

.btn-blue:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

/* Course Description */
.course-description {
    padding: 0 15px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

.price-info {
    margin-top: 8px;
    font-size: 14px;
    color: #888;
    font-style: italic;
}

/* Course Price */
.course-price {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #007bff;
    margin: 15px 0;
}

/* Mobile Slider Styles with Owl Carousel */
.mobile-slider {
    display: none;
}

/* Mobile Course Card Styles */
.mobile-course-card {
    background: white;
    border-radius: 20px;
   
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mobile-course-header {
    padding: 25px 20px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    border-bottom: 2px solid #dee2e6;
}

.mobile-course-type {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

.mobile-course-name {
    font-size: 20px;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
    line-height: 1.2;
}

.mobile-course-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
    min-height: 200px;
}

.mobile-course-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.mobile-course-content {
    padding: 25px 20px;
    background: #f8f9fa;
    text-align: center;
}

.mobile-course-button {
    margin-bottom: 20px;
}

.mobile-btn-course {
    display: inline-block;
    padding: 16px 36px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    border: none;
}

.mobile-btn-course:hover,
.mobile-btn-course:active {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
    color: white;
    text-decoration: none;
}

.mobile-course-description {
    font-size: 16px;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 15px;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

.mobile-price-info {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
    font-style: italic;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

.mobile-course-price {
    font-size: 28px;
    font-weight: 700;
    color: #007bff;
    margin: 15px 0 0;
    font-family: "Bebas Neue", "Alumni Sans", Arial, sans-serif;
}

/* Responsive Design */
@media (max-width: 1500px) {
    .courses-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .course-card:nth-child(5),
    .course-card:nth-child(6),
    .course-card:nth-child(7) {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-section {
        padding: 0;
        min-height: 100vh;
        background: #f0f0f0;
    }
    
    .courses-grid {
        display: none;
    }
    
    .mobile-slider {
        display: block;
        position: relative;
        height: 100vh;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Owl Carousel Custom Styles */
    .mobile-courses-carousel {
        height: 100%;
        display: flex;
        align-items: center;
        padding: 20px 0;
        box-sizing: border-box;
    }
    
    .mobile-courses-carousel .owl-stage-outer {
        height: 100%;
        display: flex;
        align-items: center;
        overflow: visible;
    }
    
    .mobile-courses-carousel .owl-stage {
        height: 100%;
        display: flex;
        align-items: center;
    }
    
    .mobile-courses-carousel .owl-item {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        box-sizing: border-box;
    }
    

    
    /* Owl Navigation Buttons */
    .mobile-courses-carousel .owl-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        z-index: 100;
        transform: translateY(-50%);
    }
    
    .mobile-courses-carousel .owl-nav button {
        position: absolute;
        background: rgba(0,0,0,0.6) !important;
        color: white !important;
        border: none !important;
        border-radius: 50% !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        outline: none !important;
    }
    
    .mobile-courses-carousel .owl-nav button:hover {
        background: rgba(0,0,0,0.8) !important;
        transform: scale(1.1) !important;
    }
    
    .mobile-courses-carousel .owl-nav .owl-prev {
        left: 15px !important;
    }
    
    .mobile-courses-carousel .owl-nav .owl-next {
        right: 15px !important;
    }
    
    /* Owl Dots */
    .mobile-courses-carousel .owl-dots {
        position: absolute !important;
        bottom: 30px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        gap: 12px !important;
        background: rgba(0,0,0,0.3) !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .mobile-courses-carousel .owl-dots .owl-dot {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background: rgba(255,255,255,0.5) !important;
        border: none !important;
        transition: all 0.3s ease !important;
        outline: none !important;
        margin: 0 !important;
    }
    
    .mobile-courses-carousel .owl-dots .owl-dot.active,
    .mobile-courses-carousel .owl-dots .owl-dot:hover {
        background: #007bff !important;
        transform: scale(1.3) !important;
        box-shadow: 0 0 10px rgba(0,123,255,0.5) !important;
    }
    
    /* Remove default Owl theme styles */
    .mobile-courses-carousel .owl-nav button span {
        display: none !important;
    }
    
    /* Card width adjustments for different screen sizes */
    .mobile-course-card {
        width: calc(100vw - 40px);
        height: calc(100vh - 160px);
        margin: 0 auto;
    }
}

@media (max-width: 600px) and (min-width: 481px) {
    .mobile-course-card {
        width: calc(100vw - 40px);
        height: calc(100vh - 160px);
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .mobile-course-card {
        width: calc(100vw - 40px);
        height: calc(100vh - 140px);
        border-radius: 18px;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        padding: 0 3vw;
    }
    
    .course-type,
    .course-name {
        font-size: 17px;
    }
    
    .btn-course {
        padding: 10px 32px;
        font-size: 16px;
    }
    
    .course-description {
        font-size: 15px;
    }
    
    .course-price {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .mobile-course-card {
        height: 95vh;
    }
    
    .slider-arrows {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-prev {
        left: 5px;
    }
    
    .slider-next {
        right: 5px;
    }
    
    .mobile-slider {
        width: 98%;
    }
}
