/* Premium testimonials slider */
.section-testimonials--premium,
.premium-testimonials {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 90px 0 100px;
    background: linear-gradient(180deg, #f7fbf9 0%, #ffffff 45%, #f4faf7 100%) !important;
}

.premium-testimonials__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.premium-testimonials__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: premiumBlobFloat 14s ease-in-out infinite alternate;
}

.premium-testimonials__blob--1 {
    width: 320px;
    height: 320px;
    background: rgba(0, 128, 96, 0.22);
    top: -80px;
    left: -60px;
}

.premium-testimonials__blob--2 {
    width: 280px;
    height: 280px;
    background: rgba(109, 216, 159, 0.28);
    bottom: -60px;
    right: 8%;
    animation-delay: 2s;
}

.premium-testimonials__blob--3 {
    width: 220px;
    height: 220px;
    background: rgba(0, 76, 63, 0.14);
    top: 35%;
    right: -40px;
    animation-delay: 4s;
}

@keyframes premiumBlobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(18px, -14px) scale(1.08); }
}

.premium-testimonials__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #008060;
    margin-bottom: 12px;
}

.premium-testimonials__title {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
    color: #06070b;
    margin-bottom: 14px;
}

.premium-testimonials__subtitle {
    font-size: 17px;
    color: #5a6570;
    max-width: 620px;
    margin: 0 auto 0px;
    line-height: 1.6;
}

.premium-testimonials__slider-wrap {
    position: relative;
    overflow: visible;
    padding: 20px 56px 56px;
  
}

.premium-testimonials__slider-wrap--full {
    width: 100%;
    max-width: 100%;
    padding-left: 48px;
    padding-right: 48px;
}

.premium-reviews-swiper {
    overflow: hidden;
    padding: 28px 8px 36px;
}

.premium-reviews-swiper .swiper-wrapper {
    align-items: stretch;
}

.premium-reviews-swiper .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
    overflow: visible;
    padding: 18px 4px;
    position: relative;
    z-index: 1;
}

.premium-reviews-swiper .swiper-slide:hover {
    z-index: 4;
}

.premium-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 400px;
    padding: 26px 24px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 18px 50px rgba(6, 7, 11, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
    will-change: transform;
}

.premium-review-card__glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0, 128, 96, 0.18), rgba(109, 216, 159, 0.08));
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 0;
    pointer-events: none;
}

.premium-review-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(0, 128, 96, 0.35);
    box-shadow:
        0 28px 60px rgba(0, 128, 96, 0.16),
        0 0 0 1px rgba(0, 128, 96, 0.08);
    z-index: 2;
}

.premium-review-card:hover .premium-review-card__glow {
    opacity: 1;
}

.premium-reviews-swiper .swiper-slide-active .premium-review-card {
    border-color: rgba(0, 128, 96, 0.28);
    box-shadow:
        0 24px 55px rgba(0, 128, 96, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.premium-review-card__quote {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #008060, #6dd89f);
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(0, 128, 96, 0.25);
}

.premium-review-card__scroll {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    margin-bottom: 16px;
    scroll-behavior: smooth;
}

.premium-review-card__scroll::-webkit-scrollbar {
    width: 6px;
}

.premium-review-card__scroll::-webkit-scrollbar-track {
    background: rgba(0, 128, 96, 0.08);
    border-radius: 10px;
}

.premium-review-card__scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #008060, #6dd89f);
    border-radius: 10px;
}

.premium-review-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #004c3f;
    background: rgba(0, 128, 96, 0.12);
    border-radius: 999px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.premium-review-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #06070b;
    line-height: 1.35;
    margin-bottom: 10px;
}

.premium-review-card__text {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5560;
    margin: 0;
}

.premium-review-card__footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 128, 96, 0.1);
}

.premium-review-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #06070b;
    margin: 0;
    line-height: 1.2;
    font-family: Lora, serif;
}

.premium-review-card__rating {
    flex-shrink: 0;
    color: #f5b301;
    font-size: 13px;
    letter-spacing: 1px;
}

.premium-reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #004c3f;
    box-shadow: 0 10px 30px rgba(6, 7, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.premium-reviews-nav:hover {
    background: #008060;
    color: #ffffff;
    transform: translateY(-50%) scale(1.06);
}

.premium-reviews-nav--prev {
    left: 0;
}

.premium-reviews-nav--next {
    right: 0;
}

.premium-reviews-pagination {
    bottom: 0 !important;
}

.premium-reviews-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 128, 96, 0.25);
    opacity: 1;
    transition: transform 0.3s ease, background 0.3s ease;
}

.premium-reviews-pagination .swiper-pagination-bullet-active {
    background: #008060;
    transform: scale(1.25);
}

@media (max-width: 991px) {
    .premium-testimonials {
        padding: 70px 0 85px;
    }

    .premium-testimonials__slider-wrap,
    .premium-testimonials__slider-wrap--full {
        padding: 16px 24px 50px;
    }

    .premium-review-card {
        height: 380px;
    }
}

