@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@700;800&family=Dancing+Script:wght@700&display=swap');

:root {
    --primary: #0A2540;
    --primary-light: #1A3A5F;
    --razorpay-blue: #0C3B6B;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-weight: 800; }

.calligraphy { font-family: 'Dancing Script', cursive; color: #3b82f6; }

/* --- Header & Navigation --- */
header {
    height: var(--header-height);
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header { height: 45px; width: auto; }

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

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 28px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-link:hover { color: #3b82f6; }

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 15px 0;
}

.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-link {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-link:hover { background: var(--bg-light); color: #3b82f6; padding-left: 30px; }

.btn-donate-sm {
    background: var(--razorpay-blue);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    margin-left: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-donate-sm:hover { background: #092e54; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* Mobile Menu */
.hamburger { display: none; color: white; font-size: 24px; cursor: pointer; }

.mobile-sidebar {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: var(--primary); z-index: 2000; padding: 40px; transition: var(--transition);
}

.mobile-sidebar.active { right: 0; }
.sidebar-close { color: white; font-size: 28px; float: right; cursor: pointer; }
.sidebar-links { margin-top: 60px; display: flex; flex-direction: column; gap: 25px; }
.sidebar-link { color: white; text-decoration: none; font-size: 18px; font-weight: 600; }

/* --- Hero System --- */
.hero {
    padding: 120px 0;
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero h1 { color: white; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 25px; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 800px; margin-bottom: 40px; }

.btn-hero {
    padding: 16px 36px; border-radius: 50px; font-weight: 700; text-decoration: none;
    transition: var(--transition); display: inline-block; font-size: 16px;
}

.btn-primary { background: #3b82f6; color: white; }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* --- Layout --- */
.section-padding { padding: 100px 0; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Cards */
.initiative-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.initiative-card {
    background: white; padding: 45px; border-radius: 24px; border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition);
}
.initiative-card:hover { transform: translateY(-12px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.initiative-card i { font-size: 2.5rem; color: #3b82f6; margin-bottom: 25px; display: block; }

/* --- Footer --- */
footer { background: var(--primary); color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-col h4 { color: white; margin-bottom: 30px; font-size: 18px; }
.footer-col p { font-size: 14px; opacity: 0.8; margin-bottom: 12px; line-height: 1.8; }
.footer-logo { height: 55px; margin-bottom: 25px; }
.social-icons { display: flex; gap: 20px; margin-top: 30px; }
.social-icons a { color: white; font-size: 22px; transition: var(--transition); }
.social-icons a:hover { color: #3b82f6; transform: translateY(-3px); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 14px; opacity: 0.6; }

/* --- Responsive --- */
@media (max-width: 1100px) {
    .nav-menu { display: none; }
    .hamburger { display: block; }
}
@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero { padding: 80px 0; text-align: center; }
    .hero p { margin: 0 auto 40px; }
}
