/* --- 1. VARIABLES & GLOBALS --- */
:root {
    --color-dark: #1a1a1a;
    --color-darker: #0d0d0d;
    --color-medium: #2c2c2c;
    --color-text-light: #f0f0f0;
    --color-text-muted: #b0b0b0;

    /* Theme Colors */
    --color-yellow: #FFD700;    /* Gold/Yellow */
    --color-orange: #FFA500;    /* Orange */
    --color-red: #FF4500;       /* Orange-Red */
    --color-green: #90ee90;     /* Light Green */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    line-height: 1.1;
}

h1 { font-size: 3.75rem; color: var(--color-orange); }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 4rem; }

.subtitle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    max-width: 900px;
    margin: 0 auto 3rem;
}

/* --- 2. NAVIGATION --- */
header {
    background-color: var(--color-darker);
    padding: 1rem 0;
    border-bottom: 2px solid var(--color-medium);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-yellow);
}

nav a {
    color: var(--color-text-light);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--color-orange);
}

/* --- 3. BUTTONS (Animations) --- */
.button {
    display: inline-block;
    padding: 0.875rem 1.875rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.5);
}

/* Specific Button Styles */
.cta-primary, .final-apply {
    background-color: var(--color-yellow);
    color: var(--color-dark);
}
.cta-secondary, .mentor-cta {
    background-color: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
}
.cta-secondary:hover {
    background-color: var(--color-green);
    color: var(--color-dark);
    box-shadow: 0 8px 25px rgba(144, 238, 144, 0.5);
}

.donate-btn {
    background-color: var(--color-red);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
}

.final-support {
    background-color: var(--color-red);
    color: var(--color-dark);
}
.final-support:hover {
    background-color: #e33c3c; /* Darker Red */
}

/* --- 4. HERO SECTION (Abstract Shapes/Animations) --- */
.hero-section {
    padding: 7.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Keyframe for subtle floating animation */
@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, 15px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.abstract-shape {
    position: absolute;
    opacity: 0.15;
    filter: blur(80px); /* Soft glow effect */
    animation: float 12s ease-in-out infinite;
    z-index: 1;
}

.shape-yellow {
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-yellow) 0%, rgba(255, 215, 0, 0) 70%);
    border-radius: 50%;
    animation-duration: 15s;
}

.shape-red {
    bottom: -50px;
    right: -50px;
    width: 450px;
    height: 180px;
    background-color: var(--color-red);
    transform: skewY(-5deg);
    animation-delay: 3s;
    animation-duration: 18s;
}

/* --- 5. VALUE PROPOSITION & CARDS --- */
.value-proposition-section {
    padding: 6rem 0;
    background-color: var(--color-medium);
}

.card-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background-color: var(--color-dark);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, box-shadow;
    border-left: 4px solid; /* Defined by specific card class */
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.funding-card { border-left-color: var(--color-yellow); }
.duration-card { border-left-color: var(--color-green); }
.skills-card { border-left-color: var(--color-red); }

.card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.funding-card h3 { color: var(--color-yellow); }
.duration-card h3 { color: var(--color-green); }
.skills-card h3 { color: var(--color-red); }


/* --- 6. MENTOR NETWORK --- */
.mentor-section {
    padding: 6rem 0;
    text-align: center;
}

