/**
 * File: contact.css
 * Location: /css/contact.css
 * Last Modified: 2025-06-11 20:00:31
 * 
 * Description:
 * Styles for the contact page including map integration, form styling,
 * and contact information display.
 * 
 * Contents:
 * - Contact Page Banner
 * - Contact Information Section
 * - Contact Form Styles
 * - Map Container Styles 
 * - OpenStreetMap Customization
 * - Social Icons
 * - Responsive Adjustments
 */

/**
 * Contact Page Banner
 * Styles for the page title and breadcrumb section
 */
.page-banner {
    background-color: #f5f5f5;
    padding: 40px 0;
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    display: flex;
    list-style-type: none;
}

.breadcrumb-item a {
    color: #6A9EC0;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #777;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/**
 * Contact Information Section
 * Styles for the contact details and icons
 */
.contact-info {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.info-items {
    margin-bottom: 30px;
}

.info-icon i {
    color: #ffffff;
}

.info-box .info-icon i {
    color: #ffffff;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: rgba(106, 158, 192, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #6A9EC0;
    font-size: 20px;
}

.info-content {
    flex: 1;
}

.info-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.info-content p {
    margin-bottom: 5px;
    color: #555;
}

.info-content .text-muted {
    font-size: 14px;
    color: #777 !important;
}

.info-content a {
    color: #6A9EC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #8A6BBE;
}

/**
 * Social Links
 * Styles for social media connection buttons
 */
.social-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #6A9EC0;
    color: white;
    transform: translateY(-3px);
}

/**
 * Contact Form Styles
 * Styles for the form container, inputs, and validation
 */
.contact-form-container {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-form-container h3 {
    margin-bottom: 25px;
    font-weight: 600;
    color: #333;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    display: block;
}

.contact-form .required {
    color: #dc3545;
}

.contact-form .form-control {
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.contact-form .form-control:focus {
    border-color: #6A9EC0;
    box-shadow: 0 0 0 0.2rem rgba(106, 158, 192, 0.25);
}

.contact-form .is-invalid {
    border-color: #dc3545;
}

.contact-form .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.contact-form .btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary {
    background-color: #333;
    border-color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .btn-primary:hover,
.contact-form .btn-primary:focus {
    background-color: #4d4d4d;
    border-color: #4d4d4d;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.g-recaptcha-container {
    margin-top: 20px;
}

/**
 * Map Container Styles
 * Styles for the OpenStreetMap container and custom markers
 */
.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.osm-map {
    height: 450px;
    width: 100%;
}

/* Custom popup styling for the map marker */
.map-popup {
    text-align: center;
    padding: 5px;
}

.map-popup h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.map-popup p {
    margin-bottom: 5px;
}

.map-popup .btn {
    margin-top: 5px;
    padding: 3px 8px;
    font-size: 12px;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 5px;
}

.leaflet-popup-content {
    margin: 10px;
}

/* Override leaflet controls */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom a {
    border-radius: 4px !important;
    color: #333 !important;
}

/**
 * Responsive Adjustments
 * Media queries for different screen sizes
 */
@media (max-width: 991px) {
    .contact-info {
        margin-bottom: 30px;
    }
    
    .osm-map {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .page-banner {
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .info-icon {
        flex: 0 0 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .osm-map {
        height: 300px;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .info-item {
        flex-direction: column;
    }
    
    .info-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .contact-form .btn {
        width: 100%;
    }
    
    .osm-map {
        height: 250px;
    }
}
