/* ==========================================================================
   AKCF Page Core Styles
   Perfected Layouts, Alignments, and Mobile Responsiveness
   ========================================================================== */

/* --- MINIMAL NAV --- */
.akcf-top-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-back:hover { color: #fff; transform: translateX(-4px); }
.akcf-nav-brand { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #fff; }

@media (max-width: 768px) {
    .akcf-top-nav { padding: 1.2rem 1.5rem; }
    .btn-back span { display: none; } /* On mobile, just show the back arrow to save space */
}

/* --- PERFECTED STICKY APPLY BAR --- */
.akcf-sticky-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    padding: 0 1.5rem;
    z-index: 2000;
}

.sticky-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 20, 23, 0.85); /* Slightly transparent card bg */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-premium-hover);
    padding: 0.8rem 1rem 0.8rem 1.5rem;
    border-radius: 100px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 94, 0, 0.15);
}

.sticky-status-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pulse-dot {
    width: 12px; height: 12px;
    background-color: #00C853;
    border-radius: 50%;
    box-shadow: 0 0 10px #00C853;
    animation: pulse-green 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 200, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

.sticky-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-title { font-weight: 600; color: #fff; font-size: 0.95rem; line-height: 1.2; }
.status-subtitle { font-size: 0.8rem; color: var(--text-muted); line-height: 1.2; margin-top: 0.2rem;}

.sticky-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Sticky Bar Fixes */
@media (max-width: 650px) {
    .akcf-sticky-bar { bottom: 1rem; padding: 0 1rem; }
    .status-subtitle { display: none; } /* Hide the long text on mobile to keep it perfectly aligned on one line */
    .sticky-bar-inner { padding: 0.6rem 0.6rem 0.6rem 1rem; }
}

/* --- HERO SECTION --- */
.akcf-main-wrapper { padding-top: 5rem; }

.akcf-hero {
    position: relative;
    padding: 8rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-chromatic-glows {
    position: absolute; inset: 0; z-index: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 123, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 61, 0, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 50% 90%, rgba(0, 200, 83, 0.1) 0%, transparent 60%);
    filter: blur(50px);
}

.akcf-hero-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 1.5rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.akcf-hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.akcf-hero-badges {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}

.badge-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- PURPOSE SECTION --- */
.purpose-split-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.purpose-content h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.purpose-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; line-height: 1.7;}

.purpose-stats { display: flex; flex-direction: column; gap: 1.5rem; }

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.stat-card h3 { font-family: var(--font-heading); font-size: 3.5rem; color: var(--accent-color); line-height: 1;}
.stat-card p { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.5rem;}

@media (max-width: 900px) {
    .purpose-split-layout { grid-template-columns: 1fr; gap: 3rem; }
    .purpose-stats { flex-direction: row; }
    .stat-card { flex: 1; padding: 2rem 1rem;}
}
@media (max-width: 500px) { .purpose-stats { flex-direction: column; } }

/* --- LEARNING PILLARS (Blue, Red, Green) --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pillar-box {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.pillar-inner { position: relative; z-index: 2; }

.pillar-number {
    font-family: var(--font-heading); font-size: 4rem; font-weight: 900;
    opacity: 0.15; display: block; margin-bottom: 0.5rem; line-height: 1;
}

.pillar-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.pillar-box p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.6; min-height: 90px;}

.pillar-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; }
.pillar-list li { font-size: 0.9rem; color: #ddd; margin-bottom: 0.8rem; display: flex; align-items: flex-start; gap: 0.5rem; }
.pillar-list li::before { content: '→'; opacity: 0.7; }

/* The Dynamic Hover Glows */
.pillar-ambient-glow {
    position: absolute; width: 300px; height: 300px; border-radius: 50%;
    pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
    transform: translate(-50%, -50%); z-index: 1; filter: blur(50px);
}

/* Pillar Specific Theming */
.blue-pillar:hover { border-color: rgba(0, 123, 255, 0.4); }
.blue-pillar .pillar-number { color: #007BFF; }
.blue-pillar .pillar-ambient-glow { background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%); }
.blue-pillar li::before { color: #007BFF; }

.red-pillar:hover { border-color: rgba(255, 61, 0, 0.4); }
.red-pillar .pillar-number { color: #FF3D00; }
.red-pillar .pillar-ambient-glow { background: radial-gradient(circle, rgba(255, 61, 0, 0.15) 0%, transparent 70%); }
.red-pillar li::before { color: #FF3D00; }

.green-pillar:hover { border-color: rgba(0, 200, 83, 0.4); }
.green-pillar .pillar-number { color: #00C853; }
.green-pillar .pillar-ambient-glow { background: radial-gradient(circle, rgba(0, 200, 83, 0.15) 0%, transparent 70%); }
.green-pillar li::before { color: #00C853; }

.pillar-box:hover .pillar-ambient-glow { opacity: 1; }

@media (max-width: 1024px) { .pillar-box p { min-height: auto; } }

/* --- ADVANTAGES --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.adv-card { text-align: center; }
.adv-icon { font-size: 2rem; color: var(--accent-color); margin-bottom: 1rem; }
.adv-card h4 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.adv-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6;}

/* --- ELIGIBILITY & SELECTION --- */
.eligibility-flex-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
}

.eligibility-info h2, .selection-process h2 { font-size: 2rem; margin-bottom: 1rem; }
.eligibility-info > p { color: var(--text-muted); margin-bottom: 2rem; }

.eligibility-list { display: flex; flex-direction: column; gap: 1.2rem; }

.elig-item {
    display: flex; gap: 1.2rem; background: var(--card-bg);
    border: 1px solid var(--border-color); padding: 1.5rem; border-radius: 8px;
}

.is-eligible { border-left: 3px solid #00C853; }
.not-eligible { border-left: 3px solid #FF3D00; opacity: 0.6; }

.icon-check { color: #00C853; font-weight: bold; font-size: 1.2rem; margin-top: -2px;}
.icon-cross { color: #FF3D00; font-weight: bold; font-size: 1.2rem; margin-top: -2px;}

.elig-text strong { display: block; color: #fff; margin-bottom: 0.4rem; font-size: 1.05rem;}
.elig-text p { margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5;}

.process-timeline {
    margin-top: 2rem; border-left: 2px solid var(--border-color); padding-left: 2rem;
}

.timeline-step { position: relative; margin-bottom: 3rem; }
.timeline-step:last-child { margin-bottom: 0; }

.step-dot {
    position: absolute; left: -2.95rem; top: 0; width: 30px; height: 30px;
    background: var(--bg-color); border: 2px solid var(--accent-color); color: var(--accent-color);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 0.9rem; z-index: 2;
}

.timeline-step h4 { font-size: 1.1rem; margin-bottom: 0.5rem; color: #fff; }
.timeline-step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.5;}

@media (max-width: 992px) {
    .eligibility-flex-container { grid-template-columns: 1fr; gap: 4rem; }
}