/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --accent-color: #1A659E;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --gradient-secondary: linear-gradient(135deg, #004E89 0%, #1A659E 100%);
    --gradient-donate: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?w=1920&h=1080&fit=crop') center/cover;
    margin-top: 60px;
    overflow: hidden;
}

#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.85) 0%, rgba(26, 101, 158, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    animation: fadeInDown 0.8s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.scroll-indicator {
    margin-top: 3rem;
    animation: bounce 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-donate {
    background: var(--gradient-donate);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

.btn-block {
    width: 100%;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

section {
    padding: 5rem 0;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-secondary);
    padding: 4rem 0;
    color: white;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Team Section */
.team-section {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.team-card h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* Gallery Section */
.gallery-section {
    background: white;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

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

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    z-index: 10;
}

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

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Donation Section */
.donate-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.donate-info h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.donate-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.donate-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.breakdown-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.breakdown-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.breakdown-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.breakdown-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.breakdown-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.donate-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.donate-form h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

.secure-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.secure-note i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-text h2 i {
    margin-right: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
}

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

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

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

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

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.service-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.6;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.service-highlight {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(247, 147, 30, 0.1) 100%);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.service-highlight p {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Impact Section */
.impact-section {
    background: var(--bg-light);
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-icon i {
    font-size: 2rem;
    color: white;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    margin: 0 2rem;
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Join Section */
.join-section {
    background: var(--gradient-secondary);
    color: white;
}

.join-section .section-title {
    color: white;
}

.join-section .section-title::after {
    background: white;
}

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

.join-intro {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.join-quote {
    font-size: 1.4rem;
    font-style: italic;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-left: 5px solid white;
    border-radius: 10px;
    line-height: 1.8;
}

.join-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
}

.benefit-item i {
    font-size: 1.5rem;
    color: #FFD700;
}

.benefit-item p {
    font-size: 1.1rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 0 1rem;
}

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

.footer-section {
    margin-bottom: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section > p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #bdc3c7;
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #95a5a6;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-light);
}

.close-modal:hover {
    color: var(--danger-color);
    background: #ffe5e5;
    transform: rotate(90deg);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.modal-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.modal-header h2 {
    font-size: 1.8rem;
    margin: 0;
}

.qr-section {
    padding: 2rem;
}

.amount-display {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.amount-display p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.amount-display h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 800;
}

.qr-code-container {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    display: inline-block;
    width: 100%;
}

#qrCanvas,
#qrCanvas img {
    max-width: 200px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* QR Code library generated elements */
.qrcode-container {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.qrcode-container img {
    max-width: 200px !important;
    height: auto !important;
}

.upi-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    text-align: center;
}

.upi-details p {
    margin: 0.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.payment-steps {
    background: #e8f4f8;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-color);
}

.payment-steps h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.payment-steps ol {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-dark);
}

.payment-steps li {
    margin: 0.75rem 0;
    line-height: 1.6;
}

/* Thank You Modal */
.thank-you-content {
    text-align: center;
    padding: 3rem 2rem;
}

.thank-you-animation {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
}

.checkmark-circle::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.checkmark {
    width: 60px;
    height: 100px;
    position: absolute;
    top: 10px;
    left: 30px;
    transform: rotate(45deg);
}

.checkmark::before,
.checkmark::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
}

.checkmark::before {
    width: 20px;
    height: 60px;
    top: 0;
    left: 0;
    animation: drawCheck 0.4s 0.3s ease forwards;
    transform-origin: bottom left;
    transform: scaleY(0);
}

.checkmark::after {
    width: 60px;
    height: 20px;
    bottom: 0;
    left: 0;
    animation: drawCheck 0.4s 0.5s ease forwards;
    transform-origin: bottom left;
    transform: scaleX(0);
}

@keyframes drawCheck {
    to {
        transform: scale(1);
    }
}

.thank-you-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thank-you-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.detail-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.impact-text {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.impact-text-en {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 768px) {
    /* Enable smooth scrolling and momentum */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    body {
        -webkit-tap-highlight-color: transparent;
        overscroll-behavior-y: contain;
    }

    .nav-brand {
        gap: 8px;
    }

    .nav-logo {
        height: 40px;
    }

    .nav-brand h1 {
        font-size: 1.2rem;
    }

    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        width: 85%;
        max-width: 320px;
        height: 100vh;
        text-align: left;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
        padding: 80px 20px 20px;
        gap: 0;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: var(--gradient-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        background: url('ngologo.png') center/contain no-repeat;
        z-index: 1;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        color: var(--text-dark);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 107, 53, 0.1);
        color: var(--primary-color);
    }

    .nav-link::after {
        display: none;
    }

    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding: 80px 0 40px;
        margin-top: 0;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-logo {
        height: 80px;
        margin-bottom: 1rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        opacity: 0.95;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .scroll-indicator {
        margin-top: 2rem;
    }

    .scroll-indicator span {
        font-size: 0.8rem;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-top: -1.5rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    section {
        padding: 3rem 0;
    }

    /* Stats Section Mobile */
    .stats-section {
        padding: 2.5rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Team Mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-image {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        aspect-ratio: 16/9;
    }

    .gallery-image {
        font-size: 3rem;
    }

    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
        padding: 1.5rem;
    }

    .gallery-overlay h3 {
        font-size: 1.1rem;
    }

    .gallery-overlay p {
        font-size: 0.85rem;
    }

    /* Testimonials Mobile */
    .testimonials-slider {
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .testimonial-rating {
        font-size: 1rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .author-info h4 {
        font-size: 0.95rem;
    }

    .author-info p {
        font-size: 0.8rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn {
        left: -5px;
    }

    .next-btn {
        right: -5px;
    }

    /* Donation Mobile */
    .donate-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .donate-info h3 {
        font-size: 1.5rem;
    }

    .breakdown-item {
        padding: 1rem;
    }

    .breakdown-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .donate-form {
        padding: 1.5rem;
    }

    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .amount-btn {
        padding: 0.875rem;
        font-size: 1rem;
    }

    /* FAQ Mobile */
    .faq-question {
        padding: 1.25rem;
    }

    .faq-question h3 {
        font-size: 1rem;
        padding-right: 10px;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    /* Newsletter Mobile */
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-text h2 {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-section h3 {
        font-size: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Modal Mobile Styles */
    .modal-content {
        max-width: 95%;
        margin: 10px;
        border-radius: 15px;
    }

    .modal-header {
        padding: 1.5rem;
        border-radius: 15px 15px 0 0;
    }

    .modal-logo {
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-header i {
        font-size: 2.5rem;
    }

    .qr-section {
        padding: 1.5rem;
    }

    .amount-display h3 {
        font-size: 2rem;
    }

    #qrCanvas,
    #qrCanvas img,
    .qrcode-container img {
        max-width: 180px !important;
    }

    .thank-you-content {
        padding: 2rem 1.5rem;
    }

    .thank-you-content h2 {
        font-size: 2rem;
    }

    .checkmark-circle {
        width: 100px;
        height: 100px;
    }

    .checkmark-circle::before {
        width: 100px;
        height: 100px;
    }

    .thank-you-details {
        gap: 1rem;
    }

    .detail-item {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .impact-text {
        font-size: 1.1rem;
    }

    .impact-text-en {
        font-size: 0.9rem;
    }

    /* Floating Buttons Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    /* Form Inputs Mobile - Prevent zoom on iOS */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Touch-friendly spacing */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }

    /* Reduce animations for better performance */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .donation-amounts {
        grid-template-columns: 1fr;
    }
}

/* Landscape Mode Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        flex: 1;
        min-width: 140px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
