/* Contact Page Specific Styles */

/* Energy Field Background */
.energy-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000, #111);
    overflow: hidden;
    z-index: -1;
}

.energy-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    animation: energyPulse 6s ease-in-out infinite;
}

.energy-field::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(0, 255, 0, 0.05) 20px,
            rgba(0, 255, 0, 0.05) 40px
        );
    animation: energyFlow 4s linear infinite;
}

@keyframes energyPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes energyFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Cyber Text Effect */
.cyber-text {
    position: relative;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(0, 255, 0, 0.8),
        0 0 20px rgba(0, 255, 0, 0.6),
        0 0 30px rgba(0, 255, 0, 0.4);
    animation: cyberGlitch 4s ease-in-out infinite;
}

.cyber-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.3), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: cyberScan 3s linear infinite;
}

@keyframes cyberGlitch {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(0, 255, 0, 0.8),
            0 0 20px rgba(0, 255, 0, 0.6),
            0 0 30px rgba(0, 255, 0, 0.4);
    }
    25% { 
        text-shadow: 
            2px 0 10px rgba(255, 0, 0, 0.8),
            4px 0 20px rgba(255, 0, 0, 0.6),
            6px 0 30px rgba(255, 0, 0, 0.4);
    }
    50% { 
        text-shadow: 
            -2px 0 10px rgba(0, 0, 255, 0.8),
            -4px 0 20px rgba(0, 0, 255, 0.6),
            -6px 0 30px rgba(0, 0, 255, 0.4);
    }
    75% { 
        text-shadow: 
            0 2px 10px rgba(255, 255, 0, 0.8),
            0 4px 20px rgba(255, 255, 0, 0.6),
            0 6px 30px rgba(255, 255, 0, 0.4);
    }
}

@keyframes cyberScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    animation: contactGlow 8s ease-in-out infinite;
}

@keyframes contactGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

/* Contact Info */
.contact-info h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.2);
}

.method-icon {
    font-size: 2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.method-details h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.method-details p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.social-links h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.3);
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.05), transparent);
    animation: formGlow 4s ease-in-out infinite;
}

@keyframes formGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #00ff00;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: #00ff00;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ff00, #00ffff);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.submit-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 255, 0, 0.3);
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    animation: mapPulse 6s ease-in-out infinite;
}

@keyframes mapPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.map-content {
    position: relative;
    z-index: 1;
}

.map-content h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    animation: statGlow 3s ease-in-out infinite;
}

@keyframes statGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 0, 0.8); }
    50% { text-shadow: 0 0 40px rgba(0, 255, 0, 1), 0 0 60px rgba(0, 255, 0, 0.6); }
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.faq-toggle {
    color: #00ff00;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

/* Shocking Effects */
.contact-method:nth-child(odd):hover {
    animation: contactShock 0.5s ease-out;
}

@keyframes contactShock {
    0% { transform: translateX(10px); }
    25% { transform: translateX(15px) scale(1.02); }
    50% { transform: translateX(10px) scale(1.01); }
    75% { transform: translateX(12px) scale(1.02); }
    100% { transform: translateX(10px); }
}

.faq-item:nth-child(even):hover {
    animation: faqGlow 0.4s ease-out;
}

@keyframes faqGlow {
    0% { box-shadow: 0 15px 30px rgba(0, 255, 0, 0.2); }
    50% { box-shadow: 0 15px 30px rgba(0, 255, 0, 0.6), 0 0 60px rgba(0, 255, 0, 0.4); }
    100% { box-shadow: 0 15px 30px rgba(0, 255, 0, 0.2); }
}

.submit-btn:hover {
    animation: submitPulse 0.6s ease-out;
}

@keyframes submitPulse {
    0% { transform: translateY(-3px); }
    50% { transform: translateY(-3px) scale(1.05); }
    100% { transform: translateY(-3px); }
} 