/* ====== Course Card Styles ====== */
.course-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgb(77 125 241 / 25%);
}

/* Content Area */
.course-content {
    padding: 22px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Title */
.course-title {
    font-size: 20px;
    font-weight: 700;
    color: #021936;
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Description */
.course-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Subject Badges */
.course-subjects {
    margin-bottom: 16px;
}

.subject-badge {
    display: inline-block;
    background-color: #f7f8fa;
    color: #333;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    margin: 4px 6px 0 0;
    transition: all 0.2s ease;
}

.subject-badge:hover {
    background-color: #18439d;
    color: #fff;
    border-color: #18439d;
}

.subject-badge.active {
    background-color: #18439d;
    color: #fff;
    border-color: #18439d;
}

/* Footer & Button */
.course-footer {
    border-top: 1px solid #f1f1f1;
    padding-top: 15px;
    margin-top: auto;
}

.course-btn {
    display: inline-block;
    background: linear-gradient(90deg, #425ad8 0%, #18266f 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgb(77 125 241 / 25%);
}

.course-btn:hover {
    background: linear-gradient(90deg, #18266f 0%, #425ad8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgb(77 125 241 / 25%);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .course-content {
        padding: 18px 20px;
    }

    .course-title {
        font-size: 18px;
    }

    .course-desc {
        font-size: 14px;
    }

    .course-btn {
        font-size: 14px;
        padding: 9px 18px;
    }
}

.h8_testimonial-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}
.h8_testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}
.h8_testimonial-item p {
    color: #333;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}
.h8_testimonial-item-admin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.h8_testimonial-item-img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.h8_testimonial-item-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}
.h8_testimonial-item-info span {
    font-size: 14px;
    color: #666;
}
.swiper-button-next,
.swiper-button-prev {
    color: #012970;
}
.swiper-pagination-bullet {
    background: #012970;
}
.h8_testimonial-item-rating ul{
    justify-content: center;
}
.swiper-wrapper{
    height: 350px !important;
}