/* ============================================
   Contact Us Page - Professional Design with Floating Particles - v2.0
   ============================================ */

/* Hero Section - Same as other pages */
.contact-hero-section {
    background: 
        radial-gradient(circle at 20% 50%, rgba(42, 193, 174, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Floating Particles */
.contact-floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.contact-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #2BC7B4, #8B5CF6);
    border-radius: 50%;
    animation: contactParticleFloat 15s infinite linear;
    opacity: 0.6;
}

.contact-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; }
.contact-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.contact-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 22s; }
.contact-particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 16s; }
.contact-particle:nth-child(5) { left: 60%; animation-delay: 8s; animation-duration: 24s; }
.contact-particle:nth-child(6) { left: 70%; animation-delay: 10s; animation-duration: 14s; }
.contact-particle:nth-child(7) { left: 80%; animation-delay: 12s; animation-duration: 26s; }
.contact-particle:nth-child(8) { left: 90%; animation-delay: 14s; animation-duration: 12s; }

@keyframes contactParticleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Hero Content */
.contact-hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: contactSlideInUp 0.8s ease forwards;
    text-align: center;
    max-width: 100%;
}

.contact-hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.contact-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2BC7B4;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1.5rem;
    background: rgba(42, 193, 174, 0.1);
    border: 2px solid rgba(42, 193, 174, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4.5vw, 3rem); /* Reduced header size */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    word-wrap: break-word;
}

.contact-hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* Responsive typography */
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 100%;
}

/* Contact Info - For Form Section */
.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(248, 250, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(248, 250, 255, 1);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-details h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.contact-hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-primary-btn,
.contact-secondary-btn {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.contact-secondary-btn {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.contact-secondary-btn:hover {
    background: #ffffff;
    color: #1e293b;
    border-color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Hero Visual */
.contact-hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    animation: contactHeroFadeIn 1s ease forwards 0.6s;
}

.contact-hero-image img {
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.contact-hero-image img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

@keyframes contactSlideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contactHeroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Form Section */
.contact-form-section {
    background: 
        linear-gradient(135deg, #fafbff 0%, #f0f4ff 25%, #ffffff 50%, #f8faff 75%, #fafbff 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.contact-info-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.contact-info-header {
    margin-bottom: 2rem;
}

.info-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.info-badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2BC7B4;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    background: rgba(42, 193, 174, 0.1);
    border: 2px solid rgba(42, 193, 174, 0.2);
    border-radius: 25px;
}

.info-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.info-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.12);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.form-badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 25px;
}

.form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.form-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Form Styling */
.contact-form {
    margin-top: 2rem;
}

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

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

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #2BC7B4;
    box-shadow: 0 0 0 3px rgba(42, 193, 174, 0.1);
    background: #fafbff;
}

.form-control::placeholder {
    color: #9ca3af;
}

select.form-control {
    cursor: pointer;
}

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

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.contact-submit-btn {
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.form-note {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* FAQs Section */
.faqs-section {
    background: #ffffff;
    padding: 60px 0;
}

.faqs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faqs-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.faqs-badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2BC7B4;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    background: rgba(42, 193, 174, 0.1);
    border: 2px solid rgba(42, 193, 174, 0.2);
    border-radius: 25px;
}

.faqs-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.faqs-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* FAQ Accordion */
.faqs-accordion {
    margin-top: 2rem;
}

.faq-item {
    background: rgba(248, 250, 255, 0.8);
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: rgba(139, 92, 246, 0.05);
}

.faq-question h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #8B5CF6;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    transition: all 0.3s ease;
}

.faq-answer p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA Section */
.contact-final-cta {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-cta-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-hero-title { font-size: 3rem; }
    .form-title { font-size: 2rem; }
    .faqs-title { font-size: 2.3rem; }
    .contact-cta-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .contact-hero-section { padding: 80px 0 60px 0; min-height: 90vh; }
    .contact-hero-title { font-size: 2.5rem; line-height: 1.2; }
    .contact-hero-buttons { flex-direction: column; gap: 1rem; }
    .contact-primary-btn, .contact-secondary-btn { width: 100%; max-width: 320px; }
    .contact-form-section, .faqs-section { padding: 80px 0; }
    .contact-form-wrapper { padding: 2rem; }
    .contact-info-wrapper { 
        padding: 2rem; 
        margin-bottom: 2rem;
        position: static;
    }
    .info-title { font-size: 1.5rem; }
    .contact-info { margin-bottom: 1.5rem; }
    .contact-item { 
        padding: 1rem; 
        margin-bottom: 1rem;
    }
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    .contact-icon i {
        font-size: 1.2rem;
    }
    .contact-details h4 {
        font-size: 1rem;
    }
    .contact-details p {
        font-size: 0.9rem;
    }
    .contact-cta-title { font-size: 2rem; }
    .contact-cta-buttons { flex-direction: column; gap: 1rem; }
    .faq-question { padding: 1rem 1.5rem; }
    .faq-answer { padding: 0 1.5rem 1rem; }
}

@media (max-width: 576px) {
    .contact-hero-title { font-size: 1.8rem; }
    .form-title { font-size: 1.6rem; }
    .faqs-title { font-size: 1.8rem; }
    .contact-cta-title { font-size: 1.6rem; }
    .contact-form-wrapper { padding: 1.5rem; }
    .form-control { padding: 0.875rem 1rem; }
}
