/* ========================================
   ACADEMIC HIGHLIGHT
   ======================================== */
.academic-highlight {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.academic-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    pointer-events: none;
}

.academic-content {
    flex: 1;
    z-index: 2;
    text-align: left;
}

.academic-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.academic-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.academic-content p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.academic-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ac-stat-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.ac-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.ac-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-family: var(--font-heading);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ac-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.academic-image-container {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    min-height: 250px;
}

.academic-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.academic-image-container:hover img {
    transform: scale(1.05);
}

@media (min-width: 992px) {
    .academic-highlight {
        flex-direction: row;
        align-items: center;
        padding: 50px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .academic-image-container {
        min-height: 400px;
    }
}

/* ========================================
   FMGE TESTIMONIALS SECTION
   ======================================== */
.fmge-testimonials-section {
    padding: 80px 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.fmge-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .fmge-testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Images Column */
.fmge-images-col {
    position: relative;
    height: 240px;
    width: 100%;
}

@media (min-width: 992px) {
    .fmge-images-col {
        height: 280px;
    }
}

.fmge-images-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.fmge-images-container:active {
    cursor: grabbing;
}

.fmge-image-slide {
    position: absolute;
    inset: 0;
    transform-origin: bottom center;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fmge-image-slide img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Content Column */
.fmge-content-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
}

.fmge-content-container {
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.fmge-student-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.fmge-student-year {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.fmge-quote {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.fmge-quote span {
    display: inline-block;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* Controls */
.fmge-controls {
    display: flex;
    gap: 16px;
    padding-top: 48px;
}

@media (min-width: 768px) {
    .fmge-controls {
        padding-top: 0;
    }
}

.fmge-nav-btn {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.fmge-nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.fmge-nav-btn i {
    width: 20px;
    height: 20px;
}

/* Active slide bounce animation */
@keyframes fmgeBounce {
    0%   { transform: rotate(0deg) scale(1) translateY(0px); }
    30%  { transform: rotate(0deg) scale(1.02) translateY(-12px); }
    60%  { transform: rotate(0deg) scale(1.01) translateY(-5px); }
    100% { transform: rotate(0deg) scale(1) translateY(0px); }
}

.fmge-image-slide.fmge-active {
    animation: fmgeBounce 0.42s ease-in-out;
}

/* Light mode overrides */
[data-theme="light"] .fmge-nav-btn {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
}

[data-theme="light"] .fmge-nav-btn:hover {
    background: rgba(0, 0, 0, 0.12);
}