
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


body {
    background-color: #ffffff;
    color: #1f3a2f;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    font-size: 2.8rem;
 }

nav a {
    text-decoration: none;
    color: #1f3a2f;
    margin-left: 30px;
    font-weight: 500;
    font-size: 1.5rem;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 90px 50px;
}

.hero-text {
    max-width: 900px;
}


.hero-text h1 {
    font-size: 5.3rem;
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #4a4a4a;
}

.hero-text .btn {
    padding: 22px 50px;
    background-color: #5c946e;
    color: white;
    border: none;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-text .btn:hover {
    background-color: #4a7b57;
}

.hero-img img {
    max-width: 900px;
    width: 100%;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-img img {
        max-width: 80%;
        margin-bottom: 30px;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        margin: 10px 0;
        }
}

/* Section 2  */

.features {
    display: flex;
    justify-content: space-around;
    padding: 80px 50px;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1); /* semi-transparent */
    backdrop-filter: blur(8px); /* nice frosted glass effect */
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    width: 300px;
    height: 400px;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.feature-card img {
    max-width: 100px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1f3a2f;
}

.feature-card p {
    font-size: 1.4rem;
    color: #4a4a4a;
    text-align: justify;
}

.feature-card:hover {
    box-shadow: 0 0 25px rgba(92,148,110,0.6); /* subtle green glow */
    transform: translateY(-5px);
}

@media (max-width: 900px) {
    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        margin-bottom: 30px;
    }
}

/* About us */

.about-us {
    padding: 80px 50px;
    text-align: center;
    background-color: #f9f9f9; /* light background to separate from previous section */
}

.about-us h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #1f3a2f;
}

.about-us p {
    font-size: 1.6rem;
    color: #4a4a4a;
    text-align: justify; /* makes text justified */
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .about-us {
        padding: 60px 20px;
    }

    .about-us h2 {
        font-size: 2.5rem;
    }

    .about-us p {
        font-size: 1.4rem;
    }
}

/* About the team */

.team {
    padding: 80px 50px;
    text-align: center;
    background-color: #ffffff;
}

.team h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1f3a2f;
}

.team-desc {
    font-size: 1.6rem;
    text-align: justify;
    color: #4a4a4a;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.team h3 {
    font-size: 2.4rem;
    margin-bottom: 40px;
    color: #1f3a2f;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    width: 140px;       /* smaller card width */
    text-align: center;
    transition: 0.3s;
}

.team-card img {
    width: 120px;       /* smaller image width */
    height: 120px;      /* smaller image height */
    border-radius: 50%; /* perfect circle */
    object-fit: cover;  /* crops image to fit circle */
    margin-bottom: 10px;
    transition: 0.3s;
}


.team-card a {
    display: block;
    font-size: 1.4rem;
    color: #1f3a2f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.team-card:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(92,148,110,0.6);
}

.team-card:hover a {
    color: #5c946e;
}

@media (max-width: 900px) {
    .team {
        padding: 60px 20px;
    }

    .team h2 {
        font-size: 2.5rem;
    }

    .team-desc {
        font-size: 1.4rem;
    }

    .team h3 {
        font-size: 2rem;
    }

    .team-card {
        width: 45%;
        margin-bottom: 30px;
    }
}

/* Footer */
footer {
    background-color: #29453e;
    color: #ffffff;
    padding: 40px 50px 20px 50px;
    font-size: 1.4rem;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 100px; /* space between sections */
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #5c946e;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 1.3rem;
}
