* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    color: black;
    height: 100vh;
    margin: 0;
}

h1, h2 {
    font-family: 'Orbitron', sans-serif;
    color: #4CAF50;
}

/* Section styles */
section {
    padding: 2rem 2rem 0rem 2rem;
}

h2 {
    font-size: 2.0rem !important;
}

h3{
    font-size: 1.5rem !important;
}

h4{
    font-size: 1.2rem !important;
}
h2,h3,h4 {
    margin-bottom: 1rem;
}

p {
    margin-bottom: 2rem;
}

/* Navbar styles */

.navbar {
    background-color: #fff;
    color: #4CAF50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    box-shadow: 0 0 15px #4CAF50;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    color: #4CAF50;
    transition: color 0.3s;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
}

.navbar ul li {
    margin: 0 1rem;
}

.navbar ul li a {
            text-decoration: none;
            font-size: 1.2rem;
            position: relative;
            text-transform: uppercase;
            font-weight: bold;
            letter-spacing: 2px;
            transition: color 0.3s ease-in-out;
}

.navbar a:hover {
    color: #4C8150;
}

section {
    padding: 20px;
    margin: 10px 0;
}

#home {
    
}

#services, #about, #contacts {
    color: #333;
}

.footer {
    background-color: #000;
    color: #4CAF50;
}


.team-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.team-card {
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    text-align: center;
    width: 250px;
    flex: 1 1 30%;
    max-width: 100%;
    min-height: 100%;
    color: #000;
}
.team-text {
    margin-bottom: 1rem;
}
.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}
.team-card h3 {
    font-size: 1.4rem !important;
}

/* Footer */
footer {
    background-color: #111; /* Darker navbar background */
    color: white;
    padding: 1rem;
    text-align: center;
}

/* Contact Form */
.contact-form {
    
}
.contact-form label {
    margin: 0.5rem 0;
}
.contact-form input, .contact-form textarea {
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #000;
    border-radius: 5px;
    width: 100%;
}
.contact-form textarea {
    height: 150px;
}
.contact-form button {
    padding: 0.75rem;
    background-color: #4CAF50 !important;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
/* Footer */
footer {
    background-color: #fff; /* Darker navbar background */
    box-shadow: 0 -2px 10px #4CAF50;
    color: #000;
    padding: 1rem;
    text-align: center;
}

/* Sticky button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    padding-top: 1rem;
    padding-left: 1.6rem;
    border-radius: 100%;
    cursor: pointer;
    display: none;
    color: white;
    width: 60px;
    height: 60px;
    
}

.scroll-top-btn:hover {
    background-color: #555;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    /* Stack navbar links vertically */
    .navbar ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .navbar ul li {
        margin: 0.5rem 0;
    }
    /* Adjust padding for sections */
    section {
        padding: 2rem 1rem;
    }
    /* Team cards should take full width */
    .team-card {
        width: 100%;
        flex: 1 1 100%;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
    .contact-form button {
        padding: 0.5rem;
    }
}
