/* 🔮 FUTURISTIC CONTACT FORM STYLES 🔮 */

.contact-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::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"><defs><pattern id="contact-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%2300FFF0" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23contact-grid)"/></svg>');
    animation: grid-slide 30s linear infinite;
}

@keyframes grid-slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #00FFF0, #FF00FF, #00FF00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 3s ease-in-out infinite;
    margin-bottom: 20px;
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00FFF0, transparent);
    border-radius: 2px;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.contact-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

/* ===== CONTACT FORM ===== */
.futuristic-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 255, 240, 0.2);
    border-radius: 25px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.futuristic-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 240, 0.05), transparent);
    pointer-events: none;
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-input {
    width: 100%;
    padding: 20px 0 20px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 240, 0.3);
    border-radius: 15px;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    border-color: #00FFF0;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 20px rgba(0, 255, 240, 0.3),
        inset 0 0 20px rgba(0, 255, 240, 0.05);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.form-input:focus::placeholder {
    color: transparent;
}

.form-label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.5);
    padding: 0 10px;
    border-radius: 5px;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: 0;
    left: 15px;
    font-size: 0.9rem;
    color: #00FFF0;
    background: rgba(0, 0, 0, 0.8);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Poppins', sans-serif;
}

.form-textarea + .form-label {
    top: 30px;
}

.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
    top: 0;
}

/* ===== SUBMIT BUTTON ===== */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #00FFF0, #0080FF);
    border: none;
    border-radius: 15px;
    color: #000000;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 255, 240, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 240, 0.5);
    background: linear-gradient(45deg, #00FFE0, #00A0FF);
}

.submit-btn:active {
    transform: translateY(-1px);
}

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

.submit-btn:hover::before {
    left: 100%;
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0, 255, 240, 0.2);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 240, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 240, 0.5);
    box-shadow: 0 20px 40px rgba(0, 255, 240, 0.2);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00FFF0, #FF00FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 255, 240, 0.3);
}

.contact-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #00FFF0;
    margin-bottom: 10px;
}

.contact-card-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 240, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00FFF0;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #00FFF0;
    color: #000;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 255, 240, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .futuristic-form {
        padding: 30px 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .form-input {
        padding: 18px 0 18px 15px;
        font-size: 1rem;
    }
    
    .submit-btn {
        padding: 16px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .futuristic-form {
        padding: 25px 15px;
        border-radius: 20px;
    }
    
    .form-input {
        padding: 16px 0 16px 12px;
        border-radius: 12px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .social-links {
        justify-content: center;
    }
}
