:root {
    --primary-color: #F08C1E;
    /* Orange from logo */
    --secondary-color: #F08228;
    /* Darker Orange from logo */
    --accent-color: #FFD54F;
    /* Soft Yellow */
    --dark-bg: #2C2C2C;
    /* Neutral Dark */
    --light-bg: #F9F9F9;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--text-light);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-submit {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #D67610;
    /* Darker shade of primary */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 140, 30, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    font-size: 1rem;
}

.btn-submit:hover {
    background-color: #D67610;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    transition: transform 0.3s;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .btn-primary {
    padding: 10px 25px;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(240, 140, 30, 0.8), rgba(44, 44, 44, 0.9)), url('https://images.unsplash.com/photo-1501854140884-074bf6b243e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    /* Nature background with orange tint */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-light);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    border-radius: 20px;
    background-image: url('children_researching.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Goals */
.goals {
    background-color: white;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.goal-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s;
    border-bottom: 4px solid var(--primary-color);
}

.goal-card:hover {
    transform: translateY(-10px);
}

.goal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Team */
.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.team-member,
.support-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.role {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.contact h2 {
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info a {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 2rem 0;
}

/* Mobile */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .navbar .nav-links {
        display: none;
        /* Simple hide for now, JS can toggle */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .about-grid,
    .team-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-secondary {
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#subscribeMessage {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

#subscribeMessage.success {
    color: var(--primary-color);
}

#subscribeMessage.error {
    color: red;
}

/* Instagram Box */
.instagram-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.instagram-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.instagram-box:hover::before {
    opacity: 1;
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.instagram-icon {
    color: #E1306C;
    flex-shrink: 0;
}

.instagram-header strong {
    font-size: 1rem;
    color: var(--text-light);
}

.instagram-description {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.btn-instagram svg {
    transition: transform 0.3s ease;
}

.btn-instagram:hover svg {
    transform: translate(2px, -2px);
}