﻿/* ===== CONTACT PAGE DESIGN (Scoped) ===== */
.contact-page {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

    /* ===== HERO SECTION ===== */
    .contact-page .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-page .contact-hero h1 {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .contact-page .contact-hero p {
            font-size: 1.2rem;
            font-weight: 400;
            letter-spacing: 0.5px;
        }

    /* ===== CONTACT SECTION ===== */
    .contact-page .contact-section {
        padding: 70px 10%;
        background: #f9fff9;
    }

    .contact-page .contact-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
        align-items: flex-start;
    }

    /* ===== LEFT INFO ===== */
    .contact-page .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-page .contact-info h2 {
            font-size: 1.8rem;
            color: #156f3c;
            margin-bottom: 15px;
        }

        .contact-page .contact-info h3 {
            margin-top: 15px;
            color: #1a7949;
        }

        .contact-page .contact-info p {
            font-size: 1rem;
            line-height: 1.7;
        }

    /* ===== RIGHT FORM ===== */
    .contact-page .contact-form {
        flex: 1;
        background: #fff;
        padding: 35px 30px;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

        .contact-page .contact-form h2 {
            font-size: 1.8rem;
            color: #007c4a;
            margin-bottom: 20px;
            text-align: center;
        }

    .contact-page .form-group {
        margin-bottom: 20px;
    }

        .contact-page .form-group label {
            font-weight: 600;
            display: block;
            margin-bottom: 6px;
        }

        .contact-page .form-group input,
        .contact-page .form-group select,
        .contact-page .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;
        }

            .contact-page .form-group input:focus,
            .contact-page .form-group select:focus,
            .contact-page .form-group textarea:focus {
                border-color: #28a745;
                box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
                outline: none;
            }

    /* ===== BUTTON ===== */
    .contact-page .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;
    }

        .contact-page .btn-submit:hover {
            background: linear-gradient(90deg, #1e7e34, #218838);
            transform: scale(1.03);
        }

    /* ===== SUCCESS MESSAGE ===== */
    .contact-page .success-message {
        background: #d4edda;
        color: #155724;
        padding: 10px 15px;
        border-radius: 6px;
        margin-bottom: 20px;
        text-align: center;
    }

    /* ===== MAP SECTION ===== */
    .contact-page .contact-map {
        margin-top: 60px;
    }

    .contact-page .map-container iframe {
        width: 100%;
        height: 400px;
        border: none;
        border-radius: 15px;
    }

    /* ===== ANIMATIONS ===== */
    .contact-page .animate-fade {
        animation: fadeIn 1s ease forwards;
    }

    .contact-page .animate-slide {
        animation: slideUp 1.2s ease forwards;
    }

    .contact-page .animate-left {
        animation: slideLeft 1.2s ease forwards;
    }

    .contact-page .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-page .contact-wrapper {
        flex-direction: column;
    }

    .contact-page .contact-info,
    .contact-page .contact-form {
        width: 100%;
    }
}
