.frame {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.address {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media screen and (max-width: 1200px) {
    .frame {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .frame {
        grid-template-columns: 1fr;
    }
}


.demo-form {
    max-width: 100%;
    width: 550px;
    margin: 0 auto;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    padding: 20px;
}

.how-it-works.full-width {
    max-width: 100%;
    padding: 0 20px;
}

.demo-form.full-width {
    max-width: 100%;
    width: 100%;
}

.content-section {
    background-image: url(../images/bg.png);
  
}

.image-section {
    flex: 1;
    height: clamp(300px, 50vw, 604px);
    border-radius: 0 4rem 0 4rem;
    background-image: url(../images/hero.png);
    background-size: contain;  /* Changed from 'cover' to 'contain' */
    background-repeat: no-repeat;  /* Added to prevent image repetition */
    background-position: center;
    position: relative;
}

.experience {
    text-align:left !important;
    font-size: 25px;
    font-weight: 500;
    font-family: "Open Sans", sans-serif;
}

.danger {
    color: red;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

/* For full-width elements like message textarea */
.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 300;
    color: var(--vms-blk);
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--vms-primary-1);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.button-primary {
    width: 100%;
    padding: 12px;
    background-color: #007bff; /* Add your preferred color */
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.button-primary-2 {
    width: auto;
    /* min-width: 150px; */
    padding: 12px 24px;
    height:60px;
    background-color: #006FB5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
}

.button-primary:hover {
    background-color: #0056b3; /* Add your preferred hover color */
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .demo-form {
        width: 100%;
        padding: 15px;
    }

    .form-group {
        flex: 0 0 100%;
    }

    .form-row {
        gap: 15px;
        margin-bottom: 15px;
    }
    .content-section {
        padding: 20px;
    }
    
    .form-row {
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .demo-form {
        padding: 10px;
    }

    .form-control {
        font-size: 14px;
    }

    .button-primary {
        font-size: 14px;
        padding: 10px;
    }
}