/* Modern Contacts Section */

/* Header */
.contacts-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: linear-gradient(135deg, #8D3FF2 0%, #7C3AED 50%, #6D28D9 100%);
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(141, 63, 242, 0.25);
    position: relative;
    overflow: hidden;
}

.contacts-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.contacts-header .header-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contacts-header .header-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.contacts-header .header-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* Privacy Info Box */
.contacts-info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 14px;
    border: 1px solid #bfdbfe;
    margin-bottom: 32px;
}

.contacts-info-box i {
    font-size: 28px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.contacts-info-box strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.contacts-info-box p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Section Card */
.contacts-section-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    margin-bottom: 24px;
    border: 2px solid #f3f4f6;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contacts-section-card:hover {
    border-color: #e9d5ff;
    box-shadow: 0 8px 24px rgba(141, 63, 242, 0.1);
}

.contacts-section-card .section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-bottom: 2px solid #e9d5ff;
}

.contacts-section-card .section-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #8D3FF2 0%, #7C3AED 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(141, 63, 242, 0.3);
}

.contacts-section-card .section-title h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.contacts-section-card .section-title p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.contacts-section-card .section-content {
    padding: 28px;
}

/* Labels */
.contacts-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.contacts-label i {
    color: #8D3FF2;
    font-size: 16px;
}

.required-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* Inputs */
.input-wrapper {
    position: relative;
}

.contacts-input,
.contacts-select {
    width: 100%;
    padding: 14px 50px 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    color: #1f2937;
    transition: all 0.3s ease;
    background: #ffffff;
}

.contacts-select {
    padding-right: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238D3FF2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.contacts-input:focus,
.contacts-select:focus {
    outline: none;
    border-color: #8D3FF2;
    box-shadow: 0 0 0 4px rgba(141, 63, 242, 0.1);
}

.contacts-input::placeholder {
    color: #9ca3af;
}

.input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #10b981;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contacts-input:valid + .input-icon {
    opacity: 1;
}

/* Error Message */
.error-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 16px;
    background: #fee2e2;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
}

.error-message i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .contacts-header {
        padding: 24px;
    }

    .contacts-header .header-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .contacts-header .header-content h3 {
        font-size: 24px;
    }

    .contacts-info-box {
        padding: 18px 20px;
    }

    .contacts-section-card .section-header {
        padding: 20px 24px;
    }

    .contacts-section-card .section-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .contacts-section-card .section-title h4 {
        font-size: 18px;
    }

    .contacts-section-card .section-content {
        padding: 24px;
    }

    .contacts-input,
    .contacts-select {
        padding: 12px 45px 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .contacts-header {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .contacts-header .header-content h3 {
        font-size: 22px;
    }

    .contacts-header .header-content p {
        font-size: 14px;
    }

    .contacts-info-box {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .contacts-info-box i {
        font-size: 32px;
    }

    .contacts-section-card .section-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .contacts-section-card .section-content {
        padding: 20px;
    }

    .contacts-label {
        flex-wrap: wrap;
    }

    .required-badge {
        margin-left: 0;
        margin-top: 4px;
    }
}

/* Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contacts-section-card {
    animation: slideInRight 0.4s ease-out backwards;
    animation-delay: 0.1s;
}
