﻿/* ═══════════════════════════════════════════════
   PUBLIC TESTIMONIALS PAGE STYLES
   ═══════════════════════════════════════════════ */

/* === HERO === */
.testimonials-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(124, 77, 255, .15), transparent 50%), radial-gradient(circle at 80% 30%, rgba(0, 229, 255, .12), transparent 50%), radial-gradient(circle at 50% 80%, rgba(255, 77, 210, .1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.testimonials-hero-inner {
    position: relative;
    z-index: 2;
}

.testimonials-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 1.5rem 0 1.5rem;
    color: var(--text);
}

    .testimonials-hero-title .line {
        display: block;
    }

.testimonials-hero-desc {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-soft);
    margin-bottom: 2.5rem;
}

/* === Hero Stats === */
.testimonials-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 3rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-rating-display {
    text-align: center;
}

.big-rating-value {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.big-rating-stars {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

    .big-rating-stars i {
        color: rgba(255, 255, 255, 0.15);
        font-size: 1.15rem;
    }

        .big-rating-stars i.filled {
            color: var(--neon-amber);
            filter: drop-shadow(0 0 6px rgba(255, 181, 71, 0.5));
        }

.big-rating-label {
    color: var(--text-soft);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-stat {
    text-align: center;
    min-width: 90px;
}

.hero-stat-value {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.4rem;
}

.hero-stat-label {
    color: var(--text-soft);
    font-size: 0.85rem;
}

.hero-stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   FEATURED TESTIMONIALS
   ═══════════════════════════════════════════════ */
.featured-testimonials-section {
    padding: 5rem 0 3rem;
}

.featured-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.featured-testimonial-card {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(145deg, rgba(124, 77, 255, 0.08), rgba(0, 212, 255, 0.04));
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    transition: all 0.65s var(--ease);
    overflow: hidden;
}

    .featured-testimonial-card:hover {
        transform: translateY(-8px);
        border-color: var(--neon-violet);
        box-shadow: 0 24px 60px rgba(124, 77, 255, 0.25);
    }

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    background: linear-gradient(135deg, #ffb547, #ff4dd2);
    color: #fff;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(255, 181, 71, 0.4);
    z-index: 2;
}

    .featured-badge i {
        font-size: 0.7rem;
    }

.quote-mark-large {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-size: 3rem;
    color: rgba(124, 77, 255, 0.18);
    line-height: 1;
}

/* === Common testimonial elements === */
.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    margin-top: 1.25rem;
}

    .testimonial-rating i {
        color: rgba(255, 255, 255, 0.15);
        font-size: 1rem;
    }

        .testimonial-rating i.filled {
            color: var(--neon-amber);
            filter: drop-shadow(0 0 4px rgba(255, 181, 71, 0.4));
        }

.testimonial-comment {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.85;
    margin: 0 0 1.75rem;
    flex: 1;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--border);
}

.author-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glow);
    flex-shrink: 0;
}

.author-initials {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(124, 77, 255, 0.3);
}

.author-info {
    flex: 1;
    min-width: 0;
}

    .author-info h4 {
        margin: 0 0 0.2rem;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text);
    }

    .author-info span {
        color: var(--text-muted);
        font-size: 0.82rem;
        font-weight: 500;
    }

/* ═══════════════════════════════════════════════
   RATING DISTRIBUTION
   ═══════════════════════════════════════════════ */
.rating-stats-section {
    padding: 4rem 0;
}

.rating-stats-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    backdrop-filter: blur(12px);
    max-width: 900px;
    margin: 0 auto;
}

.rating-stats-left {
    text-align: center;
    border-left: 1px dashed var(--border);
    padding-left: 2rem;
}

.huge-rating {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 5rem;
    line-height: 1;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.04em;
}

