/* Reset styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box; /* Ensures elements fit within their containers */
}

/* Navbar styling */
.navigation {
    position: fixed; /* Keeps the navbar fixed at the top */
    top: 0; /* Aligns the navbar to the top of the page */
    left: 0; /* Aligns the navbar to the left edge of the page */
    width: 100%; /* Ensures the navbar spans the full width of the viewport */
    height: 80px; /* Sets a fixed height for the navbar */
    display: flex; /* Enables flexbox for aligning items inside the navbar */
    align-items: center; /* Vertically centers the items inside the navbar */
    justify-content: space-between; /* Distributes space between navbar items */
    background-color: #02161f; /* Sets a solid background color */
    color: white; /* Sets the text color to white */
    padding: 0 20px; /* Adds horizontal padding for spacing */
    z-index: 10000; /* Ensures the navbar is above all other elements on the page */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for better separation from the content */
}
header {
    margin-bottom: 80px; /* Adds space below the navbar equal to its height */
}

/* Ensure the body content does not overlap the navbar */
body {
    margin-top: 80px; /* Adds a margin equal to the navbar height to prevent overlap */
}

/* Prevent horizontal scrolling */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Disables horizontal scrolling */
}

/* Ensure all sections fit within the viewport */
.video-section, .first, .secound, .contact, footer {
    width: 100%; /* Ensures sections span the full width of the viewport */
    overflow: hidden; /* Prevents content from overflowing */
}

/* Fix for the video section */
.video-section {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust the height as needed */
    overflow: hidden;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire section without distortion */
}

/* Styling for the text overlay on the video */
.video-overlay {
    position: absolute; /* Positions the text on top of the video */
    top: 50%; /* Centers the text vertically */
    left: 50%; /* Centers the text horizontally */
    transform: translate(-50%, -50%); /* Adjusts for perfect centering */
    color: white; /* Makes the text color white for better visibility */
    text-align: center; /* Centers the text */
    background: rgba(0, 0, 0, 0.5); /* Adds a semi-transparent background for better readability */
    padding: 20px;
    border-radius: 10px; /* Optional: Adds rounded corners to the text background */
}

.video-overlay h1 {
    font-size: 2rem; /* Adjust the font size as needed */
    margin: 0;
}

/* Styling for the navigation list */
.nav-list {
    list-style: none; /* Removes default list styling (bullets) */
    display: flex; /* Displays list items in a row */
    margin: 0; /* Removes default margin */
    padding: 0; /* Removes default padding */
}

/* Styling for individual navigation links */
.nav-list li a {
    text-decoration: none; /* Removes underline from links */
    margin: 0 15px; /* Adds horizontal spacing between links */
    color: rgb(137, 187, 243); /* Sets the link color */
    font-size: 16px; /* Sets the font size */
    transition: color 0.3s ease; /* Adds a smooth transition effect for hover */
}

/* Hover effect for navigation links */
.nav-list li a:hover {
    color: brown; /* Changes the link color on hover */
}

/* Styling for the logo */
.logo img {
    width: 50px;
    height: 50px;
    border: 3px solid rgb(35, 205, 248);
    border-radius: 150px; /* Makes the image round */
}

/* Section styling */
.first {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f4f4f4;
    position: relative; /* Ensures it does not overlap the navbar */
    z-index: 1; /* Places it below the navbar */
}

