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

body {
    font-family: Arial, sans-serif;
    margin: 0; /* Remove any default body margin */
}

html, body {
    overflow-x: hidden;
}

/* Hero Image */
.hero {
    height: 700px;
    background-image: url('../Images/web01.jpg');
    background-size: cover;
    background-position: center;
    
}

/* Service Description */
.service-description {
    font-size: large;
    padding: 20px;
    max-width: 100%;
    margin: auto;
    background-color: #889191;
    border-radius: 0px;
    text-align: center;
}

.service-description p {
    text-align: center;
    line-height: 1.6em;
}

/* Video Container */
.video-container {
    text-align: center;
    position: relative;
    margin-left: 90px;
    width: 90%; /* Adjust this value to make the video smaller or larger */
}

/* Video */
.video-container video {
    width: 80%;
    height: auto;
}

.unmute-button {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 135px;
    z-index: 10; 
}

.unmute-button:hover {
    background-color: #333;
}

/* Navigation Menu Styles */
.nav-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333;
    position: fixed;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: flex-start; /* Align menu items to the left */
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background-color: #111;
}

/* Sub Menu Styles */
.sub-menu {
    list-style-type: none;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.sub-menu li {
    width: 100%;
}

.sub-menu li a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap;
}

.sub-menu li a:hover {
    background-color: #487fa3;
}

/* Show sub-menu on hover */
.nav-menu li:hover .sub-menu {
    display: block;
}

.menu-icon {
    display: none;
}
/* Footer */
.footer {
    padding-top: 30px;
    text-align: center;
    padding-bottom: 20px;
    background-color: #889191;
}

#descript {
    color: #000000;
}

h1 {
    color: #f9f9f9;
}

h2 {
    color: #f9f9f9;
}

h4 {
    color: #000000;
}

#descript2 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
}

/* Media Query for screens <= 768px */
@media (max-width: 768px) {
    /* Adjust Hero Section */
    .hero {
        height: 400px; /* Reduced height for better fit */
        background-position: center;
        margin-top: 50px; /* Prevent overlap with nav */
    }

    /* Navigation Menu */
    .menu-icon {
        display: block; /* Show hamburger menu */
        font-size: 1.8em;
        cursor: pointer;
        color: white;
        padding: 10px;
        background-color: #333;
        position: absolute;
        top: 10px;
        right: 20px;
        z-index: 1000;
    }

    .nav-menu {
        display: none; /* Hide nav by default */
        flex-direction: column; /* Stack menu items */
        background-color: #333;
        width: 100%;
        position: absolute;
        top: 50px; /* Below the menu icon */
        left: 0;
    }

    .nav-menu.active {
        display: flex; /* Show menu when toggled */
    }

    .nav-menu li {
        text-align: center; /* Center align menu items */
    }

    .nav-menu li a {
        padding: 12px;
        border-bottom: 1px solid #444; /* Separate items visually */
    }

    .sub-menu {
        position: static; /* Sub-menu adjusts for mobile */
        background-color: #444;
    }

    /* Adjust Service Description */
    .service-description {
        font-size: medium;
        padding: 15px;
    }

    /* Video Container */
    .video-container {
        width: 100%;
        margin: 0;
    }

    .unmute-button {
        top: 10px; /* Align at the top of the video */
        right: 10px; /* Push it to the top-right corner */
        font-size: 0.9em;
        padding: 5px 12px;
    }
}

/* Media Query for screens <= 480px */
@media (max-width: 480px) {
    /* Hero Section */
    .hero {
        height: 300px;
        margin: 0; /* Remove any top margin */
        padding: 0;
        position: relative; /* Allow positioning of menu icon over the hero */
    }

    /* Adjust Hamburger Menu */
    .menu-icon {
        display: block;
        font-size: 1.5em;
        position: absolute;
        top: 10px;
        right: 15px;
        color: white;
        
        z-index: 10000; /* Ensure it's above the hero image */
    }

    /* Adjust Navigation Menu */
    .nav-menu {
        display: none; /* Hide menu initially */
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
    }

    .nav-menu.active {
        display: flex; /* Show menu when active */
    }

    /* Sub-menu */
    .sub-menu {
        background-color: #fff; /* Match the clean design */
        box-shadow: none; /* Remove box shadow */
        margin: 0;
        padding: 0;
    }

    .sub-menu li {
        border-bottom: 1px solid #ccc; /* Light separator */
        text-align: center; /* Center the items */
    }

    .sub-menu li:last-child {
        border-bottom: none; /* Remove the last border */
    }

    .sub-menu li a {
        color: #333; /* Neutral text color */
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        background-color: #f9f9f9; /* Light background */
    }

    .sub-menu li a:hover {
        background-color: #ddd; /* Slightly darker hover effect */
    }

    /* Hide main menu when sub-menu is active */
    .nav-menu > li > a:hover + .sub-menu,
    .sub-menu:hover {
        display: block;
    }

    .nav-menu > li:hover > .sub-menu + .nav-menu {
        display: none; /* Hide other main menu items */
    }

    .nav-menu > li > a {
        padding: 12px;
        font-size: 0.9em;
    }
    
    /* Video */
.video-container video {
    width: 100%;
    height: auto;
}

.unmute-button {
    background-color: #000;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10; 
}

}