@media (max-width: 767px) {
    .premium-testimonials__slider-wrap,
    .premium-testimonials__slider-wrap--full {
        padding: 10px 12px 48px;
    }

    .premium-reviews-nav {
        display: none;
    }

    .premium-review-card {
        height: 360px;
        padding: 22px 18px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-testimonials__blob,
    .premium-review-card {
        animation: none !important;
        transition: none !important;
    }
}

/* Header — remove separator line next to Request a Lesson button */
.header-three .login li::after,
.header-three .login li:first-child::after {
    display: none !important;
    content: none !important;
}

.header-three .login li,
.header-three .login li:first-child {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

/* Header top bar — keep contact items on one line at ~1280px */
@media (min-width: 992px) and (max-width: 1400px) {
    .header-three .header-top .row {
        flex-wrap: nowrap;
    }

    .header-three .header-top .col-lg-8 {
        flex: 0 0 74%;
        max-width: 74%;
    }

    .header-three .header-top .col-lg-4 {
        flex: 0 0 26%;
        max-width: 26%;
    }

    .header-three .header-cta ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0 10px;
        margin: 0;
        padding: 0;
    }

    .header-three .header-cta ul li {
        display: flex;
        flex-shrink: 1;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap;
    }

    .header-three .header-cta .call-box {
        align-items: center;
        gap: 6px;
        min-width: 0;
    }

    .header-three .header-cta .call-box .icon {
        flex-shrink: 0;
        font-size: 12px;
    }

    .header-three .header-cta .call-box .text {
        margin-left: 0;
        min-width: 0;
    }

    .header-three .header-cta .call-box strong,
    .header-three .header-cta .call-box strong a {
        font-size: 11px;
        font-weight: 500;
        line-height: 1.3;
        white-space: nowrap;
    }

    .header-three .header-social a {
        margin-left: 10px;
        font-size: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1100px) {
    .header-three .header-cta .call-box strong,
    .header-three .header-cta .call-box strong a {
        font-size: 10px;
    }

    .header-three .header-cta ul {
        gap: 0 8px;
    }

    .header-three .header-social a {
        margin-left: 8px;
        font-size: 14px;
    }
}

/* Homepage hero slider — mobile responsive */
.hero-slider-active {
    background: #141b22;
}

.section-hero .hero-slider {
    background-image: url(../img/slider/slider_bg.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.section-hero .hero-slider__content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: clamp(76px, 11vw, 50px) 0 clamp(30px, 6vw, 30px);
}

.section-hero .hero-slider__content h2 {
    font-size: clamp(28px, 5.5vw, 70px);
    line-height: 1.2;
    margin-bottom: clamp(16px, 3vw, 10px);
    letter-spacing: 0.02em;
}

.section-hero .hero-slider__content h2 span::after {
    bottom: clamp(4px, 1vw, 18px);
    height: clamp(6px, 1vw, 12px);
}

.section-hero .hero-slider__content p {
    padding-right: 0;
    max-width: 560px;
    font-size: clamp(15px, 2.2vw, 18px);
    line-height: 1.65;
}

.section-hero .hero-slider__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    width: 100%;
}

.section-hero .hero-slider__tagline {
    margin: 0;
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.45;
    color: #06070b;
}

.section-hero .hero-slider__btn {
    margin-right: 0 !important;
    flex-shrink: 0;
}

.section-hero .slider-shape.ss-one {
    max-width: min(42vw, 220px);
    pointer-events: none;
}

.section-hero .slider-shape.ss-one img {
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .hero-slider-active {
        background: #ffffff;
    }

    .section-hero .hero-slider {
        min-height: auto !important;
        background-image: none !important;
        background-color: #ffffff;
        background-position: center center;
    }

    .section-hero .hero-slider__content {
        padding-top: 100px;
        padding-bottom: 56px;
    }

    .section-hero .slider-shape.ss-one {
        top: auto !important;
        bottom: 12% !important;
        left: auto !important;
        right: 4% !important;
        opacity: 0.35;
        max-width: 140px;
    }
}

@media (max-width: 767px) {
    .section-hero .hero-slider__content {
        padding-top: 30px;
        padding-bottom: 30px;
        text-align: center;
    }

    .section-hero .hero-slider__content p {
        margin-left: auto;
        margin-right: auto;
    }

    .section-hero .hero-slider__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .section-hero .hero-slider__btn {
        width: 100%;
        text-align: center;
    }

    .section-hero .slider-shape.ss-one {
        display: none;
    }
}

@media (max-width: 380px) {
    .section-hero .hero-slider__content {
        padding-top: 30px;
    }
}

/* Homepage section spacing */
.section-feature-services,
.section-about,
.section-tutoring-services,
.section-policies-schedule,
.section-home-cta,
.section-testimonials {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Policies & schedule — premium section */
.section-policies-schedule.ps-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7fbf9 0%, #ffffff 42%, #f4faf7 100%);
}

.ps-premium__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.ps-premium__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.5;
    animation: psBlobFloat 16s ease-in-out infinite alternate;
}

.ps-premium__blob--1 {
    width: 340px;
    height: 340px;
    background: rgba(0, 128, 96, 0.2);
    top: -90px;
    left: -70px;
}

.ps-premium__blob--2 {
    width: 280px;
    height: 280px;
    background: rgba(109, 216, 159, 0.25);
    bottom: -60px;
    right: 5%;
    animation-delay: 3s;
}

.ps-premium__blob--3 {
    width: 220px;
    height: 220px;
    background: rgba(0, 76, 63, 0.12);
    top: 40%;
    right: -50px;
    animation-delay: 5s;
}

@keyframes psBlobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(16px, -12px) scale(1.06); }
}

.ps-premium__header {
    max-width: 680px;
    margin: 0 auto 48px;
}

.ps-premium__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #008060;
}

.ps-premium__title {
    font-size: clamp(30px, 4.2vw, 46px);
    line-height: 1.15;
    color: #06070b;
    margin-bottom: 14px;
}

.ps-premium__subtitle {
    font-size: clamp(15px, 2.2vw, 17px);
    line-height: 1.65;
    color: #5a6570;
    margin: 0;
}

.ps-premium__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
    align-items: stretch;
}

.ps-premium__grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    margin: 0 auto;
}

.ps-premium__format-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.ps-premium__format-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(0, 128, 96, 0.1);
    border: 1px solid rgba(0, 128, 96, 0.18);
    color: #004c3f;
    font-size: 14px;
    font-weight: 600;
}

.ps-premium__format-item i {
    color: #008060;
}

.ps-premium__pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.ps-premium__pricing-grid .ps-premium__rate-card {
    margin-bottom: 0;
}

.ps-premium__rate-label {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #004c3f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ps-premium__rate-line--blank {
    min-height: 28px;
}

.ps-premium__pricing-grid + .ps-premium__rate-note {
    margin-bottom: 20px;
}

/* Scroll animations */
.ps-premium .ps-animate {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.ps-premium .ps-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ps-premium .ps-animate[data-ps-delay="1"].is-visible { transition-delay: 0.08s; }
.ps-premium .ps-animate[data-ps-delay="2"].is-visible { transition-delay: 0.18s; }
.ps-premium .ps-animate[data-ps-delay="3"].is-visible { transition-delay: 0.28s; }

/* Glass panels */
.ps-premium__panel {
    position: relative;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 128, 96, 0.45), rgba(109, 216, 159, 0.25), rgba(0, 76, 63, 0.35));
    background-size: 200% 200%;
    animation: psBorderShift 8s ease infinite;
    box-shadow: 0 22px 60px rgba(0, 76, 63, 0.1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

@keyframes psBorderShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ps-premium__panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 70px rgba(0, 128, 96, 0.16);
}

