/* Professional Contact Page Styles - Community Development Focus */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/community_app/images/oluyole-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="300" r="200" fill="url(%23a)"/><circle cx="400" cy="700" r="250" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Community Development Cards */
.community-development-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    text-align: center;
    padding: 2rem;
}

.community-development-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.development-icon {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.community-development-card:hover .development-icon {
    transform: scale(1.1);
    color: #ff6b6b;
}

.community-development-card .card-title {
    color: #1e3c72;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.community-development-card .card-text {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form-section h3 {
    color: #1e3c72;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Contact Info Section */
.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info-section h3 {
    color: #1e3c72;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.contact-details h6 {
    color: #1e3c72;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Social Media Section */
.social-media-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-media-section h6 {
    color: #1e3c72;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(30, 60, 114, 0.3);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.4);
    color: white;
}

.social-link:nth-child(1):hover { background: linear-gradient(45deg, #3b5998, #4c70ba); }
.social-link:nth-child(2):hover { background: linear-gradient(45deg, #1da1f2, #4fc3f7); }
.social-link:nth-child(3):hover { background: linear-gradient(45deg, #e4405f, #fd79a8); }
.social-link:nth-child(4):hover { background: linear-gradient(45deg, #0077b5, #4fc3f7); }
.social-link:nth-child(5):hover { background: linear-gradient(45deg, #25d366, #4fc3f7); }

/* Community Impact Section */
.community-impact-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
    margin: 3rem 0;
}

.community-impact-section h3 {
    color: white;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.impact-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.impact-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff6b6b;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.impact-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    margin: 3rem 0;
}

.cta-section h3 {
    color: white;
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.cta-section .btn {
    margin: 0.5rem;
    min-width: 150px;
}

/* Form Enhancements */
.form-professional .form-control:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}

.form-professional .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-professional .form-check-label {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
    
    .contact-info-section {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .impact-number {
        font-size: 2rem;
    }
    
    .cta-section {
        text-align: center;
    }
    
    .cta-section .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.community-development-card {
    animation: slideInUp 0.6s ease-out;
}

.community-development-card:nth-child(2) { animation-delay: 0.1s; }
.community-development-card:nth-child(3) { animation-delay: 0.2s; }

.contact-info-item {
    animation: slideInUp 0.6s ease-out;
}

.contact-info-item:nth-child(2) { animation-delay: 0.1s; }
.contact-info-item:nth-child(3) { animation-delay: 0.2s; }
.contact-info-item:nth-child(4) { animation-delay: 0.3s; }

