/* contact-form.css */

/* Enhanced Form Container */
.contact-form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border: 1px solid #e2e8f0;
    border-radius: 1rem; /* Rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Softer shadow */
    padding: 2.5rem; /* Increased padding */
    transition: all 0.3s ease-in-out;
}

.contact-form-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); /* Slightly more pronounced shadow on hover */
}

/* Input Field Styling */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e0; /* Light gray border */
    border-radius: 0.5rem; /* Slightly rounded corners */
    background-color: #ffffff;
    color: #2d3748; /* Darker text for better readability */
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06); /* Inner shadow for depth */
}

.form-input::placeholder {
    color: #a0aec0; /* Lighter placeholder text */
}

.form-input:focus {
    border-color: var(--primary); /* Highlight border with primary color on focus */
    box-shadow: 0 0 0 3px rgba(37, 201, 31, 0.2); /* Custom focus ring using primary color */
    outline: none;
    background-color: #f7fafc; /* Slightly different background on focus */
}

/* Textarea specific styles */
textarea.form-input {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px; /* Minimum height for textarea */
}

/* Submit Button Styling */
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700; /* Bold font */
    padding: 0.85rem 2rem; /* More padding */
    border-radius: 9999px; /* Fully rounded */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.05em; /* Slightly wider letter spacing */
    text-transform: uppercase; /* Uppercase text */
}

.submit-button:hover {
    background-color: var(--primary-dark); /* Darker primary on hover */
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 8px 15px rgba(37, 201, 31, 0.3); /* Shadow on hover */
}

.submit-button:active {
    transform: translateY(0); /* Press down effect */
    box-shadow: 0 4px 10px rgba(37, 201, 31, 0.2);
}

/* Custom styles for labels */
.form-label {
    display: block;
    color: #2d3748; /* Darker text */
    font-weight: 600; /* Semi-bold */
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
    }

    .submit-button {
        width: 100%; /* Full width button on small screens */
    }
}

/* Ensure Tailwind's custom properties are used */
:root {
    --primary: #25C91F;
    --primary-dark: #1A8C15;
    --secondary: #2C3E50;
    --secondary-light: #34495E;
}
