/* NGO Website Main CSS - Modern & Responsive Design */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --white-color: #ffffff;
    --gray-color: #64748b;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-colored: 0 10px 25px rgba(37, 99, 235, 0.15);
    --border-radius: 12px;
    --border-radius-large: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Poppins', sans-serif;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-info: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-sunset: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    --gradient-ocean: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background: var(--white-color);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: var(--shadow-medium);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(15px);
    border-bottom-color: var(--primary-color);
    box-shadow: var(--shadow-heavy);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 60px;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
    flex-shrink: 0;
    z-index: 1001;
    text-decoration: none;
    white-space: nowrap;
    order: 1;
    transition: var(--transition);
    letter-spacing: -0.025em;
    position: relative;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.logo:hover::after {
    width: 100%;
}

.logo h3 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Site Name (visible only on mobile) */
.site-name {
    display: none;
}

@media screen and (max-width: 768px) {
    .site-name {
        display: block !important;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    order: 2;
    flex: 1;
    justify-content: center;
}

.header-contact {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
    order: 3;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    order: 3;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

/* Responsive Navigation */
@media screen and (max-width: 1200px) {
    .nav-menu {
        gap: 0.75rem;
    }
    
    .nav-menu li a {
        padding: 0.35rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .header-contact .contact-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 1024px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu li a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .header-contact {
        gap: 0.5rem;
    }
    
    .contact-item span {
        display: none;
    }
}

/* For very large screens, ensure proper spacing */
@media screen and (min-width: 1400px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .container {
        max-width: 1320px;
    }
}

.nav-menu li a {
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--dark-color);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu li a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
    width: 80%;
}

.nav-menu li a.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-color);
    font-weight: 600;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white-color);
    box-shadow: var(--shadow-heavy);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--light-color);
    color: var(--accent-color);
    padding-left: 1.25rem;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.dropdown-menu li:first-child a {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.header-contact {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
    order: 3;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, var(--light-color) 0%, #e2e8f0 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    background: var(--accent-color);
    color: var(--white-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.contact-item.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    order: 4;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--accent-color);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0) translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--accent-color);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Modern Hero Section */
.modern-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section {
    min-height: 70vh;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide.default-slide {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(29, 78, 216, 0.85) 100%);
    z-index: 3;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    min-width: 140px;
}

