/* ===== ORANGE BRAND COLOR VARIABLES ===== */
:root {
    --brand-orange: #FF7A00;
    --brand-orange-dark: #E56B00;
    --brand-orange-light: #FF9D40;
    --dark-bg: #2c3e50;
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--brand-orange);
    margin-bottom: 50px;
}

.brand-orange {
    color: var(--brand-orange);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    height: 70px;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo-img {
    height: 140px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--brand-orange);
}

.btn-join {
    background-color: var(--brand-orange);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-join:hover {
    background-color: var(--brand-orange-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--brand-orange);
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.7)),
    url('../images/Banner.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 70px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 122, 0, 0.2), transparent);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-hero {
    display: inline-block;
    background-color: var(--brand-orange);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.btn-hero:hover {
    background-color: var(--brand-orange-dark);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.vision, .mission {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--brand-orange);
}

.vision h3, .mission h3 {
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vision i, .mission i {
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

/* ===== FOCUS SECTION ===== */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.focus-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-top: 4px solid var(--brand-orange-light);
}

.focus-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-orange);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.1);
}

.focus-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.focus-card h3 {
    color: var(--dark-bg);
}

/* ===== PROGRAMMES SECTION ===== */
.programmes {
    background-color: var(--light-bg);
}

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.programme-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center; /* Added this line */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.programme-card:hover {
    border-color: var(--brand-orange);
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.1);
}

.programme-card h3 {
    color: var(--brand-orange); /* Color changed to orange */
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
}

.programme-card p {
    text-align: center; /* Center the paragraph */
    width: 100%; /* Ensure full width */
}

/* ===== PARTNERS SECTION ===== */
.partners {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.partner-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--brand-orange);
}

.partner-logo {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 15px;
    border: 2px solid #f0f0f0;
    transition: border-color 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Added subtle shadow */
}

.partner-card:hover .partner-logo {
    border-color: var(--brand-orange);
    background: white; /* Stay full white on hover */
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.15); /* Add orange shadow */
}

.partner-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s;
}

.partner-card:hover .partner-img {
    opacity: 1; /* Full opacity on hover */
    transform: scale(1.05); /* Optional: slight zoom on hover */
}

.partner-card h4 {
    color: var(--dark-bg);
    margin-bottom: 10px;
    font-size: 1.2rem;
    margin-top: 10px;
}

.partner-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.become-partner {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.become-partner p {
    font-size: 1.2rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.btn-partner {
    display: inline-block;
    background-color: var(--brand-orange);
    color: var(--white);
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-partner:hover {
    background-color: var(--brand-orange-dark);
}

/* Programme Images */
.programme-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px; /* All corners rounded */
    margin-bottom: 20px;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.programme-card:hover .programme-image img {
    transform: scale(1.05);
}

/* ===== CTA SECTION ===== */
.cta {
    text-align: center;
    background-color: #111111; /* Slightly softer black */
    color: var(--white);
}

.cta h2 {
    color: var(--white);
}

.cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

.btn-cta {
    display: inline-block;
    background-color: var(--brand-orange);
    color: var(--white);
    padding: 15px 50px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.btn-cta:hover {
    background-color: var(--brand-orange-dark);
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a252f;
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Privacy & Cookie links - MIDDLE */
.footer-links {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.footer-links a {
    color: var(--brand-orange-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

/* NPO/PBO Registration - SAME LINE */
.footer-registration {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    color: var(--white); /* Same white color */
    flex-wrap: wrap;
    justify-content: center;
}

/* Copyright - BOTTOM */
.copyright {
    font-size: 0.9rem;
    color: var(--white); /* Same white color */
    margin-top: 10px;
    opacity: 0.9;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
    footer {
        padding: 30px 15px;
    }

    .footer-links {
        flex-direction: row;
        gap: 15px;
    }

    .footer-registration {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .copyright {
        margin-top: 20px;
        order: 3; /* Ensures it's at bottom */
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* FOOTER MOBILE STYLES */
    footer {
        padding: 30px 15px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .footer-links a {
        margin: 5px 0;
    }

    .footer-registration {
        font-size: 0.85rem;
        line-height: 1.5;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        margin-top: 15px;
    }

    .footer-registration br {
        display: none; /* Remove line break */
    }

    /* Move logo left on mobile */
    .logo {
        margin-left: -25px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .focus-grid,
    .programmes-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .btn-hero,
    .btn-cta {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .container {
        width: 95%;
        padding: 0 15px;
    }

    .footer-registration {
        gap: 10px;
        font-size: 1rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.focus-card,
.programme-card,
.partner-card,
.vision,
.mission {
    animation: fadeInUp 0.6s ease-out;
}

.focus-card:nth-child(2) { animation-delay: 0.1s; }
.focus-card:nth-child(3) { animation-delay: 0.2s; }
.focus-card:nth-child(4) { animation-delay: 0.3s; }

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-orange-dark);
}