/* RESET */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* HEADER */
.header {
    background: white;
    padding: 10px 20px;
}

.logo-box {
    display: flex;
    align-items: center;
}

.logo-box img {
    width: 70px;
    /* FIXED LOGO SIZE */
    height: auto;
    margin-right: 15px;
}

.logo-box h1 {
    font-size: 22px;
}

/* NAVBAR */
.navbar {
    background: green;
    padding: 10px;
    text-align: center;
}

.navbar a {
    color: white;
    margin: 10px;
    text-decoration: none;
    font-weight: bold;
}

.navbar a.active {
    text-decoration: underline;
}

/* HERO */
.hero {
    position: relative;
    height: 250px;
    background: url('images/backround.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ANIMATIONS */
.hero-content h2 {
    font-size: 40px;
    animation: slideDown 1s ease-out;
}

.hero-content p {
    animation: fadeIn 2s ease-in;
}

/* FLASH RED TEXT */
.flash {
    animation: flashRed 1.5s infinite;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    display: inline-block;
}

.primary {
    background: green;
    color: white;
}

.secondary {
    background: white;
    color: black;
}

/* SERVICES */
.services {
    padding: 40px;
    text-align: center;
}

.section-title {
    margin-bottom: 30px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    width: 250px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card h3 {
    margin: 10px 0;
}

.card p {
    padding: 0 10px 10px;
}

/* FOOTER */
.footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: green;
    color: white;
    font-size: 24px;
    padding: 12px 15px;
    border-radius: 50%;
    text-decoration: none;
}

/* KEYFRAMES */
@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes flashRed {
    0% {
        color: red;
    }

    50% {
        color: white;
    }

    100% {
        color: red;
    }
}