.ps-premium__panel-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: clamp(24px, 3vw, 32px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ps-premium__panel-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 20% 0%, rgba(109, 216, 159, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.ps-premium__panel:hover .ps-premium__panel-glow {
    opacity: 1;
}

.ps-premium__panel-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 128, 96, 0.12);
}

.ps-premium__panel-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #008060, #6dd89f);
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(0, 128, 96, 0.28);
}

.ps-premium__panel-title {
    margin: 0 0 4px;
    font-family: Lora, serif;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 600;
    color: #06070b;
    line-height: 1.2;
}

.ps-premium__panel-desc {
    margin: 0;
    font-size: 14px;
    color: #5a6570;
    line-height: 1.45;
}

/* Rate card */
.ps-premium__rate-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 128, 96, 0.1) 0%, rgba(109, 216, 159, 0.06) 100%);
    border: 1px solid rgba(0, 128, 96, 0.16);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ps-premium__rate-card:hover {
    transform: scale(1.015);
    border-color: rgba(0, 128, 96, 0.32);
    box-shadow: 0 14px 36px rgba(0, 128, 96, 0.12);
}

.ps-premium__rate-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    color: #008060;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(0, 128, 96, 0.14);
}

.ps-premium__rate-line {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.5;
    color: #37383a;
}

.ps-premium__rate{
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #37383a;
}

.ps-premium__rate-line strong {
    color: #004c3f;
    font-size: 22px;
    font-weight: 700;
}

.ps-premium__rate-note {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #4a5560;
}

.ps-premium__rate-note strong {
    font-weight: 600;
    color: #06070b;
}

/* Policy cards */
.ps-premium__policy-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ps-premium__policy-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 128, 96, 0.1);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.ps-premium__policy-card:hover {
    transform: translateX(4px) scale(1.01);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 128, 96, 0.28);
    box-shadow: 0 12px 32px rgba(0, 128, 96, 0.1);
}

.ps-premium__policy-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #37383a;
}

.ps-premium__policy-card strong {
    color: #06070b;
    font-weight: 600;
}

.ps-premium__policy-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef8f4;
    color: #008060;
    font-size: 18px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ps-premium__policy-card:hover .ps-premium__policy-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 128, 96, 0.18);
}

.ps-premium__policy-icon--accent {
    background: linear-gradient(135deg, rgba(0, 128, 96, 0.15), rgba(109, 216, 159, 0.2));
}

.ps-premium__link {
    color: #008060;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ps-premium__link:hover {
    color: #004c3f;
    text-decoration: underline;
}

/* Timetable */
.ps-premium__timetable {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 128, 96, 0.12);
    background: rgba(255, 255, 255, 0.5);
}

.ps-premium__timetable-head {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 18px;
    background: linear-gradient(90deg, rgba(0, 128, 96, 0.12), rgba(109, 216, 159, 0.08));
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #004c3f;
}

.ps-premium__timetable-head span:first-child {
    justify-self: center;
    text-align: center;
}

.ps-premium__timetable-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ps-premium__timetable-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 128, 96, 0.08);
    transition: background 0.25s ease, padding-left 0.25s ease;
}

.ps-premium__timetable-row:last-child {
    border-bottom: none;
}

.ps-premium__timetable-row:hover {
    background: rgba(0, 128, 96, 0.06);
    padding-left: 22px;
}

.ps-premium__day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    min-width: 52px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 128, 96, 0.1);
    color: #004c3f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, color 0.25s ease;
}

