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

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

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

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



.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; /* Added this line */
    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;
    overflow: hidden;
    background-color: #333;
    position: fixed; 
    width: 100%;
    z-index: 9999; /* Add this line */
}

.nav-menu li {
    float: left;
}

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

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

/* Sub Menu Styles */


.sub-menu {
    list-style-type: none;
    display: none;
    position: fixed; 
    width: 280px; /* Set the width to your desired value */
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Change display to block and set a width for the list items */
.sub-menu li {
    display: block;
    width: 100%; /* Set the width to 100% to make them full width */
}

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

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


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

.menu-icon {
    display: none;
}

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

#product {
    max-width: 30%; /* Ensure images don't exceed their container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove default inline display */
    margin: 50px auto 50px; /* Add some bottom margin for spacing */
}

#mainline{
    /* text-shadow: -2px -2px 4px #000; */

    color: #0890ff;
    text-shadow: 2px 18px 4px  #444444;
    margin-top: 50px;
    text-align: center;
    font-weight: bolder;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    
}
#illuminate {
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #301f17; /* Set text color */
    text-shadow: 
        -5px -1px 0 rgb(255, 255, 255),  
         1px -1px 0 rgb(255, 255, 255),
        -1px  1px 0 rgb(255, 255, 255),
         1px  1px 0 rgb(0, 0, 0);
}

/* Style for the feature list */
.feature-list {
   
    font-family: Arial, sans-serif;
    max-width: 1200px; /* Adjust this value as needed */
    margin: 20px auto; /* Center the list */
    
  }
  
  .feature-list ul {
    list-style-type: disc; /* Use disc bullets */
  }
  
  .feature-list li {
    text-align: left;
    margin-bottom: 10px; /* Add space between list items */
    padding-left: 20px; /* Indent list items */
  }


  /* body, html {    
    margin: 0;
    height: 100%;
} */

#dark-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    z-index: 9999;
}


#switch {
    
    position: absolute;
    top: 10px;
    right: 350px;
    width:50%; /* Set the width of the image */
    height: auto; /* Maintain aspect ratio */
}

#openMessage {
    color: white;
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
}

#on-switch {
    position: absolute;
    top: 10px;
    right: 350px;
    width:50%; /* Set the width of the image */
    height: auto; /* Maintain aspect ratio */
}

#on-switch.hide {
    display: none; /* Hide the ON switch initially */
}

/* Media Queries for Mobile Responsiveness */

/* For screens up to 768px */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 1.5em;
        cursor: pointer;
        color: white;
        padding: 10px;
        background-color: #333;
        position: absolute;
        top: 10px;
        right: 20px;
    }

    .nav-menu {
        display: none; /* Hide menu by default */
        flex-direction: column; /* Stack items vertically */
        background-color: #333; /* Ensure consistent background */
        width: 100%;
    }

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

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

    .hero {
        height: 50vh; /* Adjust hero image height */
    }

    .service-description {
        padding: 10px;
        font-size: 1em; /* Adjust font size */
    }

    #product {
        width: 80%; /* Make image responsive */
        height: auto;
    }

    .video-container {
        width: 100%; /* Full width for video */
    }
    .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;
    }
}

/* For screens up to 460px */
@media (max-width: 460px) {
    
     .menu-icon {
        display: block;
        font-size: 1.5em;
        position: absolute;
        top: 10px;
        right: 15px;
        color: white;
        background-color:#494646;
        z-index: 10000; }
    
    
    

    /* Adjust Navigation Menu */
    .nav-menu {
        display: none; /* Hide menu initially */
        flex-direction: column;
        background-color: #333;
         position: fixed;
        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;
        position: absolute;
    }

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

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

    .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;
    }
    
    
    /* Hero Section */
    .hero {
        height: 40vh; /* Adjusted height for better fit */
        position: relative;
        background-size: cover;
        background-position: center;
        overflow: hidden;
    }

    /* Align and Resize Switches */
    #switch, #on-switch {
        position: absolute;
        top: 20%; /* Adjust to position correctly */
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%);
        width: 60%; /* Resize for mobile */
        height: auto; /* Maintain aspect ratio */
    }

    /* Message Alignment */
    #openMessage {
        position: absolute;
        top: 50%;
        left: 50%; /* Center horizontally */
        transform: translate(-50%, -50%);
        font-size: 1em; /* Adjust font size for readability */
        text-align: center;
        color: white; /* Ensure text is visible */
    }

    /* Video Container */
    .video-container {
        width: 100%;
        margin: 0 auto; /* Center the video */
        position: relative;
    }

    .video-container video {
        width: 100%;
        height: auto;
    }

    /* Unmute Button */
    .unmute-button {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #000;
        color: white;
        border: none;
        padding: 8px 16px;
        font-size: 0.9em;
        z-index: 10;
    }

    /* Service Description */
    .service-description {
        padding: 10px;
        font-size: 0.9em; /* Adjust font size */
        text-align: center;
    }

    /* Product Image */
    #product {
        max-width: 90%; /* Adjusted size for mobile */
        height: auto;
        margin: 20px auto; /* Center the image */
        display: block;
    }

    /* Key Features & Specifications */
    .feature-list {
        font-size: 0.9em;
        margin: 0 auto;
        padding: 10px;
        text-align: left;
    }

    /* Footer */
    .footer {
        font-size: 0.8em;
        text-align: center;
        padding: 10px 5px;
    }
    
    
}

