/* Contact Page Specific Styles */

.contact-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Contact Form Styles */
.contact-form {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Contact Info Styles */
.contact-info {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.info-item:hover {
    background: var(--bg-color);
    box-shadow: var(--shadow);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-content h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.info-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-content a:hover {
    text-decoration: underline;
}

.info-content .highlight {
    color: var(--accent-color);
    font-weight: bold;
}

/* Social Contact */
.social-contact {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.social-contact h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.social-contact p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-contact .social-links {
    justify-content: center;
}

/* Contact page social icons styling */
.social-contact .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.3rem;
    margin: 0 0.5rem;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.social-contact .social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.social-contact .social-links a.social-placeholder {
    background: #bdc3c7;
    color: white;
    opacity: 0.7;
}

.social-contact .social-links a.social-placeholder:hover {
    background: #95a5a6;
    transform: none;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-header i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.6;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error textarea {
    border-color: var(--accent-color);
}

.form-group .error-message {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.form-group.success input,
.form-group.success textarea {
    border-color: var(--success-color);
}

/* Active nav link */
.nav a.active {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .info-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .info-icon {
        align-self: center;
        margin-bottom: 1rem;
    }
    
    .info-content {
        text-align: center;
    }
    
    .contact-info-section {
        text-align: center;
    }
    
    .contact-info-section h2 {
        text-align: center;
    }
    
    .social-contact {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 2rem 0;
    }
    
    .contact-header {
        padding: 2rem 0;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .info-icon {
        align-self: center;
        margin-bottom: 1rem;
    }
    
    .info-content {
        text-align: center;
    }
}
