/* Page-specific styles: testimonials.css */

/* Fonts */

        /* General Reset */

        body {
            font-family: 'AlibabaSans-Regular', sans-serif;
            background-color: #FFFFFF;
            width: 100%;
            margin: 0 auto;
            color: #2C3E50;
            overflow-x: hidden;
        }

        /* Color Variables */

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--medium-green), var(--teal-green));
            padding: 5px 5%;
            text-align: center;
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .hero-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.1;
            background-image: radial-gradient(var(--white) 1px, transparent 1px);
            background-size: 30px 30px;
            z-index: 0;
        }

        .breadcrumb {
            display: none !important;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero h1 {
            font-family: 'NotoSerifCJKsc-Bold';
            font-size: 64px;
            margin-bottom: 16px;
            color: var(--white);
        }

        .hero h2 {
            font-size: 24px;
            font-weight: normal;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .hero-rating {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .hero-rating .stars {
            color: var(--light-cream);
            font-size: 40px;
            display: flex;
            gap: 5px;
        }

        .hero-rating span {
            font-size: 18px;
            opacity: 0.9;
        }

        .overall-score {
            font-size: 48px;
            font-weight: bold;
            color: var(--white);
        }

        /* Featured Testimonials */
        .featured-section {
            padding: 80px 5%;
            background-color: var(--white);
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h3 {
            font-family: 'NotoSerifCJKsc-Bold';
            font-size: 42px;
            color: var(--dark-slate);
            margin-bottom: 10px;
        }

        .section-title p {
            font-size: 18px;
            color: #666;
        }

        .featured-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .featured-card {
            background: var(--white);
            border: 2px solid var(--teal-green);
            border-radius: 20px;
            padding: 40px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .quote-icon {
            position: absolute;
            top: 30px;
            right: 40px;
            font-size: 60px;
            color: var(--pale-green);
            opacity: 0.5;
        }

        .featured-header {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .featured-img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--teal-green);
        }

        .featured-info h4 {
            font-size: 20px;
            color: var(--dark-slate);
            font-family: 'Alibaba-PuHuiTi-Bold';
        }

        .featured-info p {
            color: #666;
            font-size: 14px;
        }

        .featured-stars {
            color: var(--teal-green);
            font-size: 24px;
        }

        .featured-quote {
            font-size: 22px;
            font-style: italic;
            color: var(--dark-slate);
            line-height: 1.5;
            font-family: 'NotoSerifCJKsc-Bold';
        }

        .featured-text {
            color: #555;
            line-height: 1.6;
            font-size: 16px;
        }

        .loan-tag {
            align-self: flex-start;
            background: var(--pale-green);
            color: var(--dark-slate);
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }

        /* Testimonial Grid */
        .grid-section {
            padding: 80px 5%;
            background-color: var(--white);
        }

        .filters {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 50px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 10px 24px;
            border-radius: 30px;
            border: 1px solid #ddd;
            background: transparent;
            font-family: 'AlibabaSans-Medium';
            cursor: pointer;
            transition: all 0.3s;
            color: #666;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: var(--teal-green);
            color: var(--white);
            border-color: var(--teal-green);
        }

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

        .grid-card {
            background: var(--white);
            border: 1px solid var(--soft-sage);
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
            transition: transform 0.3s;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .grid-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        }

        .card-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .card-user {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .user-thumb {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--teal-green);
        }

        .user-details h5 {
            font-size: 16px;
            color: var(--dark-slate);
            margin-bottom: 2px;
        }

        .user-details span {
            font-size: 12px;
            color: #888;
        }

        .card-stars {
            color: var(--teal-green);
            font-size: 16px;
        }

        .card-badge {
            display: inline-block;
            background: rgba(119, 191, 163, 0.1);
            color: var(--teal-green);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: bold;
            margin-bottom: 5px;
            width: fit-content;
        }

        .card-quote {
            font-size: 15px;
            color: #444;
            line-height: 1.5;
            flex-grow: 1;
        }

        .verified-check {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            color: var(--teal-green);
            margin-top: 10px;
        }

        /* Video Section */
        .video-section {
            background-color: var(--pale-green);
            padding: 80px 5%;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }

        .video-card {
            background: transparent;
            cursor: pointer;
        }

        .video-thumb {
            width: 100%;
            height: 250px;
            background-color: #333;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            margin-bottom: 15px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .video-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
            transition: opacity 0.3s;
        }

        .video-thumb:hover img {
            opacity: 0.6;
        }

        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--teal-green);
            font-size: 30px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            transition: transform 0.2s;
        }

        .video-card:hover .play-btn {
            transform: translate(-50%, -50%) scale(1.1);
        }

        .video-info h5 {
            font-size: 18px;
            color: var(--dark-slate);
            margin-bottom: 5px;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: #555;
        }

        .watch-story {
            color: var(--teal-green);
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Stats Section */
        .stats-section {
            background-color: var(--teal-green);
            padding: 60px 5%;
            text-align: center;
            color: var(--white);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .stat-card {
            padding: 20px;
        }

        .stat-number {
            font-size: 48px;
            font-family: 'NotoSerifCJKsc-Bold';
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .stat-icon {
            font-size: 32px;
            opacity: 0.8;
        }

        .stat-label {
            font-size: 18px;
            opacity: 0.9;
            font-weight: 500;
        }

        /* Loan Type Ratings */
        .ratings-section {
            background: var(--white);
            padding: 80px 5%;
        }

        .ratings-container {
            display: flex;
            justify-content: space-between;
            gap: 30px;
            flex-wrap: wrap;
        }

        .rating-box {
            flex: 1;
            background: #f9f9f9;
            border-radius: 12px;
            padding: 25px;
            text-align: center;
            border: 1px solid #eee;
        }

        .rating-box h4 {
            font-size: 18px;
            color: var(--dark-slate);
            margin-bottom: 10px;
        }

        .rating-num {
            font-size: 36px;
            font-weight: bold;
            color: var(--teal-green);
            margin-bottom: 5px;
        }

        .small-stars {
            color: var(--teal-green);
            font-size: 18px;
            margin-bottom: 5px;
        }

        .rating-desc {
            font-size: 13px;
            color: #888;
        }

        /* Write Review */
        .review-form-section {
            background-color: var(--light-cream);
            padding: 80px 5%;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .form-container {
            background: var(--white);
            padding: 50px;
            border-radius: 20px;
            width: 100%;
            max-width: 800px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--dark-slate);
            font-weight: bold;
            font-size: 14px;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            font-family: inherit;
        }

        textarea.form-control {
            resize: vertical;
            height: 120px;
        }

        .star-input {
            display: flex;
            gap: 5px;
            font-size: 24px;
            color: #ddd;
            cursor: pointer;
        }

        .star-input i:hover,
        .star-input i.active {
            color: var(--teal-green);
        }

        .submit-btn {
            background: var(--teal-green);
            color: var(--white);
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            transition: background 0.3s;
        }

        .submit-btn:hover {
            background: var(--medium-green);
        }

        /* Trust Badges */
        .trust-section {
            background: var(--white);
            padding: 60px 5%;
            border-top: 1px solid #eee;
        }

        .trust-grid {
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap;
            gap: 30px;
        }

        .trust-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            text-align: center;
        }

        .trust-icon {
            font-size: 40px;
            color: var(--teal-green);
            background: var(--light-cream);
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .trust-text {
            font-weight: bold;
            color: var(--dark-slate);
        }

        /* CTA Section */


        .cta-section h2 {
            font-family: 'NotoSerifCJKsc-Bold';
            font-size: 48px;
            margin-bottom: 15px;
        }

        .cta-section p {
            font-size: 20px;
            margin-bottom: 40px;
            opacity: 0.9;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn-cream {
            background-color: var(--light-cream);
            color: var(--dark-slate);
            padding: 15px 35px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 18px;
            border: none;
        }

        .btn-medium {
            background-color: var(--medium-green);
            color: var(--white);
            padding: 15px 35px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 18px;
            border: none;
        }

        .btn-white-outline {
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
            padding: 13px 33px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 18px;
        }

        /* Footer */
        footer {
            background-color: var(--dark-slate);
            color: var(--white);
            padding: 80px 5% 40px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-logo {
            font-family: 'Alibaba-PuHuiTi-Bold';
            font-size: 28px;
            margin-bottom: 20px;
            display: block;
        }

        .footer-desc {
            opacity: 0.7;
            line-height: 1.6;
            max-width: 300px;
        }

        .footer-col h4 {
            margin-bottom: 25px;
            font-size: 18px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 15px;
        }

        .footer-links a {
            opacity: 0.7;
            transition: opacity 0.3s;
        }

        .footer-links a:hover {
            opacity: 1;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            opacity: 0.5;
            font-size: 14px;
            flex-wrap: wrap;
            gap: 10px;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {

            .featured-grid,
            .video-grid {
                grid-template-columns: 1fr 1fr;
            }

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

        @media (max-width: 992px) {

            .nav-menu {
                gap: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 42px;
            }

            .featured-grid,
            .testimonials-grid,
            .video-grid {
                grid-template-columns: 1fr;
            }

            .form-grid {
                grid-template-columns: 1fr;
            }

            .form-container {
                padding: 30px 20px;
            }

            .rating-box {
                flex: 1 1 100%;
            }
        }

        @media (max-width: 480px) {

            .footer-grid,
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .header-buttons {
                flex-direction: column;
                width: 100%;
            }

        }
