/* =========================================================
   COURSE PAGE - SAME STYLE AS ABOUT SECTION
   ========================================================= */

.course-layout1 {
    position: relative;
    background: #F7FBF8 !important;
    overflow: hidden;
    padding-top: 90px;
    padding-bottom: 90px !important;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.course-layout1 .title-area3 {
    margin-bottom: 45px;
}

.course-layout1 .sec-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #08A63C !important;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 1.4;

    text-transform: uppercase;

    margin-bottom: 12px;
}

/* Yellow line */

.course-layout1 .sec-subtitle::before {
    content: "";

    width: 28px;
    height: 3px;

    background: #F9B900;

    border-radius: 20px;

    flex-shrink: 0;
}

.course-layout1 .sec-subtitle::after {
    content: "";

    width: 28px;
    height: 3px;

    background: #F9B900;

    border-radius: 20px;

    flex-shrink: 0;
}


/* Heading */

.course-layout1 .sec-title {
    color: #172B3A !important;

    font-size: 42px;
    line-height: 1.18;
    font-weight: 700;

    margin: 0;
}


/* =========================================================
   COURSE CARD
   ========================================================= */

.course-layout1 .course-style2 {
    position: relative;

    height: 100%;

    background: #FFFFFF;

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid rgba(8, 166, 60, 0.10);

    box-shadow:
        0 8px 30px rgba(23, 43, 58, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    display: flex;
    flex-direction: column;
}

.event-pagination {
    margin-bottom: 70px !important;
}

/* Card hover */

.course-layout1 .course-style2:hover {
    transform: translateY(-7px);

    border-color: rgba(8, 166, 60, 0.28);

    box-shadow:
        0 18px 40px rgba(8, 166, 60, 0.13);
}


/* =========================================================
   COURSE IMAGE
   ========================================================= */

.course-layout1 .course-img {
    position: relative;

    height: 225px;

    overflow: hidden;

    background: #EAF7EE;
}


/* Image */

.course-layout1 .course-img img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/* Image hover */

.course-layout1 .course-style2:hover .course-img img {
    transform: scale(1.04);
}


/* =========================================================
   PRICE BADGE
   ========================================================= */

.course-layout1 .course-price {
    position: absolute;

    right: 15px;
    top: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 70px;

    padding: 7px 13px;

    background: #08A63C;

    color: #FFFFFF !important;

    border-radius: 20px;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    box-shadow:
        0 6px 15px rgba(8, 166, 60, 0.25);

    z-index: 2;

    transition: all 0.3s ease;
}


/* Price hover */

.course-layout1 .course-style2:hover .course-price {
    background: #F9B900;

    color: #FFFFFF !important;

    box-shadow:
        0 6px 15px rgba(249, 185, 0, 0.25);
}


/* =========================================================
   COURSE CONTENT
   ========================================================= */

.course-layout1 .course-content {
    padding: 22px 22px 18px;

    display: flex;
    flex-direction: column;

    flex: 1;
}


/* =========================================================
   COURSE TITLE
   ========================================================= */

.course-layout1 .course-name {
    margin: 0 0 18px;

    min-height: 48px;

    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}


.course-layout1 .course-name a {
    color: #172B3A !important;

    transition: color 0.3s ease;
}


.course-layout1 .course-name a:hover {
    color: #08A63C !important;
}


/* =========================================================
   COURSE META
   ========================================================= */

.course-layout1 .course-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 10px 16px;

    padding-bottom: 18px;

    margin-bottom: 17px;

    border-bottom: 1px solid #E7EFEA;
}


.course-layout1 .course-meta span {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #63727D;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.4;
}


.course-layout1 .course-meta span:hover {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #F9B900;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.4;
}


.course-layout1 .course-meta i {
    color: #08A63C;

    font-size: 14px;
}


/* =========================================================
   COURSE FOOTER
   ========================================================= */

.course-layout1 .course-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}


/* =========================================================
   COURSE TEACHER
   ========================================================= */

.course-layout1 .course-teacher {
    min-width: 0;
}


.course-layout1 .course-teacher span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #4F5F69 !important;

    font-size: 15px;
    font-weight: 600;
    margin-top: 0px !important;
}


