/* IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins", sans-serif;
}

/* TOPBAR */
.topbar{
    background:#045c0c;
    color:#fff;
    font-size:14px;
    padding:6px 10%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}
.topbar i{
    color:#ffe400;
    margin-right:5px;
}
.social-links a{
    color:#ffe400;
    margin:0 8px;
    font-size:15px;
    transition:.3s;
}
.social-links a:hover{
    color:#fff;
}

/* NAVBAR */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 8%;
    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
}
.logo img{
    width:55px;
    margin-right:10px;
}
.logo h1{
    font-size:22px;
    color:#028a0f;
    font-weight:700;
}

.navbar nav{
    display:flex;
    align-items:center;
    gap:18px;
}

/* NAV LINKS */
.navbar nav a{
    color:#028a0f;
    text-decoration:none;
    font-weight:600;
    padding:8px 12px;
    border-radius:6px;
    transition:0.3s;
}
.navbar nav a:hover{
    background:#028a0f;
    color:#fff;
}
.navbar nav a[href="about.php"]{
    white-space:nowrap;
}

/* DONATE BUTTON */
.donate-btn{
    background:#ffe400;
    color:#000 !important;
    font-weight:700;
}

/* DROPDOWN */
.dropdown{
    position:relative;
}
.dropdown > a{
    white-space:nowrap;
    display:flex;
    align-items:center;
    gap:5px;
}
.dropdown-content{
    display:none;
    position:absolute;
    top:38px;
    left:0;
    background:#fff;
    border-radius:8px;
    box-shadow:0 6px 18px rgba(0,0,0,0.15);
    min-width:200px;
    z-index:999;
}
.dropdown-content a{
    display:block;
    padding:10px 15px;
    color:#028a0f;
    text-decoration:none;
}
.dropdown-content a:hover{
    background:#028a0f;
    color:#fff;
}
.dropdown:hover .dropdown-content{
    display:block;
}
/* FIX: Prevent dropdown from pushing FAQ under it */
.navbar nav {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 10;
}

/* Ensure dropdown stays above other menu items */
.dropdown-content {
    position: absolute;
    z-index: 9999;
}

/* Ensure nav links stay aligned in one row */
.navbar nav a,
.dropdown {
    position: relative;
    z-index: 10;
}
