/* banner */

.banner {
    position: relative;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.banner::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), color-mix(in srgb, var(--primary-color) 80%, transparent));
    top: 0;
    left: 0;
}

.banner_content {
    position: relative;
    max-width: 100%;
    height: 100%;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 30px;
}

.banner_heading {
    font-family: 'Kanit', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.banner_para {
    color: #495057;
    font-size: 16px;
    font-weight: normal;
    line-height: 34px;
    margin-bottom: 48px;
    font-family: "Inter", serif;
}


@media only screen and (max-width:767px) {
    .banner {
        height: auto;
        padding: 15px 0px 0px 0px;
    }

    .banner_heading {
        font-size: 28px;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .banner {
        height: auto;
    }
}


/* banner */

/* Yoga Teacher Start */

.yoga_teacher {
    padding: 22px 0 31px 0;
}

.yoga_teacher .item {
    overflow: hidden;
    padding: 20px 10px;
}

.yoga_teacher .teacher_img {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    border: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.yoga_teacher .teacher_img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
    object-position: top;
}

.yoga_teacher .item .teacher_details {
    position: relative;
    background: var(--primary-color);
    border-radius: 20px;
    width: 80%;
    text-align: center;
    margin-bottom: 0;
    padding: 10px;
    margin-top: -15px;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.yoga_teacher .item .teacher_details .teacher_name {
    color: var(--secondary-color);
    font-family: 'Gabarito';
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}

.yoga_teacher .item .teacher_details .teacher_desig {
    color: #fff;
    font-family: 'Gabarito';
    font-size: 16px;
    text-align: center;
    margin-bottom: 0;
}

.yoga_teacher .item .teacher_content {
    position: relative;
    background: var(--text-light);
    border-radius: 20px;
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    padding: 30px 20px 20px;
    margin-top: -20px;
    z-index: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-color);
}

.yoga_teacher .item .teacher_content .teacher_description {
    color: #000;
    font-family: 'Gabarito';
    font-size: 16px;
    text-align: justify;
    margin-bottom: 0;
}

@media only screen and (max-width:767px) {
    .yoga_teacher .teacher_img {
        height: 200px;
        width: 200px;
    }

    .yoga_teacher .item .teacher_details .teacher_desig {
        font-size: 14px;
    }

    .yoga_teacher .item .teacher_content .teacher_description {
        font-size: 14px;
    }
}

/* Yoga Teacher End */
/* ============================================
   Ported from home.css: Join CTA section (pys-join)
   ============================================ */
.pys-join {
    padding: 48px 0;
    position: relative;
    overflow: hidden;
    background: url('../img/home/2.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.pys-join::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary-color) 92%, transparent) 0%,
        color-mix(in srgb, var(--secondary-color) 75%, transparent) 100%);
    z-index: 0;
}

.pys-join__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 260px 1fr;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    align-items: center;
    gap: 40px;
}

.pys-join__img-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,0.2);
}

.pys-join__img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.pys-join__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pys-join__tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-family: 'Kanit', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    align-self: flex-start;
    backdrop-filter: blur(4px);
}

.pys-join__heading {
    font-family: 'Kanit', sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.3);
}

.pys-join__heading span {
    color: var(--secondary-color);
}

.pys-join__text {
    font-family: 'Gabriela', serif;
    font-size: 15px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
}

.pys-join__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Kanit', sans-serif;
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 600;
}

.pys-join__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.pys-join__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 6px;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.pys-join__btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.pys-join__btn--primary {
    background: #ffffff;
    color: var(--primary-color) !important;
}

.pys-join__btn--outline {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.6);
}

.pys-join__btn--outline:hover {
    background: rgba(255,255,255,0.12);
}

@media (max-width: 992px) {
    .pys-join__inner {
        grid-template-columns: 200px 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .pys-join {
        padding: 36px 0;
        background-attachment: scroll;
    }
    .pys-join__inner {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .pys-join__img-wrap {
        max-width: 240px;
        margin: 0 auto;
    }
    .pys-join__tag {
        align-self: center;
    }
    .pys-join__date {
        justify-content: center;
    }
    .pys-join__btns {
        justify-content: center;
    }
    .pys-join__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pys-join__heading {
        font-size: 20px;
    }
    .pys-join__text {
        font-size: 13px;
    }
}

/* ============================================
   Our Courses section (new design, teacher.php)
   ============================================ */
.pys-courses {
    padding: 60px 0 70px;
    background: #f9f5f2;
}

.pys-courses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.pys-course-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 26px;
    border: 1px solid rgba(170, 35, 64, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pys-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(170, 35, 64, 0.12);
    border-color: var(--primary-color);
}

.pys-course-card__duration {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    font-family: 'Kanit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.pys-course-card__title {
    font-family: 'Kanit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.pys-course-card__desc {
    font-family: 'Gabarito', sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pys-course-card__prices {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.pys-course-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(170, 35, 64, 0.15);
    font-family: 'Gabarito', sans-serif;
}

.pys-course-price:last-child {
    border-bottom: none;
}

.pys-course-price--popular {
    background: rgba(170, 35, 64, 0.05);
    margin: 0 -12px;
    padding: 11px 12px;
    border-radius: 8px;
    border-bottom-color: transparent;
}

.pys-course-price__label {
    font-size: 14px;
    color: #555;
}

.pys-course-price--popular .pys-course-price__label {
    color: var(--primary-color);
    font-weight: 600;
}

.pys-course-price--popular .pys-course-price__label::after {
    content: " \2605 Popular";
    font-size: 10px;
    color: var(--primary-color);
    vertical-align: middle;
}

.pys-course-price__amount {
    font-family: 'Kanit', sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: var(--text-dark);
}

.pys-course-price--popular .pys-course-price__amount {
    color: var(--primary-color);
}

.pys-course-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 12px 0;
    border-radius: 6px;
    background: var(--primary-color);
    color: #ffffff !important;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.pys-course-card__btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* Retreat teaser card */
.pys-course-card--retreat {
    background: linear-gradient(160deg, var(--primary-color) 0%, color-mix(in srgb, var(--primary-color) 80%, black) 100%);
    border: none;
    color: #fff;
}

.pys-course-card--retreat .pys-course-card__title {
    color: #fff;
}

.pys-course-card--retreat .pys-course-card__duration {
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary-color);
}

.pys-course-card--retreat .pys-course-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

.pys-course-card--retreat .pys-course-card__from {
    font-family: 'Kanit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.pys-course-card--retreat .pys-course-card__from small {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.pys-course-card--retreat .pys-course-card__note {
    font-family: 'Gabarito', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 22px;
}

.pys-course-card--retreat .pys-course-card__btn {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
}

@media (max-width: 991px) {
    .pys-courses__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pys-course-card--retreat {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .pys-courses {
        padding: 48px 0 56px;
    }
    .pys-courses__grid {
        grid-template-columns: 1fr;
    }
    .pys-course-card--retreat {
        grid-column: span 1;
    }
}
