﻿/* ===== Hero Section ===== */
.contact-hero {
    background: url('../Images/ContactUs.jpg') no-repeat center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

    .contact-hero .overlay {
        background: rgba(0, 0, 0, 0.6);
        padding: 50px;
        border-radius: 12px;
    }

    .contact-hero h1 {
        font-size: 3rem;
        margin-bottom: 10px;
        animation: fadeInDown 1s ease;
    }

    .contact-hero p {
        font-size: 1.2rem;
    }

/* ===== Contact Section ===== */
.contact-section {
    padding: 60px 20px;
    background: #f9f9f9;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

/* Info Box */
.contact-info {
    flex: 1 1 40%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

    .contact-info h2 {
        color: #2e7d32;
        margin-bottom: 10px;
    }

/* Form */
.contact-form {
    flex: 1 1 55%;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea,
    .custom-select {
        width: 100%;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid #ccc;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

.custom-select {
    appearance: none;
    background: #fff url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 12px center;
    background-size: 18px;
}

.btn-submit {
    background: linear-gradient(90deg, #388e3c, #66bb6a);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

    .btn-submit:hover {
        transform: scale(1.05);
        background: linear-gradient(90deg, #2e7d32, #43a047);
    }

/* Success Message */
.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Map */
.contact-map {
    margin-top: 50px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
