/* Contact Page Specific Styles */

.contact-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #2A5CFF 0%, #7A3FFF 100%);
    color: white;
    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 100 100"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1.5" fill="white" opacity="0.1"/><circle cx="90" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="80" r="1" fill="white" opacity="0.1"/></svg>') repeat;
    z-index: 1;
}

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

.contact-hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.contact-hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.hero-feature span {
    font-weight: 600;
    white-space: nowrap;
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: white;
}

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

.contact-info h2 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2A5CFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info > p {
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-benefits {
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    color: #00BFE6;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-content h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #F8FAFF;
    border-radius: 12px;
    border-left: 4px solid #2A5CFF;
}

.detail-icon {
    width: 20px;
    height: 20px;
    color: #2A5CFF;
}

.contact-detail span {
    font-weight: 600;
    color: #333;
}

/* Contact Form */
.contact-form-container {
    background: linear-gradient(135deg, #F8FAFF 0%, #F0F4FF 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid #E8F2FF;
    box-shadow: 0 8px 30px rgba(42, 92, 255, 0.1);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
    font-size: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E8F2FF;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2A5CFF;
    box-shadow: 0 0 0 3px rgba(42, 92, 255, 0.1);
}

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

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 1.25rem 2rem;
    margin-bottom: 1rem;
}

.form-submit svg {
    width: 20px;
    height: 20px;
}

.form-note {
    text-align: center;
}

.form-note p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: #FAFAFA;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: #2A5CFF;
    margin-bottom: 2rem;
}

.testimonial-quote svg {
    width: 60px;
    height: 60px;
}

.testimonial-content blockquote {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: #1a1a1a;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

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

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

.faq-item {
    padding: 2rem;
    background: #F8FAFF;
    border-radius: 16px;
    border: 1px solid #E8F2FF;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 92, 255, 0.1);
}

.faq-item h4 {
    color: #2A5CFF;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
}

/* Footer Overrides for Light Theme */
.footer {
    background: linear-gradient(135deg, #F8FAFF 0%, #F0F4FF 100%) !important;
    color: #333 !important;
    border-top: 1px solid #E8F2FF !important;
}

.footer-brand p {
    color: #666666 !important;
}

.link-group h4 {
    color: #2A5CFF !important;
    font-weight: 600 !important;
}

.link-group a {
    color: #666666 !important;
}

.link-group a:hover {
    color: #2A5CFF !important;
}

.link-group p {
    color: #666666 !important;
}

.footer-bottom {
    border-top: 1px solid #E8F2FF !important;
}

.footer-bottom p {
    color: #999999 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-feature {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .testimonial-content blockquote {
        font-size: 1.25rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .benefit-icon {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .hero-feature {
        padding: 0.75rem 1.25rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
    }
    
    .testimonial-content blockquote {
        font-size: 1.1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}

/* Form Validation States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #2ed573;
    box-shadow: 0 0 0 3px rgba(46, 213, 115, 0.1);
}

/* Loading state */
.form-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

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