/*
=========================================================
Testimonials Page
Assisi ANM Nursing School
=========================================================
*/

:root{

    --primary:#0F4C81;
    --primary-dark:#0A3A61;

    --secondary:#2BAE9B;

    --light:#F7FBFF;

    --white:#ffffff;

    --text:#2E3A46;

    --text-light:#6D7B88;

    --border:#E7EEF5;

    --shadow:0 20px 60px rgba(15,76,129,.08);

    --radius:22px;

    --transition:.35s ease;

}

.testimonials-page{

    background:#F5F9FC;

    overflow:hidden;

}

.assisi-container{

    width:min(1320px,92%);

    margin:auto;

}

.testimonial-hero,
.featured-testimonial,
.testimonials-grid-section,
.testimonial-stats,
.testimonial-cta{

    padding:90px 0;

}

.section-tag,
.hero-label,
.cta-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:8px 18px;

    border-radius:50px;

    background:#E8F5F8;

    color:var(--secondary);

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    font-size:13px;

}

.testimonials-page h1{

    font-size:58px;

    line-height:1.15;

    margin:20px 0;

    color:var(--primary);

}

.testimonials-page h2{

    font-size:42px;

    line-height:1.2;

    color:var(--primary);

    margin-bottom:25px;

}

.testimonials-page h3{

    font-size:24px;

}

.testimonials-page p{

    color:var(--text-light);

    line-height:1.8;

    font-size:17px;

}

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    background:linear-gradient(
    135deg,
    var(--primary),
    var(--secondary));

    color:#fff;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:var(--transition);

    box-shadow:0 15px 40px rgba(15,76,129,.25);

}

.btn-primary:hover{

    transform:translateY(-4px);

}

.btn-outline{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    border-radius:50px;

    border:2px solid var(--primary);

    color:var(--primary);

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.btn-outline:hover{

    background:var(--primary);

    color:#fff;

}

.btn-outline-light{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    border-radius:50px;

    border:2px solid rgba(255,255,255,.35);

    color:#fff;

    text-decoration:none;

    transition:.3s;

}

.btn-outline-light:hover{

    background:#fff;

    color:var(--primary);

}

/*====================================================
Testimonials Hero - Corrected
====================================================*/

.testimonial-hero {
    padding: 90px 0;
    background: #f3f8fc;
    min-height: auto;
}

.testimonial-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    align-items: center;
    gap: 70px;
}

.testimonial-left {
    max-width: 760px;
}

.testimonial-left h1 {
    margin: 28px 0 24px;
}

.testimonial-left > p {
    max-width: 760px;
    margin-bottom: 20px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 20px 0 36px;
}

.hero-stars {
    display: flex;
    gap: 3px;
    margin: 0;
    color: #f9b000;
    font-size: 21px;
}

.hero-rating strong {
    display: inline;
    color: #23384d;
    font-size: 18px;
}

