/*
 * Contact Template styles for Richfolds.
 * Loaded only by the Contact Page Template.
 */

.rf-ct1-hero {
    position: relative;
    min-height: 0;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('https://the-tahki-institute.websitepro.hosting/wp-content/uploads/2026/04/about_banner-1-scaled.webp');
    background-position: bottom;
    background-size: auto, cover;
    background-repeat: no-repeat;
    text-align: center;
    box-shadow: 0 2px 5px #0003;
}

.rf-ct1-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(8, 18, 27, 0.38), rgba(8, 18, 27, 0.38)),
        linear-gradient(rgba(8, 18, 27, 0.18), rgba(8, 18, 27, 0.48));
}

.rf-ct1-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 9rem 1.5rem 6rem;
}

.rf-ct1-content {
    width: min(100%, 820px);
    margin: 0 auto;
}

.rf-ct1-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: 'Bodoni Moda', serif;
    font-size: 1rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: #ffbf4e;
    margin-bottom: 2rem;
}

.rf-ct1-kicker::before,
.rf-ct1-kicker::after {
    content: "";
    width: 42px;
    height: 1px;
    background-color: rgba(255, 191, 78, 0.88);
}

.rf-ct1-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1;
    text-transform: uppercase;
    color: #ffbf4e;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.rf-ct1-decor-line {
    background-color: #0000;
    background-image: linear-gradient(to right, transparent, #ffbf4e 50%, transparent);
    width: 35%;
    height: 2px;
    margin: 1.2rem auto 0;
    padding-bottom: 0;
    box-shadow: 0 1px 6px #00000061;
}

.rf-ct-page {
    padding-top: 3rem;
    padding-bottom: 0;
}

.rf-ct-page__body > :first-child {
    margin-top: 0;
}

.rf-ct-page__body > :last-child {
    margin-bottom: 0;
}

.rf-ct2-reviews-section {
    padding: 120px 0;
    background-image: linear-gradient(#ffffffb0, #ffffffb0), url('https://the-tahki-institute.websitepro.hosting/wp-content/uploads/2026/03/forest-scaled.webp');
    background-position: 0 0, 50%;
    background-size: auto, cover;
    background-attachment: scroll, fixed;
}

.rf-ct2-boxed-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media screen and (min-width: 1920px) {
    .rf-ct2-boxed-container {
        max-width: 1440px;
    }
}

.rf-ct2-header {
    text-align: center;
    margin: 0 auto 46px;
}

.rf-ct2-subtitle {
    font-family: 'Bodoni Moda', serif;
    color: #23384b;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
}

.rf-ct2-subtitle::before,
.rf-ct2-subtitle::after {
    content: "";
    width: 58px;
    height: 1px;
    background-color: #23384b;
}

.rf-ct2-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 62px;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #111827;
}

.rf-ct2-carousel {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 56px;
}

.rf-ct2-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.rf-ct2-slides {
    display: flex;
    align-items: stretch;
    width: 100%;
    transform: translate3d(0, 0, 0);
}

.rf-ct2-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
}

.rf-ct2-card {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    padding: 28px 42px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rf-ct2-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #e4b327;
    margin-bottom: 18px;
}

.rf-ct2-stars svg {
    width: 18px;
    height: 18px;
    display: block;
}

.rf-ct2-card-quote {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.55;
    color: #2b2f35;
}

.rf-ct2-card-author {
    margin: 22px 0 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #111827;
}

.rf-ct2-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(93, 93, 93, 0.62);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 3;
}

.rf-ct2-carousel-btn:hover,
.rf-ct2-carousel-btn:focus {
    background: rgba(23, 66, 94, 0.88);
    transform: translateY(-50%) scale(1.05);
}

.rf-ct2-carousel-btn--prev {
    left: 0;
}

.rf-ct2-carousel-btn--next {
    right: 0;
}

.rf-ct2-carousel-btn i {
    font-size: 18px;
}

@media (max-width: 767px) {
    .rf-ct1-hero {
        height: 78vh;
    }

    .rf-ct1-inner {
        padding: 7.5rem 1.25rem 4.5rem;
    }

    .rf-ct1-kicker {
        font-size: 0.8rem;
        letter-spacing: 0.24em;
        gap: 10px;
        margin-bottom: 1.5rem;
    }

    .rf-ct1-kicker::before,
    .rf-ct1-kicker::after {
        width: 28px;
    }

    .rf-ct1-title {
        font-size: 38px;
    }

    .rf-ct1-decor-line {
        width: min(78%, 260px);
    }

    .rf-ct-page {
        padding-top: 2rem;
    }

    .rf-ct2-reviews-section {
        padding: 84px 0;
        background-attachment: scroll, scroll;
    }

    .rf-ct2-boxed-container {
        padding: 0 20px;
    }

    .rf-ct2-subtitle {
        font-size: 16px;
        letter-spacing: 3px;
        gap: 12px;
    }

    .rf-ct2-subtitle::before,
    .rf-ct2-subtitle::after {
        width: 34px;
    }

    .rf-ct2-title {
        font-size: 40px;
        letter-spacing: 0.12em;
    }

    .rf-ct2-carousel {
        padding: 0 0 68px;
    }

    .rf-ct2-card {
        padding: 24px 20px 20px;
    }

    .rf-ct2-card-quote {
        font-size: 16px;
        line-height: 1.6;
    }

    .rf-ct2-carousel-btn {
        top: auto;
        bottom: 0;
        transform: none;
        width: 42px;
        height: 42px;
    }

    .rf-ct2-carousel-btn:hover,
    .rf-ct2-carousel-btn:focus {
        transform: scale(1.05);
    }

    .rf-ct2-carousel-btn--prev {
        left: calc(50% - 52px);
    }

    .rf-ct2-carousel-btn--next {
        right: calc(50% - 52px);
    }
}