.ps-premium__timetable-row:hover .ps-premium__day {
    background: linear-gradient(135deg, #008060, #6dd89f);
    color: #ffffff;
}

.ps-premium__times {
    font-size: 15px;
    line-height: 1.5;
    color: #37383a;
}

.ps-premium__cta {
    margin-top: 15px;
}

@media (max-width: 991px) {
    .ps-premium__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
   

    .ps-premium__header {
        margin-bottom: 10px;
        text-align: left;
    }

    .ps-premium__panel-inner {
        padding: 20px 16px;
    }

    .ps-premium__pricing-grid {
        grid-template-columns: 1fr;
    }

    .ps-premium__format-banner {
        flex-direction: column;
    }

    .ps-premium__format-item {
        width: 100%;
        justify-content: center;
    }

    .ps-premium__rate-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .ps-premium__rate-icon {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .ps-premium__policy-card {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .ps-premium__policy-icon {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .ps-premium__policy-card p,
    .ps-premium__rate-note,
    .ps-premium__times {
        font-size: 14px;
    }

    .ps-premium__timetable-head,
    .ps-premium__timetable-row {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .ps-premium__timetable-row:hover {
        padding-left: 14px;
    }

    .ps-premium__cta .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ps-premium__blob,
    .ps-premium__panel {
        animation: none !important;
    }

    .ps-premium .ps-animate {
        opacity: 1;
        transform: none;
        transition: none !important;
    }

    .ps-premium__policy-card:hover,
    .ps-premium__panel:hover,
    .ps-premium__rate-card:hover {
        transform: none;
    }
}

/* Feature services cards — mobile responsive */
.section-feature-services.service-details-two {
    position: relative;
    z-index: 3;
    margin-top: 0px;
}

.feature-services__row--five {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
}

.feature-services__row--five > .feature-services__col {
    min-width: 0;
    padding: 0;
}

.section-feature-services .feature-services__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 22px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 76, 63, 0.08);
    box-shadow: 0 8px 28px rgba(19, 16, 34, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-feature-services .feature-services__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(19, 16, 34, 0.12);
}

.section-feature-services .services-box07 .sr-contner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-feature-services .services-box07 .sr-contner .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.section-feature-services .services-box07 .sr-contner .icon .img {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-feature-services .services-box07 .sr-contner .icon .img img {
    max-width: 72px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.section-feature-services .services-box07 .sr-contner .text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.section-feature-services .services-box07 .sr-contner .text h5 {
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.35;
    margin: 0 0 14px;
    min-height: 0px;
}

.section-feature-services .services-box07 .sr-contner .text h5 a {
    color: #004c3f;
    word-break: break-word;
}

.section-feature-services .services-box07 .sr-contner .text p {
    flex: 1 1 auto;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.65;
    color: #555;
}

.section-feature-services .services-box07 .sr-contner .text a {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
}

@media (max-width: 1199px) {
    .feature-services__row--five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .feature-services__row--five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-feature-services.service-details-two {
        margin-top: -56px;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .section-feature-services .feature-services__card {
        padding: 26px 20px 22px;
    }
}

@media (max-width: 767px) {
    .feature-services__row--five {
        grid-template-columns: 1fr;
    }

    .section-feature-services.service-details-two {
        margin-top: 0;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .section-feature-services .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-feature-services .feature-services__card {
        padding: 22px 18px 20px;
    }

    .section-feature-services .services-box07 .sr-contner .icon {
        margin-bottom: 16px;
    }

    .section-feature-services .services-box07 .sr-contner .icon .img {
        width: 64px;
        height: 64px;
    }

    .section-feature-services .services-box07 .sr-contner .icon .img img {
        max-width: 64px;
        max-height: 64px;
    }

    .section-feature-services .services-box07 .sr-contner .text h5 {
        min-height: 0;
        margin-bottom: 12px;
    }

    .section-feature-services .services-box07 .sr-contner .text p {
        margin-bottom: 16px;
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .section-feature-services .feature-services__row {
        --bs-gutter-y: 1rem;
    }
}

/* Homepage about section — mobile responsive */
.section-about.about-p {
    padding-top: 30px;
    padding-bottom: 30px;
}

.section-about .about-home__content {
    padding-left: 0;
    padding-right: 0;
}

.section-about .about-title h2 {
    font-size: clamp(26px, 4.5vw, 30px);
    line-height: 1.2;
    letter-spacing: 0;
}

.section-about .about-title h5 {
    font-size: clamp(15px, 2vw, 18px);
}

.section-about .s-about-content .txt-clr {
    font-size: clamp(15px, 2.2vw, 18px);
    line-height: 1.65;
}

.section-about .about-content p {
    margin-bottom: 0px;
}

.section-about .about-home__lists ul.green {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-about .about-home__lists ul.green li {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 10px;
    padding-left: 0;
}

.section-about .about-home__highlights-title {
    font-size: clamp(20px, 2.8vw, 26px);
    line-height: 1.3;
    color: #004c3f;
    margin-bottom: 16px;
}

.section-about .about-home__highlights ul.green {
    margin-bottom: 0;
}

.section-about .about-home__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
}

.section-about .about-home__btn {
    margin-right: 0 !important;
    flex-shrink: 0;
}

.section-about .about-home__award {
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    padding: 14px 22px 14px 38px;
    font-size: clamp(14px, 2vw, 18px);
    max-width: 100%;
    box-sizing: border-box;
}

.section-about .about-home__award .img {
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
    width: 32px;
}

.section-about .about-home__award .img img {
    max-width: 100%;
    height: auto;
}

.section-about .about-home__media img {
    width: 100%;
    height: auto;
    display: block;
}

.section-about .s-about-img.about-home__media {
    margin-left: 0;
}

.section-about .about-home__badge {
    width: min(100%, 300px);
}

.section-about .about-home__badge .box-text .icon img {
    max-width: 48px;
    height: auto;
}

@media (max-width: 991px) {
    .section-about .s-about-img.about-home__media {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .section-about.about-p {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .section-about .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-about .about-home__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-about .about-home__btn {
        width: 100%;
        text-align: center;
    }

    .section-about .about-home__award,
    .section-about .about-home__actions .award-btn {
        display: none !important;
    }

    .section-about .about-home__media-col,
    .section-about .about-home__badge {
        display: none !important;
    }

    .section-about .about-content3 {
        margin-top: 24px !important;
        margin-bottom: 24px !important;
    }
}

@media (max-width: 575px) {
    .section-about .about-home__lists .col-sm-6 + .col-sm-6 {
        margin-top: 4px;
    }
}

/* Homepage tutoring services section — mobile responsive */
.section-tutoring-services.services-area {
    background-image: url(../img/bg/services-bg.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding-top: clamp(48px, 7vw, 90px);
    padding-bottom: clamp(48px, 7vw, 90px);
    overflow: hidden;
}

.section-tutoring-services .tutoring-services__intro {
    margin-bottom: clamp(24px, 3vw, 48px);
}

.section-tutoring-services .tutoring-services__visual img {
    width: 100%;
    height: auto;
    display: block;
}

.section-tutoring-services .tutoring-services__title {
    padding-left: 0;
}

@media (min-width: 992px) {
    .section-tutoring-services .tutoring-services__title {
        padding-left: 30px;
    }
}

.section-tutoring-services .tutoring-services__title h2 {
    font-size: 35px;
    line-height: 1.2;
}

.section-tutoring-services .tutoring-services__title h5 {
    font-size: clamp(14px, 2vw, 16px);
}

.section-tutoring-services .tutoring-services__title p {
    font-size: clamp(15px, 2.2vw, 17px);
    line-height: 1.65;
}

.section-tutoring-services .tutoring-services__cards {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

.tutoring-services__cards--five {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
}

.tutoring-services__cards--five > .tutoring-services__col {
    min-width: 0;
    padding: 0;
}

.section-tutoring-services .tutoring-services__card {
    margin-bottom: 0 !important;
    padding: 20px 16px 18px !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto !important;
}

.section-tutoring-services .tutoring-services__card .sr-contner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-tutoring-services .tutoring-services__card .text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.section-tutoring-services .tutoring-services__card .text p {
    flex: 0 0 auto;
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 10px;
}

.section-tutoring-services .tutoring-services__card h3 {
    font-size: clamp(17px, 1.35vw, 21px);
    line-height: 1.35;
    margin-bottom: 10px;
}

.section-tutoring-services .tutoring-services__card h3 a {
    word-break: break-word;
}

.section-tutoring-services .tutoring-services__card .icon {
    margin-top: -48px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.section-tutoring-services .tutoring-services__card .icon .img {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.section-tutoring-services .tutoring-services__card .icon .img img {
    max-width: 72px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.section-tutoring-services .tutoring-services__card .text a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
}

@media (max-width: 1199px) {
    .tutoring-services__cards--five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .tutoring-services__cards--five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-tutoring-services .tutoring-services__intro {
        margin-bottom: 32px;
    }

    .section-tutoring-services .tutoring-services__card .icon {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .section-tutoring-services .tutoring-services__card {
        padding: 20px 16px 18px !important;
    }
}

@media (max-width: 767px) {
    .tutoring-services__cards--five {
        grid-template-columns: 1fr;
    }

    .section-tutoring-services.services-area {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .section-tutoring-services .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-tutoring-services .tutoring-services__intro {
        margin-bottom: 28px;
    }

    .section-tutoring-services .tutoring-services__title {
        text-align: center;
        padding-left: 0;
    }

    .section-tutoring-services .tutoring-services__visual {
        max-width: 420px;
        margin: 0 auto;
    }

    .section-tutoring-services .tutoring-services__card {
        padding: 18px 14px 16px !important;
    }

    .section-tutoring-services .tutoring-services__card h3 {
        min-height: 0;
    }

    .section-tutoring-services .tutoring-services__card .icon .img {
        width: 64px;
        height: 64px;
    }

    .section-tutoring-services .tutoring-services__card .icon .img img {
        max-width: 64px;
        max-height: 64px;
    }
}

/* Request lesson — layout fix */
.section-request-lesson {
    padding-top: 30px;
    padding-bottom: 30px;
    overflow: visible;
}

.section-request-lesson.search-area .container {
    padding: 0 15px !important;
    background: none !important;
}



.section-request-lesson .request-lesson-banner {
    background-image: url(../img/bg/search_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
    border-radius: 10px;
    padding: 50px 45px;
    overflow: hidden;
}

.section-request-lesson .request-lesson-visual {
    min-height: 1px;
}

.section-request-lesson .contact-bg {
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.section-request-lesson .request-lesson-form .contact-field {
    margin-bottom: 0;
}

.section-request-lesson .request-lesson-form .contact-field input,
.section-request-lesson .request-lesson-form .contact-field select {
    width: 100%;
    box-sizing: border-box;
}

/* Dropdown — visible text without hover */
.section-request-lesson.search-area .request-lesson-form .contact-field select {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    height: calc(3.5em + 0.55rem + 2px);
    padding: 12px 40px 12px 15px;
    line-height: 1.5;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
}

.section-request-lesson.search-area .request-lesson-form .contact-field select:focus {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    outline: none;
    box-shadow: none;
}

.section-request-lesson.search-area .request-lesson-form .contact-field select option {
    color: #1a2e2a !important;
    background-color: #ffffff !important;
}

.section-request-lesson.search-area .request-lesson-form .contact-field select option:checked,
.section-request-lesson.search-area .request-lesson-form .contact-field select option:hover {
    color: #ffffff !important;
    background-color: #004c3f !important;
}

.section-request-lesson .section-title h2 {
    margin-bottom: 10px;
}

.section-request-lesson .request-lesson__title h2 {
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.2;
}

.section-request-lesson .request-lesson__title p {
    font-size: clamp(15px, 2.2vw, 18px);
    line-height: 1.65;
}

.section-request-lesson.search-area .contact-bg.request-lesson__panel {
    padding: clamp(24px, 4vw, 40px);
    border-radius: 10px;
}

.section-request-lesson .request-lesson-form .contact-field.mb-20,
.section-request-lesson .request-lesson-form .row .contact-field {
    margin-bottom: 0;
}

.section-request-lesson .request-lesson-form .contact-field input,
.section-request-lesson .request-lesson-form .contact-field select {
    min-height: 48px;
    font-size: 16px;
}

.section-request-lesson .request-lesson__submit {
    width: 100%;
}

.section-request-lesson .request-lesson__submit .btn {
    width: 100%;
    text-align: center;
    display: block;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .section-request-lesson.search-area .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .section-request-lesson .request-lesson-banner {
        padding: 0;
        background-image: none;
        background-color: transparent;
        overflow: visible;
    }

    .section-request-lesson.search-area .contact-bg.request-lesson__panel {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .section-request-lesson {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .section-request-lesson.search-area .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .section-request-lesson .request-lesson-banner {
        border-radius: 8px;
    }

    .section-request-lesson.search-area .contact-bg.request-lesson__panel {
        padding: 22px 16px;
    }

    .section-request-lesson .request-lesson__title {
        margin-bottom: 20px !important;
        text-align: left;
    }

    .section-request-lesson .request-lesson-form {
        margin-top: 0;
    }

    .section-request-lesson .request-lesson-form .row.g-3 {
        --bs-gutter-y: 0.75rem;
    }

    .section-request-lesson.search-area .request-lesson-form .contact-field select {
        font-size: 16px;
    }
}

/* Homepage CTA */
.section-home-cta.cta-bg {
    background-image: url(../img/bg/cta_bg.png);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.section-home-cta.cta-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 76, 63, 0.92) 0%, rgba(0, 76, 63, 0.78) 100%);
    z-index: -1;
}

.section-home-cta .home-cta-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 50px 40px;
    backdrop-filter: blur(4px);
}

.section-home-cta .cta-title h5 {
    color: #b0cbd7;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-home-cta .cta-title h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-home-cta .cta-title h2 span {
    color: #7ee8c7;
    text-decoration: none;
}

.section-home-cta .cta-title p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    margin: 0 auto 16px;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.7;
}

.section-home-cta .cta-title p:last-of-type {
    margin-bottom: 28px;
}

.section-home-cta .home-cta__closing {
    font-weight: 600;
    color: #ffffff;
}

.section-home-cta .home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.section-home-cta .home-cta-btn-outline {
    display: inline-block;
    padding: 18px 32px;
    border-radius: 6px;
    background: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    overflow: visible;
    z-index: 1;
}

/* Disable template .btn::before hover overlay (was hiding text) */
.section-home-cta .home-cta-btn-outline::before {
    display: none !important;
    content: none !important;
}

.section-home-cta .home-cta-btn-outline:hover,
.section-home-cta .home-cta-btn-outline:focus {
    background: #ffffff !important;
    color: #004c3f !important;
    border-color: #ffffff !important;
}

.section-home-cta .home-cta-btn-outline:hover::before,
.section-home-cta .home-cta-btn-outline:focus::before {
    display: none !important;
    content: none !important;
}

@media (max-width: 991px) {
    .section-request-lesson {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .section-home-cta .home-cta-box {
        padding: 36px 24px;
    }

    .section-home-cta .home-cta-actions {
        flex-direction: column;
    }

    .section-home-cta .home-cta-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Inner page hero — About, etc. */
.page-hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 76, 63, 0.58);
    z-index: 0;
    pointer-events: none;
}

.page-hero-banner .page-hero-banner__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 15px 90px;
}

.page-hero-banner .breadcrumb-wrap.text-center {
    text-align: center !important;
    width: 100%;
}

.page-hero-banner .breadcrumb-title h2 {
    margin-bottom: 0;
    color: #ffffff;
}

.page-hero-banner .breadcrumb-title h2 span {
    color: #fe7350;
}

.page-hero-banner .back-to-home {
    position: absolute;
    left: 15px;
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #ffffff;
    border-radius: 50px;
    color: #06070b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(6, 7, 11, 0.1);
    transition: color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.page-hero-banner .back-to-home i {
    font-size: 14px;
}

.page-hero-banner .back-to-home:hover {
    color: #008060;
    box-shadow: 0 6px 22px rgba(6, 7, 11, 0.14);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .page-hero-banner .page-hero-banner__inner {
        min-height: 260px;
        padding-bottom: 80px;
    }

    .page-hero-banner .breadcrumb-title h2 {
        font-size: 36px;
    }

    .page-hero-banner .back-to-home {
        left: 12px;
        bottom: 20px;
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Services page — alternating blocks */
.section-service-detail {
    padding: 0;
    scroll-margin-top: 100px;
}

/* In-person tutoring announcement */
.section-in-person-banner {
    padding: 28px 0;
    background: linear-gradient(135deg, #004c3f 0%, #008060 100%);
}

.in-person-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
    color: #ffffff;
}

.in-person-banner__badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.in-person-banner__content {
    flex: 1 1 280px;
}

.in-person-banner__content h2 {
    font-size: clamp(22px, 3vw, 30px);
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.25;
}

.in-person-banner__content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.in-person-banner__content strong {
    color: #ffffff;
}

.in-person-banner__btn {
    flex-shrink: 0;
    background: #ffffff !important;
    color: #004c3f !important;
    border-color: #ffffff !important;
}

.in-person-banner__btn::before {
    display: none !important;
}

.in-person-banner__btn:hover {
    background: #f0f7f5 !important;
    color: #004c3f !important;
    border-color: #ffffff !important;
}

/* Summer tutoring section */
.section-summer-tutoring {
    padding: 50px 0;
    background: #f8faf9;
    scroll-margin-top: 100px;
}

.summer-tutoring__header {
    max-width: 720px;
    margin: 0 auto 36px;
}

.summer-tutoring__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #008060;
    margin-bottom: 10px;
}

.summer-tutoring__header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    color: #06070b;
    margin-bottom: 14px;
    line-height: 1.2;
}

.summer-tutoring__header p {
    font-size: 17px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

.summer-tutoring__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 24px;
}

.summer-tutoring__card {
    background: #ffffff;
    border: 1px solid rgba(0, 128, 96, 0.14);
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(0, 76, 63, 0.06);
}

.summer-tutoring__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 128, 96, 0.1);
    color: #008060;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.summer-tutoring__card h3 {
    font-size: 20px;
    color: #004c3f;
    margin-bottom: 10px;
}

.summer-tutoring__card > p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.summer-tutoring__card .section-service-detail__list {
    margin-bottom: 16px;
}

.summer-tutoring__link {
    font-size: 15px;
    font-weight: 600;
    color: #008060;
}

.summer-tutoring__link:hover {
    color: #004c3f;
}

.summer-tutoring__note {
    max-width: 680px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.65;
    color: #37383a;
    font-weight: 500;
}

.section-service-detail__topics-heading {
    font-size: 18px;
    color: #004c3f;
    margin: 20px 0 12px;
    line-height: 1.3;
}

.section-service-detail__list--compact {
    margin-bottom: 24px;
}

.section-service-detail__list--compact li {
    margin-bottom: 6px;
}

#ap-chemistry.section-service-detail {
    padding-top: 0px;
}

#ap-chemistry .section-service-detail__inner h2 {
    letter-spacing: 0.04em;
    line-height: 1.15;
}

#ap-chemistry .section-service-detail__intro {
    font-size: 17px;
    margin-bottom: 28px;
}

#ap-chemistry .section-service-detail__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

#ap-chemistry .section-service-detail__cards--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
}

#ap-chemistry .section-service-detail__card {
    background: #ffffff;
    border: 1px solid rgba(0, 128, 96, 0.14);
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 8px 24px rgba(0, 76, 63, 0.06);
    height: 100%;
}

#ap-chemistry .section-service-detail__card h3 {
    font-size: 18px;
    color: #004c3f;
    margin-bottom: 10px;
    line-height: 1.3;
}

#ap-chemistry .section-service-detail__card-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 14px !important;
    line-height: 1.55;
}

#ap-chemistry .section-service-detail__stat-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

#ap-chemistry .section-service-detail__stat-item {
    background: linear-gradient(135deg, #004c3f 0%, #008060 100%);
    border-radius: 12px;
    padding: 22px 20px;
    text-align: center;
    color: #ffffff;
}

#ap-chemistry .section-service-detail__stat-number {
    display: block;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

#ap-chemistry .section-service-detail__stat-label {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.92;
}

#ap-chemistry .section-service-detail__stat-note {
    margin-bottom: 24px !important;
    font-weight: 500;
    color: #37383a;
}

#ap-chemistry .section-service-detail__footer-cta {
    padding-top: 8px;
    border-top: 1px solid rgba(0, 128, 96, 0.12);
}

#ap-chemistry .section-service-detail__closing {
    font-size: 17px;
    font-weight: 600;
    color: #06070b;
    margin-bottom: 20px !important;
    line-height: 1.55;
}

#ap-chemistry .section-service-detail__footer-cta .btn.ss-btn {
    margin-top: 0;
}

#general-chemistry-ii.section-service-detail {
    padding-bottom: 30px;
}

.section-service-detail__content {
    display: flex;
    align-items: center;
    background: #f8faf9;
}

.section-service-detail__inner {
    width: 100%;
    max-width: 900px;
    padding: 60px 48px;
    margin: 0 auto;
}

.section-service-detail__inner h5 {
    color: #008060;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.section-service-detail__inner h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    color: #06070b;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-service-detail__tagline {
    font-size: clamp(17px, 2.2vw, 20px);
    font-weight: 600;
    color: #008060;
    margin-bottom: 18px !important;
    line-height: 1.4;
}

.section-service-detail__inner p {
    color: #555;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.65;
}

.section-service-detail__blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    margin: 24px 0 28px;
}

.section-service-detail__block h3 {
    font-size: 18px;
    color: #004c3f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-service-detail__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.section-service-detail__list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #37383a;
}

.section-service-detail__list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    position: absolute;
    left: 0;
    top: 2px;
    color: #008060;
    font-size: 14px;
}

