/* =========================================================
   INTRO SECTION
   ========================================================= */

.team-intro-section,
section.space-top.space-extra-bottom {
    padding-top: 80px !important;
    padding-bottom: 10px !important;
}


/* Subtitle */

section .sec-subtitle {
    color: #08A63C !important;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1.2px;
    line-height: 1.4;

    text-transform: uppercase;
}


/* Yellow line before subtitle */

section .sec-subtitle::before {
    content: "";

    display: inline-block;

    width: 28px;
    height: 3px;

    margin-right: 8px;

    background: #F9B900;

    border-radius: 20px;

    vertical-align: middle;
}

section .sec-subtitle::after {
    content: "";

    display: inline-block;

    width: 28px;
    height: 3px;

    margin-right: 8px;

    background: #F9B900;

    border-radius: 20px;

    vertical-align: middle;
}


/* Main heading */

section .sec-title {
    color: #172B3A !important;

    font-size: 42px;
    line-height: 1.18;

    font-weight: 700;
}


/* Intro description */

section .fs-md {
    color: #63727D;

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   INTRO IMAGE
   ========================================================= */

.picture-box6 {
    position: relative;
    max-width: 560px;

    margin: 0 auto;
}


.picture-box6 .img-1 {
    position: relative;

    overflow: hidden;

    border-radius: 24px;

    background: #F6FFF9;

    padding: 10px;

    border: 2px solid rgba(8, 166, 60, 0.15);
}


.picture-box6 .img-1 img {
    width: 100%;
    height: 350px;

    display: block;

    object-fit: cover;

    border-radius: 18px;

    transition: transform 0.5s ease;
}


.picture-box6 .img-1:hover img {
    transform: scale(1.04);
}


/* Decorative circle */

.picture-box6 .vs-circle {
    background: #F9B900;
     width: 400px;
    height: 450px;
    margin-bottom: 40px;
}


/* =========================================================
   INTRO FEATURE LIST
   ========================================================= */

.list-style1 {
    margin-top: 15px;
}


.list-style1 ul {
    padding: 0;
    margin: 0;

    list-style: none;
}


.list-style1 li {
    position: relative;

    color: #4F5F69;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.5;

    padding-left: 32px;

    margin-bottom: 12px;
}


/* Green check circle */

.list-style1 li::before {
    content: "\f00c";

    font-family: "Font Awesome 5 Pro",
        "Font Awesome 5 Free";

    font-weight: 900;

    position: absolute;

    left: 0;
    top: 1px;

    width: 21px;
    height: 21px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #EAF7EE;

    color: #08A63C;

    border-radius: 50%;

    font-size: 10px;
}


/* =========================================================
   TEAM SECTION
   ========================================================= */

.team-page-section {
    position: relative;

    background: #f2fcf5;

    padding-top: 30px;
    padding-bottom: 10px;
}


/* Section heading */

.team-page-section .title-area {
    margin-bottom: 45px;
}


.team-page-section .sec-icon {
    margin-bottom: 12px;
}


.team-page-section .sec-icon .vs-circle {
    background: #F9B900;
}


/* Subtitle */

.team-page-section .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;

    text-transform: uppercase;

    margin-bottom: 12px;
}


/* Yellow line */

.team-page-section .sec-subtitle::before {
    content: "";

    width: 28px;
    height: 3px;

    background: #F9B900;

    border-radius: 20px;
}


/* Heading */

.team-page-section .sec-title {
    color: #172B3A !important;

    font-size: 42px;

    line-height: 1.18;

    font-weight: 700;

    margin-bottom: 0;
}


/* =========================================================
   TEACHER COLUMN
   ========================================================= */

.team-page-section .row.justify-content-center > [class*="col-"] {
    display: flex;

    margin-bottom: 30px;
}


/* =========================================================
   TEACHER CARD
   ========================================================= */

.team-page-section .team-style2 {
    position: relative;

    width: 100%;
    height: 90%;

    background: #FFFFFF !important;

    border: 1px solid rgba(8, 166, 60, 0.10);

    border-radius: 22px;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    z-index: 1;
}

