/* Custom contact page styles */
/* .contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), url('/assets/images/about.jpg') no-repeat center center);
    background-size: cover;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
} */

.contact-card {
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 10px;
    height: 100%;
    border: none;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #0d6efd;
}

/* Refined Beautiful Contact Form CSS */
.contact-form-container {
    max-width: 540px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.form-title {
    text-align: center;
    margin-bottom: 1.75rem;
    color: #2c3e50;
    font-size: 1.75rem;
    font-weight: 600;
    position: relative;
}

.form-title:after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db 0%, #9b59b6 100%);
    border-radius: 3px;
}

.form-row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.half-width {
    flex: 1;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    background-color: #f9f9f9;
}

.form-input:focus, .form-textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.15);
    outline: none;
    background-color: white;
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #3498db 0%, #9b59b6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-input, .form-textarea {
        padding: 0.65rem 1rem;
    }
    
    .submit-btn {
        padding: 0.75rem;
    }
}

/* Clear spacing above form to prevent overlap */
section.contact-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    position: relative;
}

/* Map Block Styles */
.map-block {
    margin-top: 40px;
}

.map-container {
    max-width: 80%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .half-width {
        width: 100%;
    }
    
    .map-container {
        max-width: 100%;
    }
}