/* =========================================
   ECHELON EXTENDED STYLES (NEW FEATURES)
   ========================================= */

:root {
    --rainbow: linear-gradient(90deg, #f6d60a 0%, #29a0ff 33%, #ff3b3b 66%, #6bd400 100%);
    --bg-dark: #000;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-muted: #bfbfbf;
}

.section-padding {
    padding: 80px 0;
}

/* --- IMPACT COUNTER (Home) --- */
.impact-counter-section {
    padding: 60px 0;
    background: #000;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.impact-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.impact-item {
    text-align: center;
    position: relative;
    padding: 20px;
}

.impact-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--rainbow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: block;
}

.impact-label {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- PLG TEASER (Home) --- */
.plg-teaser {
    padding: 80px 0;
    background: #050505;
    text-align: center;
}

.plg-card {
    background: linear-gradient(145deg, #111, #050505);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.plg-card h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}

.enter-quiz-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #fff;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: transform 0.2s;
}

.enter-quiz-btn:hover {
    transform: scale(1.05);
}

/* --- TIMELINE (About) --- */
.timeline-section {
    padding: 80px 0;
    background: #000;
    color: #fff;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-date {
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    display: block;
}

/* --- ABOUT PAGE SECTIONS --- */
.about-mission {
    padding: 80px 0;
    background: #fff;
    text-align: center;
    color: #000;
}

.about-mission h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-mission p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #444;
}

.leadership-section {
    padding: 80px 0;
    background: #f9f9f9;
    color: #000;
}

.leadership-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.leader-card {
    text-align: center;
    max-width: 300px;
}

.leader-img {
    width: 200px;
    height: 200px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-card h3 {
    margin-bottom: 5px;
    font-weight: 700;
    color: #000;
}

.leader-card p.role {
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.leader-card p.desc {
    font-size: 14px;
    color: #777;
}

.values-section {
    padding: 80px 0;
    background: #fff;
    color: #000;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    padding: 30px;
    background: #f5f5f5;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 40px;
    margin-bottom: 20px;
}

.value-card h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.partners-section {
    padding: 60px 0;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

.partners-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.7;
}

/* --- PROGRAMS PAGE --- */
.programs-hero {
    background: linear-gradient(135deg, #0a0a0f, #1a1a1f);
    padding: 120px 0 80px;
    text-align: center;
    color: #fff;
}

.program-card {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: 0.3s;
    height: 100%;
}

.program-card:hover {
    border-color: #555;
    transform: translateY(-5px);
}

.program-card h3 {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.program-card p {
    color: #aaa;
    line-height: 1.6;
}

.hackathon-section {
    padding: 80px 0;
    background: #111;
    position: relative;
    color: #fff;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.hackathon-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* --- TRUST & DOWNLOADS --- */
.download-card {
    display: flex;
    align-items: center;
    background: #111;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    transition: 0.2s;
}

.download-card:hover {
    border-color: #555;
}

.download-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #fff;
}

.download-info h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.download-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- COMMUNITY --- */
.testimonial-card {
    background: #111;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.testimonial-quote {
    font-size: 16px;
    font-style: italic;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    overflow: hidden;
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- GALLERY (EVENTS) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 200px;
    background: #222;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .impact-grid {
        gap: 30px;
    }

    .leadership-grid,
    .partners-logos {
        flex-direction: column;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}