/* State-of-the-Art Testimonial Hero */
.testimonial-hero-professional {
    position: relative;
    padding: 180px 0 120px;
    background: radial-gradient(circle at 0% 0%, #0c2137 0%, #05111d 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(26, 142, 179, 0.2);
    top: -100px;
    right: -50px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(12, 33, 55, 0.6);
    bottom: -50px;
    left: -50px;
}

.hero-centered {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hub-sup-title {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(26, 142, 179, 0.2);
    border: 1px solid rgba(26, 142, 179, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #4dc2e5;
    margin-bottom: 25px;
}

.hub-main-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hub-main-title span {
    color: var(--primary-blue);
    background: linear-gradient(135deg, #1a8eb3 0%, #4dc2e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hub-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.hero-stats-centered {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.stat-box strong {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-box span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4dc2e5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Immersive CTA Section */
.gallery-cta {
    padding: 120px 0;
    background: #05111d;
    position: relative;
    overflow: hidden;
}

.gallery-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(26, 142, 179, 0.15) 0%, transparent 70%);
}

.cta-inner-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 60px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.cta-inner-card h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-inner-card p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.p-submit-button {
    background: var(--primary-blue);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(26, 142, 179, 0.3);
}

.action-link-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.action-link-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
}

@media (max-width: 992px) {
    .hub-main-title { font-size: 3.2rem; }
    .hero-stats-centered { flex-wrap: wrap; }
    .cta-inner-card h2 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hub-main-title { font-size: 2.5rem; }
    .hero-stats-centered { flex-direction: column; }
    .stat-box { min-width: 100%; }
    .cta-inner-card { padding: 50px 30px; }
    .cta-btns { flex-direction: column; }
    .cta-inner-card h2 { font-size: 2.2rem; }
}

/* Elite Success Gallery Grid */
.success-gallery {
    padding: 120px 0;
    background: #f8fafc;
}

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

.gallery-card {
    background: var(--white);
    padding: 45px;
    border-radius: 16px;
    border: 1px solid #eaeff5;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: default;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(26, 142, 179, 0.1);
    border-color: var(--primary-blue);
}

.gallery-card.hidden {
    display: none;
}

.card-top-meta {
    margin-bottom: 25px;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star-rating i {
    color: #ffc107;
    font-size: 0.85rem;
}

.verified-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(240, 253, 244, 0.8);
    backdrop-filter: blur(4px);
    color: #16a34a;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(220, 252, 231, 0.5);
    z-index: 5;
}

.card-quote-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    opacity: 0.08;
    margin-bottom: 15px;
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 30px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-full-story {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    margin-bottom: 35px;
    border: none;
    background: none;
    padding: 0;
}

.read-full-story:hover {
    gap: 12px;
    opacity: 0.8;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.avatar-blue { background: linear-gradient(135deg, #1a8eb3 0%, #157391 100%); }
.avatar-green { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.avatar-orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.avatar-pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.avatar-indigo { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.avatar-amber { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.avatar-rose { background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%); }
.avatar-cyan { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.avatar-lime { background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%); }
.avatar-purple { background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); }
.avatar-red { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.avatar-yellow { background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%); }
.avatar-teal { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }

.student-details h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 2px;
}

.student-details span {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

/* Elite Modal Logic */
.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    max-width: 700px;
    width: 100%;
    border-radius: 24px;
    padding: 60px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.story-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.modal-body {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #334155;
}

/* Pagination */
.load-more-container {
    padding: 80px 0;
    text-align: center;
}

.elite-load-btn {
    background: var(--white);
    color: var(--primary-blue);
    border: 1px solid #e2e8f0;
    padding: 18px 45px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.elite-load-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 142, 179, 0.2);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 40px 30px;
    }
}
