﻿

.contact-section {
    padding: 80px 0;
}

.contact-info-box {
    background: #f9f4e8;
    padding: 20px;
    border-radius: 60px;
}

    .contact-info-box h2 {
        font-weight: 800;
    }

    .contact-info-box span {
        color: red;
    }

    .contact-info-box p {
        margin: 20px 0 30px;
        color: #555;
    }

.info-card {
    background: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 60px;
    margin-bottom: 20px;
}

.icon1 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*    color: #fff;*/
    font-size: 22px;
}

    .icon1.red {
        background: #ff0000;
    }

    .icon1.green {
        background: #2e8b57;
    }

    .icon1.orange {
        background: #ff9800;
    }

.contact-form-box {
    background: #f9f4e8;
    padding: 50px;
    border-radius: 60px;
}

    .contact-form-box h2 {
        font-weight: 800;
        margin-bottom: 30px;
    }

    .contact-form-box input,
    .contact-form-box select,
    .contact-form-box textarea {
        width: 100%;
        border: none;
        background: #f5efd9;
        padding: 16px 20px;
        border-radius: 40px;
        margin-bottom: 20px;
        outline: none;
    }

    .contact-form-box textarea {
        border-radius: 30px;
    }

    .contact-form-box button {
        background: #ff0000;
        color: #fff;
        border: none;
        padding: 14px 40px;
        border-radius: 40px;
        font-weight: 600;
    }

.contact-info-box {
    position: relative;
    background: #f9f4e8;
    padding: 50px;
    border-radius: 60px;
    overflow: visible;
}

/* Leaves image */
.leaf-img {
    position: absolute;
    right: -5px;
    top: 120px;
    width: 120px;
    z-index: 2;
}

.leaf {
    position: absolute;
    width: 80px;
}

.leaf1 {
    right: -40px;
    top: 100px;
}

.leaf2 {
    right: -60px;
    top: 180px;
}





@keyframes floatLeaf {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.leaf-img {
    animation: floatLeaf 3s ease-in-out infinite;
}
.contact-section {
    padding: 60px 15px;
}

/* BOTH BOXES */
.contact-info-box,
.contact-form-box {
    border-radius: 30px;
    padding: 30px 20px;
}

    /* HEADING */
    .contact-info-box h2,
    .contact-form-box h2 {
        font-size: 26px;
    }

/* INFO CARD */
.info-card {
    flex-direction: row;
    gap: 15px;
    padding: 15px;
    border-radius: 30px;
}

/* ICON */
.icon1 {
    width: 50px;
    height: 50px;
    font-size: 18px;
}

/* FORM INPUT */
.contact-form-box input,
.contact-form-box select,
.contact-form-box textarea {
    padding: 12px 15px;
    border-radius: 20px;
}

/* BUTTON */
.contact-form-box button {
    width: 100%;
    padding: 12px;
}

/* LEAF IMAGE FIX */
.leaf-img {
    width: 80px;
    right: -10px;
    top: 80px;
}

/* ========================= */
/* TABLET (768px) */
/* ========================= */
@media (max-width: 768px) {

    .contact-section {
        padding: 40px 10px;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 25px 15px;
        margin-bottom: 30px;
    }

    .info-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .leaf-img {
        display: none; /* hide for clean look */
    }
}

/* ========================= */
/* MOBILE (480px) */
/* ========================= */
@media (max-width: 480px) {

    .contact-info-box h2,
    .contact-form-box h2 {
        font-size: 22px;
    }

    .info-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .icon1 {
        margin-bottom: 10px;
    }

    .contact-form-box button {
        font-size: 14px;
    }
}