/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}



/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #2c5f2d;
}

.logo img {
    height: 70px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
}

nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
}

nav a:hover,
nav a.active {
    background-color: #97bc62ff;
    color: #2c5f2d;
}
/* HERO */
.hero {
    position: relative;
    height: 90vh;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.65);
    padding: 40px 40px;
    border-radius: 25px;
    text-align: center;
    max-width: 800px;
}

.overlay h1 {
    font-size: 3rem;
    color: #2c5f2d;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    background-color: #2c5f2d;
    color: white;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #97bc62ff;
    color: #2c5f2d;
}


/* CARDS */
.cards-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background: white;
}

.card {
    width: 370px;
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    text-align: center;
}

.card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.card h3 {
    color: #2c5f2d;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-btn {
    background-color: #97bc62ff;
    color: #2c5f2d;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
}

.card-btn:hover {
    background-color: #2c5f2d;
    color: white;
}

/* FOOTER */
.footer {
    background: #2c5f2d;
    color: white;
    text-align: center;
    padding: 25px;
}

.footer a {
    color: #97bc62ff;
    text-decoration: none;
}

.socials {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials img {
    width: 32px;
    height: 32px;
    opacity: 1;
    transition: 0.3s;
}

.socials img:hover {
    transform: scale(1.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cards-section {
        flex-direction: column;
        align-items: center;
    }

    .overlay {
        width: 90%;
        padding: 30px;
    }

    .card {
        width: 90%;
    }
}