.huge-stars {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    margin: 0.85rem 0 0.6rem;
}

    .huge-stars i {
        color: rgba(255, 255, 255, 0.15);
        font-size: 1.4rem;
    }

        .huge-stars i.filled {
            color: var(--neon-amber);
            filter: drop-shadow(0 0 6px rgba(255, 181, 71, 0.5));
        }

.huge-label {
    color: var(--text-soft);
    font-size: 0.92rem;
}

    .huge-label strong {
        color: var(--text);
        font-weight: 700;
    }

.rating-stats-right {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rating-row {
    display: grid;
    grid-template-columns: 60px 1fr 50px;
    gap: 0.85rem;
    align-items: center;
}

.rating-row-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text);
    font-weight: 700;
}

    .rating-row-label i {
        color: var(--neon-amber);
        font-size: 0.85rem;
    }

.rating-row-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.rating-row-fill {
    height: 100%;
    background: var(--grad-cta);
    border-radius: 100px;
    box-shadow: 0 0 10px rgba(124, 77, 255, 0.4);
    transition: width 1s ease;
}

.rating-row-count {
    text-align: center;
    color: var(--text-soft);
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.92rem;
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS GRID
   ═══════════════════════════════════════════════ */
.testimonials-grid-section {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: all 0.6s var(--ease);
}

    .testimonial-card:hover {
        transform: translateY(-6px);
        border-color: var(--border-glow);
        box-shadow: 0 20px 50px rgba(124, 77, 255, 0.18);
    }

.testimonial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.testimonial-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: var(--font-mono);
}

    .testimonial-date i {
        color: var(--neon-cyan);
        font-size: 0.7rem;
    }

.testimonial-quote-icon {
    font-size: 1.6rem;
    color: rgba(124, 77, 255, 0.18);
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════ */
.testimonials-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

    .testimonials-pagination .page-link {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.65rem 1rem;
        background: rgba(13, 15, 36, 0.6);
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--text-soft);
        font-size: 0.88rem;
        font-weight: 600;
        text-decoration: none;
        min-width: 42px;
        justify-content: center;
        transition: all 0.4s var(--ease);
    }

        .testimonials-pagination .page-link:hover {
            border-color: var(--border-glow);
            color: var(--text);
            transform: translateY(-2px);
        }

        .testimonials-pagination .page-link.active {
            background: var(--grad-cta);
            border-color: transparent;
            color: #fff;
            box-shadow: 0 8px 18px rgba(124, 77, 255, 0.35);
        }

/* ═══════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════ */
.testimonials-empty {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

    .testimonials-empty i {
        font-size: 5rem;
        color: var(--text-dim);
        margin-bottom: 1.5rem;
        opacity: 0.45;
    }

    .testimonials-empty h2 {
        font-size: 1.7rem;
        margin: 0 0 1rem;
        color: var(--text);
    }

    .testimonials-empty p {
        color: var(--text-soft);
        font-size: 1.05rem;
        line-height: 1.85;
        margin: 0 0 2rem;
    }

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.testimonials-cta-section {
    padding: 5rem 0;
}

.testimonials-cta-card {
    position: relative;
    padding: 4rem 3rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.95), rgba(20, 21, 48, 0.85));
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(20px);
}

.cta-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.18), transparent 60%);
    pointer-events: none;
    animation: pulseBg 4s ease-in-out infinite;
}

@keyframes pulseBg {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin: 1.25rem 0 1rem;
}

