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

body {
    font-family: Arial, sans-serif;
}

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

/* Service Description */
.service-description {
    font-size: large;
    padding: 20px;
    max-width: 100%;
    margin: auto;
    background-color: #d1ad88;
    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;
}

/* Video Container */
/*.video-container {*/
/*    position: relative;*/
/*    margin-left: 5%; */
/*    width: 90%; */
/*}*/


/*.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: 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;
}

.nav-menu li {
    float: left;
    position: relative;
}

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

.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; /* Increased width to accommodate longer text */
    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; /* Prevents line breaks for sub-menu items */
}

.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;
    background-color: #d1ad88;
    text-align: center;
    padding: 20px;
}

/* Media Query for Screens Up to 768px */
@media (max-width: 768px) {
    /* Adjust Navigation Menu for Mobile */
    .menu-icon {
        display: block; /* Show hamburger menu */
    }

    .nav-menu {
        display: none; /* Hide default nav menu */
        flex-direction: column;
        background-color: #333; /* Ensure consistent style */
    }

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

    .nav-menu li {
        float: none; /* Stack items vertically */
    }

    .nav-menu li a {
        padding: 10px; /* Adjust padding for smaller screens */
        font-size: 18px; /* Increase readability */
    }

    /* Adjust Hero Section */
    .hero {
        height: 300px; /* Reduce height for smaller screens */
    }

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

    .service-description p {
        line-height: 1.4em;
    }

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

    .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 Up to 460px */
@media (max-width: 460px) {
    /* Further Adjust Navigation Menu */
    .menu-icon {
        font-size: 1.5em;
        top: 8px;
        right: 15px !important;
        position: fixed;
        color :white;
    }
    
    .menu-icon.menu-opened {
    display: block; /* Keep the menu icon visible when menu is toggled */
    color: white; /* Adjust color for visibility */
    z-index: 10000; /* Ensure it's above other elements */
    position: fixed; /* Stick it in a fixed position */
    top: 10px;
    right: 15px;
}
    

    .nav-menu li a {
        padding: 10px 12px; /* Adjust spacing */
        font-size: 0.9em;
    }

    /* Hero Section Adjustments */
    .hero {
        height: 200px; /* Reduce height further for smaller screens */
    }

    /* Service Description Adjustments */
    .service-description {
        padding: 8px;
        font-size: small;
    }

    .service-description p {
        line-height: 1.2em;
    }

    /* Video Container Adjustments */
    .video-container {
        width: 100%;
    }
    
    .video-container video {
    width: 100%;
    height: auto;
}

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