@import '../search_bar.css';
@import './apply_fullcourse.css';

.social-icons .img {
    margin-right: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    padding: 14px;
    border-radius: 50%;
    background-color: #7c0c13;
    padding-top: 12px;
}
/*BANNER*/
.spw-banner {
    position: relative;
    width: 100%;
}
.spw-banner-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top;
    display: block;
}
.spw-banner-contain-form {
    position: absolute;
    bottom: 8%;
    width: 100%;
    padding: 16px;
}
@media screen and (max-width: 767px) {
    .spw-banner {
        overflow-x: hidden;
    }
    .spw-banner-img {
        width: 260%;
        height: 600px;
        max-height: 600px;
    }
    .spw-banner-contain-form {
        bottom: 4%;
    }
}

/*Section 1*/
.step-col {
    padding: 0 8px;
}
.step-1 { margin-top: 50px; }
.step-2 { margin-top: 85px; }
.step-3 { margin-top: 115px; }

.step-card {
    background: #f5f5f5;
    border-radius: 24px;
    width: 260px;
    height: 360px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.step-number {
    width: 46px;
    height: 46px;
    background: #b11217;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #7c0c13;
}
.step-title h5 {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: #7c0c13;
}
.step-desc {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
}
.step-card img {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
}
.spw-feature {
    display: flex;
    align-items: flex-start;
    padding-left: 60px;
    margin-top: 24px;
    gap: 44px;
}
.spw-feature-text h4 {
    margin: 0 0 6px;
}
.spw-feature-text h5 {
    margin: 4px 0 0;
    font-weight: normal;
}
.spw-background {
    background: linear-gradient(
        to bottom,
        #f3a3ab 0%,
        #7c0c13 80%
    );
    border-radius: 16px;
    padding: 36px;
}
.spw-color-2 h3 {
    margin: 0;
    line-height: 1.1;
}
.spw-color-2 h5 {
    margin: 10px 0 0;
    font-weight: 400;
    line-height: 1.2;
}
.step-header-wrap {
    position: relative;
}
.step-pagination.top-right {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
}

.step-count {
    font-weight: 600;
    font-size: 15px;
    color: #7c0c13;
}

.spw-teacher-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.teacher-card {
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #fff;
}

.teacher-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.spw-tch-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}
.spw-tch-detail img {
    width: 24px;
    height: 24px;
    color: #7c0c13;
}
.spw-tch-detail h4 {
    margin: 0;
    font-size: 14px;
}

.red-line {
    height: 0.5px;
    background: #7c0c13;
    width: 100%;
    margin: 10px 0;
}
.red-line-1 {
    height: 0.5px;
    background: #7c0c13;
    width: 90%;
    margin: 10px 10px;
}

.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    gap: 20px;
}

.action-row .btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
}
.img-wrap {
    position: relative;
}

.img-wrap img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}
.subject-badge-wrap {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.subject-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff;
    line-height: 1.2;
}
/* .subject-badge-1 { background: #0097a7; }
.subject-badge-2 { background: #f48fb1; }
.subject-badge-3 { background: #0277bd; } */


.testimonial-section {
    position: relative;
}

.testimonial-bg {
    background: linear-gradient(
        to bottom,
        #f3a3ab 0%,
        #7c0c13 70%
    );
    position: relative;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    margin-top: 40px;
}

.testimonial-wrapper {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.testimonial-card {
    width: 280px;
    min-height: 450px;
    background: #fff;
    border-radius: 24px;
    padding-top: 100px;
    text-align: center;
    box-shadow: 0 28px 56px rgba(0,0,0,0.25);
    position: relative;
}

.avatar-circle {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.testimonial-text {
    margin-top: 20px;
    padding: 0 18px;
}
.testimonial-text p {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    text-align: left;
    margin-bottom: 12px;
}

.clear-btn {
    position: absolute;
    right: 12px;
    top: 80%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
    color: #7c0c13;
    font-size: 14px;
}
.clear-btn-date {
    position: absolute;
    right: 12px;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 5;
    color: #7c0c13;
    font-size: 14px;
}

.clear-btn:hover {
    color: #a3afb7;
}


.spw-bar-2.active {
    border-color: #28a745;
    color: #28a745;
    font-weight: 600;
}

/* ✔ icon */
.success-icon {
    color: #28a745;
    font-size: 14px;
}
