body {
    background-image: url('background.png');
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    
}

p {
    text-align: justify;
}


.text-justified {
    text-align: justify;
}

.logo-container img {
    width: 115px;
    height: auto;
}

.container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #ea9b46;
    text-align: center;
}

h3 {
    color: #513f34;
    margin-bottom: 10px;
    text-align: center;
    font-size: 24px; /* Ensure consistent font size */
}

.step, .field-pair, .form-row {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

#custom-paragraph {
    font-size: 16px;
    color: #333;
    margin-left: 40px;
    margin-right: 40px;
    line-height: 1.5;
    text-align: center;
}

input[type="text"],
input[type="email"], 
input[type="tel"], 
input[type="number"], 
select, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 20px; /* Make input fields more curved */
    box-sizing: border-box;
    font-size: 16px;
}

textarea {
    height: 100px;
}

input[type="submit"] {
    background-color: #0056b3;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

input[type="submit"]:hover {
    background-color: #004494;
}

.form-controls label {
    margin-right: 15px;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
    margin-right: 30px;
    margin-left: 20px;
}

.form-controls input[type="checkbox"] {
    margin-right: 5px;
}

.form-controls label {
    display: flex;
    align-items: center;
}

.form-row2 {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 0;
}

.form-4 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-4 [for="availability"],
.form-4 [for="condition"] {
    width: 100%;
}

.form-group2 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-row4 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-row4 select {
    width: 100%;
}

.form-row5 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-row5 input[type="text"] {
    width: 100%;
}

.form-group select,
.form-group2 input[type="text"] {
    width: 100%;
}

.custom-autocomplete-input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.custom-autocomplete-container {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.custom-autocomplete-suggestion {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.custom-autocomplete-selected {
    background-color: #f0f0f0;
}

#selectedLocations div {
    margin-bottom: 5px;
    padding: 5px;
    background-color: #eef;
    border: 1px solid #ccd;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button {
    padding: 15px 20px;
    margin: 10px 5px;
    border: none;
    border-radius: 20px; /* Make buttons more curved */
    background-color: #ea9b46; /* Orange color matching the title */
    color: #fff;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #d88a3a; /* Slightly darker orange on hover */
}

#selectedLocations button {
    padding: 3px 6px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

#selectedLocations button:hover {
    background-color: #d32f2f;
}

.captcha-container {
    position: relative;
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.captcha-container label {
    font-size: 1.5em;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.captcha-container input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 1em;
}

.captcha-container input[type="text"]:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
    outline: none;
}

.captcha-container input[type="text"] {
    transition: border-color 0.3s, box-shadow 0.3s;
}

.captcha-header {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center !important;
}

.captcha-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

label[for="captcha"] {
    font-family: 'Dancing Script', cursive;
    text-align: center;
}

.logo-container {
    text-align: center;
    margin: 20px 0;
}

.logo-container img {
    width: 500px;
    height: 400px;
    border-radius: 5%; /* Make the image circular */
}

.form-section {
    display: none;
    padding: 20px;
    margin-bottom: 20px;
    /* border: 1px solid #ddd; */
    border-radius: 10px;
    background-color: #fff;
}

.form-section.active {
    display: block;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    

    #custom-paragraph {
        font-style: italic;
    }
    .form-section{
        padding: 0;
    }

    body {
        background-image: none;
        font-family: Arial, sans-serif;
        background-color: #fff;;
        margin: 0;
        padding: 0px;
        
    }
    
    .logo-container img {
        width: 300px;
        height: 300px;
        border-radius: 5%;
    }

    .container {
        padding: 10px 20px;
        
    }

    h1 {
        font-size: 22px;
        
    }

    h2 {
        font-size: 20px;
        text-align: unset;
    }

    h3 {
        font-size: 16px;
    }

    label {
        font-size: 16px;
        text-align: left;
    }

    input[type="text"],
    input[type="email"], 
    input[type="tel"], 
    input[type="number"], 
    select, textarea {
        padding: 12px;
        font-size: 16px;
    }

    button {
        padding: 12px 16px;
        font-size: 16px;
    }

    .form-row2,
    .form-row4,
    .form-row5,
    .form-group,
    .form-group2 {
        width: 100%;
        margin-left: 0;
    }

    .form-row4 select,
    .form-row5 input[type="text"],
    .form-group select,
    .form-group2 input[type="text"],
    .captcha-container input[type="text"] {
        width: 100%;
    }

    /* Section 1 */
    #section1 {
        text-align: center;
    }

    #section1 button {
        font-size: 24px; /* Twice as big */
    }

    /* Section 2 */
    #section2 {
        text-align: center;
    }

    #section2 h3,
    #section2 label,
    #section2 input[type="text"],
    #section2 input[type="email"],
    #section2 input[type="tel"],
    #section2 input[type="number"],
    #section2 select,
    #section2 textarea,
    #section2 button {
        font-size: 16px; /* Twice as big */
        padding: 12px; /* Twice as big */
    }

    #section2 #custom-paragraph {
        width: 100%; /* Take full width of the container */
        text-align: left; /* Align text to the left */
        margin: 0; /* Remove any default margins */
    }


    #section3 label,
    #section3 input[type="text"],
    #section3 input[type="email"],
    #section3 input[type="tel"],
    #section3 input[type="number"],
    #section3 select,
    #section3 textarea,
    #section3 button {
        font-size: 16px; /* Twice as big */
        padding: 12px; /* Twice as big */
    }

    /* Section 4 */
    #section4 {
        text-align: center;
    }

    #section4 h3,
    #section4 label,
    #section4 input[type="text"],
    #section4 input[type="email"],
    #section4 input[type="tel"],
    #section4 input[type="number"],
    #section4 select,
    #section4 textarea,
    #section4 button {
        font-size: 16px; /* Twice as big */
        padding: 12px; /* Twice as big */
    }

    /* Section 4 */
    #section5 {
        text-align: center;
    }

    #section5 h3,
    #section5 label,
    #section5 input[type="text"],
    #section5 input[type="email"],
    #section5 input[type="tel"],
    #section5 input[type="number"],
    #section5 select,
    #section5 textarea,
    #section5 button {
        font-size: 16px; /* Twice as big */
        padding: 12px; /* Twice as big */
    }
}