.contact-form-container {
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.contact-form-container:hover {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 48px rgba(139, 92, 246, 0.2);
}

.form-label {
    color: #a78bfa;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    animation: slideInLeft 0.5s ease;
}

.input-wrapper:nth-child(2) {
    animation-delay: 0.1s;
}

.input-wrapper:nth-child(3) {
    animation-delay: 0.2s;
}

.contact-input {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #ffffff;
    padding: 0.875rem 1rem;
    padding-right: 3rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-input:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: #a78bfa;
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25), 0 0 20px rgba(139, 92, 246, 0.3);
    outline: none;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-input:valid:not(:placeholder-shown) {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.contact-input.is-invalid {
    border-color: rgba(239, 68, 68, 0.6);
    padding-right: 3rem;
    background: rgba(239, 68, 68, 0.05);
}

.contact-input.is-valid {
    border-color: rgba(34, 197, 94, 0.6);
    background: rgba(34, 197, 94, 0.05);
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(139, 92, 246, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
}

.textarea-icon {
    top: 1rem;
    transform: none;
}

.contact-input:focus + .input-icon {
    color: #a78bfa;
    transform: translateY(-50%) scale(1.1);
}

.textarea-icon.contact-input:focus + .input-icon {
    transform: scale(1.1);
}

.invalid-feedback {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    animation: shake 0.3s ease;
}

.contact-input.is-invalid ~ .invalid-feedback {
    display: block;
}

.custom-checkbox {
    position: relative;
    padding-left: 2rem;
    animation: slideInLeft 0.5s ease 0.3s backwards;
}

.custom-checkbox .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: -2rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-checkbox .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
    border-color: #a78bfa;
}

.custom-checkbox .form-check-input:checked {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.custom-checkbox .form-check-input.is-invalid {
    border-color: rgba(239, 68, 68, 0.6);
}

.custom-checkbox .form-check-label {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    line-height: 1.6;
    user-select: none;
}

.custom-checkbox .form-check-label a {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.custom-checkbox .form-check-label a:hover {
    color: #c4b5fd;
    border-bottom-color: #c4b5fd;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    animation: slideInUp 0.5s ease 0.4s backwards;
}

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

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

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

.contact-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    background: rgba(15, 15, 15, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.contact-info-item h5 {
    color: #a78bfa;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info-item p,
.contact-info-item a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #c4b5fd;
}

.contact-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .contact-submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 1.5rem 1rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .contact-input {
        padding: 0.75rem 0.875rem;
        padding-right: 2.5rem;
        font-size: 0.95rem;
    }

    .input-icon {
        right: 0.75rem;
    }

    .custom-checkbox {
        padding-left: 1.75rem;
    }

    .custom-checkbox .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
        margin-left: -1.75rem;
    }

    .custom-checkbox .form-check-label {
        font-size: 0.9rem;
    }
}
