:root {
    --primary-color: #4f46e5; /* Indigo */
    --secondary-color: #4338ca;
    --accent-color: #f97316; /* Orange */
    --bg-color: #f8fafc;
    --bg-light: #ffffff;
    --text-main: #1e293b;
    --text-light: #64748b;
    --font-main: 'Outfit', 'Segoe UI', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-main); background: var(--bg-color); line-height: 1.6; overflow-x: hidden; scroll-behavior: smooth; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.w-100 { width: 100%; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 50px; font-weight: 600; text-decoration: none; cursor: pointer; transition: var(--transition); border: none; text-align: center; font-size: 1.1rem; letter-spacing: 0.5px;}
.btn-primary { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; box-shadow: 0 10px 20px -10px var(--primary-color); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 25px -10px var(--primary-color); }
.btn-secondary { background: white; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: white; }
.btn-glow { animation: glow 2s infinite alternate; }
@keyframes glow {
    from { box-shadow: 0 0 10px -5px var(--primary-color); }
    to { box-shadow: 0 0 20px 5px var(--primary-color); }
}

/* Header - Removed old custom header styles since we will use Tailwind */

/* Hero */
.hero-section { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden; background: linear-gradient(to right, #0f172a, #1e293b); }
.hero-bg, .hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background-size: cover; background-position: center; filter: brightness(0.6); }
.hero-section::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(15,23,42,0.3) 0%, rgba(15,23,42,0.8) 100%); z-index: -1; }
.hero-content { z-index: 1; max-width: 900px; padding: 40px; background: rgba(255,255,255,0.05); backdrop-filter: blur(10px); border-radius: 30px 30px 0 0; border: 1px solid rgba(255,255,255,0.1); border-bottom: none; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.hero-title { font-size: 5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.1; background: linear-gradient(to right, #fff, #cbd5e1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.4rem; margin-bottom: 40px; color: #e2e8f0; font-weight: 300; }

/* Interactive Section */
.interactive-container { padding: 80px 0; background: #f8fafc; }
.interactive-row { display: flex; align-items: center; gap: 40px; margin-bottom: 60px; }
.interactive-row:last-child { margin-bottom: 0; }
.interactive-row.row-reverse { flex-direction: row-reverse; }
.int-img { flex: 1; min-width: 0; }
.int-img img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-md); border: 4px solid #ffffff; }
.int-text { flex: 1; min-width: 0; }
.int-text h2 { font-size: 2.2rem; font-weight: 700; color: var(--text-main); margin-bottom: 15px; line-height: 1.2; }
.int-text p { font-size: 1.1rem; color: var(--text-light); line-height: 1.8; }


/* Gallery Section */
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-color); margin-bottom: 40px; }
.gallery-section { padding: 80px 0; }
.gallery-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
.tab-btn { padding: 10px 25px; border: 2px solid var(--primary-color); background: transparent; color: var(--primary-color); border-radius: 50px; font-weight: bold; cursor: pointer; transition: var(--transition); }
.tab-btn.active, .tab-btn:hover { background: var(--primary-color); color: white; }
.gallery-content { display: none; }
.gallery-content.active { display: block; animation: fadeIn 0.5s; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { position: relative; border-radius: 15px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item .overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; padding: 20px; transform: translateY(100%); transition: var(--transition); text-align: center; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .overlay { transform: translateY(0); }

/* Lightbox */
.lightbox { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); }
.lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 90vh; margin-top: 5vh; border-radius: 10px; }
.close-lightbox { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; }

/* Donations Section */
.donations-section { padding: 80px 0; }
.donation-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.donation-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.donation-card:hover { transform: translateY(-10px); }
.d-img { width: 100%; height: 220px; object-fit: cover; }
.d-content { padding: 25px; }
.d-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text-main); }
.d-content p { color: var(--text-light); margin-bottom: 20px; height: 50px; overflow: hidden; }
.progress-bg { background: #e2e8f0; height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 10px; }
.progress-bar { background: var(--accent-color); height: 100%; }
.d-stats { display: flex; justify-content: space-between; font-weight: bold; color: var(--primary-color); margin-bottom: 20px; font-size: 0.9rem; }

/* Payment Modal */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); backdrop-filter: blur(5px); }
.modal-content { background: white; margin: 10% auto; padding: 40px; border-radius: 20px; width: 90%; max-width: 500px; text-align: center; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); position: relative; animation: slideIn 0.3s; }
@keyframes slideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; color: #64748b; }
.amount-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.amount-btn { padding: 15px; background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 1.2rem; font-weight: bold; color: var(--text-main); cursor: pointer; transition: var(--transition); }
.amount-btn:hover { border-color: var(--primary-color); color: var(--primary-color); background: #eff6ff; }
.timer { font-size: 2.5rem; font-weight: bold; color: var(--accent-color); margin: 20px 0; }
.upi-apps { display: flex; justify-content: center; gap: 20px; }
.upi-icon { border: 1px solid #ddd; padding: 10px; border-radius: 10px; transition: transform 0.2s; }
.upi-icon:hover { transform: scale(1.1); box-shadow: var(--shadow-sm); }

/* News Section */
.news-section { padding: 80px 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.news-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-sm); }
.n-img { height: 200px; overflow: hidden; }
.n-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .n-img img { transform: scale(1.05); }
.n-content { padding: 25px; }
.n-date { color: var(--accent-color); font-size: 0.9rem; font-weight: bold; margin-bottom: 10px; display: block; }
.n-content h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-main); }
.n-content p { color: var(--text-light); }

/* Team Section */
.team-section { padding: 80px 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px; text-align: center; }
.team-card img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; box-shadow: var(--shadow-md); border: 5px solid white; transition: var(--transition); }
.team-card:hover img { transform: scale(1.1); border-color: var(--primary-color); }
.team-card h4 { font-size: 1.2rem; color: var(--text-main); margin-bottom: 5px; }
.team-card p { color: var(--text-light); }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 60px 0 20px; }
.footer h3 { color: white; font-size: 2rem; margin-bottom: 20px; }
.social-links { margin-bottom: 30px; }
.social-links a { display: inline-block; width: 40px; height: 40px; line-height: 40px; background: rgba(255,255,255,0.1); color: white; border-radius: 50%; margin: 0 10px; font-size: 1.2rem; transition: var(--transition); text-decoration: none; }
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }

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

/* Responsive */
@media (max-width: 992px) {
    .interactive-row, .interactive-row.row-reverse { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
}

/* Swiper Overrides */
.swiper { width: 100%; padding-bottom: 50px; }
.swiper-pagination-bullet-active { background: var(--primary-color); }

/* Voice Cards */
.voice-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; padding: 20px; transition: transform 0.3s; }
.voice-card:hover { transform: translateY(-5px); }
.voice-img-wrapper { width: 120px; height: 120px; margin: 0 auto 15px; border-radius: 50%; border: 4px solid var(--primary-color); overflow: hidden; }
.voice-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.voice-card h4 { font-size: 1.2rem; color: var(--text-main); margin-bottom: 5px; }
.voice-card .position { color: var(--text-light); font-size: 0.9rem; margin-bottom: 15px; }
.voice-card audio { width: 100%; height: 40px; outline: none; }