.section-service-detail__list li:last-child {
    margin-bottom: 0;
}

.section-service-detail__anchor {
    position: absolute;
    top: 0;
    visibility: hidden;
    pointer-events: none;
}

.section-service-detail__inner .btn.ss-btn {
    margin-top: 4px;
    min-width: 200px;
    padding: 20px 48px !important;
    font-size: 18px;
    font-weight: 600;
}

.section-service-detail__inner .btn.ss-btn::before {
    display: none !important;
}

.section-service-detail__media {
    min-height: 320px;
    overflow: hidden;
}

.section-service-detail__media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.section-service-detail--image-left .section-service-detail__content {
    background: #ffffff;
}

/* Booking modal */
body.book-modal-open {
    overflow: hidden;
}

.book-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.book-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.book-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 7, 11, 0.65);
    cursor: pointer;
}

.book-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 36px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.3s ease;
}

.book-modal.is-open .book-modal__dialog {
    transform: translateY(0) scale(1);
}

.book-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f0f4f3;
    color: #06070b;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.book-modal__close:hover {
    background: #004c3f;
    color: #ffffff;
}

.book-modal__header h3 {
    font-size: 28px;
    color: #06070b;
    margin-bottom: 8px;
}

.book-modal__header p {
    color: #666;
    font-size: 15px;
    margin-bottom: 24px;
}

