/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body {
    font-family: Arial, sans-serif;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 2px solid green;
}

.header img {
    width: 150px;
}

.header h1 {
    color: green;
}

/* ===== NAVBAR ===== */
.navbar {
    background: black;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
}

.navbar a:hover {
    background: green;
    color: black;
    padding: 6px 10px;
    border-radius: 5px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    display: flex;
    height: 400px;
}

/* ===== HERO IMAGES ===== */
.hero-img {
    width: 50%;
    background-size: cover;
    background-position: center;
}

/* ✅ FIXED PATHS */
.img1 {
    background-image: url("images/broucher.jpg");
}

.img2 {
    background-image: url("images/background.jpg");
}

/* ===== HERO TEXT ===== */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    width: 80%;
    max-width: 500px;
}

.hero-text h2 {
    color: green;
}

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: green;
    color: black;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background: black;
    color: white;
}

/* ===== ANIMATION ===== */
.animated-offer::after {
    content: "100% Bond Back Guarantee";
    animation: change 6s infinite;
    color: red;
    font-weight: bold;
}

@keyframes change {
    0% {
        content: "100% Bond Back Guarantee";
    }

    50% {
        content: "End of Lease Cleaning";
    }

    100% {
        content: "100% Bond Back Guarantee";
    }
}

/* ===== SERVICES ===== */
.services {
    padding: 50px 20px;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== FOOTER ===== */
footer {
    border-top: 2px solid green;
    text-align: center;
    padding: 20px;
}

/* ===== WHATSAPP ===== */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: green;
    color: white;
    padding: 12px 15px;
    border-radius: 50%;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-img {
        width: 100%;
        height: 200px;
    }

    .hero-text {
        position: static;
        transform: none;
        margin: 20px auto;
    }

    .navbar a {
        display: inline-block;
        margin: 10px;
    }
}