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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Ensure the header and navbar are responsive */
header {
    background-color: #333;
    color: white;
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap; /* Ensures items wrap on small screens */
}

/* Navigation menu items */
.navbar ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.navbar ul li {
    margin: 0 10px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Logo container */
.logo {
    width: 50px;
    height: 50px;
    background-image: url('/assets/images/NSMEC_Logo_Master.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

/* Add spacing for company name */
.company-name {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* Mobile Styles with Media Queries */
@media (max-width: 768px) {
    /* Stack the logo and company name vertically on smaller screens */
    .navbar {
        justify-content: center; /* Center the logo and name */
    }

    .logo {
        margin-right: 0;
    }

    .navbar ul {
        display: block; /* Stack the menu items vertically on small screens */
        text-align: center;
        margin-top: 20px;
    }

    .navbar ul li {
        margin: 10px 0; /* Add margin for vertical spacing */
    }

    .navbar ul li a {
        font-size: 18px; /* Adjust the font size on mobile */
    }
}

/* For even smaller screens (e.g., under 480px) */
@media (max-width: 480px) {
    .company-name {
        font-size: 20px; /* Reduce the company name font size */
    }

    .logo {
        width: 40px; /* Reduce logo size for small screens */
        height: 40px;
    }

    .navbar ul li a {
        font-size: 16px; /* Adjust font size for mobile screens */
    }
}

.hero {
    background-color: #0050fc;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.hero2 {
    background-color: #0050fc;
    color: white;
    padding: 50px 20px;
}

.btn {
    display: inline-block;
    background-color: #000000;
    color: #00ffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.about-summary {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    padding: 10px;
    border-bottom: 2px solid #ccc;
    margin-bottom: 5px;
}

ul li:last-child {
    border-bottom: none;
}