.team-page-section .team-style2:hover {
    transform: translateY(-7px);

    border-color: rgba(8, 166, 60, 0.22);

    box-shadow:
        0 15px 35px rgba(23, 43, 58, 0.08),
        0 22px 50px rgba(8, 166, 60, 0.10);

    z-index: 5;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.team-page-section .team-content {
    display: flex;

    flex-direction: column;

    align-items: center;

    height: 100%;

    padding: 28px 24px 24px;

    text-align: center;
}


/* =========================================================
   TEACHER NAME
   ========================================================= */

.team-page-section .team-name {
    width: 100%;

    min-height: 25px;

    margin: 0 0 5px;

    color: #172B3A !important;

    font-size: 20px;

    line-height: 1.3;

    font-weight: 700;
    margin-bottom: 10px;
}


.team-page-section .team-name a {
    color: #172B3A !important;

    transition: color 0.3s ease;
}


.team-page-section .team-style2:hover .team-name a {
    color: #08A63C !important;
}


/* =========================================================
   DESIGNATION
   ========================================================= */

.team-page-section .team-degi {
    color: #63727D;
    width: 100%;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.4;

    margin: 0 0 10px;
    margin-bottom: 20px !important;
}


/* =========================================================
   LESSON BADGE
   ========================================================= */

.team-page-section .team-courses {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 25px;

    padding: 5px 13px;

    margin-bottom: 16px;

    background: #EAF7EE;

    color: #08A63C;

    border: 1px solid rgba(8, 166, 60, 0.08);

    border-radius: 30px;

    font-size: 12px;

    font-weight: 700;

    line-height: 1;

    transition: all 0.3s ease;
}


.team-page-section .team-style2:hover .team-courses {
    background: #FFF8DF !important;

    color: #08A63C !important;

    border-color: rgba(249, 185, 0, 0.25);
}


/* =========================================================
   TEACHER IMAGE
   ========================================================= */

.team-page-section .team-img {
    width: 190px;
    height: 190px;

    margin: 8px auto 20px;

    overflow: hidden;

    border-radius: 50%;

    background: transparent !important;

    border: 4px solid #EAF7EE;

    box-shadow:
        0 8px 25px rgba(23, 43, 58, 0.08);

    flex-shrink: 0;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.team-page-section .team-img img {
    width: 100% !important;
    height: 100% !important;

    display: block;

    object-fit: cover;

    border-radius: 50% !important;

    background: transparent !important;

    transition: transform 0.5s ease;
}


/* Image hover */

.team-page-section .team-style2:hover .team-img {
    border-color: #F9B900;

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(249, 185, 0, 0.18);
}

.team-page-section .team-style2:hover .team-img img {
    transform: scale(1.05);
}


/* =========================================================
   HOURLY RATE
   ========================================================= */

.team-page-section .team-rate {
    display: block;

    color: #63727D;

    font-size: 13px;

    font-weight: 500;

    line-height: 1.4;

    margin-bottom: 5px;
}


.team-page-section .team-price {
    color: #08A63C;

    font-size: 18px;

    font-weight: 700;
}


/* =========================================================
   EXPERIENCE
   ========================================================= */

.team-page-section .team-experi {
    color: #63727D;

    font-size: 13px;

    font-weight: 500;

    margin: 0 0 9px;

    line-height: 1.4;
}


/* =========================================================
   RATING
   ========================================================= */

.team-page-section .team-review {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 3px;

    min-height: 18px;
    margin-top: 10px;
}


.team-page-section .team-review i {
    color: #F9B900 !important;

    font-size: 13px;

    line-height: 1;
}


/* Empty stars */

.team-page-section .team-review i.far {
    color: #D9E0DC !important;
}


/* =========================================================
   BOTTOM CARD ACCENT
   ========================================================= */

.team-page-section .team-style2::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: #F9B900;

    transition: width 0.35s ease;
}


.team-page-section .team-style2:hover::after {
    width: 100%;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .team-page-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    section .sec-title,
    .team-page-section .sec-title {
        font-size: 36px;
    }

    .picture-box6 .img-1 img {
        height: 450px;
    }

    .team-page-section .team-img {
        height: 220px;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 991px) {

    .team-page-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .picture-box6 {
        max-width: 650px;

        margin: 0 auto 45px;
    }

    .picture-box6 .img-1 img {
        height: 430px;
    }

    section .sec-title,
    .team-page-section .sec-title {
        font-size: 34px;
    }

    .team-page-section .team-img {
        height: 230px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .team-page-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .team-page-section .title-area {
        margin-bottom: 30px;
    }

    section .sec-subtitle,
    .team-page-section .sec-subtitle {
        font-size: 11px !important;
        margin-left: 40px !important;

        letter-spacing: 1px;
    }

    section .sec-subtitle::before,
    .team-page-section .sec-subtitle::before {
        width: 22px;
    }

    section .sec-title,
.team-page-section .sec-title {
    font-size: 28px !important;
    margin-top: 10px !important;
    text-align: center !important;
}


    .picture-box6 .img-1 {
        padding: 7px;

        border-radius: 20px;
    }

    .picture-box6 .img-1 img {
        height: 360px;

        border-radius: 15px;
    }

    .team-page-section .team-content {
        padding: 20px 18px 18px;
    }

    .team-page-section .team-img {
        height: 240px;
    }

    .team-page-section .team-name {
        font-size: 18px;
    }

    

}

@media (max-width: 767px) {

    .team-page-section .title-area {
        text-align: center !important;
            position: relative !important;
        top: -45px !important;
    }

    .team-page-section .title-area .sec-subtitle {
        display: inline-flex !important;
        font-size: 11px !important;
        margin: 0 0 12px 0 !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .team-page-section .title-area .sec-title {
        font-size: 28px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        text-align: center !important;
    }

    .team-page-section .team-degi,
    .team-page-section .team-experi {
        font-size: 14px !important;
    }

    .team-page-section .team-style2 {
        height: auto !important;
        min-height: 0 !important;
        border-radius: 16px !important;
        top: -35px !important;
        margin-left: 10px;
    }

    /* CARD CONTENT */
    .team-page-section .team-content {
        height: auto !important;
        padding: 10px 11px 11px !important;
    }

    /* TEACHER NAME */
    .team-page-section .team-name {
        font-size: 17px !important;
        margin-bottom: 5px !important;
    }

    /* DESIGNATION */
    .team-page-section .team-degi {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }

    /* LESSON BADGE */
    .team-page-section .team-courses {
        margin-bottom: 10px !important;
        padding: 4px 10px !important;
    }

    /* TEACHER IMAGE */
    .team-page-section .team-img {
        width: 150px !important;
        height: 150px !important;
        margin: 5px auto 12px !important;
        border-width: 3px !important;
    }

    /* HOURLY RATE */
    .team-page-section .team-rate {
        font-size: 12px !important;
        margin-bottom: 3px !important;
    }

    .team-page-section .team-price {
        font-size: 16px !important;
    }

    /* EXPERIENCE */
    .team-page-section .team-experi {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    /* RATING */
    .team-page-section .team-review {
        margin-top: 5px !important;
    }

    .team-page-section .team-review i {
        font-size: 11px !important;
    }

    .team-page-section {
        padding-bottom: 0 !important;
    }
}



/* =========================================================
   EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .team-page-section .team-img {
        height: 220px;
    }

    .team-page-section .team-content {
        padding-left: 15px;
        padding-right: 15px;
    }

}



/* =========================================================
   TEAM INTRO SECTION - RESPONSIVE
   ========================================================= */

.space-top.space-extra-bottom {
    padding-top: 80px;
    padding-bottom: 80px;
}

.space-top.space-extra-bottom .row {
    align-items: center;
}

/* Image */
.picture-box6 {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.picture-box6 .img-1 {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
        height: 400px !important;

}

.picture-box6 .img-1 img {
    width: 100%;
    height: 400px !important;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Decorative circle */
.picture-box6 .vs-circle {
    max-width: 80%;
}

/* Content */
.space-top.space-extra-bottom .sec-subtitle {
    display: inline-block;
    margin-bottom: 10px;
}

.space-top.space-extra-bottom .sec-title {
    line-height: 1.2;
    margin-bottom: 20px;
}

.space-top.space-extra-bottom .fs-md {
    width: 100%;
    max-width: 100%;
    line-height: 1.7;
}

/* Feature list */
.space-top.space-extra-bottom .list-style1 {
    width: 100%;
}

.space-top.space-extra-bottom .list-style1 ul {
    padding-left: 0;
    margin-bottom: 0;
}

.space-top.space-extra-bottom .list-style1 li {
    line-height: 1.6;
    margin-bottom: 10px;
}


/* =========================================================
   LARGE TABLET / SMALL LAPTOP
   992px - 1199px
   ========================================================= */

@media (max-width: 1199px) {

    .space-top.space-extra-bottom {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .space-top.space-extra-bottom .row {
        --bs-gutter-x: 40px;
    }

    .space-top.space-extra-bottom .sec-title {
        font-size: 38px;
    }

    .space-top.space-extra-bottom .fs-md {
        margin-right: 0 !important;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .space-top.space-extra-bottom {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .space-top.space-extra-bottom .row {
        flex-direction: column !important;
    }

    .space-top.space-extra-bottom .col-lg-6 {
        width: 100%;
    }

    /* Image */
    .space-top.space-extra-bottom .col-lg-6:first-child {
        margin-bottom: 40px;
    }

    .picture-box6 {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    .picture-box6 .img-1 {
        width: 100%;
        height: auto !important;
    }

    .picture-box6 .img-1 img {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        object-fit: contain !important;
    }

    /* Hide decorative circle */
    .picture-box6 .vs-circle {
        display: none !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .space-top.space-extra-bottom {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .space-top.space-extra-bottom .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Image section */
    .space-top.space-extra-bottom .col-lg-6:first-child {
        margin-bottom: 30px;
    }

    .picture-box6 {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .picture-box6 .img-1 {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden;
        border-radius: 10px;
    }

    .picture-box6 .img-1 img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block;
    }

    /* Remove circle completely on mobile */
    .picture-box6 .vs-circle {
        display: none !important;
    }


    /* Content */
    .space-top.space-extra-bottom .sec-subtitle {
        font-size: 11px !important;
        margin-bottom: 8px;
    }

    .space-top.space-extra-bottom .sec-title {
        font-size: 28px !important;
        line-height: 1.25;
        margin-bottom: 15px;
    }

    .space-top.space-extra-bottom .fs-md {
        font-size: 15px;
        line-height: 1.7;
        width: 100%;
        margin-right: 0 !important;
    }

    .space-top.space-extra-bottom .list-style1 {
        margin-top: 20px;
    }

    .list-style1 li {
        font-size: 14px !important;
margin-left: 20px;
margin-right: 20px;
    }

    section .fs-md {
        font-size: 14px !important;
        margin-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .space-top.space-extra-bottom {
        padding-top: 35px;
        padding-bottom: 40px;
    }

    .space-top.space-extra-bottom .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .picture-box6 {
        width: 100%;
    }

    .picture-box6 .img-1 {
        border-radius: 8px;
    }

    .picture-box6 .img-1 img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .space-top.space-extra-bottom .sec-title {
        font-size: 26px;
        line-height: 1.25;
    }

    .space-top.space-extra-bottom .fs-md {
        font-size: 14px;
        line-height: 1.65;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .space-top.space-extra-bottom .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .picture-box6 .img-1 img {
        width: 100% !important;
        height: auto !important;
    }

    .space-top.space-extra-bottom .sec-title {
        font-size: 23px;
    }

}