/*==================================================
                GOOGLE FONTS
==================================================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');


/*==================================================
                ROOT VARIABLES
==================================================*/

:root{

    --primary:#2451e8;
    --primary-dark:#1638b8;
    --primary-soft:#eaefff;

    --secondary:#0b1120;
    --secondary-soft:#161f36;

    --light:#f7f8fc;
    --light-grey:#f1f3f8;

    --white:#ffffff;

    --text:#4b5567;
    --heading:#0f1729;

    --border:#e7e9f1;

    --success:#22c55e;
    --danger:#ef4444;
    --warning:#eab308;

    --radius:20px;
    --radius-sm:14px;

    --transition:.3s cubic-bezier(.4,0,.2,1);

    --shadow-sm:
        0 1px 2px rgba(15,23,42,.04),
        0 6px 18px -10px rgba(15,23,42,.10);

    --shadow:
        0 1px 2px rgba(15,23,42,.04),
        0 20px 45px -20px rgba(15,23,42,.16);

    --shadow-lg:
        0 30px 70px -20px rgba(15,23,42,.22);

}


/*==================================================
                RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Inter",sans-serif;
    background:var(--light);
    color:var(--text);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}


/*==================================================
                CUSTOM SCROLLBAR
==================================================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#edf2f7;
}

::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:50px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--primary);
}


/*==================================================
                HERO
==================================================*/

.testimonial-page{
    background:
        radial-gradient(1100px 480px at 50% -120px, rgba(36,81,232,.10), transparent 65%),
        var(--light);
}

.testimonial-hero{
    padding:84px 20px 56px;
    max-width:780px;
    margin:0 auto;
}

.trust-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--primary-soft);
    color:var(--primary-dark);
    font-size:.82rem;
    font-weight:600;
    padding:9px 20px;
    border-radius:50px;
    margin-bottom:24px;
    box-shadow:0 1px 2px rgba(15,23,42,.03);
}

.trust-badge i{
    font-size:.95rem;
}

.testimonial-hero h1{
    font-size:2.9rem;
    font-weight:800;
    color:var(--heading);
    margin-bottom:18px;
    letter-spacing:-1px;
    line-height:1.15;
}

.testimonial-hero p{
    font-size:1.06rem;
    line-height:1.75;
    color:#64748b;
}


/*==================================================
                GOOGLE REVIEW BAR
==================================================*/

.google-review{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:32px 40px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    flex-wrap:wrap;
    box-shadow:var(--shadow-sm);
    position:relative;
    overflow:hidden;
}

.google-review::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:4px;
    background:linear-gradient(var(--primary), var(--primary-dark));
}

.google-review h4{
    font-size:1.2rem;
    font-weight:700;
    color:var(--heading);
    margin-bottom:4px;
}

.google-review > div:first-child p{
    font-size:.9rem;
    color:#64748b;
}

.rating-box{
    display:flex;
    align-items:center;
    gap:16px;
    padding-left:8px;
}

.rating-box > span{
    font-size:2.6rem;
    font-weight:800;
    color:var(--heading);
    letter-spacing:-1px;
}

.rating-box .stars{
    color:var(--warning);
    font-size:1.05rem;
    letter-spacing:2px;
}

.rating-box small{
    display:block;
    color:#94a3b8;
    font-size:.78rem;
    margin-top:3px;
}

.google-review button{
    background:var(--heading);
    border:1px solid var(--heading);
    color:var(--white);
    font-weight:600;
    font-size:.9rem;
    padding:13px 26px;
    border-radius:11px;
    cursor:pointer;
    transition:var(--transition);
}

.google-review button:hover{
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    transform:translateY(-1px);
    box-shadow:0 10px 22px -10px rgba(22,56,184,.5);
}


/*==================================================
                TESTIMONIALS BENTO GRID
==================================================*/

.hospital-testimonials{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.t-card{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:32px;
    display:flex;
    flex-direction:column;
    transition:var(--transition);
    position:relative;
}

.t-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
    border-color:#dde1ee;
}

.t-card--grey{
    background:var(--light-grey);
    border-color:var(--light-grey);
}

.t-card--featured{
    grid-column:span 2;
    flex-direction:row;
    align-items:stretch;
    gap:32px;
    padding:20px;
}

.t-card--featured .t-photo{
    width:230px;
    min-width:230px;
    border-radius:var(--radius-sm);
    object-fit:cover;
}

.t-card--featured .t-body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:12px 20px 12px 4px;
}

.t-header{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
}

.t-avatar{
    width:46px;
    height:46px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid var(--white);
    box-shadow:0 0 0 1px var(--border);
}

.t-name{
    font-size:.98rem;
    font-weight:700;
    color:var(--heading);
}

.t-role{
    font-size:.8rem;
    color:#64748b;
}

.t-stars{
    color:var(--warning);
    font-size:1rem;
    letter-spacing:2px;
    margin-bottom:16px;
}

.t-card--featured .t-stars{
    font-size:1.3rem;
}

.t-quote{
    font-family:"Lora",Georgia,serif;
    font-style:italic;
    font-size:.96rem;
    line-height:1.75;
    color:#334155;
    flex-grow:1;
}

