/* Contact Section Form Styles */
#contact {
    position: relative;
    background: linear-gradient(to right, #1e3a8a, #2563eb, #1e3a8a);
    color: white;
    padding: 5rem 0;
    overflow: hidden;
}

/* Fix text color in form inputs */
#contact input,
#contact textarea,
#contact select {
    color: #1f2937; /* Dark gray text for better readability */
    background-color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    width: 100%;
    transition: all 0.3s ease;
}

/* Fix placeholder text color */
#contact input::placeholder,
#contact textarea::placeholder,
#contact select::placeholder {
    color: #9ca3af; /* Medium gray for placeholders */
}

/* Ensure dropdown text is visible */
#contact select {
    appearance: none; /* Remove default styling */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232563eb'%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 0.75rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* Fix dropdown option text color */
#contact select option {
    color: #1f2937;
    background-color: white;
    padding: 0.5rem;
}

/* Focus states for form elements */
#contact input:focus,
#contact textarea:focus,
#contact select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Label styles */
#contact label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: white; /* White text for labels on dark background */
}

/* White card background for the form */
#contact .bg-white {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Text color for headings in white card */
#contact .bg-white h3 {
    color: #1e3a8a; /* Blue heading text */
}

/* Text color for labels in white card */
#contact .bg-white label {
    color: #4b5563; /* Gray text for labels */
}

/* Button styling */
#contact button[type="submit"] {
    background-color: #1e40af;
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    width: 100%;
    transition: all 0.3s ease;
}

#contact button[type="submit"]:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Translucent card for contact info */
#contact .bg-white.bg-opacity-10 {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
}

/* Animation classes for the floating bubbles */
.animate-float-slow {
    animation: float 8s ease-in-out infinite;
}

.animate-float-mid {
    animation: float 6s ease-in-out infinite;
}

.animate-float-fast {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}