body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    font-size: 5em; /* Adjusted for better readability */
    text-align: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(2, 0, 40, 0.8);
    z-index: 1000;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 10px 20px;
    display: block;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

main {
    padding: 20px;
}

#about {
    text-align: center;
    padding: 50px 0;
}

#about p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.2em;
    line-height: 1.6;
}

.founder {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder img {
    width: 10%; /* Reduce image size to 10% */
    border-radius: 50%;
    margin-bottom: 20px;
}

.founder p {
    font-size: 1.2em;
    font-weight: bold;
}

footer {
    background-color: rgb(2, 0, 40);
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    max-height: 150px;
    margin-bottom: 10px;
}

.contact-info {
    margin: 10px;
}

.contact-info p {
    color: white;
    margin: 0;
    padding: 5px 0;
}

@media (max-width: 768px) {
    .overlay-text {
        font-size: 1.5em;
        padding: 0 10px;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav ul li a {
        font-size: 1em;
        padding: 10px;
    }

    #about p {
        font-size: 1em;
    }

    .founder p {
        font-size: 1em;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        max-height: 40px;
    }
}
