:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --secondary: #e74c3c;
    --accent: #f39c12;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #34495e;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #e08e0b;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-text span {
    color: var(--accent);
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.active{
    color: var(--primary) !important;
    font-weight: bolder;
}

.navbar.sticky {
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.content-section {
    height: 100vh;
}
.content-section:nth-child(odd) {
    background-color: #f8f9fa;
}
.content-section:nth-child(even) {
    background-color: #e9ecef;
}


/* Hero Section */


.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Impact Section */
.impact-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 200px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.stat-text {
    color: var(--text-light);
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 30px;
}

.slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1rem;
    opacity: 0.9;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover, .gallery-next:hover {
    background-color: var(--white);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Programs Section */
.programs {
    background-color: var(--light);
}

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

.program-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Children Section */
.children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.child-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.child-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.child-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.child-card:hover .child-image img {
    transform: scale(1.05);
}

.child-age {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.child-info {
    padding: 20px;
}

.child-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.child-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Stories Section */
.stories {
    background-color: var(--white);
}

.stories-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story {
    text-align: center;
    padding: 0 20px;
}

.story-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
    background-color: var(--light);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.story-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.story-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Get Involved Section */
.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.involvement-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.involvement-card:hover {
    transform: translateY(-10px);
}

.involvement-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.involvement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.involvement-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Donate Section */
.donate {
    background: linear-gradient(rgba(52, 152, 219, 0.9), rgba(52, 152, 219, 0.9)), url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
}

.donate-content {
    max-width: 800px;
    margin: 0 auto;
}

.donate-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.donate-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.donation-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.donation-option {
    padding: 15px 25px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.donation-option.active {
    background-color: var(--accent);
}

.custom-donation {
    display: flex;
    max-width: 400px;
    margin: 0 auto 30px;
}

.custom-donation input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--white);
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
}

.custom-donation button {
    padding: 0 30px;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.custom-donation button:hover {
    background-color: #e08e0b;
}

/* Events Section */
.events {
    background-color: var(--light);
}

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

.event-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.event-date {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.event-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.event-meta i {
    margin-right: 8px;
    color: var(--primary);
}

.event-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary);
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    background-color: var(--light);
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-detail i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-detail div h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-detail div p {
    margin: 0;
    color: var(--text-light);
}

.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-col .social-links {
    display: flex;
    gap: 15px;
}

.footer-col .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.footer-col .social-links a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .gallery-slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .gallery-slide img {
        height: 300px;
    }

    .gallery-prev, .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0;
    }

    .impact-stats {
        flex-direction: column;
    }

    .donation-options {
        flex-direction: column;
        align-items: center;
    }

    .gallery-slide img {
        height: 250px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h3 {
        font-size: 1.3rem;
    }
}