.book-modal__field {
    margin-bottom: 18px;
}

.book-modal__field label {
    display: block;
    font-weight: 600;
    color: #06070b;
    margin-bottom: 8px;
    font-size: 14px;
}

.book-modal__field label span {
    color: #fe7350;
}

.book-modal__field input,
.book-modal__field textarea,
.book-modal__field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d8e0de;
    border-radius: 8px;
    font-size: 13px;
    color: #06070b;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.book-modal__field input:focus,
.book-modal__field textarea:focus,
.book-modal__field select:focus {
    border-color: #008060;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.15);
}

.book-modal__field input[readonly] {
    background: #f0f7f5;
    color: #004c3f;
    font-weight: 600;
    cursor: default;
}

.book-modal__field textarea {
    resize: vertical;
    min-height: 110px;
}

.book-modal__submit {
    margin-top: 8px;
    text-align: right;
}

.book-modal__btn {
    min-width: 180px;
    padding: 16px 40px !important;
}

.book-modal__btn::before {
    display: none !important;
}

.book-modal__success {
    text-align: center;
    color: #004c3f;
    font-size: 18px;
    font-weight: 600;
    padding: 30px 10px;
}

.form-status {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.form-status[hidden] {
    display: none !important;
}

.form-status.is-success {
    color: #004c3f;
    background: #e8f6f1;
    border: 1px solid #b7e2d4;
}

.form-status.is-error {
    color: #8a2b16;
    background: #ffefe9;
    border: 1px solid #f5c2b3;
}

.book-modal__status {
    margin-bottom: 16px;
}

.contact-form button[type="submit"]:disabled,
.book-modal__btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    pointer-events: none;
}

