:root {
    --primary-color: #557b83;       /* Muted teal */
    --secondary-color: #82a7a6;     /* Soft sage blue */
    --accent-color: #a7c4bc;        /* Light sea foam */
    --text-color: #2d4356;          /* Deep navy */
    --light-bg: #f5f9f8;           /* Pale mint white */
    --white: #ffffff;
    --success-color: #739072;      /* Forest sage */
}

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

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

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

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Logo Styles */
.logo {
    padding: 0.75rem 0;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo-image {
    height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.donate-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.donate-btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: left;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/beginswithten_hero.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    z-index: -1;
    filter: saturate(1.2) brightness(0.9);
    transform: scale(1.1);
    transition: transform 10s ease;
}

#hero:hover::before {
    transform: scale(1.2);
}

.hero-content {
    max-width: 800px;
    margin-left: 10%;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-right: 1rem;
}

.hero-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-btn.outline {
    background: transparent;
    border-color: white;
}

.hero-btn.outline:hover {
    background: white;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-content {
        margin: 0 auto;
        text-align: center;
        padding: 0 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}

/* Mission Section */
#mission {
    padding: 5rem 0;
    background: var(--light-bg);
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.mission-statement {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mission-text {
    margin-bottom: 2rem;
}

.mission-highlight {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.mission-detail {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.value-item {
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.mission-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .mission-stats {
        flex-direction: row;
        justify-content: center;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mission-stats {
        flex-direction: column;
    }
    
    .mission-highlight {
        font-size: 1.3rem;
    }
    
    .mission-detail {
        font-size: 1rem;
    }
}

/* Program Section */
#program {
    padding: 5rem 0;
}

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

.program-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.program-card p {
    padding: 0 1.5rem 1.5rem;
}

/* Impact Section */
#impact {
    padding: 5rem 0;
    background: var(--light-bg);
}

.impact-story {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin: 2rem 0;
}

/* Impact Metrics */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.metric-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    margin: 4rem 0;
    position: relative;
}

.testimonial-slider {
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    padding: 2rem;
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonial-content blockquote {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 1rem 0;
    color: var(--text-color);
}

.testimonial-content cite {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 600;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-nav button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Volunteer Section */
.volunteer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.volunteer-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.volunteer-card:hover {
    transform: translateY(-5px);
}

.volunteer-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.volunteer-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.volunteer-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.volunteer-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-form {
    margin-top: 2rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--text-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.newsletter-btn i {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover i {
    transform: translateX(3px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .testimonial-content blockquote {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Donation Section */
#donate {
    padding: 5rem 0;
    text-align: center;
}

.donation-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.donation-amount {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    background: white;
    border-radius: 25px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.donation-amount:hover {
    background: var(--primary-color);
    color: white;
}

.custom-amount input {
    padding: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-size: 1.2rem;
    width: 200px;
    text-align: center;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: transform 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
}

.social-link i {
    font-size: 1.2rem;
}

/* Share Buttons */
.social-share {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: transform 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.share-button:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
}

.share-button i {
    font-size: 1.2rem;
}

/* Contact Form */
.contact-section {
    flex: 1;
    max-width: 400px;
}

.contact-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.1);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.submit-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .contact-section {
        max-width: 100%;
    }
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .social-links, .social-share {
        justify-content: center;
    }
}
