/* ================================
   CONTACT PAGE STYLES
   ================================ */

/* Remove default padding/margin and fix header gap */
body:has(.contact-page) {
    padding-top: 0 !important;
    margin: 0 !important;
    overflow-x: hidden;
}

body:has(.contact-page) main {
    padding: 0 !important;
    margin: 0 !important;
}

body:has(.contact-page) main > .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Page Container */
.contact-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ================================
   ADVANCED HEADER SECTION
   ================================ */

.contact-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 0 0 120px;
    padding-top: 140px !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Animated Background Shapes */
.header-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #fff, transparent);
    top: -100px;
    left: -50px;
    animation: floatShape1 20s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fff, transparent);
    bottom: -50px;
    right: 10%;
    animation: floatShape2 15s infinite ease-in-out;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(225deg, #fff, transparent);
    top: 50%;
    right: -80px;
    animation: floatShape3 18s infinite ease-in-out;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: linear-gradient(315deg, #fff, transparent);
    bottom: 20%;
    left: 15%;
    animation: floatShape4 22s infinite ease-in-out;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -30px) rotate(90deg); }
    50% { transform: translate(100px, 20px) rotate(180deg); }
    75% { transform: translate(50px, 50px) rotate(270deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -40px) scale(1.1); }
    66% { transform: translate(40px, 40px) scale(0.9); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-60px) rotate(180deg); }
}

@keyframes floatShape4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

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

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation: floatParticle 8s infinite ease-in-out; }
.particle:nth-child(2) { left: 20%; top: 60%; animation: floatParticle 10s infinite ease-in-out 1s; }
.particle:nth-child(3) { left: 40%; top: 40%; animation: floatParticle 12s infinite ease-in-out 2s; }
.particle:nth-child(4) { left: 60%; top: 70%; animation: floatParticle 9s infinite ease-in-out 1.5s; }
.particle:nth-child(5) { left: 80%; top: 30%; animation: floatParticle 11s infinite ease-in-out 0.5s; }
.particle:nth-child(6) { left: 90%; top: 50%; animation: floatParticle 13s infinite ease-in-out 2.5s; }
.particle:nth-child(7) { left: 30%; top: 80%; animation: floatParticle 10s infinite ease-in-out 3s; }
.particle:nth-child(8) { left: 70%; top: 10%; animation: floatParticle 14s infinite ease-in-out 1.8s; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
    25% { transform: translateY(-30px) translateX(20px); opacity: 0.8; }
    50% { transform: translateY(-60px) translateX(-10px); opacity: 1; }
    75% { transform: translateY(-30px) translateX(30px); opacity: 0.7; }
}

/* Container Layer */
.contact-header .container {
    position: relative;
    z-index: 2;
}

/* Header Badge */
.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInLeft 0.6s ease;
}

.badge-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Contact Title - Enhanced */
.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease;
}

.title-gradient {
    display: block;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease, gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

/* Subtitle - Enhanced */
.contact-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    animation: slideInLeft 1.2s ease;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}

.subtitle-icon {
    color: #ffd700;
    animation: pulse 2s infinite;
}

/* Header Stats */
.header-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: #ffd700;
}

.stat-label {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    margin-top: 5px;
}

/* Advanced Illustration */
.header-illustration-advanced {
    position: relative;
    height: 400px;
    animation: fadeIn 1s ease;
}

/* 3D Card Stack */
.illustration-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.illustration-card {
    position: absolute;
    width: 280px;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.illustration-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-5deg);
    animation: cardFloat1 3s ease-in-out infinite;
    z-index: 3;
}

.card-2 {
    top: 120px;
    left: 10%;
    transform: rotate(-3deg);
    animation: cardFloat2 3.5s ease-in-out infinite;
    z-index: 2;
}