/* Contact page — info cards as boxes */
.section-contact-info {
    background: #ffffff;
}

.section-contact-info .contact-info-wrap {
    padding-left: 24px;
    padding-right: 24px;
    max-width: 100%;
}

.section-contact-info .contact-info-card {
    height: 100%;
    margin: 0;
    padding: 36px 28px;
    background: #ffffff;
    border: 2px solid #e3e3e3 !important;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(6, 7, 11, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.section-contact-info .contact-info-card:hover,
.section-contact-info .contact-info-card.active {
    background: #ffffff;
    border-color: #d0d0d0 !important;
    box-shadow: 0 12px 32px rgba(6, 7, 11, 0.1);
    transform: translateY(-4px);
}

.section-contact-info .contact-info-card .services-icon {
    margin-bottom: 24px;
}

.section-contact-info .contact-info-card .services-content2 p {
    margin-bottom: 0;
    color: #444;
    line-height: 1.6;
}

.section-contact-info .contact-info-card .services-content2 a {
    color: #06070b;
    font-weight: 600;
}

.section-contact-info .contact-info-card .services-content2 a:hover {
    color: #333333;
}

@media (max-width: 767px) {
    .section-contact-info .contact-info-card {
        padding: 28px 14px;
    }

    .section-contact-info .contact-info-card .services-content2 p,
    .section-contact-info .contact-info-card .services-content2 a {
        font-size: 14px;
    }

    .section-contact-info .contact-info-card .services-content2 a[href^="mailto:"] {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: -0.02em;
        white-space: nowrap;
        display: inline-block;
        max-width: 100%;
    }
}

@media (max-width: 390px) {
    .section-contact-info .contact-info-card .services-content2 a[href^="mailto:"] {
        font-size: 12px;
    }
}

@media (min-width: 1400px) {
    .section-contact-info .contact-info-wrap {
        padding-left: 48px;
        padding-right: 48px;
    }
}

/* Contact page — form + map full width */
.section-contact-form {
    overflow: hidden;
}

.section-contact-form .contact-form-wrap {
    height: 100%;
    min-height: 520px;
    padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
    margin: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-contact-form .contact-form__header {
    margin-bottom: 28px;
}

.section-contact-form .contact-form__header h3 {
    font-size: clamp(24px, 3vw, 32px);
    color: #004c3f;
    margin-bottom: 10px;
    line-height: 1.25;
}

.section-contact-form .contact-form__header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #555;
}

.section-contact-form .contact-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #37383a;
}

.section-contact-form .contact-field::after {
    display: none !important;
}

.section-contact-form .contact-field input,
.section-contact-form .contact-field textarea,
.section-contact-form .contact-field select {
    width: 100%;
    background: #f8faf9 !important;
    border: 1px solid rgba(0, 76, 63, 0.12) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 14px 16px !important;
    font-size: 15px;
    color: #06070b;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.section-contact-form .contact-field input:focus,
.section-contact-form .contact-field textarea:focus,
.section-contact-form .contact-field select:focus {
    outline: none;
    border-color: #008060 !important;
    box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.12) !important;
}