.cta-desc {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══════════════════════════════════════════════
   SUBMIT FORM PAGE
   ═══════════════════════════════════════════════ */
.submit-hero {
    padding: 7rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.submit-hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.submit-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin: 1.25rem 0 1rem;
}

.submit-hero-desc {
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0;
}

.submit-form-section {
    padding: 3rem 0 5rem;
}

.submit-form-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.9), rgba(20, 21, 48, 0.75));
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* === Form Section === */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed var(--border);
}

    .form-section:last-of-type {
        border-bottom: none;
    }

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

    .form-section-title i {
        color: var(--neon-cyan);
        font-size: 0.95rem;
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

    .form-group:last-child {
        margin-bottom: 0;
    }

.form-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

    .form-label i {
        color: var(--neon-cyan);
        font-size: 0.82rem;
    }

.required {
    color: var(--neon-red);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

    .form-input:focus,
    .form-textarea:focus {
        outline: none;
        border-color: var(--neon-violet);
        box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
        background: rgba(124, 77, 255, 0.04);
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: var(--text-muted);
    }

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-hint {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

    .form-hint i {
        color: var(--neon-cyan);
        font-size: 0.72rem;
        margin-left: 0.25rem;
    }

.validation-error {
    display: block;
    margin-top: 0.4rem;
    color: var(--neon-red);
    font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════
   STAR RATING
   ═══════════════════════════════════════════════ */
.rating-group {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px dashed var(--border);
}

    .rating-group .form-label {
        justify-content: center;
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

.star-rating-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.4rem;
    direction: ltr;
}

    .star-rating input[type="radio"] {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
        pointer-events: none;
    }

.star-label {
    cursor: pointer;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.12);
    transition: all 0.3s var(--ease);
    user-select: none;
}

    .star-label:hover {
        transform: scale(1.15);
    }

    .star-label.active,
    .star-label.hover {
        color: var(--neon-amber);
        filter: drop-shadow(0 0 12px rgba(255, 181, 71, 0.6));
    }

.star-rating input[type="radio"]:checked ~ .star-label {
    /* مع flex-direction: row-reverse, الـ ~ يطبّق على الأعلى للقيمة الأكبر */
}

/* تطبيق active class على النجوم بـ JS لتفادي تعقيدات CSS */

.rating-feedback {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 181, 71, 0.1), rgba(255, 77, 210, 0.05));
    border: 1px solid rgba(255, 181, 71, 0.3);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.rating-value {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ffb547, #ff4dd2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.rating-text {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════
   IMAGE UPLOAD AREA
   ═══════════════════════════════════════════════ */
.image-upload-area {
    position: relative;
    min-height: 180px;
    background: linear-gradient(145deg, rgba(124, 77, 255, 0.04), rgba(0, 212, 255, 0.02));
    border: 2px dashed rgba(124, 77, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

    .image-upload-area:hover,
    .image-upload-area.drag-over {
        border-color: var(--neon-violet);
        background: linear-gradient(145deg, rgba(124, 77, 255, 0.08), rgba(0, 212, 255, 0.04));
    }

.image-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-soft);
    pointer-events: none;
}

.upload-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(124, 77, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.4s var(--ease);
}

.image-upload-area:hover .upload-icon {
    background: var(--grad-cta);
    color: #fff;
    transform: translateY(-3px);
}

.upload-placeholder h4 {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
}

.upload-placeholder p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.upload-placeholder small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.upload-preview {
    position: relative;
    padding: 1rem;
    text-align: center;
}

    .upload-preview img {
        max-height: 200px;
        max-width: 100%;
        border-radius: 12px;
        border: 1px solid var(--border-glow);
    }

.remove-img-btn {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--neon-red);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 3;
    box-shadow: 0 6px 14px rgba(255, 77, 109, 0.4);
    transition: transform 0.3s var(--ease);
}

    .remove-img-btn:hover {
        transform: rotate(90deg) scale(1.1);
    }

/* ═══════════════════════════════════════════════
   SUBMIT NOTICE
   ═══════════════════════════════════════════════ */
.submit-notice {
    display: flex;
    gap: 0.85rem;
    padding: 1.1rem 1.4rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(124, 77, 255, 0.03));
    border: 1px dashed rgba(0, 212, 255, 0.3);
    border-radius: 14px;
    margin: 2rem 0;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

    .submit-notice i {
        color: var(--neon-cyan);
        font-size: 1.25rem;
        flex-shrink: 0;
        margin-top: 0.15rem;
    }

    .submit-notice strong {
        color: var(--text);
    }

/* === Form Actions === */
.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

    .form-actions .btn {
        flex: 1;
        min-width: 200px;
        justify-content: center;
    }

/* ═══════════════════════════════════════════════
   ALERT MESSAGES
   ═══════════════════════════════════════════════ */
.alert {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.alert-error {
    background: rgba(255, 77, 109, 0.08);
    border: 1px solid rgba(255, 77, 109, 0.25);
    color: var(--neon-red);
}

    .alert-error i {
        font-size: 1.1rem;
        flex-shrink: 0;
    }

/* ═══════════════════════════════════════════════
   THANK YOU PAGE
   ═══════════════════════════════════════════════ */
.thankyou-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.thankyou-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.95), rgba(20, 21, 48, 0.85));
    border: 1px solid var(--border-glow);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(0, 230, 118, 0.2);
    text-align: center;
    position: relative;
    z-index: 2;
}

