/* Global Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #388E3C;
    --dark-color: #1B5E20;
    --light-color: #C8E6C9;
    --text-color: #333;
    --light-text: #fff;
    --gray-bg: #f5f5f5;
    --dark-bg: #263238;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    font-size: 18px;
    color: #777;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--light-text);
    font-family: 'Poppins', sans-serif;
}

header.scrolled .logo a {
    color: var(--primary-color);
}

.logo span {
    color: var(--primary-color);
}

header.scrolled .logo span {
    color: var(--dark-color);
}

nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-left: 30px;
}

.main-menu li a {
    color: var(--light-text);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

header.scrolled .main-menu li a {
    color: var(--text-color);
}

.main-menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-menu li a:hover::after,
.main-menu li a.active::after {
    width: 100%;
}

.main-menu li a:hover,
.main-menu li a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--light-text);
    transition: var(--transition);
}

header.scrolled .hamburger span {
    background: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.slide .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-text);
    z-index: 3;
    width: 80%;
    max-width: 800px;
}

.slide .content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.5s;
}

.slide .content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.7s;
}

.slide .content .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.9s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev, .next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition);
}

.prev:hover, .next:hover {
    background: var(--primary-color);
}

.indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.indicator::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.dot1::before:nth-child(1),
.indicator.dot2::before:nth-child(2),
.indicator.dot3::before:nth-child(3) {
    background: var(--light-text);
    transform: scale(1.5);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--gray-bg);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1 1 400px;
    margin-right: 50px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1 1 500px;
}

.about-text h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 25px;
    color: #666;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    flex: 1 1 120px;
    text-align: center;
    padding: 20px;
    margin: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.stat-item .count {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-item p {
    margin-bottom: 0;
    font-size: 14px;
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    height: 200px;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-info p {
    color: #666;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--gray-bg);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-item {
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 50px;
    background: #fff;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.filter-item.active, .filter-item:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--light-text);
    font-size: 20px;
    margin-bottom: 10px;
    transform: translateY(-20px);
    transition: var(--transition);
}

.gallery-overlay p {
    color: var(--light-color);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Donate Section */
.donate {
    padding: 100px 0;
}

.donate-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.donate-text {
    flex: 1 1 400px;
}

.donate-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.donate-text p {
    margin-bottom: 25px;
    color: #666;
}

.donation-impact {
    margin-top: 30px;
}

.donation-impact li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.donation-impact li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 20px;
}

.donate-form {
    flex: 1 1 400px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 10px;
}

.amount-btn {
    flex: 1 1 calc(25% - 10px);
    padding: 12px;
    border: 2px solid var(--light-color);
    background: #fff;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn.active, .amount-btn:hover {
    background: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.custom-amount {
    flex: 1 1 100%;
    margin-top: 10px;
}

.custom-amount input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-color);
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

.custom-amount input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.donate-btn {
    width: 100%;
    font-size: 18px;
    padding: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1532274402911-5a369e4c4bb5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1950&q=80') no-repeat center/cover;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.testimonials .container {
    position: relative;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--light-text);
}

.testimonials .section-header h2::after {
    background: var(--light-text);
}

.testimonial-slider {
    position: relative;
    margin-top: 50px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    margin-right: 30px;
    flex-shrink: 0;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-text h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-text span {
    font-size: 14px;
    opacity: 0.8;
}

.testimonial-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.prev-testimonial, .next-testimonial {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition);
}

.prev-testimonial:hover, .next-testimonial:hover {
    background: var(--primary-color);
}

.testimonial-indicator {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.testimonial-indicator::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--gray-bg);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1 1 400px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-item p {
    color: #666;
}

.social-links {
    display: flex;
    margin-top: 40px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1 1 500px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    text-transform: uppercase;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 70px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-about, .footer-links, .footer-projects, .footer-newsletter {
    flex: 1 1 250px;
    margin-bottom: 30px;
}

.footer-about h3, .footer-links h3, .footer-projects h3, .footer-newsletter h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-about h3::after, .footer-links h3::after, .footer-projects h3::after, .footer-newsletter h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-about p {
    margin-bottom: 20px;
    color: #aaa;
}

.footer-social {
    display: flex;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--light-text);
    color: var(--primary-color);
}

.footer-links ul li, .footer-projects ul li {
    margin-bottom: 12px;
}

.footer-links ul li a, .footer-projects ul li a {
    color: #aaa;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover, .footer-projects ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-newsletter p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.footer-newsletter button {
    background: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .about-image {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-img {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 270px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 50px 30px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .main-menu.active {
        right: 0;
    }
    
    .main-menu li {
        margin: 15px 0;
    }
    
    .main-menu li a {
        color: var(--text-color);
        font-size: 18px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .slide .content h1 {
        font-size: 36px;
    }
    
    .slide .content p {
        font-size: 16px;
    }
    
    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .slide .content h1 {
        font-size: 28px;
    }
    
    .slide .content p {
        font-size: 14px;
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
    
    .contact-content {
        gap: 30px;
    }
} 