/* Contact Form - Enhanced Styling with Magic Effects */

/* GET MY PRICE Header Enhancement */
.contact-section .contact-form .d-flex.align-items-center {
    position: relative;
    padding: 1.5rem 0;
    margin-bottom: 2rem !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-section .contact-form .d-flex.align-items-center::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00BFFF, #FF007F, #FFD700);
    transition: width 0.8s ease;
    animation: shimmerLine 3s ease infinite;
}

@keyframes shimmerLine {
    0%, 100% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
}

.contact-section .contact-form .d-flex.align-items-center i {
    font-size: 2.5rem !important;
    background: linear-gradient(135deg, #00BFFF, #FF007F, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
    animation: iconPulse 2s ease-in-out infinite;
    position: relative;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.8));
    }
}

.contact-section .contact-form h3.section-title {
    font-family: 'Bebas Neue', 'Righteous', 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #00BFFF 0%, #FF007F 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    text-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
    margin: 0;
    position: relative;
    color: transparent !important;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Magic Button Styles */
.contact-section .contact-form .btn-primary {
    background: linear-gradient(135deg, #00BFFF 0%, #FF007F 50%, #FFD700 100%) !important;
    background-size: 200% 200% !important;
    border: none !important;
    color: white !important;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: buttonGradient 5s ease infinite, buttonGlow 2s ease-in-out infinite;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    margin-top: 1rem;
    isolation: isolate;
}

/* Button Icon Styling */
.contact-section .contact-form .btn-primary i {
    position: relative;
    z-index: 12 !important;
    display: inline-block !important;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.contact-section .contact-form .btn-primary:hover i {
    transform: translateX(5px) scale(1.1);
}

@keyframes buttonGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4) !important;
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 0, 127, 0.6) !important;
    }
}

/* Button Shine Effect */
.contact-section .contact-form .btn-primary::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 ease;
    z-index: 2;
}

.contact-section .contact-form .btn-primary:hover::before {
    left: 100%;
}

/* Button Ripple Effect */
.contact-section .contact-form .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
    box-shadow: none !important;
}

.contact-section .contact-form .btn-primary:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Button Hover Effects */
.contact-section .contact-form .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 0, 127, 0.6),
                0 0 0 15px rgba(255, 215, 0, 0.2);
    animation: buttonGradient 3s ease infinite, buttonGlowHover 1.5s ease-in-out infinite;
}

@keyframes buttonGlowHover {
    0%, 100% {
        box-shadow: 0 12px 40px rgba(255, 0, 127, 0.6),
                    0 0 0 15px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 12px 50px rgba(0, 191, 255, 0.8),
                    0 0 0 20px rgba(0, 191, 255, 0.3);
    }
}

/* Button Text Effect */
.contact-section .contact-form .btn-primary span {
    position: relative;
    z-index: 12 !important;
    display: inline-block !important;
    transition: transform 0.3s ease;
    color: white !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.contact-section .contact-form .btn-primary:hover span {
    transform: scale(1.05);
}

/* Button Loading State */
.contact-section .contact-form .btn-primary.loading {
    pointer-events: none;
    position: relative;
}

.contact-section .contact-form .btn-primary.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 4;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-section .contact-form .btn-primary.loading span {
    opacity: 0;
}

/* Floating Particles Effect (on hover) */
.contact-section .contact-form .btn-primary:hover {
    position: relative;
}

.contact-section .contact-form .btn-primary:hover::before {
    animation: shine 0.6s ease;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Contact Form Card Background Fix */
.contact-section .glass-card.contact-form {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
}

/* Form Labels Enhancement */
.contact-section .contact-form .form-label {
    color: rgba(255, 255, 255, 0.98) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* Form Inputs Enhancement */
.contact-section .contact-form .form-control,
.contact-section .contact-form .form-select {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-section .contact-form .form-control:focus,
.contact-section .contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(0, 191, 255, 0.8) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 191, 255, 0.3),
                0 0 20px rgba(0, 191, 255, 0.4) !important;
    color: rgba(255, 255, 255, 1) !important;
    outline: none;
}

.contact-section .contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-section .contact-form .form-select option {
    background: rgba(26, 26, 46, 0.95) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section .contact-form h3.section-title {
        font-size: 2rem;
    }
    
    .contact-section .contact-form .btn-primary {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
    
    .contact-section .contact-form .d-flex.align-items-center i {
        font-size: 2rem !important;
    }
}

