.form-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 40px;
}

.form-wrapper {
    max-width: 700px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.form-wrapper h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 1rem;
    text-align: center;
}

.form-wrapper p {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: rgba(255, 255, 255, 0.95);
}

input:focus, textarea:focus {
    outline: none;
    border-color: #2E86AB;
    box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.2);
}

.required {
    color: #e74c3c;
}

small {
    display: block;
    color: #666;
    margin-top: 0.3rem;
    font-size: 0.85rem;
}

.submit-button {
    background-color: #2E86AB;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: block;
    margin: 2rem auto 0;
    width: 100%;
    max-width: 300px;
}

.submit-button:hover {
    background-color: #1a6f94;
    transform: translateY(-2px);
}

.g-recaptcha {
    display: flex;
    justify-content: center;
}

.form-group select#service {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #1e3a5c;
    border-radius: 6px;
    background: #f7faff url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7.293 7.293a1 1 0 011.414 0L10 8.586l1.293-1.293a1 1 0 111.414 1.414l-2 2a1 1 0 01-1.414 0l-2-2a1 1 0 010-1.414z'/></svg>") no-repeat right 12px center/20px 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #1e3a5c;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group select#service:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}

.form-group select#service option[disabled] {
    color: #aaa;
}

/* Responsive styles */
@media (max-width: 768px) {
    .form-container {
        padding: 100px 15px 30px;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .form-wrapper h1 {
        font-size: 2rem;
    }
    
    .form-wrapper p {
        font-size: 0.95rem;
    }
    
    .submit-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 90px 10px 20px;
    }
    
    .form-wrapper {
        padding: 25px 15px;
    }
    
    .form-wrapper h1 {
        font-size: 1.8rem;
    }
    
    input, textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
    
    .submit-button {
        padding: 10px 20px;
        font-size: 0.95rem;
        max-width: 250px;
    }
}