.card-3 {
    top: 120px;
    right: 10%;
    transform: rotate(3deg);
    animation: cardFloat3 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes cardFloat1 {
    0%, 100% { transform: translateX(-50%) rotate(-5deg) translateY(0); }
    50% { transform: translateX(-50%) rotate(-5deg) translateY(-15px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-10px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: rotate(3deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-12px); }
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 5px 0;
}

.card-content p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
}

.card-badge {
    margin-left: auto;
    color: #28a745;
    font-size: 1.3rem;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.icon-1 {
    top: 50px;
    right: 50px;
    animation: floatIcon 3s ease-in-out infinite;
}

.icon-2 {
    bottom: 100px;
    left: 30px;
    animation: floatIcon 4s ease-in-out infinite 0.5s;
}

.icon-3 {
    top: 280px;
    right: 100px;
    animation: floatIcon 3.5s ease-in-out infinite 1s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Content */
.contact-content {
    padding: 40px 0 80px;
}

/* Contact Information Section */
.contact-info-wrapper {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: sticky;
    top: 100px;
    animation: fadeInUp 0.6s ease;
}

.info-title {
    color: #0d6efd;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-description {
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info-items {
    margin-bottom: 35px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.info-content h5 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Social Links */
.social-links {
    padding-top: 25px;
    border-top: 2px solid #e9ecef;
}

.social-links h5 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links .social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-icon.facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.social-icon.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.social-icon.instagram {
    background: linear-gradient(135deg, #e1306c 0%, #c13584 100%);
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ================================
   ADVANCED CONTACT FORM SECTION
   ================================ */

/* Advanced Form Wrapper */
.contact-form-wrapper-advanced {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Decorative Circles */
.form-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -50px;
    right: -50px;
    animation: floatCircle 6s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -30px;
    left: -30px;
    animation: floatCircle 8s ease-in-out infinite 1s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    right: 10%;
    animation: floatCircle 7s ease-in-out infinite 2s;
}

@keyframes floatCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

/* Advanced Form Header */
.form-header-advanced {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.header-badge-form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
}

.badge-text-form {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
}

.form-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #212529;
    margin-bottom: 12px;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* Progress Steps */
.form-progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e9ecef, #f8f9fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.progress-step.active .step-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
}

.progress-step.active .step-label {
    color: #667eea;
}

.progress-line {
    width: 60px;
    height: 3px;
    background: #e9ecef;
    border-radius: 10px;
    position: relative;
}

.progress-step.active ~ .progress-line {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease;
}

.form-header {
    margin-bottom: 35px;
}

.form-header h3 {
    color: #212529;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: #6c757d;
    margin: 0;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-label {
    color: #212529;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form .form-label i {
    color: #0d6efd;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
    background: white;
    outline: none;
}

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

.char-count {
    text-align: right;
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 8px;
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

/* ================================
   ADVANCED FORM INPUTS
   ================================ */

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

.form-group-advanced {
    margin-bottom: 0;
}

.input-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.textarea-wrapper .input-icon {
    top: 25px;
    transform: translateY(0);
}

.form-control-advanced {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    z-index: 1;
}

.form-control-advanced:focus {
    outline: none;
    border-color: #667eea;
    background: #f8f9ff;
}

.form-control-advanced:focus ~ .input-icon {
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
}

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

/* Floating Label */
.floating-label {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 5px;
    z-index: 2;
}

.textarea-wrapper .floating-label {
    top: 25px;
    transform: translateY(0);
}

.form-control-advanced:focus ~ .floating-label,
.form-control-advanced:not(:placeholder-shown) ~ .floating-label {
    top: -12px;
    left: 15px;
    font-size: 0.75rem;
    color: #667eea;
    background: white;
    font-weight: 600;
}

/* Input Border Animation */
.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.form-control-advanced:focus ~ .input-border {
    width: 100%;
}

/* Validation Icon */
.validation-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.form-control-advanced.is-valid ~ .validation-icon {
    opacity: 1;
    color: #28a745;
}

.form-control-advanced.is-invalid ~ .validation-icon {
    opacity: 1;
    color: #dc3545;
}

/* Character Counter Advanced */
.char-count-advanced {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.char-progress {
    flex: 1;
    height: 4px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.char-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    width: 0%;
    transition: all 0.3s ease;
}

.char-progress-bar.warning {
    background: linear-gradient(90deg, #ffc107, #ff9800);
}

.char-progress-bar.danger {
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.char-text {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
}

/* Form Actions */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

/* Advanced Submit Button */
.btn-submit-advanced {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    min-width: 200px;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-submit-advanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

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

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

/* Button Particles */
.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.btn-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0;
}

.btn-submit-advanced:hover .particle {
    animation: particleBurst 0.8s ease-out forwards;
}

.btn-particles .particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.btn-particles .particle:nth-child(2) {
    top: 50%;
    left: 50%;
    animation-delay: 0.1s;
}

.btn-particles .particle:nth-child(3) {
    top: 70%;
    left: 80%;
    animation-delay: 0.2s;
}

@keyframes particleBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx, 20px), var(--ty, -20px)) scale(0);
    }
}

/* Security Badge */
.form-security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

.form-security-badge i {
    color: #28a745;
    font-size: 1.1rem;
}

/* Success Message */
.form-success-message {
    text-align: center;
    padding: 60px 30px;
    animation: fadeIn 0.6s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
    animation: successBounce 0.6s ease;
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.4);
}

@keyframes successBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.form-success-message h3 {
    color: #212529;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-success-message p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.4);
}

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

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

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

/* FAQ Section */
.faq-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #dee2e6;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    color: #212529;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.15);
}

.faq-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.faq-content h5 {
    color: #212529;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Loading State */
.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 991px) {
    .contact-info-wrapper {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .contact-header {
        padding: 80px 0 100px;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .title-gradient {
        font-size: 2.5rem;
    }
    
    .header-illustration-advanced {
        height: 350px;
        margin-top: 40px;
    }
    
    .illustration-card {
        width: 240px;
        padding: 20px;
    }
    
    .card-1 {
        left: 50%;
        top: 20px;
    }
    
    .card-2 {
        top: 120px;
        left: 5%;
    }
    
    .card-3 {
        top: 120px;
        right: 5%;
    }
    
    .header-stats {
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 20px;
    }
}

@media (max-width: 767px) {
    .contact-header {
        padding: 60px 0 80px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .title-gradient {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .badge-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .header-illustration-advanced {
        height: 300px;
        margin-top: 30px;
    }
    
    .illustration-card {
        width: 200px;
        padding: 15px;
        gap: 10px;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-content h4 {
        font-size: 0.95rem;
    }
    
    .card-content p {
        font-size: 0.75rem;
    }
    
    .card-1 {
        top: 10px;
    }
    
    .card-2 {
        top: 100px;
        left: 0;
    }
    
    .card-3 {
        top: 100px;
        right: 0;
    }
    
    .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .icon-1 {
        top: 30px;
        right: 20px;
    }
    
    .icon-2 {
        bottom: 80px;
        left: 10px;
    }
    
    .icon-3 {
        top: 220px;
        right: 50px;
    }
    
    .wave-separator svg {
        height: 50px;
    }
    
    .contact-info-wrapper,
    .contact-form-wrapper,
    .contact-form-wrapper-advanced {
        padding: 25px;
    }
    
    .form-progress-steps {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .progress-line {
        width: 3px;
        height: 30px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-submit-advanced {
        width: 100%;
    }
    
    .form-security-badge {
        justify-content: center;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .faq-item {
        padding: 20px;
        flex-direction: column;
    }
    
    .faq-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Success Animation */
.form-success {
    text-align: center;
    padding: 60px 30px;
}

.form-success i {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
    animation: successPulse 1s ease;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.form-success h3 {
    color: #212529;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-success p {
    color: #6c757d;
    font-size: 1.1rem;
}
