@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
    margin: 0;
    background-color: #000;   /* Black background */
    color: #f5f5f5;      /* Light text */
    font-family: Poppins;
    font-size: 12px;
}

header {
    width: 2240px;
    max-width: 100%;
    margin: auto;
    height: 45px; /* Reduced height */
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    background-color: #db9e106b;
}

header a {
    color: #000000;
    font-weight: 600;
    margin-right: 10px;
    padding: 5px 10px; /* Reduce padding para dili dako */
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 15px;
}
header a:hover {
    color: #db9a19;
    background: linear-gradient(45deg, #000000, #333333);
    border-radius: 0; /* Square edges */
    transform: translateY(-3px);
}

header a.active {
    color: #ffffff;
    background: linear-gradient(45deg, #000000, #333333);
    border-radius: 0; /* Square edges */
}

a.active,
header a:hover {
    background: #d4af37; /* Gold background on hover/active */
    color: #000;          /* Black text on hover/active */
    border-radius: 2px;
}


.fb-pages {
    padding: 40px 5%;
    text-align: center;
}

.fb-pages h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: gold;
}

/* Container for the boxes */
.fb-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* wrap to new line on small screens */
    justify-content: center;
    gap: 20px;
}

/* Bigger FB Box */
.fb-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    width: 300px; /* Bigger width */
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Bigger image */
.fb-box img {
    width: 100%;
    height: 200px;      /* Taller image */
    object-fit: cover;  /* Fill box nicely */
    display: block;
}

/* Bigger text */
.fb-box .fb-name {
    margin: 15px 0;      /* More spacing */
    font-weight: 700;
    font-size: 1.2rem;   /* Larger text */
    color: #fff;
    text-align: center;
}

/* Hover effect */
.fb-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .fb-box {
        width: 45%;
    }

    .fb-box img {
        height: 180px;
    }

    .fb-box .fb-name {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .fb-box {
        width: 100%;
    }

    .fb-box img {
        height: 160px;
    }

    .fb-box .fb-name {
        font-size: 1rem;
    }
}



/* LOGO OVERLAY - SIMPLE, ALWAYS VISIBLE */
.logo-overlay {
    position: absolute;
    top: 40px;
    right: 30px;
    z-index: 1000;

    display: flex;
    gap: 12px;
    align-items: center;
}

/* LOGOS - FIXED SIZE, NO EFFECTS */
.logo-overlay img {
    width: 85px;        /* fixed width */
    height: 100px;       /* fixed height */
    object-fit: contain; /* keep proportions */
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .logo-overlay {
        top: 10px;
        right: 10px;
        gap: 8px;
    }

    .logo-overlay img {
        width: 40px;
        height: 40px;
    }
}