body, h1, h2 {
    font-family: "Montserrat", sans-serif;
}

/* =========================================
   GLOBAL BODY SETTINGS
========================================= */
body, html {
    min-height: 100%;
    margin: 0;

    background-color: #0b1520;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Desktop fixed background */
    background-attachment: fixed;
}

/* =========================================
   PAGE BACKGROUNDS
========================================= */

/* Home Page */
.home-page {
    background-image: url('https://gls.co.zm/assets/img/backgroundimg.png');
}

/* About Page */
.about-page {
    background-image: url('https://gls.co.zm/assets/img/backgroundimg1.png');
}

/* Services Page */
.services-page {
    background-image: url('https://gls.co.zm/assets/img/backgroundimg2.png');
}

/* Contact Page */
.contact-page {
    background-image: url('https://gls.co.zm/assets/img/backgroundimg2.png');
}

/* =========================================
   OPTIONAL SECTION BACKGROUNDS
========================================= */
.bgimg,
.bgimg1,
.bgimg2,
.bgimg3 {
    min-height: 100vh;
    background-position: center;
    background-size: cover;
}

/* =========================================
   OVERLAY
========================================= */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background: rgba(0,0,0,0.4); */
}

/* =========================================
   STICKY HEADER / NAVBAR
========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(10, 20, 35, 0.45);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(10, 20, 35, 0.60);
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);
}

/* Header Layout */
.site-header .w3-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* =========================================
   LOGO
========================================= */
.nav-logo {
    position: relative;
    z-index: 2;
}

.nav-logo img {
    display: block;
    height: 50px;
    width: auto;
}

/* =========================================
   CENTERED DESKTOP NAVIGATION
========================================= */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Navigation Links */
.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: rgba(255,255,255,0.92);

    padding: 10px 14px;
    border-radius: 12px;

    transition: all 0.3s ease;
}

/* Hover */
.nav-links a:hover {
    background: rgba(255,255,255,0.10);
    color: #f4c542;
}

/* Active Menu */
.nav-links a.is-active {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.10);
    color: #ffffff;
}

/* =========================================
   MOBILE MENU BUTTON (☰)
========================================= */
.w3-bar .w3-button {
    color: white !important;
    font-size: 24px;
    background: transparent !important;

    font-weight: normal;
}

/* Hover effect */
.w3-bar .w3-button:hover {
    background: rgba(255,255,255,0.10) !important;

    color: white !important;

    font-weight: normal;
}

/* =========================================
   MOBILE DROPDOWN MENU
========================================= */
#mobileMenu {
    background: rgba(10, 20, 35, 0.92) !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-top: 1px solid rgba(255,255,255,0.08);

    width: 100%;
}

/* Mobile menu links */
#mobileMenu a {
    color: white !important;

    display: block;
    padding: 14px 20px;

    text-decoration: none;

    font-weight: normal;
}

/* Hover effect */
#mobileMenu a:hover {
    background: rgba(255,255,255,0.10);

    color: white !important;

    font-weight: normal;
}

/* =========================================
   SERVICE CARDS
========================================= */
.services-row {
    display: flex;
    flex-wrap: wrap;
}

.services-row > div {
    display: flex;
}

.service-card {
    background: rgba(0,0,0,0.45);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    padding: 20px;
    border-radius: 18px;

    color: white;

    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* =========================================
   ABOUT SECTION PANEL
========================================= */
#about {
    max-width: 700px;
    margin: auto;

    background: rgba(0,0,0,0.65);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    padding: 40px;
    border-radius: 25px;

    color: white;

    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* About headings */
#about h1,
#about h2,
#about h3 {
    color: #ffffff;
}

/* About text */
#about p {
    color: rgba(255,255,255,0.92);
    line-height: 1.7;
}

/* =========================================
   FOOTER
========================================= */
footer {
    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    color: white;
}

/* Footer text */
footer p,
footer span,
footer div {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;

    word-wrap: break-word;
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media screen and (max-width: 600px) {

    body,
    html {
        background-attachment: scroll !important;
    }

    /* Keep sections tall enough on mobile */
    .bgimg,
    .bgimg1,
    .bgimg2,
    .bgimg3 {
        min-height: 100vh;
        background-size: cover;
        background-position: center;
    }

    /* Better footer visibility */
    footer {
        padding: 14px 15px;
        margin-top: 20px;

        background: rgba(0,0,0,0.75);
        color: white;

        position: relative;
        z-index: 10;
    }

    footer p,
    footer span,
    footer div {
        font-size: 14px;
        color: white;
    }
}