.stat-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-navigation {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 5;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.hero-dot.active {
    background: white;
    transform: scale(1.3);
    border-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 768px) {
    .hero-section {
        min-height: 300px;
        height: 300px;
    }
    
    .hero-navigation {
        bottom: 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-transform: capitalize;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: var(--white-color);
}

.btn-secondary {
    background: var(--gradient-success);
    color: var(--white-color);
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    color: var(--white-color);
}

.btn-outline {
    background: transparent;
    border-color: var(--white-color);
    color: var(--white-color);
}

.btn-outline:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Team/Member Cards */
.team-card {
    text-align: center;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.team-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.team-designation {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-location {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-btn.phone {
    background: var(--primary-color);
    color: var(--white-color);
}

.contact-btn.whatsapp {
    background: #25D366;
    color: var(--white-color);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: var(--white-color);
    font-weight: 600;
    text-align: center;
}

/* Video Gallery */
.video-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.video-embed {
    position: relative;
    width: 100%;
    height: 200px;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Donation Section */
.donation-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.donation-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.donation-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.donation-trust {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
}

.donation-qr {
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-code {
    max-width: 200px;
    height: auto;
    border-radius: var(--border-radius);
}

.donation-details {
    display: grid;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.detail-label {
    font-weight: 500;
    color: var(--dark-color);
}

.detail-value {
    font-family: monospace;
    color: var(--gray-color);
    margin-right: auto;
    margin-left: 1rem;
}

.copy-btn {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--dark-color);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.footer-item i {
    margin-top: 0.2rem;
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.facebook { background: #3b5998; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: #e4405f; }
.social-link.youtube { background: #ff0000; }
.social-link.whatsapp { background: #25D366; }

.footer-bottom {
    border-top: 1px solid var(--gray-color);
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright p {
    margin-bottom: 0.5rem;
    color: var(--gray-color);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white-color);
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    font-size: 1.5rem;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: var(--white-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.loading-spinner.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alerts */
.message-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1000;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-medium);
    animation: slideInRight 0.3s ease;
}

.alert-success {
    background: var(--success-color);
    color: var(--white-color);
}

.alert-error {
    background: var(--danger-color);
    color: var(--white-color);
}

.alert-warning {
    background: var(--warning-color);
    color: var(--white-color);
}

.alert-info {
    background: var(--info-color);
    color: var(--white-color);
}

.alert-close {
    background: none;
    color: inherit;
    font-size: 1.2rem;
    margin-left: auto;
    opacity: 0.8;
}

.alert-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Sliders */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    padding: 0;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.slider-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0.5rem;
    box-sizing: border-box;
}

/* People Slider Specific Styles */
.people-slider .slider-slide {
    flex: 0 0 25%; /* 4 items on desktop */
}

@media screen and (min-width: 1400px) {
    .people-slider .slider-slide {
        flex: 0 0 16.666%; /* 6 items on large desktop */
    }
}

@media screen and (max-width: 1024px) {
    .people-slider .slider-slide {
        flex: 0 0 33.333%; /* 3 items on tablet */
    }
}

@media screen and (max-width: 768px) {
    .people-slider .slider-slide {
        flex: 0 0 100% !important; /* 1 item on mobile/tablet - full width */
        max-width: 100%;
    }
    
    .slider-container {
        padding: 0;
        overflow: visible;
    }
    
    .slider-wrapper {
        gap: 0;
    }
}

@media screen and (max-width: 480px) {
    .people-slider .slider-slide {
        flex: 0 0 100% !important; /* 1 item on small mobile */
        max-width: 100%;
    }
    
    .slider-container {
        padding: 0;
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--white-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: none; /* Hide arrow buttons */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-controls:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 5px;
}

.slider-next {
    right: 5px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot:hover {
    background: var(--gray-color);
}

.slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-control.error {
    border-color: var(--danger-color);
}

.form-error {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-muted { color: var(--gray-color); }

.bg-primary { background: var(--primary-color); color: var(--white-color); }
.bg-secondary { background: var(--secondary-color); color: var(--white-color); }
.bg-light { background: var(--light-color); }
.bg-dark { background: var(--dark-color); color: var(--white-color); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

.rounded { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--shadow-light); }
.shadow-lg { box-shadow: var(--shadow-heavy); }

/* Mission Cards Section */
.mission-cards {
    padding: 5rem 0 3rem;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.mission-card.education {
    border-top: 4px solid #3b82f6;
}

.mission-card.healthcare {
    border-top: 4px solid #10b981;
}

.mission-card.environment {
    border-top: 4px solid #059669;
}

.mission-card.community {
    border-top: 4px solid #f59e0b;
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.mission-card.education .mission-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.mission-card.healthcare .mission-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.mission-card.environment .mission-icon {
    background: linear-gradient(135deg, #059669, #047857);
}

.mission-card.community .mission-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.mission-card:hover .mission-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-colored);
}

.mission-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mission-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mission-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* PWA Install Styles */
.pwa-install-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.pwa-install-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.install-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.install-title {
    font-weight: 600;
    font-size: 1rem;
}

.install-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
}

.install-platforms {
    display: flex;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.manual-install-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.manual-install-popup .popup-content {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 2rem;
    max-width: 400px;
    margin: 1rem;
    text-align: left;
}

.manual-install-popup h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.manual-install-popup ol {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.manual-install-popup button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Mobile Design */
@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-badge {
        padding: 1rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-card {
        padding: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
    }
}
/* Stylish About Image Section */
.about-image-stylish {
    position: relative;
    padding: 20px;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    padding: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    transform: rotate(-2deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatImage 6s ease-in-out infinite;
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 20px 45px rgba(102, 126, 234, 0.4);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-frame:hover::before {
    opacity: 1;
}

.about-main-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.image-frame:hover .about-main-image {
    transform: scale(1.02);
}

@keyframes floatImage {
    0%, 100% {
        transform: rotate(-2deg) translateY(0px);
    }
    50% {
        transform: rotate(-2deg) translateY(-10px);
    }
}

/* Responsive adjustments for about image */
@media screen and (max-width: 768px) {
    .about-image-stylish {
        padding: 10px;
        margin-bottom: 2rem;
    }
    
    .image-frame {
        transform: rotate(0deg);
    }
    
    .image-frame:hover {
        transform: rotate(0deg) scale(1.02);
    }
    
    @keyframes floatImage {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-5px);
        }
    }
}

/* About Section Wrapper - Image Above Text */
.about-section-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-section-wrapper .about-image-stylish {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.about-section-wrapper .about-content {
    text-align: left;
    padding: 0 1rem;
}

.about-section-wrapper .about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

/* Mobile Slider Fixes - Ensure Single Card Display */
@media screen and (max-width: 768px) {
    .slider-container {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden !important;
    }
    
    .people-slider .slider-wrapper {
        width: 100%;
    }
    
    .people-slider .team-card,
    .people-slider .leader-card,
    .people-slider .member-card {
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }
    
    /* Ensure proper card spacing on mobile */
    .people-slider .slider-slide {
        padding: 1rem 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
