﻿
.custom-navbar {
    background: linear-gradient(to right, #76ed7c, #f1f3f6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 999;
}

.custom-nav {
    padding: 6px 0;
}

.custom-navbar .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
/* Sticky on scroll */
.custom-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
}

.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
    text-align: right;
    padding: 10px 0;
    color: #444;
}

.custom-nav {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 10px 0; /* Small height */
}

    .custom-nav li {
        position: relative;
    }

        .custom-nav li a {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 15px;
            text-decoration: none;
            color: #333;
            padding: 6px 10px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

            .custom-nav li a:hover {
                background-color: #e7f0ff;
                color: #0d6efd;
            }

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    min-width: 180px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
    pointer-events: none;
}

.custom-nav li:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

    .dropdown-menu a:hover {
        background-color: #f5f7fa;
        color: #0d6efd;
    }

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .custom-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .custom-navbar.active .custom-nav {
        display: flex;
    }

    .custom-nav li {
        width: 100%;
        margin: 5px 0;
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: translateY(0);
        opacity: 1;
        box-shadow: none;
        border-radius: 0;
    }
}




.custom-header {
    background: #05680a;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}



.logo img {
    height: 80px; /* Smaller logo for mobile */
    margin-right: 0.5rem;
    border-radius: 10px;
}

.logo-text {
    text-align: center;
}

.info-section {
    flex: 1;
    text-align: center;
    padding-left: 15px;
}

.full-name {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
}

.info-text {
    font-size: 14px;
    color: #d9db1a;
}

.info-text2 {
    font-size: 20px;
    color: #0c1c7c;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-section {
        text-align: center;
        padding-left: 0;
        margin-top: 8px;
    }
}