.hero-rating > div:last-child span {
    color: #23384d;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.testimonial-right {
    position: relative;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo {
    width: 100%;
    min-height: 520px;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, #dfeff6, #edf7f8);
    box-shadow: 0 24px 70px rgba(15, 76, 129, 0.12);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 32px;
}

.hero-review-card {
    position: absolute;
    left: -45px;
    bottom: 35px;
    z-index: 2;
    width: min(330px, 85%);
    padding: 26px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(15, 76, 129, 0.18);
}

.hero-review-card p {
    margin: 12px 0 18px;
    color: #576879;
    font-size: 15px;
    line-height: 1.7;
}

.hero-review-card h4 {
    margin: 0 0 5px;
    color: #0f4c81;
    font-size: 18px;
}

.hero-review-card > span {
    color: #788897;
    font-size: 14px;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin: 0;
    color: #f9b000;
    font-size: 19px;
}

.empty{

    color:#d6d6d6;

}

/*====================================================
Featured Testimonial
====================================================*/

.featured-testimonial{

    background:#ffffff;

}

.featured-card{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:60px;

    align-items:center;

    background:#fff;

    border-radius:30px;

    padding:50px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

}

.featured-image{

    overflow:hidden;

    border-radius:25px;

}

.featured-image img{

    width:100%;

    display:block;

    object-fit:cover;

    transition:.5s;

}

.featured-card:hover .featured-image img{

    transform:scale(1.05);

}


.featured-placeholder{

    width:100%;

    height:500px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:120px;

    background:#EEF7FA;

}

.featured-content{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.featured-stars{

    margin:20px 0;

    color:#FDBB2D;

    font-size:24px;

}

.featured-stars span{

    margin-right:4px;

}

.featured-content h2{

    font-size:42px;

    line-height:1.2;

    color:#0F4C81;

    margin-bottom:20px;

}
.featured-content p{

    font-size:17px;

    line-height:1.9;

    color:#666;

    margin-bottom:35px;

}

.featured-meta{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-bottom:40px;

}
.meta-item{

    display:flex;

    align-items:center;

    gap:15px;

}

.meta-icon{

    width:60px;

    height:60px;

    border-radius:50%;

    background:#EAF6FA;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

}

.meta-item strong{

    display:block;

    color:#0F4C81;

    margin-bottom:5px;

}

.meta-item span{

    color:#888;

    font-size:14px;

}

.featured-card{

    transition:.4s;

}

.featured-card:hover{

    transform:translateY(-8px);

    box-shadow:0 35px 80px rgba(0,0,0,.12);

}

/*====================================================
Testimonials Grid
====================================================*/

.testimonials-grid-section{

    background:#F5F9FC;

}

.section-header{

    text-align:center;

    max-width:760px;

    margin:0 auto 70px;

}

.section-header h2{

    margin:20px 0;

}

.testimonials-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.testimonial-card{

    background:#fff;

    border-radius:24px;

    padding:35px;

    box-shadow:0 15px 40px rgba(15,76,129,.08);

    transition:.35s ease;

    display:flex;

    flex-direction:column;

    height:100%;

    position:relative;

    overflow:hidden;

}

.testimonial-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(15,76,129,.15);

}

.quote-icon{

    width:60px;

    height:60px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #0F4C81,
        #2BAE9B
    );

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin-bottom:20px;

}

.stars{

    margin-bottom:25px;

}

.stars span{

    color:#FDBB2D;

    font-size:20px;

}

.testimonial-text{

    flex:1;

}

.testimonial-text p{

    line-height:1.9;

    color:#666;

    margin-bottom:30px;

}

.testimonial-person{

    display:flex;

    align-items:center;

    gap:18px;

    margin-top:auto;

    margin-bottom:30px;

}

.person-photo{

    width:75px;

    height:75px;

    border-radius:50%;

    overflow:hidden;

    flex-shrink:0;

}

.person-photo img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.person-placeholder{

    width:75px;

    height:75px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#EAF6FA;

    font-size:34px;

}


.person-info h3{

    margin:0;

    color:#0F4C81;

    font-size:20px;

}

.person-role{

    color:#2BAE9B;

    font-weight:600;

    margin:8px 0;

}

.person-details{

    color:#888;

    font-size:14px;

    line-height:1.6;

}



.read-story-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    text-decoration:none;

    padding:14px 25px;

    border-radius:40px;

    background:#0F4C81;

    color:#fff;

    font-weight:600;

    transition:.3s;

}

.read-story-btn:hover{

    background:#2BAE9B;

    color:#fff;

}

.read-story-btn span{

    transition:.3s;

}

.read-story-btn:hover span{

    transform:translateX(6px);

}

.testimonial-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:5px;

    background:linear-gradient(
        90deg,
        #0F4C81,
        #2BAE9B
    );

}


/*====================================================
Statistics Section
====================================================*/

.testimonial-stats{

    background:linear-gradient(
        135deg,
        #0F4C81,
        #2BAE9B
    );

    color:#fff;

}

.stats-header{

    text-align:center;

    max-width:760px;

    margin:0 auto 70px;

}

.stats-header h2{

    color:#fff;

    margin:20px 0;

}

.stats-header p{

    color:rgba(255,255,255,.85);

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.stat-card{

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(15px);

    border:1px solid rgba(255,255,255,.2);

    border-radius:24px;

    padding:40px 25px;

    text-align:center;

    transition:.35s ease;

}

.stat-card:hover{

    transform:translateY(-10px);

    background:rgba(255,255,255,.18);

}

.stat-icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    background:rgba(255,255,255,.18);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

}

.stat-card h3{

    color:#fff;

    font-size:46px;

    margin-bottom:10px;

}

.stat-card p{

    color:rgba(255,255,255,.92);

    font-size:16px;

}

/*====================================================
CTA Section
====================================================*/