.mentor-grid {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mentor-benefit {
    width: 30%;
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.yellow-icon { color: var(--color-yellow); }
.red-icon { color: var(--color-red); }
.green-icon { color: var(--color-green); }

/* Animation on icon hover (controlled by JS for simplicity) */
.icon:hover {
    transform: scale(1.15);
}

/* --- 7. FINAL CTA --- */
.final-cta-section {
    padding: 6rem 0;
    background-color: var(--color-medium);
    text-align: center;
    border-top: 4px solid var(--color-orange);
}

.final-cta-heading {
    color: var(--color-orange);
}

/* --- 8. FOOTER --- */
footer {
    background-color: var(--color-darker);
    color: var(--color-text-muted);
    padding: 3rem 0;
    font-size: 0.875rem;
    border-top: 1px solid var(--color-medium);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--color-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a, .social-icons a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover, .social-icons a:hover {
    color: var(--color-yellow);
}

.social-icons a {
    display: inline-block;
    font-size: 1.25rem;
    margin-right: 1rem;
}

/* --- MEDIA QUERIES for Mobile Responsiveness --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .subtitle { font-size: 1.25rem; }

    .cta-group { flex-direction: column; gap: 1rem; }
    .card-grid { flex-direction: column; }
    .mentor-grid { flex-direction: column; gap: 4rem; }
    .mentor-benefit { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; }
    .nav-content { flex-direction: column; }
    nav { margin-top: 1rem; }
    nav a { margin: 0 0.5rem; }
}

/* --- New Section: PROGRAMS PAGE SPECIFIC STYLES --- */

/* 1. Page Title Section */
.page-title-section {
    padding: 7.5rem 0 4rem 0;
    text-align: center;
    background-color: var(--color-dark);
}

.page-title-section h1 {
    font-size: 3.5rem;
}

/* 2. Featured Program Section (6-Month Intensive) */
.featured-program-section {
    padding: 4rem 0 6rem 0;
    background-color: var(--color-medium);
}

.section-title-alt {
    color: var(--color-yellow);
    text-align: center;
    margin-bottom: 3rem;
}

.featured-card {
    display: flex;
    gap: 3rem;
    background-color: var(--color-dark);
    padding: 3rem;
    border-radius: 8px;
    align-items: center;
    border: 1px solid #444;
}

.featured-card .card-content {
    flex: 1;
}

.featured-card h3 {
    color: var(--color-orange);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.program-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.detail-item {
    width: 50%;
}

.detail-item h4 {
    color: var(--color-text-light);
    margin-top: 0;
    font-size: 1.25rem;
}

.program-visual {
    flex: 1;
    min-height: 350px;
    background-color: #383838;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-muted);
    font-style: italic;
    border: 1px dashed #555;
}

/* 3. Specialized Workshop List */
.workshop-list-section {
    padding: 6rem 0;
    background-color: var(--color-dark);
}

.section-title {
    color: var(--color-green);
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.workshop-card {
    background-color: var(--color-medium);
    padding: 2rem;
    border-radius: 8px;
    border-top: 5px solid var(--color-red);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.card-title {
    color: var(--color-red);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.workshop-info {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cost-tag {
    display: inline-block;
    background-color: var(--color-green);
    color: var(--color-dark);
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 3px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.workshop-cta {
    background-color: var(--color-orange);
    color: var(--color-dark);
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
    margin-top: 1.5rem;
}

.schedule-note {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 4rem;
}

/* --- Media Query Adjustments for Mobile --- */
@media (max-width: 768px) {
    .featured-card {
        flex-direction: column;
    }
    .program-details {
        flex-direction: column;
    }
    .detail-item {
        width: 100%;
    }
}

/* --- 9. PARTNERS & TEAM GALLERY (The "Eleks" Style) --- */

/* The Grid Wrapper */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1px; /* The thin line border effect */
    background-color: var(--color-medium); /* The border color */
    border: 1px solid var(--color-medium);
    margin: 4rem 0;
}

/* The Individual Card */
.gallery-card {
    background-color: #ffffff; /* High contrast white cards */
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Partner Logo or Team Photo styling */
.gallery-card .card-media {
    max-width: 60%;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.gallery-card h3 {
    color: var(--color-darker);
    margin-top: 1rem;
    font-size: 1.5rem;
}

/* The Info Overlay that slides up on hover */
.gallery-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-red); /* Slides up in Brand Red */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(100%); /* Start below the card */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-card:hover .gallery-info-overlay {
    opacity: 1;
    transform: translateY(0); /* Slide into view */
}

.gallery-card:hover .card-media {
    opacity: 0; /* Hide the logo/photo when the red info slides up */
}

/* Specific Tag for the Overlay */
.info-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* --- 10. FUNDRAISER PROGRESS BARS --- */
.progress-container {
    background-color: var(--color-darker);
    height: 12px;
    border-radius: 6px;
    margin: 1.5rem 0;
    overflow: hidden;
    border: 1px solid var(--color-medium);
}

.progress-bar {
    background: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
    height: 100%;
    border-radius: 6px;
    transition: width 1s ease-in-out;
}

/* --- 11. BLOG PAGE SPECIFIC --- */
.blog-card {
    border-top: 5px solid var(--color-orange);
}

.blog-excerpt {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* --- 12. MOBILE OVERRIDES FOR GALLERY --- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
    .gallery-card {
        height: 300px;
    }
}