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

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

html, body {
    overflow-x: hidden;
}

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

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


.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;
}

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

.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 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;
}

.nav-menu li:hover .sub-menu {
    display: block;
}

.menu-icon {
    display: none;
}

.footer {
    padding-top: 30px;
    background-color: #bbe2f1;
    text-align: center;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .hero {
        height: 40vh; /* Adjust hero height for tablets */
        background-size: cover;
    }

    .nav-menu {
        display: none; /* Hide menu initially */
        flex-direction: column;
        background-color: #333; /* Ensure a dark background for mobile */
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
    }

    .menu-icon {
        display: block;
        font-size: 2em;
        color: white;
        padding: 10px;
        background-color: #333;
        position: absolute;
        top: 15px;
        right: 20px;
        cursor: pointer;
    }

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

    .service-description {
        font-size: medium;
        padding: 10px;
        max-width: 90%;
    }

    .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 (max-width: 480px) {
    .hero {
        height: 30vh; /* Reduce height further for smaller screens */
        background-size: contain;
    }

    .menu-icon {
        font-size: 1.5em;
        top: 8px;
        right: 15px;
    }
    
    .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;
    }
    
  
    .sub-menu {
        padding: 0; /* Remove any extra padding */
        margin: 0; /* Remove any extra margin */
        list-style-type: none; /* Remove bullets */
    }

    .sub-menu li {
        width: 100%; /* Ensure full width */
        margin: 0; /* Reset margins */
        padding: 10px 0; /* Add padding for spacing */
        text-align: center; /* Center align the text */
    }

    .sub-menu li a {
        display: block; /* Ensure anchor tags take full width */
        text-align: center; /* Center align the text */
        padding: 8px 0; /* Add vertical padding */
        background-color: #fff; /* Optional: Ensure background is consistent */
        border-bottom: 1px solid #ccc; /* Add separation lines if needed */
    }

    .sub-menu li a:hover {
        background-color: #eee; /* Add hover effect for better UX */
    }
    
    
    
    .service-description {
        font-size: small;
        padding: 5px;
        max-width: 95%;
    }

    .video-container {
        margin: 0 auto;
        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;
    }

    h1, h2, h4 {
        font-size: smaller; /* Scale down headings */
    }

    #descript, #descript2 {
        font-size: 0.9em;
    }
}