.testimonial-cta{

    background:#F5F9FC;

}


.testimonial-cta-wrapper{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:50px;

    align-items:center;

    padding:70px;

    border-radius:30px;

    background:linear-gradient(
        135deg,
        #0F4C81,
        #2BAE9B
    );

    color:#fff;

    overflow:hidden;

    position:relative;

}

.testimonial-cta-content h2{

    color:#fff;

    font-size:48px;

    margin:20px 0;

}

.testimonial-cta-content p{

    color:rgba(255,255,255,.9);

    max-width:650px;

    margin-bottom:35px;

}


.cta-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.testimonial-cta-card{

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(15px);

    border-radius:25px;

    padding:40px;

    border:1px solid rgba(255,255,255,.2);

}


.cta-icon{

    width:80px;

    height:80px;

    border-radius:50%;

    background:#fff;

    color:#0F4C81;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:38px;

    margin-bottom:25px;

}


.testimonial-cta-card h3{

    color:#fff;

    margin-bottom:20px;

}


.cta-features{

    margin-top:25px;

    padding:0;

    list-style:none;

}

.cta-features li{

    margin-bottom:15px;

    color:#fff;

}

.testimonial-cta-wrapper::before{

    content:"";

    position:absolute;

    width:350px;

    height:350px;

    right:-120px;

    top:-120px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

}

.testimonial-cta-wrapper::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    left:-70px;

    bottom:-70px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

}


.testimonial-cta-content,
.testimonial-cta-card {
    position: relative;
    z-index: 1;
}

/*====================================================
Responsive - Tablet
====================================================*/

@media (max-width: 1024px) {

    .testimonial-hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .testimonial-left {
        max-width: 100%;
    }

    .testimonial-right {
        max-width: 700px;
        min-height: auto;
        margin: 0 auto;
    }

    .hero-review-card {
        left: 25px;
        bottom: 25px;
        width: 330px;
        margin: 0;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-cta-wrapper {
        grid-template-columns: 1fr;
    }
}
/*====================================================
Responsive - Mobile
====================================================*/

@media (max-width:768px){

    .testimonial-hero,
    .featured-testimonial,
    .testimonials-grid-section,
    .testimonial-stats,
    .testimonial-cta{

        padding:60px 0;

    }

    .testimonials-page h1{

        font-size:38px;

    }

    .testimonials-page h2{

        font-size:30px;

    }

    .testimonials-page h3{

        font-size:22px;

    }

    .featured-content h2{

        font-size:30px;

    }

    .testimonial-cta-content h2{

        font-size:34px;

    }

    .featured-card{

        padding:30px;

    }

    .testimonial-cta-wrapper{

        padding:40px 30px;

    }

    .featured-meta{

        grid-template-columns:1fr;

    }

    .testimonials-grid{

        grid-template-columns:1fr;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

    .hero-buttons{

        display:flex;

        flex-direction:column;

        gap:15px;

    }

    .cta-buttons{

        display:flex;

        flex-direction:column;

        gap:15px;

    }

    .btn-primary,
    .btn-outline,
    .btn-outline-light{

        width:100%;

        justify-content:center;

    }

    .testimonial-right {
        display: block;
    }

    .hero-photo,
    .hero-photo img,
    .hero-photo-placeholder {
        min-height: 420px;
        height: 420px;
    }

    .hero-review-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% - 30px);
        margin: -55px auto 0;
    }

    .hero-rating {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .hero-buttons {
        align-items: stretch;
    }

}

/*====================================================
Responsive - Small Mobile
====================================================*/

@media (max-width:480px){

    .assisi-container{

        width:92%;

    }

    .hero-review-card{

        padding:20px;

    }

    .testimonial-card{

        padding:25px;

    }

    .stat-card{

        padding:30px 20px;

    }

    .testimonial-cta-card{

        padding:30px;

    }

    .person-photo{

        width:60px;

        height:60px;

    }

    .person-placeholder{

        width:60px;

        height:60px;

        font-size:28px;

    }

    .quote-icon{

        width:50px;

        height:50px;

        font-size:28px;

    }

}


.hero-photo-placeholder {
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: #0f4c81;
    font-weight: 700;
    background:
        radial-gradient(
            circle at top right,
            rgba(43, 174, 155, 0.22),
            transparent 38%
        ),
        linear-gradient(135deg, #dfeff6, #edf7f8);
}