.header{ 
    margin-top: 25px; 
    margin-bottom: 25px; 
} 
.nav { 
    font-family: "Agbalumo", system-ui; 
    font-size: 25px; 
    width: 100%; 
}

.nav-cont a{
    text-decoration: none;
    color: black;
    font-family: "Agbalumo", system-ui;
    font-size: 25px;
}

.nav-cont{ 
    display: grid; 
    grid-template-columns: repeat(12, 1fr); 
    margin-top: 25px; 
    gap: 30px; 
    margin-bottom: 25px; 
    width: 100%; 
} 
        
.home{ 
    grid-column: 2/ span 1;
    margin-top: auto; 
    margin-bottom: auto; 
} 
    
.home a{ 
    text-decoration: none; 
    color: rgb(rgb(0, 0, 0)); 
    white-space: nowrap; 
} 

.home li{ 
    list-style: none; 
    text-decoration: none; 
} 

.product{ 
    grid-column: 4/ span 1; 
    margin-top: auto; 
    margin-bottom: auto; 
} 
.product a{ 
    text-decoration: none; 
    color: rgb(rgb(0, 0, 0)); 
} 

.product li{ 
    list-style: none; 
    text-decoration: none; 
} 

.about{ 
    grid-column: 9 / span 2; 
    margin-top: auto; 
    margin-bottom: auto; 
} 

.about a{ 
    text-decoration: none; 
    color: black; 
} 

.about li{ 
    list-style: none; 
    text-decoration: none; 
} 

.contact{ grid-column: 11/ span 1; 
    margin-top: auto; 
    margin-bottom: auto; 
} 

.contact a{ 
    text-decoration: none; 
    color: black; 
} 

.contact li{ 
    list-style: none; 
    text-decoration: none; 
} 

body { 
    margin: 0; 
    background-color: #FFFBDF; 
} 

.logo img{ 
    height:auto; 
    width: 150px; 
    margin:auto; } 
    
.logo { 
    grid-column: 6/ span 2;
    margin: auto;
} 

.nav a:link, .nav a:visited, .nav a:active { 
    color: black; 
    text-decoration: none; 
    padding: 5px 10px; 
    border-radius: 0.5rem; 
}

.home a:hover{ 
    background-color: #447C45; 
    transition-duration: 0.5s; 
    color: white; 
} 

.product a:hover{ 
    background-color: #447C45; 
    transition-duration: 0.5s; 
    color: white; 
} 

.about a:hover{ 
    background-color: #447C45; 
    transition-duration: 0.5s; 
    color: white;
} 

.contact a:hover{ 
    background-color: #447C45; 
    transition-duration: 0.5s; 
    color: white; 
}

.hamburger{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    width:42px;
    height:42px;
    cursor:pointer;
    position:absolute;
    right:20px;
    top:25px;
    z-index:3000;
}

.hamburger span{
    width:100%;
    height:4px;
    background:#447C45;
    border-radius:10px;
    transition:0.3s ease;
}

/* =========================
   MOBILE NAVIGATION
========================= */

@media screen and (max-width:768px){
    .header{
    position: relative;
    padding: 20px 0;
    z-index: 5000;
    }

    .hamburger{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;

        width: 42px;
        height: 42px;

        cursor: pointer;

        position: absolute;
        right: 20px;
        top: 20px;   /* ✅ FIX: stop vertical centering trick */
        transform: none;

        z-index: 3000;
    }

    .nav{
        position:relative;
    }

    .nav-cont{
        position:fixed;
        top:0;
        right:-100%;
        width:260px;
        height:80vh;

        background:#FFF8E8;

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;


        transition:0.4s ease;

        box-shadow:-5px 0 20px rgba(0,0,0,0.15);

        z-index:2500;
    }

    .nav-cont.active{
        right:0;
    }

    .nav-cont a{
        font-size:28px;
    }

    .logo{
        order:-1;
    }

    .logo img{
        width:120px;
    }

    .home,
    .product,
    .about,
    .contact{
        grid-column:auto;
    }

    body.menu-open{
        overflow:hidden;
}

}

.footer{
    display: grid; 
    grid-template-columns: repeat(12, 1fr); 
    margin-top: 25px; 
    gap: 30px; 
    margin-bottom: 25px; 
    width: 100%; 
}

.footer1{
    grid-column: 2/ span 2;
    display: block;
}

.footer1 a{
    text-decoration: none;
    color: black;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

.footer1 img{
    width: 75%;
}

.footer1 li{
    list-style: none;
    text-decoration: none;
}

.footer1 p{
    font-family: "Poppins", sans-serif;
    font-size: 15px;
}

.footer2{
    grid-column: 4/ span 2;
    position: relative;
    align-items: start;
}

.footer2 li{
    list-style: none;
    text-decoration: none;
}

.footer2 a{
    text-decoration: none;
    color: black;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

.footer3{
    grid-column: 6/ span 2;
    position: relative;
    align-items: start;
}

.footer3 li{
    list-style: none;
    text-decoration: none;
}

.footer3 a{
    text-decoration: none;
    color: black;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

.footer4{
    grid-column: 8/ span 2;
    position: relative;
    align-items: start;
}

.footer4 li{
    list-style: none;
    text-decoration: none;
}

.footer4 a{
    text-decoration: none;
    color: black;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

.footer5{
    grid-column: 10/ span 2;
}

.footer5{
    color: black;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    text-align: right;
}

.cta-dashboard {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #FFBD59;
    padding: 15px 18px;
    font-family: "Agbalumo", system-ui;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* MODAL BACKDROP */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

/* MODAL BOX */
.modal-content {
    position: relative;
    width: 80%;
    height: 80%;
    margin: 5% auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

/* IFRAME DASHBOARD */
iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.admin-btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px 20px;

    background: linear-gradient(135deg, #447C45, #2f5f31);
    color: white !important;

    border-radius: 12px;
    font-weight: 600;

    transition: 0.3s ease;
}

.admin-btn:hover{
    background: linear-gradient(135deg, #FFBD59, #e6a83f);
    color: black !important;
}