﻿/* Navbar base */
#mainNavbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: transparent; /* fully transparent initially */
    padding: 0.5rem 1rem; /* smaller height */
    transition: top 0.4s ease-in-out, background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    font-family: Calibri, sans-serif;
}

    /* Navbar scrolled */
    #mainNavbar.scrolled {
        background-color: #052d46; /* background color after scroll */
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    /* Navbar hidden on scroll down */
    #mainNavbar.hidden {
        top: -120px; /* hide above viewport */
    }

/* Logo */
.navbar-logo {
    height: 40px; /* smaller logo */
    transition: height 0.3s ease;
}

/* Links */
#mainNavbar .nav-link {
    color: #fff !important;
    font-size: 0.9rem;
    text-transform: none;
    margin: 0 8px;
}

/* Dropdown menu (desktop + mobile) */
#mainNavbar .dropdown-menu {
    background-color: #052d46 !important;
}

    #mainNavbar .dropdown-menu .dropdown-item {
        color: #fff !important;
        font-size: 0.9rem;
    }

        #mainNavbar .dropdown-menu .dropdown-item:hover {
            background-color: rgba(255,255,255,0.15);
            color: #fff !important;
        }

/* Solid white divider */
#mainNavbar .dropdown-divider {
    border-top: 1px solid #fff !important;
    opacity: 1 !important;
}

/* Expanded mobile background */
@media (max-width: 991px) {
    #navbarNav {
        background-color: #052d46 !important;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }

    #mainNavbar .nav-link {
        padding: 10px 0;
        display: block;
    }
}

/* Mobile toggle icon */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}





/* Main Footer Background */
.footer-main {
    background-color: #052d46; /* theme color */
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin: 0;
}

/* Quick Links Buttons */
.footer-link {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

    .footer-link:hover {
        color: #18998E;
    }



/* Social Icons Hover */
.social-btn {
    transition: all 0.3s ease;
}

    .social-btn:hover {
        background-color: #18998E;
        border-color: #18998E;
        transform: scale(1.1);
        color: #fff;
    }

/* Decorative Separator */
.footer-separator {
    width: 80%;
    height: 2px;
    margin: 12px auto; /* equal spacing top and bottom */
    background: linear-gradient(to right, #18998E, #7ed8d1);
    border-radius: 1px;
}


/* Copyright Bar */
.footer-copyright {
    background-color: #052d46;
}

/* Text Adjustments */
.footer-main h5,
.footer-main h6 {
    color: #fff;
}

.footer-main p {
    color: rgba(255, 255, 255, 0.85);
}
header .container {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

#mainNavbar .container {
    max-width: 100% !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}