/* Homepage: scholarships, testimonials, AI CTA panel, section/book placeholder treatments */

/* .section--tinted was a second name for "tinted section" that resolved
   to the body colour, so it tinted nothing. .section-bg (layout/grid.css)
   is the one that does the job; this alias is kept only so the existing
   markup keeps parsing, and intentionally carries no background. */

/* Scholarship cards — one restrained treatment, no per-card colored borders */
.program-card--scholarship {
    position: relative;
}

.scholarship-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--success-light);
    color: var(--success-green);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.program-card-icon--sm {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    background: var(--success-light);
    color: var(--success-green);
}

.program-card-duration--sm {
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.program-card-stats-inline {
    margin-bottom: 20px;
    background: var(--bg-primary);
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.program-stat-value--success {
    color: var(--success-green);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-card-link--bold {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Testimonials */
.testimonials-grid {
    gap: 30px;
}

.testimonial-card {
    position: relative;
    text-align: left;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.testimonial-quote-mark {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    opacity: 0.08;
    color: var(--text-primary);
}

.testimonial-stars {
    color: var(--star-fill);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 500;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 25px;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--sky-blue);
    color: var(--medical-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.testimonial-name {
    margin: 0;
    color: var(--medical-blue);
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-university {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-university i {
    font-size: 10px;
}

.testimonial-score-badge {
    display: inline-block;
    background: var(--sky-blue);
    color: var(--medical-blue);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-top: 5px;
}

/* AI Admission Analysis CTA panel */
.ai-cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--medical-blue-dark);
    color: white;
}

.ai-cta-panel__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
}

.ai-cta-panel__content {
    padding: 60px;
}

.ai-cta-badge {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ai-cta-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.ai-cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ai-cta-btn {
    background: white;
    color: var(--medical-blue);
    padding: 16px 32px;
}

/* white -> --bg-primary alone is imperceptible on a dark panel; the shadow is
   what actually communicates the hover here. */
.ai-cta-btn:hover {
    background: var(--bg-primary);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.ai-cta-panel__stats {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-cta-stat {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-cta-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.ai-cta-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

@media (max-width: 900px) {
    .ai-cta-panel__grid {
        grid-template-columns: 1fr;
    }

    .ai-cta-panel__content {
        padding: 40px;
    }

    .ai-cta-panel__stats {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}
