/* Container for map and form */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 20px;
    background-color: #f5f7fa;
}

/* Map styling */
.contact-map {
    flex: 1 1 48%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Form wrapper */
.contact-form-wrapper {
    flex: 1 1 48%;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 24px;
    text-align: center;
    color: #333;
}

/* Form elements */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
    outline: none;
    background-color: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    background-color: #007bff;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.alert.alert-danger {
    font-weight: bold;
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

/* Status message */
#form-status-message {
    margin-top: 10px;
    color: #0a58ca;
    font-weight: 500;
    text-align: center;
}

/* Contact Details Section */
.contact-details {
    DISPLAY: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.iti {
    width: 100%;
}

.contact-box {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.contact-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.contact-box h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0px;
}

.contact-box p {
    font-size: 1rem;
    color: #555;
    margin: 0px;
}

.contact-box a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-box a{
        font-size: 13px;
    }

    .contact-box h3{
        font-size: 15px;
    }

    .contact-hero {
        height: 300px;
    }

    .contact-content {
        flex-direction: column-reverse;
        padding: 10px;
    }

    .contact-map, .contact-form-wrapper {
        flex: 1 1 100%;
        min-height: 100px;
        width: 100%;
        padding: 15px;
    }
    .contact-map iframe {
        height: 200px;
    }
    .contact-box {
        flex: 1 1 100%;
        padding: 10px;
        margin-bottom: 10px;
    }

    .contact-box i {
        font-size: 20px;
    }

    .contact-details {
        padding: 10px;
        gap: 5px;
    }
}
