/* Add styles for the sticky menu */

.menu-content {
    position: absolute; /* Initial absolute positioning */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for non-sticky state */
    
    background-color: rgba(83, 108, 108);
    background-color: rgba(83, 108, 108, 0.7);

    background: -moz-linear-gradient(0deg, rgba(83,108,108,0) 0%, rgba(83,108,108,.5) 70%);
    background: -webkit-linear-gradient(0deg, rgba(83,108,108,0) 0%, rgba(83,108,108,.5) 70%);
    background: linear-gradient(0deg, rgba(83,108,108,0) 0%, rgba(83,108,108,.5) 70%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#536c6c",endColorstr="#536c6c",GradientType=1);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Logo adjustment when sticky */
.sticky .logo img {
    height: 40px; /* Smaller logo in sticky state */
    transition: height 0.3s ease;
}


.historyp .menu-content { 
    background-color: rgba(83, 108, 108, 1);
    position: relative; min-height: 50px; 
}


.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.3s, border-bottom 0.3s;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .5);
}

.nav-links li a:hover,
.nav-links li a:focus {
    opacity: 1;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, .8);
}

.nav-links li a.active::after {
    content: "•";
    display: block;
    font-size: 5rem;
    color: white;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 11; /* Ensure it's above the overlay */
    position: relative;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
}

.social-icons {
    display: none;
}










.site-footer {
    background-color: #5483C6; /* Footer background color */
    color: #ffffff; /* Text color */
    padding: 30px 0 10px 0; /* Padding for the footer */
    overflow: hidden; /* Clear floats within the footer */
}

.site-footer-wrap { margin: auto; max-width: 1124px; }


.by { text-align: center; font-size: 10px; color: #FFF; font-weight: bold; }



.footer-logo {
    float: left; /* Align the logo to the left */
    width: 270px; /* Set a fixed width for the logo container */
    margin-right: 10px; /* Space between logo and the content */
}

.footer-logo img {
    max-height: 50px; /* Set a maximum height for the SVG */
    width: 100%; /* Use 100% width of the container */
    display: block; /* Ensure block-level display */
}

.footer-container {
    float: right; /* Align the container to the right */
    max-width: calc(100% - 300px); /* Subtract logo width and margins from full width */
    width: 100%; /* Allow responsiveness */
    margin-right: 20px;
}

.footer-box {
    text-align: left; /* Align text to the left */
}

.footer-nav {
    margin-bottom: 20px; /* Space between links and contact */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    display: inline; /* Display links inline */
    margin-right: 15px; /* Space between links */
}

.footer-links a {
    color: #ffffff; /* Link color */
    text-decoration: none; /* Remove underline */
    opacity: 0.8; /* Slightly transparent */
    transition: opacity 0.3s ease; /* Smooth transition */
}

.footer-links a:hover {
    opacity: 1; /* Full opacity on hover */
}

.footer-contact {
    font-size: 0.9rem; /* Smaller font for contact details */
}

.footer-contact p {
    margin: 5px 0; /* Space between paragraphs */
}

.footer-contact a {
    color: #ffffff; /* Link color in contact section */
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 1;
}

/* Add spacing to separators */
.separator {
    margin: 0 10px; /* Adds space to both sides of the "|" */
}








.sticky {
    min-height: 46px;
    position: fixed !important; /* Fix the menu at the top when scrolling */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(83, 108, 108, 0.7) !important; /* Slight background color for visibility */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for depth */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    z-index: 9999; /* Ensure it stays above other elements */
    padding: 10px 20px; /* Adjust padding for sticky state */
}








/* Responsive Styles */
@media (max-width: 768px) {
    .footer-logo,
    .footer-container {
        float: none; /* Reset float for smaller screens */
        text-align: center; /* Center content */
        width: 100%; /* Full width on mobile */
    }

    .footer-container {
        margin-top: 20px; /* Space between logo and content on mobile */
        max-width: 100%; /* Ensure it uses full width */
    }

    .footer-links {
        text-align: center;
    }

    .footer-links li {
        display: block; /* Display links in a block on smaller screens */
        margin-bottom: 5px; /* Space between links on mobile */
    }
    
    .footer-contact { text-align: center; }
}







/* Responsive styles for mobile */
@media (max-width: 1000px) {
    .burger-menu {
        display: flex;
        position: fixed;
        top: 21px;
        right: 20px;
        z-index: 13;
    }
}






/* Responsive Styles for Mobile Menu */
/* Mobile Menu Styles */
@media (max-width: 1000px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; /* Align to top */
        right: 0;
        left: 0;
        width: 100%;
        background-color: rgba(83, 108, 108, 0.9);
        flex-direction: column;
        text-align: center;
        padding: 0; /* Remove any top padding */
        gap: 10px;
        z-index: 10; /* Ensure it's above the video */
        height: 100vh; /* Full screen height */
        justify-content: center; /* Center the items vertically */
    }


    .nav-links.active {
        display: flex;
        margin: 0; padding: 0;
    }

    
    /* Logo Adjustment */
    .logo {
        position: fixed; /* Keep logo fixed at top */
        top: 10px; /* Position from top */
        left: 20px; /* Align to left */
        z-index: 13; /* Ensure it is above the overlay */
    }
    
    
.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 2rem;
    opacity: 1;
}
    
    /* Burger Menu */
    .burger-menu {
        display: flex;
        position: fixed; /* Ensure it stays fixed at top */
        top: 21px; /* Adjust to align properly */
        right: 20px; /* Position to the right */
        z-index: 13; /* Ensure it is above the overlay and menu */
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px) translateX(1px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-11px) translateX(2px);
    }

    .social-icons {
        display: block;
        margin-top: 20px;
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .social-icons a img {
        width: 30px;
        height: 30px;
        filter: brightness(0) invert(1);
        transition: filter 0.3s;
    }

    .social-icons a:hover img,
    .social-icons a:focus img {
        filter: brightness(1);
    }
}
