/* Testimonials Page Styles */

/* Hero Section */
.testimonials-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background: center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #fff;
    padding-bottom: 70px;
}

.testimonials-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonials-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 680px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.testimonials-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 0;
    margin: 0;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: #AB966C;
    flex-shrink: 0;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .testimonials-hero {
        align-items: center;
        justify-content: center;
    }

    .testimonials-hero-content {
        text-align: center;
        align-items: center;
    }


    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .testimonials-hero {
        align-items: center;
        /* justify-content: center; */
    }

    .hero-subtitle {
        font-size: 10px !important;
        letter-spacing: 1.5px;
    }
}

/* Google Reviews Banner */
.google-reviews-banner {
    background: #1a2332;
    padding: 0;
}

.gr-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 22px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.gr-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.gr-platform-name {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2px;
}

.gr-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.gr-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.gr-number {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.gr-stars {
    display: flex;
    gap: 3px;
}

.gr-stars i {
    color: #AB966C;
    font-size: 12px;
}

.gr-caption {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.3px;
}

.gr-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #AB966C;
    text-decoration: none;
    border-bottom: 1px solid rgba(171, 150, 108, 0.4);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.gr-link:hover {
    color: #d4b896;
    border-color: #d4b896;
}

.gr-link i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.gr-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .gr-banner-inner {
        flex-wrap: wrap;
        gap: 14px 24px;
        padding: 18px 24px;
        justify-content: center;
    }

    .gr-divider {
        display: none;
    }

    .gr-caption {
        display: none;
    }
}

/* Testimonials Grid Section */
.testimonials-grid-section {
    padding: 100px 0;
    background: #f4f3f0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    color: #1a2332;
    margin-bottom: 20px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.5px;
}

/* Masonry layout — cards size to their content */
.testimonials-grid-section .row {
    display: block !important;
    columns: 3;
    column-gap: 28px;
}

.testimonials-grid-section .col-lg-4,
.testimonials-grid-section .col-md-6 {
    break-inside: avoid;
    display: block !important;
    width: 100% !important;
    float: none !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0;
}

.testimonial-card {
    background: #fff;
    padding: 36px 38px 32px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    border: none;
    border-left: 3px solid #AB966C;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: #AB966C;
    opacity: 0.18;
    position: absolute;
    top: 16px;
    right: 24px;
    font-weight: 700;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10);
}

.testimonial-card .stars {
    margin-bottom: 18px;
    justify-content: flex-start;
    gap: 4px;
}

.testimonial-card .stars i {
    font-size: 13px;
    color: #AB966C;
}

.testimonial-text {
    font-size: 14.5px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 24px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.1px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid #ede9e1;
    margin-top: auto;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: #f4f3f0;
    border: 1.5px solid #AB966C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AB966C;
    font-size: 16px;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card:hover .author-avatar {
    background: linear-gradient(135deg, #AB966C 0%, #d4b896 100%);
    color: #fff;
    border-color: transparent;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

.author-title {
    font-size: 12px;
    color: #AB966C;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* CTA Section */
.testimonials-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2332 0%, #2D5085 100%);
    text-align: center;
    color: #fff;
}

.testimonials-cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.testimonials-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #AB966C;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(171, 150, 108, 0.3);
}

.testimonials-cta-btn:hover {
    background: #d4b896;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(171, 150, 108, 0.4);
    color: #fff;
}

.testimonials-cta-btn i {
    transition: transform 0.3s ease;
}

.testimonials-cta-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .testimonials-hero h1 {
        font-size: 42px;
    }

    .section-title {
        font-size: 36px;
    }

    .testimonials-grid-section,
    .testimonials-cta-section {
        padding: 70px 0;
    }

    .google-reviews-widget {
        padding: 30px 20px;
    }

    .testimonials-grid-section .row {
        columns: 2;
    }
}

@media (max-width: 767px) {
    .testimonials-hero {
        height: 50vh;
        min-height: 400px;
    }

    .testimonials-hero h1 {
        font-size: 32px;
    }


    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .testimonials-grid-section,
    .testimonials-cta-section {
        padding: 50px 0;
    }

    .testimonials-grid-section .row {
        columns: 1;
    }

    .testimonial-card {
        padding: 24px 22px;
    }

    .testimonials-cta-content h2 {
        font-size: 28px;
    }

    .testimonials-cta-content p {
        font-size: 16px;
    }
}