.left, .mid, .right {
    position: relative; /* Enables positioning of text overlay */
    width: 30%; /* Each div takes up 30% of the width */
    height: 300px; /* Set a fixed height for the div */
    overflow: hidden; /* Ensures the image doesn't overflow the div */
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.left img, .mid img, .right img {
    width: 100%; /* Makes the image cover the entire div */
    height: 100%; /* Ensures the image fills the div */
    object-fit: cover; /* Ensures the image scales without distortion */
}

.text-overlay {
    position: absolute; /* Positions the text on top of the image */
    top: 50%; /* Centers the text vertically */
    left: 50%; /* Centers the text horizontally */
    transform: translate(-50%, -50%); /* Adjusts for perfect centering */
    color: white; /* Makes the text color white for better visibility */
    text-align: center; /* Centers the text */
    background: rgba(0, 0, 0, 0.5); /* Adds a semi-transparent background for better readability */
    padding: 10px;
    border-radius: 5px; /* Optional: Adds rounded corners to the text background */
}

.text-overlay h2 {
    margin: 0;
    font-size: 20px;
}

.text-overlay p {
    margin: 5px 0 0;
    font-size: 14px;
}

section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

/* Styling for the .secound section */
.secound {
    display: flex; /* Aligns the child elements in a row */
    justify-content: space-between; /* Adds space between the child elements */
    padding: 20px;
    background-color: #f9f9f9; /* Light background color for contrast */
    position: relative;
}

/* Styling for the child elements inside .secound */
.secound .left-S, .secound .right-S, .secound .S-mid {
    position: relative; /* Enables positioning of text overlay */
    width: 30%; /* Each div takes up 30% of the width */
    height: 300px; /* Set a fixed height for the div */
    overflow: hidden; /* Ensures the content doesn't overflow the div */
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
    background-color: #ddd; /* Placeholder background color */
}

/* Styling for the text overlay */
.secound .text-overlay {
    position: absolute; /* Positions the text on top of the content */
    top: 50%; /* Centers the text vertically */
    left: 50%; /* Centers the text horizontally */
    transform: translate(-50%, -50%); /* Adjusts for perfect centering */
    color: white; /* Makes the text color white for better visibility */
    text-align: center; /* Centers the text */
    background: rgba(0, 0, 0, 0.5); /* Adds a semi-transparent background for better readability */
    padding: 10px;
    border-radius: 5px; /* Optional: Adds rounded corners to the text background */
}

.secound .text-overlay h2 {
    margin: 0;
    font-size: 1.5rem; /* Adjust the font size as needed */
}

.secound .text-overlay p {
    margin: 5px 0 0;
    font-size: 1rem; /* Adjust the font size as needed */
}

/* .secound {
    display: flex;
    width: 100%;
    height: 500px;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
    background-color: #f4f4f9;
}

.left-S, .right-S {
    width: 25%;
    height: 90%;
    margin: 20px;
    padding: 20px;
    background-color: #3d2626;
    border-radius: 30px;
}

.S-mid {
    width: 50%;
    height: 90%;
    margin: 20px;
    padding: 20px;
    background-color: #3d2626;
    border-radius: 30px;
} */

.aboutus {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .aboutus-container {
    max-width: 800px;
    margin: auto;
  }
  
  .aboutus h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #02161f;
  }
  
  .aboutus p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
  }
  

/* Contact section styling */
.contact {
    padding: 50px;
    background-color: #201616;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

.contact input, .contact textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.contact button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact button:hover {
    background-color: #555;
}

/* Footer styling */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links, .footer-social {
    margin: 10px 0;
}

.footer-links a, .footer-social a {
    color: #bbb;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover, .footer-social a:hover {
    color: #fff;
}

/* WhatsApp button styling */
.whatsapp-button {
    position: fixed; /* Keeps the button fixed at the bottom-left corner */
    bottom: 20px; /* Distance from the bottom of the viewport */
    left: 20px; /* Distance from the left of the viewport */
    z-index: 1000; /* Ensures the button is above other elements */
    width: 60px; /* Adjust the size of the button */
    height: 60px;
    border-radius: 50%; /* Makes the button circular */
    background-color: #25d366; /* WhatsApp green background color */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
    transition: transform 0.3s ease; /* Adds a hover effect */
}

.whatsapp-button img {
    width: 35px; /* Adjust the size of the WhatsApp icon */
    height: 35px;
}

.whatsapp-button:hover {
    transform: scale(1.1); /* Slightly enlarges the button on hover */
}

.footer-links {
    list-style: none; /* Removes default list styling (bullets) */
    display: flex; /* Displays list items in a row */
    margin: 0; /* Removes default margin */
    padding: 0; /* Removes default padding */
}