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

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f7f7f7;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Top Navigation */
.topnav {
    background-color: #f1f1f1;
    width: 100%;
    overflow: hidden;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.topnav a {
    display: block;
    color: #010101;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
}

.topnav a.split img {
    width: auto;
    height: 50px;
}

.topnav a:hover {
    background-color: #99ffff;
    color: black;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 768px) {
    .topnav a {
        display: block;
        text-align: left;
        padding: 10px;
    }
    
    .topnav .icon {
        display: block;
        cursor: pointer;
    }
    
    .topnav.responsive {
        position: relative;
    }
    
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}



/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
}

.hero-text h1 {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
}

/* About Us Content */
.about-content {
    padding: 40px;
    background-color: #fff;
    color: #333;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.team-member {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 20px;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 1rem;
    color: #666;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #f1f1f1;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .team-grid {
        flex-direction: column;
    }

    nav ul li a {
        font-size: 16px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}
