:root {
    --primary-color: #ffc107;
    --secondary-color: #585858;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
}

.custom-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-underline {
    width: 130px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.course-image {
    position: relative;
    height: 250px;
    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);
}

.placeholder-image {
    background: #f8f9fa;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 3rem;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.course-topic {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.course-price-container {
    display: flex;
    align-items: center;
}

.course-original-price {
    font-size: 1.2rem;
    font-weight: 400;
    color: #b0b0b0;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.course-discounted-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}


.course-button {
    display: block;
    background: linear-gradient(45deg, var(--primary-color), #ffdb4d);
    color: #000;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.course-button:hover {
    background: linear-gradient(45deg, var(--secondary-color), #666);
    color: var(--primary-color);
}

.swiper-container {
    padding: 20px 10px 50px;
    position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: #ffc107;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    color: var(--text-primary);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
    color: #ffffff;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .custom-container {
        padding: 0 15px;
    }

    .course-image {
        height: 200px;
    }
}