/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Top Menu */
.top-menu {
    background-color: #000;
    color: #fff;
    text-align: right;
    padding: 10px 20px;
}

.top-menu ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.top-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.top-menu a:hover {
    color: #ccc; /* Light grey on hover */
    text-decoration: none; /* Prevent underline on hover */
}

/* Header Section */
.header-section {
    background-color: #000;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.logo {
    padding: 0;
    margin: 0;
}

.logo img {
    max-height: 80px; /* Default size */
    transition: all 0.3s ease-in-out; /* Smooth resizing */
}

.banner-ad {
    flex: 1 1 auto;
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 5px 0;
}

/* Increase Logo Size on Desktop */
@media (min-width: 992px) {
    .logo img {
        max-height: 120px; /* Larger logo for desktops/laptops */
    }
}

/* Lower Navigation Bar (Dark Green) */
.navbar {
    background-color: #013220; /* Dark Green */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Depth effect */
    padding: 0;
    margin: 0;
}

.navbar-nav {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start; /* Left-align menu items */
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important; /* Force white text */
    font-size: 16px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background-color: #024c33; /* Slightly lighter green for hover effect */
    color: #dddddd !important; /* Light gray for hover text */
}

/* Responsive Design for Hamburger Menu */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    color: #fff;
}

.banner-ad {
    text-align: center; /* Center the banner for better presentation */
}

.responsive-banner {
    max-width: 100%; /* Ensure the image doesn't overflow the container */
    height: auto;    /* Maintain the aspect ratio */
}

/* Adjustments for Mobile Screens */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column; /* Stack logo and ad */
        text-align: center;
    }

    .logo img {
        max-height: 60px; /* Slightly smaller logo for mobile */
    }

    .banner-ad {
        text-align: center;
    }

    .navbar-nav {
        justify-content: flex-start; /* Ensure left alignment on mobile */
    }
}
