/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    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"><polygon fill="%23ffffff05" points="0,1000 1000,800 1000,1000"/></svg>');
    background-size: cover;
}

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

.contact-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Floating Circles */
.circle-1, .circle-2, .circle-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
}

.circle-3 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fc;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

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

.contact-form-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4FC3F7;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

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

.submit-btn {
    background: linear-gradient(135deg, #4FC3F7, #29B6F6);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.3);
}

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

/* Contact Information */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f3f4;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4FC3F7, #667EEA);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

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

.info-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Social Section */
.social-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.social-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background: #f8f9fc;
    border-radius: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4FC3F7;
    color: white;
    transform: translateX(5px);
}

.social-link i {
    font-size: 18px;
    width: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
}

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

.faq-item {
    background: #f8f9fc;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: #4FC3F7;
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.1);
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8f9fc;
}

.map-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.map-placeholder {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    padding: 40px;
}

.map-content i {
    font-size: 60px;
    color: #4FC3F7;
    margin-bottom: 20px;
}

.map-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.map-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4FC3F7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #29B6F6;
}

/* Navigation Active State */
.nav-link.active {
    color: #4FC3F7;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .contact-section,
    .faq-section,
    .map-section {
        padding: 60px 0;
    }
    
    .contact-form-section,
    .contact-info-card,
    .social-section {
        padding: 25px;
    }
    
    .contact-form-section h2,
    .contact-info-section h2,
    .faq-section h2,
    .map-section h2 {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .contact-form-section,
    .contact-info-card,
    .social-section {
        padding: 20px;
    }
    
    .form-input,
    .form-textarea {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 14px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .map-content {
        padding: 30px 20px;
    }
    
    .map-content i {
        font-size: 40px;
    }
}

/* Form validation styles */
.form-input.valid,
.form-textarea.valid {
    border-color: #4caf50;
    background: #f1f8e9;
}

.form-input.invalid,
.form-textarea.invalid {
    border-color: #f44336;
    background: #fef5f5;
}

/* Loading animations */
.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}