/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: aqua;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Make sure it stays above the content */
}

/* Main Container */
.main-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f5f5f5; /* Light background to contrast video */
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 0; /* Remove if unnecessary */
    padding-top: 5%; /* Adjust if necessary */
}

.hero video {
    width: 100%; /* Full width within the hero section */
    height: auto; /* Auto adjust height to maintain aspect ratio */
}

.overlay {
    position: absolute; /* Position overlay relative to hero */
    top: 30%; /* Center vertically */
    left: 20%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    color: white; /* Text color */
    text-align: center; /* Center the text */
    z-index: 10; /* Ensure it stays above the video */
}

.overlay h1 {
    font-size: 36px; /* Adjust as needed */
    margin-bottom: 10px; /* Space below heading */
}

.overlay p {
    font-size: 18px; 
    margin-bottom: 20px; 
}

.overlay button {
    background-color: #007bff; 
    color: white; 
    border: none; 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer; 
}

.overlay button a {
    color: white; /* Link color */
    text-decoration: none; /* Remove underline */
}

/* Main Content Container */
.maincontainer {
    padding: 30px;
    margin-top: 10%;
    margin-left: 5%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 5%;
    width: 90%;
    border-radius: 5px;
    background-color: #fff;
}

/* About Section */
.about h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* Vision Section */
.vision {
    text-align: left;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-top: 10px;
}

.vision p {
    margin-bottom: 20px;
}



/* Responsive Design */

/* Tablets and Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .maincontainer {
        margin-top: 12%; /* Increase top margin for smaller screens */
        padding: 20px;
    }

    .about h1 {
        font-size: 28px; /* Adjust heading size */
    }

    .vision {
        font-size: 14px;
    }

    .overlay h1 {
        font-size: 28px; /* Adjust heading size */
    }

    .overlay p {
        font-size: 16px; /* Adjust paragraph size */
    }

    .overlay button {
        padding: 8px 16px; /* Adjust button size */
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .maincontainer {
        margin-top: 15%; /* Further increase top margin for mobile devices */
        padding: 20px;
    }

    .about h1 {
        font-size: 24px;
    }

    .vision {
        font-size: 12px;
    }

    .overlay h1 {
        font-size: 24px; /* Smaller heading for mobile */
    }

    .overlay p {
        font-size: 14px;
    }

    .overlay button {
        padding: 6px 12px;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .maincontainer {
        margin-top: 30%; /* Maximum top margin for very small screens */
        padding: 15px;
    }

    .about h1 {
        font-size: 30px;
    }

    .vision {
        font-size: 15px;
    }

    .overlay h1 {
        font-size: 20px;
    }

    .overlay p {
        font-size: 12px;
    }

    .overlay button {
        padding: 5px 10px;
    }
}

/* Hide Scrollbar (WebKit - Chrome, Safari) */
::-webkit-scrollbar {
    display: none;
}

/* Hide Scrollbar (Firefox) */
.scroll-container {
    scrollbar-width: none;
}
