* {
    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;
    }
}

/* Service Program Content */
.services-content {
    padding: 40px;
    background-color: #fff;
    color: #333;
    text-align: center;
}

.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.service-item {
    flex: 1;
    min-width: 250px;
    margin: 20px;
    text-align: center;
}

.service-item img {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 1rem;
}

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

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

    .topnav a {
        font-size: 16px;
    }

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