/* css/contact-styles.css */

/* --- Form Styling --- */
.form-group {
    position: relative;
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #9CA3AF; /* text-gray-400 */
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: #000; /* Pure black background */
    padding: 0 0.25rem;
}

.form-label.is-focused {
    top: -0.75rem;
    font-size: 0.75rem;
    color: #5E72EB;
}

.form-input {
    width: 100%;
    background-color: transparent;
    border: 1px solid #374151; /* border-gray-700 */
    color: #F9FAFB; /* text-gray-50 */
    padding: 1rem;
    border-radius: 0.5rem;
    transition: border-color 0.2s ease-out;
    -webkit-appearance: none; /* Removes default styling on iOS */
    -moz-appearance: none;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: #5E72EB;
}

/* Animate label when input is focused or has content */
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: #5E72EB;
}

/* Custom dropdown arrow */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '▼';
    font-size: 0.8rem;
    color: #9CA3AF; /* text-gray-400 */
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-input,
.form-input option {
    background-color: #000; /* Pure black background */
    color: #F9FAFB; /* text-gray-50 */
}

/* --- Layout & Animation Containers --- */
.contact-form-wrapper,
.contact-details-wrapper {
    opacity: 1; /* Make content visible */
    transition: opacity 0.5s;
}

.animated-svg-container {
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

#contact-logo-8-path {
    stroke-dasharray: 1000; /* Approximate length, will be set by JS */
    stroke-dashoffset: 1000;
}

#success-title, #success-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}
