/*
 * On the Glory – Structured, organized layout
 * Clear sections: intro, stats, spotlight, achievers, percentile, achievements, gallery
 * KIIT Entrance Wings | Bootstrap 5
 */

.og-page .content-section { background: #0f172a; color: #fff; padding: 2rem 0 4rem; }

.og-page .section-heading { color: #fff; border-bottom-color: #f59e0b; }
.og-page .section-subheading { color: #fbbf24; }
.og-page p { color: #cbd5e1; }

/* ===== Page intro ===== */
.og-intro { max-width: 720px; margin-left: auto; margin-right: auto; }
.og-intro .section-heading { margin-bottom: 0.75rem; }
.og-lead {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.75;
    margin: 0;
}

/* ===== In-page nav ===== */
.og-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.og-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
}
.og-nav a:hover {
    color: #f59e0b;
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

/* ===== Quick stats row ===== */
.og-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 576px) {
    .og-stats-row { grid-template-columns: repeat(4, 1fr); }
}
.og-stat {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}
.og-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 0.25rem;
}
.og-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== Section blocks ===== */
.og-section {
    margin-bottom: 3rem;
}
.og-section:last-of-type { margin-bottom: 0; }

.og-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.35rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.4);
    display: inline-block;
}
.og-section-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* ===== Achievements badges wrap ===== */
.og-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ===== Gallery grid (coming soon) ===== */
.og-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .og-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.og-gallery-item {
    aspect-ratio: 1;
    background: rgba(30, 41, 59, 0.6);
    border: 2px dashed rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}
.og-gallery-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #475569;
}

/* Featured topper – one large card */
.og-featured {
    margin-bottom: 2.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.og-featured .row { margin: 0; }
.og-featured-img {
    position: relative;
    min-height: 320px;
    background: #1e293b;
}
.og-featured-img img { width: 100%; height: 100%; min-height: 320px;  display: block; }
.og-featured-body {
    padding: 2rem 2rem 2.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.og-featured-body .og-badge {
    display: inline-block;
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.og-featured-body h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 0 0.35rem; }
.og-featured-body p { margin: 0; color: #94a3b8; font-size: 0.95rem; }

/* Rest of toppers – 2-col then 3-col grid, smaller cards */
.og-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
    .og-grid { grid-template-columns: repeat(3, 1fr); }
}
.og-card {
    border-radius: 16px;
    overflow: hidden;
    background: #1e293b;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: transform 0.25s ease;
}
.og-card:hover { transform: translateY(-4px); }
.og-card img { width: 100%; height: 200px; display: block; }
.og-card .og-card-label {
    padding: 1rem 1.25rem;
    background: #1e293b;
}
.og-card .og-card-label .tl-name { font-weight: 700; color: #fff; margin: 0; font-size: 0.95rem; }
.og-card .og-card-label .tl-clg { font-size: 0.8rem; color: #f59e0b; margin: 0.25rem 0 0; }

.og-info-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
}
.og-info-btn .topper-info-note { font-size: 0.7rem; color: #94a3b8; font-weight: 400; margin-top: 0.2rem; display: block; }

/* Strip and badges – adjust for dark bg */
.og-page .topper-percentile-strip {
    background: rgba(245, 158, 11, 0.15);
    border-left: 4px solid #f59e0b;
    color: #e2e8f0;
    padding: 1rem 1.25rem;
    border-radius: 0 10px 10px 0;
    margin: 0;
}
.og-page .achievement-badge { background: linear-gradient(135deg, #f59e0b, #d97706); color: #0f172a; }
.og-page .topper-info-btn { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.og-page .topper-info-btn .topper-info-note { color: #94a3b8; }
