body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f4f4f4;
    color: #333;
}

header {
    padding: 15px 0;
    position: fixed; /* changed from fixed Fix the header to the top */ 
    width: 100%; /* Ensure the header takes the full width */ 
    top: 0; 
    left: 0; 
    color: #fff; /* Change text color to white for contrast */
    background-color: transparent;
    transition: background-color 0.4s ease; /* Add smooth transition */
    z-index: 1000; /* Ensure the header stays on top of other content */
}
#main-header.sticky  {
    color: #333; /* Change text color to dark for contrast */
    background-color: #fff; /* White background for the header */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
    border-bottom: #000000 3px solid;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 40px;
    content: url("../img/SGC-logo-white.png");
}
#main-header.sticky .logo img {
    content: url("../img/SGC-logo-black.png");
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    @media (min-width: 769px) {
        margin-left: auto; /* Align items to the right on wider screens */    
    }    
}
.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
     font-weight: bold;
     color: #333; 
    @media (min-width: 769px) {
        color: #ffffff; /* Change link color to dark for contrast */
    }
}
#main-header.sticky .nav-links a{
    color: #333; 
}
.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #ffffff; /* Change menu icon color to white */
    margin: 4px 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
#main-header.sticky .menu-icon div {
    background-color: #333; /* Change menu icon color to dark */
}
.close-icon {
    display: none;
    font-size: 30px;
    color: #333; /* Change close icon color to dark */
    cursor: pointer;
    text-align: right;
    padding: 10px;
}

#menu-toggle {
    display: none;
}


@media (max-width: 768px) {
    .logo {
        margin-right: auto; /* Push logo to the left */
    }
    .menu-icon {
        display: flex;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 70%;
        height: 100%;
        position: fixed;
        top: 0;
        right: -70%; /* Start off-screen on the right */
        background-color: #fff; /* White background for the toggle menu */
        padding-top: 20px;
        transition: right 0.4s ease; /* Slide in transition */
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
        z-index: 2;
    }
    .nav-links li {
        text-align: center; /* Align text to the center */
        margin: 10px 20px;        
    }
    .nav-links li:not(:first-child) { 
        border-bottom: #000000 1px solid;
    }
    #menu-toggle:checked + .menu-icon .bar1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    #menu-toggle:checked + .menu-icon .bar2 {
        opacity: 0;
    }
    #menu-toggle:checked + .menu-icon .bar3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    #menu-toggle:checked ~ .nav-links {
        right: 0; /* Slide in from the right */
    }
    #menu-toggle:checked ~ .nav-links .close-icon {
        display: block;
    }
}
.container {
    width: 90%;
    max-width:1400px;
    margin: auto;
    overflow: hidden;  
    flex-wrap: wrap;
    justify-content: space-between;
}
p {
    margin: 15px 0;
}
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    background: linear-gradient(135deg, #6e7f80 25%, #333 75%);
    border-top: 5px solid #000000;
}
footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}
footer ul li {
    display: inline;
    margin: 0 10px;
}
footer ul li a , footer p a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
footer p {
    margin: 10px 0 0;
}