

:root {
    --container-max: 1400px;
    --pad-x: clamp(15px, 3.2vw, 40px);
    --section-space: 60px;
}

@media screen and (max-width: 1024px) {
    :root { --section-space: 45px; }
}

@media screen and (max-width: 767px) {
    :root { --section-space: 40px; }
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.Gallery {
    background-image: url("../photos/testimonial-background.jpg");
    position: relative;
    width: 100%;
    height: clamp(180px, 22vw, 320px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.us {
    position: absolute;
    inset: 0;
    background: rgba(2, 21, 43, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--pad-x);
}

.us h1 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(20px, 4vw + 8px, 56px);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-align: center;
    letter-spacing: -1px;
    padding: 0 20px;
    line-height: 1.15;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: var(--section-space) auto;
    padding: 0 var(--pad-x);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 30px);
}

.t_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: clamp(20px, 2.6vw, 35px);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.35s;
    position: relative;
    align-items: center;
    text-align: center;
}

.t_card:hover {
    transform: translateY(-8px);
}

.avatar {
    width: clamp(56px, 5vw, 70px);
    height: clamp(56px, 5vw, 70px);
    border-radius: 50%;
    background: #FEB73E;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    margin-bottom: 20px;
}

.review {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    
}

.rating {
    color: #FFC107;
    font-size: 20px;
    margin-bottom: 15px;
}

.name {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #082A4D;
}

.city {
    color: #777;
    margin-top: 4px;
    
}

.t-cta {
    text-align: center;
    background: #ff6600;
    color: white;
    padding: var(--section-space) var(--pad-x);
}

.t-cta h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(22px, 2vw + 18px, 42px);
    margin: 0;
    line-height: 1.25;
}

.t-cta p {
    max-width: 700px;
    margin: 20px auto 25px;
    font-size: 18px;
}

.t-btn {
    display: inline-block;
    padding: clamp(12px, 1.2vw, 15px) clamp(24px, 2.6vw, 35px);
    background: white;
    color: #ff6600;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s;
}

.t-btn:hover {
    background: #0f172a;
    color: white;
}


/* ==========================================================
   STRUCTURAL BREAKPOINTS — matches sitewide scale exactly
   (1024 / 991 / 767 / 480 / 320)
========================================================== */

@media screen and (max-width: 1024px) {
    .testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 560px) {
    .testimonials {
        grid-template-columns: 1fr;
    }
}