/*
Theme Name: Hub Child
Theme URI: http://hub.liquid-themes.com/
Author: Liquid Themes
Author URI: https://themeforest.net/user/liquidthemes
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/
/* Form container styling */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 1px;
    font-family: Arial, sans-serif;
}

/* Label styling */
.wpcf7-form label {
    color: black;
    font-weight: bold;
    display: block;
}

/* Input field styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid grey;
    margin-bottom: 10px; /* Decrease bottom margin to reduce space */
    outline: none;
    transition: border-color 0.4s ease;
}

/* Specific styling for the textarea */
.wpcf7-form textarea {
    height: 60px;
    resize: none;
}

/* Focus styling */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: black;
}

/* Submit button styling */
.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: orange;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: darkorange;
}

/* Flex styling for first and last name */
.wpcf7-form .name-container {
    display: flex;
    gap: 10px;
}

.wpcf7-form .name-container div {
    flex-grow: 2;
}

/* Adjust space for mobile view */
@media (max-width: 600px) {
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="url"],
    .wpcf7-form textarea {
        padding: 6px;
        font-size: 13px;
    }

    .wpcf7-form input[type="submit"] {
        padding: 10px;
        font-size: 15px;
    }
}