﻿/* ===== CONTACT PAGE DESIGN ===== */

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* ===== HERO SECTION ===== */
.contact-hero {
    background: linear-gradient(to right, rgba(0, 100, 0, 0.6), rgba(0, 150, 80, 0.6)), url('/images/contact-bg.jpg') center/cover no-repeat;
    text-align: center;
    color: #fff;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

    .contact-hero h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .contact-hero p {
        font-size: 1.2rem;
        font-weight: 400;
        letter-spacing: 0.5px;
    }

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 70px 10%;
    background: #f9fff9;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* ===== LEFT INFO ===== */
.contact-info {
    flex: 1;
    background: linear-gradient(145deg, #e6f4ea, #c5f0d5);
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .contact-info h2 {
        font-size: 1.8rem;
        color: #156f3c;
        margin-bottom: 15px;
    }

    .contact-info h3 {
        margin-top: 15px;
        color: #1a7949;
    }

    .contact-info p {
        font-size: 1rem;
        line-height: 1.7;
    }

/* ===== RIGHT FORM ===== */
.contact-form {
    flex: 1;
    background: #fff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

    .contact-form h2 {
        font-size: 1.8rem;
        color: #007c4a;
        margin-bottom: 20px;
        text-align: center;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        font-weight: 600;
        display: block;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 10px 14px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 1rem;
        transition: border 0.3s ease, box-shadow 0.3s ease;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: #28a745;
            box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
            outline: none;
        }

/* ===== BUTTON ===== */
.btn-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #28a745, #34ce57);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-submit:hover {
        background: linear-gradient(90deg, #1e7e34, #218838);
        transform: scale(1.03);
    }

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}

/* ===== MAP SECTION ===== */
.contact-map {
    margin-top: 60px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
}

/* ===== ANIMATIONS ===== */
.animate-fade {
    animation: fadeIn 1s ease forwards;
}

.animate-slide {
    animation: slideUp 1.2s ease forwards;
}

.animate-left {
    animation: slideLeft 1.2s ease forwards;
}

.animate-right {
    animation: slideRight 1.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        width: 100%;
    }
}
