﻿:root {
    --teal: #156669;
    --teal-contrast: #fff;
    --accent-pink: #b24ca6;
    --accent-yellow: #ffc24a;
    --sand: #f4e1d2;
    --dark: #333;
    --muted: #4f8a43;
    --call-yellow: #f9a825;
    --call-hover: #f57f17;
}

/* fallbacks */
.pinkColor {
    color: var(--accent-pink, #b24ca6);
}

.tealColor {
    color: var(--teal, #156669);
}

.bg-teal {
    background-color: var(--teal, #156669);
    color: var(--teal-contrast, #fff);
}

.bg-page-wrapper {
    position: relative; /* ensure video is confined here */
    overflow: visible;
    min-height: 70vh;
}

    .bg-page-wrapper .bg-video {
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0; */
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        opacity: 0.6;
        pointer-events: none;
    }

    /* overlay content above the video */
    .bg-page-wrapper .content-overlay {
        position: relative;
        z-index: 1;
    }

/* --- Background video (original working rules) --- */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

/* --- overlay and testimonials (original working rules) --- */
.content-overlay {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding-top: 20vh;
}

.txtBlock {
    text-align: left;
}

.blockPadding {
    padding: 20px;
}

/* testimonial layout */
.testimonial-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
}

.testimonial-block {
    width: 350px;
    height: 450px;
    background-color: transparent;
    border: 1px solid teal;
    border-radius: 12px;
    padding: 1rem;
    font-family: 'Athiti', sans-serif;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .testimonial-block .message {
        margin-bottom: 10px;
    }

    .testimonial-block .author {
        color: #fff;
        font-weight: 600;
    }

    .testimonial-block .date {
        font-size: 0.85rem;
        font-weight: 600;
        color: white;
        margin-bottom: 10px;
        font-style: italic;
    }

/* keep video behind page content even if some parent creates a stacking context */
html, body {
    background: transparent;
}
/* do not force backgrounds here */
