/* ================= HEADER ================= */


/* HERO */

.contact-hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('../Media/Gallery/web1.jpeg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: #fff;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
}


/* INFOS */

.contact-infos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 50px 8%;
}

.info-box {
    background: rgb(34, 255, 49);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform .25s ease, box-shadow .25s ease;
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}


/* MAIN */

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 8%;
}

.contact-form,
.contact-map {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.contact-form:hover,
.contact-map:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.contact-map {
    padding: 0;
    overflow: hidden;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    background: #1e7f43;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(30, 127, 67, 0.32);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    background: #155c31;
    box-shadow: 0 16px 32px rgba(30, 127, 67, 0.38);
}

#formMsg {
    margin-top: 10px;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    font-size: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


/* MAP */

.contact-map #map {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 10px;
}


/* TEAM */

.team {
    padding: 60px 8%;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.member {
    text-align: center;
    transition: 0.4s;
}

.member:hover {
    transform: translateY(-10px);
}

.member img {
    border-radius: 50%;
    transition: 0.4s;
}

.member:hover img {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.member img {
    width: 160px;
    height: 160px;
}

.call-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #1e7f43;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(30, 127, 67, 0.32);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.call-btn:hover {
    transform: translateY(-2px);
    background: #155c31;
    box-shadow: 0 14px 30px rgba(30, 127, 67, 0.4);
}


/* RESPONSIVE */

@media(max-width:900px) {
    .contact-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 75vh;
        padding: 0 16px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .contact-main {
        padding: 50px 6%;
        gap: 25px;
    }
    .contact-form {
        padding: 30px;
    }
    .contact-form button {
        width: 100%;
    }
    .contact-map #map {
        min-height: 300px;
    }
}

@media (max-width: 560px) {
    .contact-hero {
        height: 65vh;
    }
    .hero-content h1 {
        font-size: 1.9rem;
    }
    .contact-main {
        padding: 40px 5%;
    }
    .team {
        padding: 50px 6%;
    }
    .team-grid {
        gap: 20px;
    }
    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}
