﻿/* ===== GLOBAL ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f9;
    color: #333;
}

/* ===== HEADER ===== */
.header {
    position: relative;
    height: 400px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.header-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
}

/* HEADER CAROUSEL */
.header-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    .header-carousel .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

        .header-carousel .slide:first-child {
            opacity: 1;
        }

/* ===== SERVICES SECTION ===== */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    color: white;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

    .service-card.show {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    }

    .service-card i {
        font-size: 3rem;
        margin-bottom: 15px;
        transition: transform 0.3s ease;
    }

    .service-card:hover i {
        transform: scale(1.3) rotate(10deg);
    }

/* Gradient colors per card */
.card1 {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.card2 {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.card3 {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

.card4 {
    background: linear-gradient(135deg, #fc4a1a, #f7b733);
}

.card5 {
    background: linear-gradient(135deg, #6a11cb, #ff5f6d);
}

.card6 {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
}

.service-card h2, .service-card p {
    color: white;
}

.service-card p {
    font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 60px 20px 40px;
    background-color: #2575fc;
    color: white;
    position: relative;
}

/* CALL BUTTON - Desktop centered in footer */
.call-button-footer {
    display: inline-block;
    background-color: #ff7a00;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: transform 0.3s, background 0.3s;
}

    .call-button-footer i {
        margin-right: 8px;
    }

    .call-button-footer:hover {
        background-color: #ff9500;
        transform: translateY(-3px);
    }

/* FLOATING CALL BUTTON - Mobile */
@media screen and (max-width: 768px) {
    .call-button-footer {
        position: fixed;
        bottom: 20px;
        right: 20px;
        margin-bottom: 0;
        z-index: 999;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ===== RESPONSIVE HEADER ===== */
@media screen and (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .services-container {
        gap: 20px;
    }
}