.t-card--featured .t-quote{
    font-size:1.4rem;
    line-height:1.55;
    font-weight:500;
}

.t-divider-name{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:20px;
}

.t-divider-name .bar{
    width:3px;
    align-self:stretch;
    background:var(--primary);
    border-radius:4px;
}

.t-footer-tag{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:.82rem;
    font-weight:600;
    color:#64748b;
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid var(--border);
}

.t-footer-tag i{
    font-size:.95rem;
    color:var(--primary);
}

/* dark card */

.t-card--dark{
    background:linear-gradient(160deg, var(--secondary), var(--secondary-soft));
    color:var(--white);
    justify-content:space-between;
    border-color:var(--secondary);
}

.t-card--dark:hover{
    box-shadow:var(--shadow-lg);
}

.t-card--dark .quote-mark{
    font-family:"Lora",Georgia,serif;
    font-size:2.8rem;
    font-weight:700;
    color:var(--primary);
    opacity:.55;
    line-height:1;
    margin-bottom:8px;
}

.t-card--dark .t-quote{
    color:var(--white);
    font-weight:600;
    font-size:1.18rem;
    line-height:1.55;
    flex-grow:0;
}

.t-card--dark hr{
    border:none;
    border-top:1px solid rgba(255,255,255,.1);
    margin:22px 0 18px;
}

.t-card--dark .t-name{
    color:var(--white);
}

.t-card--dark .t-role{
    color:#8b94a8;
}

.t-card--dark .t-avatar{
    border-color:var(--secondary-soft);
    box-shadow:0 0 0 1px rgba(255,255,255,.14);
}


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

.cta{
    text-align:center;
    padding:90px 20px;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(36,81,232,.08), transparent 70%);
}

.cta h2{
    font-size:2rem;
    font-weight:800;
    color:var(--heading);
    margin-bottom:32px;
    letter-spacing:-.5px;
}

.cta button,
.cta a{
    background:var(--secondary);
    color:var(--white);
    font-weight:600;
    font-size:.95rem;
    padding:15px 30px;
    border:1px solid var(--secondary);
    border-radius:11px;
    margin:0 6px;
    cursor:pointer;
    display:inline-block;
    text-decoration:none;
    transition:var(--transition);
}

.cta button:hover,
.cta a:hover{
    background:var(--primary-dark);
    border-color:var(--primary-dark);
    transform:translateY(-2px);
    box-shadow:0 14px 28px -12px rgba(22,56,184,.45);
}

.cta button.outline,
.cta a.outline{
    background:var(--white);
    color:var(--heading);
    border:1px solid var(--border);
}

.cta button.outline:hover,
.cta a.outline:hover{
    border-color:var(--secondary);
    background:var(--light-grey);
    transform:translateY(-2px);
    box-shadow:none;
}


/*==================================================
                FOOTER
==================================================*/

.footer{
    background:var(--secondary);
    color:#cbd3e1;
    padding:64px 0 32px;
}

.footer .brand{
    font-size:1.2rem;
    font-weight:800;
    color:var(--white);
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
}

.footer .brand-desc{
    color:#8b94a8;
    font-size:.88rem;
    line-height:1.75;
    max-width:260px;
}

.footer h6{
    font-size:.85rem;
    font-weight:700;
    color:var(--white);
    margin-bottom:18px;
    letter-spacing:.3px;
}

.footer ul li{
    margin-bottom:11px;
}

.footer ul li a{
    color:#8b94a8;
    font-size:.88rem;
    transition:var(--transition);
}

.footer ul li a:hover{
    color:var(--white);
    padding-left:2px;
}

.footer .socials{
    display:flex;
    gap:10px;
    margin-bottom:18px;
}

.footer .socials a{
    width:38px;
    height:38px;
    border-radius:50%;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--white);
    transition:var(--transition);
}

.footer .socials a:hover{
    background:var(--primary);
    border-color:var(--primary);
    transform:translateY(-2px);
}

.footer .copyright{
    color:#6b7488;
    font-size:.8rem;
    line-height:1.7;
}


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

@media (max-width:992px){

    .hospital-testimonials{
        grid-template-columns:repeat(2,1fr);
    }

    .t-card--featured{
        grid-column:span 2;
    }

}

@media (max-width:768px){

    .t-card--featured{
        flex-direction:column;
    }

    .t-card--featured .t-photo{
        width:100%;
        min-width:100%;
        height:220px;
    }

    .t-card--featured .t-body{
        padding:20px 4px 4px;
    }

    .testimonial-hero{
        padding:64px 20px 44px;
    }

}

@media (max-width:576px){

    .testimonial-hero h1{
        font-size:2.1rem;
    }

    .hospital-testimonials{
        grid-template-columns:1fr;
    }

    .t-card--featured{
        grid-column:span 1;
    }

    .google-review{
        justify-content:center;
        text-align:center;
        padding:28px 24px;
    }

    .google-review::before{
        display:none;
    }

    .google-review > div:first-child,
    .rating-box{
        justify-content:center;
        width:100%;
    }

    .rating-box{
        padding-left:0;
    }

    .cta{
        padding:64px 20px;
    }

    .cta button,
    .cta a{
        display:block;
        width:100%;
        margin:10px 0;
    }

}