.section-contact-form .contact-field textarea {
    height: auto !important;
    min-height: 140px;
    resize: vertical;
}

.section-contact-form .contact-form__submit {
    margin-top: 8px;
}

.section-contact-form .contact-form__btn {
    min-width: 180px;
    padding: 16px 40px !important;
    font-size: 17px;
    font-weight: 600;
    background: #008060 !important;
    border-color: #008060 !important;
    color: #ffffff !important;
}

.section-contact-form .contact-form__btn::before {
    display: none !important;
}

.section-contact-form .contact-form__btn:hover {
    background: #004c3f !important;
    border-color: #004c3f !important;
    color: #ffffff !important;
}

.section-contact-form .contact-map-embed {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background: #e8eeec;
}

.section-contact-form .contact-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

@media (max-width: 991px) {
    .section-contact-form .contact-form-wrap {
        min-height: auto;
        padding: 40px 24px;
    }

    .section-contact-form .contact-map-embed,
    .section-contact-form .contact-map-embed iframe {
        min-height: 360px;
    }
}

@media (max-width: 767px) {
    .section-contact-form .contact-form__submit {
        text-align: center !important;
    }

    .section-contact-form .contact-form__btn {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .in-person-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .in-person-banner__btn {
        width: 100%;
        text-align: center;
    }

    .summer-tutoring__grid {
        grid-template-columns: 1fr;
    }

    .section-service-detail__inner {
        padding: 20px 24px;
    }

    .section-service-detail__blocks {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #ap-chemistry .section-service-detail__cards,
    #ap-chemistry .section-service-detail__stat-box {
        grid-template-columns: 1fr;
    }

    #ap-chemistry .section-service-detail__card {
        padding: 20px 18px;
    }

    #ap-chemistry .section-service-detail__footer-cta .btn.ss-btn {
        width: 100%;
    }

    .section-service-detail__media {
        min-height: 260px;
    }

    .section-service-detail__media img {
        min-height: 260px;
    }
}

/* Site footer — full width */
.site-footer.footer-bg {
    background-color: #004c3f !important;
}

.site-footer .footer-top {
    padding: 50px 0 50px;
}

.site-footer .footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
    box-sizing: border-box;
}

.site-footer .footer-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px);
    width: 100%;
    align-items: start;
}

.site-footer .footer-logo-wrap img {
    max-width: 220px;
    height: auto;
}

.site-footer .f-contact p,
.site-footer .footer-link ul li a,
.site-footer .footer-contact-info li,
.site-footer .footer-contact-info li span,
.site-footer .footer-contact-info a,
.site-footer .copyright-text {
    font-size: 14px;
}

.site-footer .f-contact p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 360px;
    font-size: 14px;
}

.site-footer .f-widget-title h2 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 12px;
}

.site-footer .footer-link ul li a {
    color: rgba(255, 255, 255, 0.88);
}

.site-footer .footer-link ul li a:hover {
    color: #ffffff;
}

.site-footer .footer-contact-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

.site-footer .footer-contact-info li:last-child {
    margin-bottom: 0;
}

.site-footer .footer-contact-info .icon {
    flex-shrink: 0;
    width: 20px;
    margin-top: 3px;
    color: #6dd89f;
    font-size: 16px;
}

.site-footer .footer-contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer .footer-contact-info a:hover {
    color: #6dd89f;
}

.site-footer .copyright-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 22px 0 26px;
}

.site-footer .copyright-text {
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    max-width: 52rem;
}

.site-footer .copyright-text__line {
    display: inline;
}

.site-footer .copyright-text__credit {
    white-space: nowrap;
}

.site-footer .copyright-text a {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
}

.site-footer .copyright-text a:hover {
    color: #6dd89f !important;
    text-decoration: underline;
}

.site-footer .footer-link ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-widget.mb-30 {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .site-footer .footer-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 24px;
    }

    .site-footer .footer-col--brand,
    .site-footer .footer-col--contact {
        grid-column: 1 / -1;
    }

    .site-footer .footer-top {
        padding: 50px 0 36px;
    }

    .site-footer .f-contact p {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .site-footer .footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-footer .footer-top {
        padding: 40px 0 28px;
    }

    .site-footer .footer-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site-footer .footer-col {
        grid-column: 1 / -1;
        padding-bottom: 0px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .site-footer .footer-col:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    .site-footer .footer-logo-wrap img {
        max-width: min(200px, 70vw);
    }

    .site-footer .f-contact p {
        margin-top: 12px;
    }

    .site-footer .f-widget-title h2 {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .site-footer .footer-link ul li {
        margin-bottom: 8px;
    }

    .site-footer .footer-link ul li a {
        line-height: 1.45;
        padding: 2px 0;
    }

    .site-footer .footer-contact-info li {
        gap: 12px;
        margin-bottom: 8px;
        align-items: flex-start;
    }

    .site-footer .footer-contact-info .icon {
        margin-top: 4px;
    }

    .site-footer .footer-contact-info a,
    .site-footer .footer-contact-info span {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .site-footer .copyright-wrap {
        padding: 18px 0 22px;
    }

    .site-footer .copyright-text {
        line-height: 1.65;
    }

    .site-footer .copyright-text__line {
        display: block;
    }

    .site-footer .copyright-text__credit {
        white-space: normal;
        margin-top: 6px;
    }
}

@media (max-width: 380px) {
    .site-footer .footer-container {
        padding-left: 14px;
        padding-right: 14px;
    }

}


/* Mobile background image - hidden on desktop by default */
.hero-slider__mobile-media {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slider__mobile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hero-slider__mobile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 61, 42, 0.55) 0%,
        rgba(10, 61, 42, 0.75) 20%,
        rgba(10, 61, 42, 0.92) 100%
    );
    mix-blend-mode: multiply;
}




/* Show only on mobile / tablet, make section relative so content sits on top */
@media (max-width: 991px) {
    .single-slider.slider-bg.hero-slider {
        position: relative;
        min-height: 100vh;
    }

    .hero-slider__mobile-media {
        display: block;
    }

    .hero-slider__content {
        position: relative;
        z-index: 2;
        padding: 40px 16px;
    }

    /* text visible over the photo */
    .hero-slider__content h2,
    .hero-slider__content p {
        color: #ffffff;
    }

    .hero-slider__content h2 {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }

    .in-person-banner__content {
        flex: 1 1 140px;
    }
}