.course-layout1 .course-teacher i {
    color: #08A63C;

    font-size: 16px;
}


/* =========================================================
   RATING
   ========================================================= */

.course-layout1 .course-review {
    display: flex;

    align-items: center;

    gap: 3px;

    flex-shrink: 0;
}


.course-layout1 .course-review i {
    font-size: 13px;

    color: #F9B900 !important;

    line-height: 1;
}


/* Empty stars */

.course-layout1 .course-review i.far {
    color: #D9E0DC !important;
}


/* =========================================================
   CARD BOTTOM ACCENT
   ========================================================= */

.course-layout1 .course-style2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: #F9B900;

    transition: width 0.35s ease;
}


.course-layout1 .course-style2:hover::after {
    width: 100%;
}


/* =========================================================
   PAGINATION
   ========================================================= */

/* =========================================================
   COURSE PAGINATION
   ========================================================= */

.vs-pagination {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Remove background/box from pagination items */
.vs-pagination ul,
.vs-pagination li,
.vs-pagination a {
    background: transparent !important;
    box-shadow: none !important;
}

/* Pagination layout */
.vs-pagination ul {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Page numbers + arrows */
.vs-pagination li a,
.vs-pagination li span {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #08A63C !important;
}

/* Previous & Next arrows */
.vs-pagination li a i {
    color: #08A63C !important;
    font-size: 16px;
}

/* Hover */
.vs-pagination li a:hover {
    color: #F9B900 !important;
    background: transparent !important;
}

.vs-pagination li a:hover i {
    color: #F9B900 !important;
}

/* Active page */
.vs-pagination li span.current {
    color: #F9B900 !important;
    background: transparent !important;
    border: none !important;
}

/* =========================================================
   CARD SPACING
   ========================================================= */

.course-layout1 .row > [class*="col-"] {
    margin-bottom: 30px;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .course-layout1 {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .course-layout1 .sec-title {
        font-size: 36px;
    }

    .course-layout1 .course-img {
        height: 215px;
    }

    .course-layout1 .course-content {
        padding: 20px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE/TABLET
   ========================================================= */

@media (max-width: 991px) {

    .course-layout1 {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .course-layout1 .title-area3 {
        margin-bottom: 35px;
    }

    .course-layout1 .sec-title {
        font-size: 34px;
    }

    .course-layout1 .course-img {
        height: 220px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .course-layout1 {
        padding-top: 35px !important;
        padding-bottom: 55px;
    }

    .course-layout1 .sec-subtitle {
        font-size: 11px !important;

        letter-spacing: 1px;
    }

    .course-layout1 .sec-subtitle::before {
        width: 22px;
        height: 3px;
    }

    .course-layout1 .sec-title {
        font-size: 28px !important;
    }

    .course-layout1 .course-img {
        height: 210px;
    }

    .course-layout1 .course-content {
        padding: 18px;
    }

    .course-layout1 .course-name {
        font-size: 18px;

        min-height: auto;

        margin-bottom: 15px;
    }

    .course-layout1 .course-meta {
        gap: 8px 12px;
    }

    .course-layout1 .course-meta span {
        font-size: 12px;
    }

    .course-layout1 .course-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .course-layout1 .course-review {
        margin-top: 3px;
    }

    .course-layout1 .vs-pagination a,
    .course-layout1 .vs-pagination span {
        width: 38px;
        height: 38px;
    }

}


/* =========================================================
   REMOVE THEME HOVER/TRANSFORM CONFLICTS
   ========================================================= */

.course-layout1 .course-style2,
.course-layout1 .course-style2:hover {
    z-index: 1;
}


.course-layout1 .course-style2:hover {
    z-index: 5;
}


/* Prevent image/content from overflowing */

.course-layout1 .course-style2,
.course-layout1 .course-img {
    overflow: hidden;
}


/* Keep card columns equal */

.course-layout1 .row {
    align-items: stretch;
}


.course-layout1 .row > [class*="col-"] {
    display: flex;
}


.course-layout1 .row > [class*="col-"] .course-style2 {
    width: 100%;
}