/*==================================================
REVIEWS HEADER
==================================================*/

.reviews-header{

    background:#0b1120;

    padding:170px 20px 90px;

    text-align:center;

}

.reviews-header .container{

    max-width:900px;

    margin:0 auto;

}

.reviews-header h1{

    font-size:3.8rem;

    color:var(--text);

    margin-bottom:25px;

}

.reviews-header p{

    font-size:1.2rem;

    line-height:1.8;

    color:var(--grey);

}

/*==================================================
GOOGLE REVIEW CARD
==================================================*/

.google-review-section{

    background:#151d31;

    padding:80px 20px;

}

.google-review-card{

    max-width:750px;

    margin:auto;

    background:var(--card);

    border-radius:22px;

    padding:50px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.google-review-card:hover{

    transform:translateY(-6px);

}

.google-review-card img{

    width:170px;

    margin-bottom:25px;

}

.google-review-card h2{

    font-size:3rem;

    color:#ffc107;

    margin-bottom:15px;

}

.google-review-card p{

    color:var(--grey);

    margin-bottom:35px;

    font-size:1.05rem;

}

.google-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/*==================================================
REVIEWS
==================================================*/

.reviews-section{

    background:#0b1120;

    padding:90px 20px;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:2.7rem;

    margin-bottom:15px;

}

.section-title p{

    color:var(--grey);

}

#reviews-container{

    max-width:1300px;

    margin:auto;

}

/*==================================================
WHY US
==================================================*/

.why-us{

    background:#151d31;

    padding:90px 20px;

}

.why-us .container{

    max-width:1300px;

    margin:auto;

}

.why-us h2{

    text-align:center;

    margin-bottom:15px;

    font-size:2.7rem;

}

.section-subtitle{

    text-align:center;

    color:var(--grey);

    max-width:700px;

    margin:0 auto 60px;

}

.benefits-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.benefit-card{

    background:var(--card);

    border-radius:18px;

    padding:40px 30px;

    text-align:center;

    transition:.3s;

}

.benefit-card:hover{

    transform:translateY(-8px);

}

.benefit-card i{

    font-size:42px;

    color:var(--primary);

    margin-bottom:20px;

}

.benefit-card h3{

    margin-bottom:15px;

}

.benefit-card p{

    color:var(--grey);

    line-height:1.7;

}

/*==================================================
CTA
==================================================*/

.reviews-cta{

    background:#0b1120;

    padding:100px 20px;

    text-align:center;

}

.reviews-cta .container{

    max-width:800px;

    margin:auto;

}

.reviews-cta h2{

    font-size:3rem;

    margin-bottom:20px;

}

.reviews-cta p{

    color:var(--grey);

    line-height:1.8;

    margin-bottom:40px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/*==================================================
LIGHT MODE
==================================================*/

body.light-mode .reviews-header{

    background:#eef3f8;

}

body.light-mode .google-review-section{

    background:#f5f7fb;

}

body.light-mode .reviews-section{

    background:#eef3f8;

}

body.light-mode .why-us{

    background:#f5f7fb;

}

body.light-mode .reviews-cta{

    background:#eef3f8;

}

body.light-mode .google-review-card,

body.light-mode .benefit-card{

    background:white;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

body.light-mode .reviews-header h1,

body.light-mode .why-us h2,

body.light-mode .reviews-cta h2,

body.light-mode .section-title h2,

body.light-mode .benefit-card h3{

    color:#1a1a1a;

}

body.light-mode .reviews-header p,

body.light-mode .section-title p,

body.light-mode .section-subtitle,

body.light-mode .benefit-card p,

body.light-mode .google-review-card p,

body.light-mode .reviews-cta p{

    color:#555;

}

/*==================================================
RESPONSIVE
==================================================*/

@media (max-width:900px){

    .reviews-header{

        padding:140px 20px 70px;

    }

    .reviews-header h1{

        font-size:2.6rem;

    }

    .google-review-card{

        padding:35px 25px;

    }

    .google-review-card img{

        width:130px;

    }

    .google-review-card h2{

        font-size:2.2rem;

    }

    .section-title h2,

    .why-us h2,

    .reviews-cta h2{

        font-size:2.2rem;

    }

    .google-buttons,

    .cta-buttons{

        flex-direction:column;

        align-items:center;

    }

    .google-buttons a,

    .cta-buttons a{

        width:100%;

        max-width:320px;

        text-align:center;

    }

}

/*=========================================
SCROLLING REVIEWS
=========================================*/

#reviews-container{

    overflow:hidden;

    width:100%;

}

.reviews-track{

    display:flex;

    gap:30px;

    width:max-content;

    animation:scrollReviews 45s linear infinite;

}

.reviews-track:hover{

    animation-play-state:paused;

}

.review-card{

    width:380px;

    flex-shrink:0;

}

@keyframes scrollReviews{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}

.review-avatar{

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

    font-size:22px;

}

.review-header{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

}

.review-date{

    color:var(--grey);

    font-size:.9rem;

}

.review-stars{

    color:#ffc107;

    margin-bottom:18px;

    font-size:1.1rem;

}

#reviews-container{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));

    gap:30px;

    max-width:1300px;

    margin:auto;

}

.review-card{

    background:var(--card);

    padding:30px;

    border-radius:18px;

    box-shadow:var(--shadow);

    transition:.3s;

}

.review-card:hover{

    transform:translateY(-6px);

}

.review-header{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

}

.review-avatar{

    width:55px;

    height:55px;

    background:var(--primary);

    color:white;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

}

.review-stars{

    color:#ffc107;

    font-size:20px;

    margin-bottom:15px;

}