.success-icon-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
}

.success-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 230, 118, 0.5);
    position: relative;
    z-index: 2;
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.success-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    opacity: 0;
    animation: ringExpand 2s ease-out infinite;
}

    .success-ring.ring-2 {
        animation-delay: 0.7s;
    }

    .success-ring.ring-3 {
        animation-delay: 1.4s;
    }

@keyframes ringExpand {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.thankyou-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin: 1.25rem 0 1rem;
}

.thankyou-desc {
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0 0 2.5rem;
}

/* === Steps === */
.thankyou-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin: 2.5rem 0;
    flex-wrap: nowrap;
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 1.25rem 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.4s var(--ease);
    min-width: 0;
}

    .step-item.completed {
        background: rgba(0, 230, 118, 0.06);
        border-color: rgba(0, 230, 118, 0.3);
    }

    .step-item.active {
        background: linear-gradient(145deg, rgba(124, 77, 255, 0.1), rgba(0, 212, 255, 0.05));
        border-color: var(--border-glow);
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(124, 77, 255, 0.18);
    }

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 auto 0.75rem;
}

.step-item.completed .step-icon {
    background: var(--neon-green);
    color: #fff;
}

.step-item.active .step-icon {
    background: var(--grad-cta);
    color: #fff;
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.step-info h4 {
    margin: 0 0 0.25rem;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
}

.step-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.step-divider {
    width: 24px;
    height: 1px;
    background: var(--border);
    align-self: center;
    flex-shrink: 0;
}

/* === Actions === */
.thankyou-actions {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══════════════════════════════════════════════
   AOS Optimizations
   ═══════════════════════════════════════════════ */
[data-aos] {
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .rating-stats-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rating-stats-left {
        border-left: none;
        padding-left: 0;
        padding-bottom: 1.5rem;
        border-bottom: 1px dashed var(--border);
    }
}

@media (max-width: 768px) {
    .testimonials-hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .testimonials-hero-stats {
        gap: 1rem;
        padding: 1.5rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .big-rating-value {
        font-size: 2.5rem;
    }

    .featured-testimonials-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .submit-form-wrap {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

        .form-actions .btn {
            width: 100%;
            min-width: auto;
        }

    .star-label {
        font-size: 2.2rem;
    }

    .thankyou-card {
        padding: 2.5rem 1.75rem;
        border-radius: 22px;
    }

    .success-icon-wrap {
        width: 110px;
        height: 110px;
    }

    .success-icon {
        font-size: 2.75rem;
    }

    .thankyou-steps {
        flex-direction: column;
        gap: 0.75rem;
    }

    .step-divider {
        width: 1px;
        height: 16px;
    }

    .rating-row {
        grid-template-columns: 50px 1fr 40px;
        gap: 0.65rem;
    }
}

@media (max-width: 480px) {
    .star-label {
        font-size: 2rem;
    }

    .rating-feedback {
        padding: 0.65rem 1rem;
    }

    .rating-value {
        font-size: 1.25rem;
    }

    .rating-text {
        font-size: 0.85rem;
    }
}
