/* --- Variables & Reset --- */
:root {
    --primary-blue: #0056b3;
    --primary-green: #2ecc71;
    --dark-text: #333333;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; scroll-behavior: smooth; }
body { color: var(--dark-text); line-height: 1.6; padding-top: 80px; } 
.container { width: 90%; max-width: 1200px; margin: auto; }
.section { padding: 80px 0; }
.bg-light { background: var(--light-bg); }
.bg-primary { background: var(--primary-blue); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Typography & Titles */
h1, h2, h3 { font-weight: 700; margin-bottom: 20px; }
.section-title { text-align: center; font-size: 2.2rem; color: var(--primary-blue); margin-bottom: 50px; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary-green); margin: 10px auto 0; }

/* Buttons */
.btn { display: inline-block; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); text-align: center; }
.btn-primary { background: var(--primary-green) !important; color: var(--white) !important; border: 2px solid var(--primary-green); }
.btn-primary:hover { background: #27ae60 !important; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--primary-blue); }

/* --- Navbar --- */
#navbar { position: fixed; top: 0; width: 100%; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; height: 80px;}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo a { display: flex; align-items: center; text-decoration: none; font-size: 1.1rem; font-weight: 700; color: var(--primary-blue); text-transform: uppercase; }
.logo span { color: var(--primary-green); margin-left: 5px; } 
.nav-logo { height: 50px; width: auto; border-radius: 50%; margin-right: 10px; transition: var(--transition); }
.nav-logo:hover { transform: scale(1.05); }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 20px; }
.nav-links a { text-decoration: none; color: var(--dark-text); font-weight: 600; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary-green); }
.hamburger { display: none; cursor: pointer; }
.hamburger div { width: 25px; height: 3px; background: var(--dark-text); margin: 5px; transition: var(--transition); }

.lang-toggle { margin-left: 20px; padding: 8px 18px; background: var(--primary-blue); color: var(--white); border: none; border-radius: 20px; cursor: pointer; font-weight: bold; transition: var(--transition); }
.lang-toggle:hover { background: var(--primary-green); }

/* --- Page Headers --- */
.page-header { background: var(--primary-blue); color: var(--white); text-align: center; padding: 60px 20px; margin-bottom: 40px; }
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; color: var(--primary-green); }

/* --- Hero Section & Blinking Vision --- */
.hero { height: calc(100vh - 80px); background: linear-gradient(135deg, rgba(0, 86, 179, 0.9), rgba(46, 204, 113, 0.8)), url('./images/photo1.webp') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 0 20px; }
.hero h1 { font-size: 3rem; margin-bottom: 10px; color: var(--white); }
.hero h2 { font-size: 1.8rem; font-weight: 400; margin-bottom: 10px; }
.hindi-slogan { font-size: 1.5rem; font-weight: 600; color: #f1c40f; margin-bottom: 20px; }
.hero-desc { max-width: 600px; margin: 0 auto 30px; font-size: 1.1rem; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; margin-bottom: 30px; }

.vision-box { background: rgba(255,255,255,0.1); padding: 10px 20px; border-radius: 30px; display: inline-block; font-size: 1.2rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.3); }
.dynamic-text { color: #f1c40f; }
.cursor { display: inline-block; width: 3px; background-color: #f1c40f; animation: blink 0.8s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* --- Team Section --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.team-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; transition: var(--transition); border-bottom: 4px solid var(--primary-blue); }
.team-card:hover { transform: translateY(-10px); border-color: var(--primary-green); }

/* ⬇️ UPDATED: Image size increased from 120px to 150px ⬇️ */
.team-card img { 
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-bottom: 15px; 
    border: 4px solid var(--light-bg); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}
/* ⬆️ UPDATED ⬆️ */

.team-card h3 { color: var(--primary-blue); margin-bottom: 5px; font-size: 1.3rem; }
.team-card h4 { color: #666; font-size: 1rem; font-weight: 400; margin-bottom: 15px; }

/* --- Grid Layouts --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.org-details { margin-top: 20px; background: var(--light-bg); padding: 20px; border-left: 4px solid var(--primary-blue); border-radius: 5px; }
.org-details ul { list-style: none; margin-top: 10px; }
.org-details li { margin-bottom: 8px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; transition: var(--transition); border-bottom: 4px solid transparent; }
.card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary-blue); }
.card-icon { font-size: 3rem; margin-bottom: 15px; }

.involved-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.donate-box, .volunteer-form { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); color: var(--dark-text); }
.upi-details { background: #e8f4fd; padding: 15px; border-radius: 5px; margin: 20px 0; text-align: center; font-size: 1.2rem; color: var(--primary-blue); font-weight: bold; }
form input, form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit; }

/* QR Code & Gallery */
.qr-image { width: 100%; max-width: 250px; height: auto; border-radius: 10px; border: 3px solid var(--primary-blue); margin: 15px auto; display: block; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.gallery-item { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { background: var(--primary-blue); color: white; text-align: center; padding: 10px; font-weight: bold; }

.img-placeholder { background: linear-gradient(135deg, rgba(0, 86, 179, 0.85), rgba(46, 204, 113, 0.85)), url('./images/photo1.webp') center/cover; color: white; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 1.8rem; font-weight: 700; text-align: center; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); }

/* --- Floating WhatsApp Icon --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); background-color: #1ebe57; }
.whatsapp-float svg { width: 35px; height: 35px; fill: white; }

/* --- Footer --- */
footer { background: var(--dark-text); color: var(--white); padding: 40px 0 20px; text-align: center; margin-top: 40px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: var(--white); text-decoration: none; margin: 0 10px; }
.footer-links a:hover { color: var(--primary-green); }
.footer-bottom { border-top: 1px solid #555; padding-top: 20px; font-size: 0.9rem; color: #aaa; }

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .hamburger { display: block; }
    .about-grid, .involved-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .footer-content { flex-direction: column; gap: 20px; }
    .page-header { padding: 40px 20px; }
    .logo a { font-size: 0.9rem; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}
