* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
     padding-top: 90px;
}

/* Navigation Bar */
.navbar {
    background: #1a1a2e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    margin: 0 auto;
    padding: 10px 20px 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo - Left Side */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 80px;
    width: 150px;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.logo a:hover .logo-img {
    transform: scale(1.1);
    filter: drop-shadow(2px 2px 8px rgba(255, 215, 0, 0.5));
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;

    /* ⭐ ADDED → Ensures menu stays right */
    margin-left: auto;
}

.nav-item {
    position: relative;
}

/* Dropdown Menu for Home1 */
.home-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a2e;
    list-style: none;
    padding: 10px 0;
    margin: 5px 0 0 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1001;
}

.home-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-link:hover {
    background: transparent;
    color: #ffd700;
    padding-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    display: block;
    border-radius: 25px;
    background: transparent;
}

.nav-link:hover {
    background: transparent;
    color: #ffd700;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-container {
        height: auto;
        padding: 10px 20px;
    }

    .hamburger {
        display: flex;
    }

    .logo-img {
        height: 70px;
        width: 70px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #1a1a2e;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-link {
        width: 100%;
        padding: 15px 20px;
        margin: 5px 20px;
        border-radius: 10px;
    }

    .nav-link:hover {
        background: transparent;
        color: #ffd700;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .home-dropdown:hover .dropdown-menu {
        transform: none;
    }

    .dropdown-link {
        padding: 10px 40px;
        font-size: 14px;
    }
}


.nav-logo img {
    width: 140px;        /* bigger size for mobile */
    height: auto;
}

@media (min-width: 768px) {
    .nav-logo img {
        width: 180px;    /* normal size for tablet+ */
    }
}

@media (min-width: 1024px) {
    .nav-logo img {
        width: 200px;    /* normal size for desktop */
    }
}
/*ppppppppppppppppppppppppppppp*/

:root{
  --bg:#f3f6f9;
  --card:#ffffff;
  --muted:#6b7280;
  --accent:#059669;
  --glass: rgba(2,6,23,0.06);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,Arial,sans-serif;
  background:var(--bg);
  color:#0b1220;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* page wrap */
.wrap{
  max-width:1200px;
  margin:28px auto;
  padding:20px;
}

/* header */
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:18px;
}
.header h1{font-size:24px;margin:0}
.sub{color:var(--muted);margin-top:6px;font-size:14px}
.controls{display:flex;gap:10px;align-items:center}
.select{padding:8px 12px;border-radius:8px;border:1px solid #e6eef6;background:white}
.btn{padding:10px 14px;border-radius:8px;border:0;cursor:pointer}
.btn.outline{background:white;border:1px solid #e6eef6}

/* stats grid */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.stat-card{background:var(--card);padding:14px;border-radius:12px;box-shadow:0 8px 20px var(--glass)}
.stat-top{display:flex;justify-content:space-between;align-items:center}
.stat-icon{font-size:20px;background:linear-gradient(90deg,#ecfccb,#bbf7d0);padding:8px;border-radius:8px}
.stat-change{font-size:13px}
.stat-change.up{color:#059669}
.stat-value{font-size:20px;font-weight:800;margin-top:8px}
.stat-label{color:var(--muted);font-size:13px;margin-top:6px}

/* charts */
.charts-row{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:16px}
.card{background:var(--card);border-radius:12px;padding:14px;box-shadow:0 12px 30px var(--glass)}
.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.card-head h3{margin:0;font-size:16px}

/* donation large chart */
.chart-large{padding:16px}
.chart-large canvas{width:100%!important;height:320px!important}

/* small pie */
.chart-small{display:flex;flex-direction:column;align-items:center;gap:8px}
.chart-small canvas{width:100%!important;height:220px!important}
.legend{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:8px}
.legend .item{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted)}

/* two column area */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.card-body{padding:6px 2px}

/* projects list */
.project-row{padding:10px;border-radius:10px;background:#fbfdff;margin-bottom:10px;display:block;box-shadow:0 6px 18px rgba(2,6,23,0.03)}
.progress-wrap{height:10px;background:#eef2f7;border-radius:999px;overflow:hidden;margin-top:8px}
.progress-bar{height:100%;background:linear-gradient(90deg,var(--accent),#34d399);width:0%}

/* recent list */
.recent-item{display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;background:#fff;margin-bottom:10px;box-shadow:0 6px 18px rgba(2,6,23,0.03)}
.recent-avatar{width:44px;height:44px;border-radius:50%;background:#eef2f7;display:grid;place-items:center;font-weight:700;color:#0b1220}
.recent-meta{flex:1}
.recent-amt{font-weight:800;color:var(--accent)}

/* impact metrics */
.metrics{padding:12px}
.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.metric{background:linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));border-radius:12px;padding:18px;text-align:center;color:white;box-shadow:0 10px 30px rgba(2,6,23,0.08)}
.metric h4{margin:6px 0 0;font-size:20px}
.metric p{margin:6px 0 0;color:rgba(255,255,255,0.9)}

/* footer */
.footer{text-align:center;color:var(--muted);margin-top:18px;font-size:13px}

/* reveal */
.reveal{opacity:1;transform:none;transition:all .7s cubic-bezier(.2,.9,.3,1)}
.reveal.active{opacity:1;transform:none}

/* responsive */
@media (max-width:980px){
  .charts-row{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .metrics-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
  .metrics-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr}
  .header{flex-direction:column;align-items:flex-start;gap:10px}
}


/*footer*/

.site-footer {
    background: linear-gradient(135deg, #0a0f24, #111b3b);
    color: #d9e4ff;
    padding: 70px 20px 35px;
    font-family: "Poppins", sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* BRAND SECTION */
.footer-brand {
    flex: 1.6;
    min-width: 280px;
}

.footer-logo {
    width: 170px;
    margin-bottom: 20px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b8c7e8;
    margin-bottom: 20px;
}

/* SUBSCRIBE SECTION */
.footer-subscribe {
    margin-top: 25px;
}

.subscribe-label {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 50px;
    border: 1px solid #39466a;
    background: #1a2547;
    color: white;
    outline: none;
    transition: 0.3s;
}

.subscribe-input:focus {
    border-color: #6c92ff;
}

.subscribe-button {
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #5e2bff, #3d94ff);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
    font-weight: 600;
}

.subscribe-button:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, #3a20ff, #2d7aff);
}

.subscribe-hint {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #93a3c7;
}

/* LINKS SECTION */
.footer-columns {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 35px;
    min-width: 250px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.15rem;
    position: relative;
}

.footer-column h3::after {
    content: "";
    width: 35px;
    height: 3px;
    background: #3b82ff;
    display: block;
    margin-top: 5px;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #b5c6e4;
    text-decoration: none;
    transition: 0.25s;
}

.footer-column a:hover {
    color: #fff;
    padding-left: 6px;
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 45px;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom-left p {
    margin: 0;
    color: #92a3ca;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
}

.footer-legal a {
    color: #b7cbff;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #fff;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1b2647;
    padding: 10px;
    transition: 0.3s;
    filter: grayscale(30%);
}

.social-icon:hover {
    transform: scale(1.15);
    background: #3b82ff;
    filter: grayscale(0%);
    box-shadow: 0px 0px 12px rgba(59, 130, 255, 0.6);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-columns {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-button {
        width: 100%;
    }

    .footer-columns {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}
