#resultsDiv {
    display: none;
}

#imageDiv img {
    margin-bottom: 20px;
}

#imageDiv button,
#overlay2 button {
    width: 100%;
    background-color: #35b9f5;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.1rem;
}
imageDiv button:hover,
#overlay2 button:hover {
    background-color: #5593fb;
}

#imageDiv,
#imageDiv1 {
    border-radius: 20px;
    padding: 20px;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: solid;
    border-width: 0;
    filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.05));
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    font-size: 1.1rem;
    font-weight: 300;
    margin-left: 10px;
    margin-right: 10px;
    height: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}

#imageDiv img {
    object-fit: cover;
    display: flex;
    border-radius: 10px;
}

#overlay2 img {
    object-fit: cover;
    display: flex;
    border-radius: 10px;
    width: calc(100% - 40px);
}

#imageDiv1 img {
    object-fit: cover;
    display: flex;
    border-radius: 10px;
}

#leadGenerator {
    border-radius: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    text-align: left;
    border: solid;
    border-width: 0;
    filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.05));
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    font-size: 1.1rem;
    font-weight: 300;
    margin-left: 10px;
    margin-right: 10px;
    height: auto;
    margin-bottom: 10px;
}
/* Container for input and label */
.form-group {
    position: relative;
    margin-bottom: 16px;
}

/* Input field */
input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px 20px;
    margin: 0; /* Remove default margins */
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1rem;
    background: transparent;
    outline: none;
    height: 60px;
}

/* Floating label */
.form-group label {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.1rem;
    color: #aaa;
    transition: 0.2s ease all;
    pointer-events: none;
}

/* Shrink label when input is focused or has content */
input[type="text"]:focus ~ label,
input[type="email"]:focus ~ label,
input[type="text"]:not(:placeholder-shown) ~ label,
input[type="email"]:not(:placeholder-shown) ~ label,
select:focus ~ label {
    top: 4px;
    left: 20px;
    font-size: 0.75rem;
    color: #333;
}

/* Add focus effect for the input */
input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    border-color: #333;
    outline: none;
}

input[type="submit"] {
    width: 100%;
    background-color: #35b9f5;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.1rem;
}

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

/* Extend floating label logic to select elements */
select:focus ~ label,
select:not([value=""]) ~ label {
    top: 4px;
    left: 20px;
    font-size: 0.75rem;
    color: #333;
}

/* Optional: set a background to make selects look consistent */
select {
    appearance: none; /* Remove default arrow styling */
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    padding-right: 40px; /* room for arrow */
}

#termsModal a {
    display: inline-block;
}

#termsModal button {
    background-color: #35b9f5;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#termsContent {
    font-size: 15px;
}

#termsModal button:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
    pointer-events: none;
}

#termsReadText {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    font-weight: 600;
}
