:root {
    --second-family: 'Plus Jakarta Sans', sans-serif;
    --font-family: 'DM Sans', sans-serif;
    --body-font: 'DM Sans', sans-serif;
    --color-text-text-950: #0f172a;
    --color-text-text-450: #64748b;
    --primary: #4FB893;
    --color-neutral-neutral-800: #262626;
    --color-badge-bg: #D8F3E5;
    --color-badge-text: #0f3f2e;
}

.info-box {
    display: inline-block;
    background-color: var(--color-badge-bg);
    color: #292929;
    font-weight: 600;
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 5px;
    margin-bottom: 8px;
    font-family: var(--font-family);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-section {
    width: 100%;
    padding-top: 42px;
    padding-bottom: 0;    background: #f5f5f5;
    font-family: var(--body-font);
    box-sizing: border-box;
}

.contact-container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-header {
    width: 100%;
    text-align: left;
    margin-bottom: 40px;
}

.section-header .info-box {
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 38px;
    line-height: 1.2;
    color: #292929;
    margin: 0;
    padding-top: 0;
    text-align: left;
}

.section-header h2 br {
    display: none;
}

.flex-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    position: relative;
}

.left-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    text-align: left;
    width: 100%;
    min-width: 0;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input.form-control,
textarea.form-control {
    border: 1px solid var(--color-neutral-neutral-800);
    border-radius: 16px;
    padding: 16px;
    font-size: 16px;
    color: #1e293b;
    background-color: transparent;
    outline: none;
    box-sizing: border-box;
    text-align: left;
    width: 100%;
    font-family: var(--body-font);
}

input.form-control {
    height: 55px;
}

textarea.form-control {
    height: 120px;
    resize: none;
}

input.form-control:hover,
textarea.form-control:hover,
input.form-control:focus,
textarea.form-control:focus {
    border-color: var(--color-neutral-neutral-800);
    background-color: transparent;
    box-shadow: none;
    outline: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

button.submit-btn {
    background: var(--primary);
    color: #fff;
    font-weight: 500;
    font-size: 21px;
    line-height: 1.3;
    padding: 8px 16px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    width: 216px;
    height: 55px;
    transition: background-color 0.3s ease;
    margin: 0px;
    text-align: center;
    box-sizing: border-box;
    font-family: var(--body-font);
    display: inline-block;
}

button.submit-btn:hover {
    background: #45a382;
}

.right-side {
    flex: 1.3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-section .img-wrapper img {
    width: 700px;
    height: 500px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    max-width: 100%;
}

@media (min-width: 1025px) {
    .section-header {
        text-align: left;
        margin-top: -15px;
    }
    
    .left-side {
        margin-top: -20px;
    }
    
    .right-side .img-wrapper {
        margin-top: -150px;
    }
}

@media (max-width: 1024px) {
    .contact-container {
        padding: 0 24px;
    }
    
    .section-header {
        text-align: left;
        margin-bottom: 24px;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .flex-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .right-side {
        order: 1;
        width: 100%;
        margin: 0;
    }
    
    .left-side {
        order: 2;
        width: 100%;
        margin-top: 16px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 16px;
    }
    
    .section-header {
        text-align: left;
        margin-bottom: 16px;
    }
    
    .section-header h2 {
        font-size: 34px;
    }
    
    .section-header h2 br {
        display: block;
    }
    
    .flex-container {
        flex-direction: column;
        gap: 0;
    }
    
    .right-side {
        order: 1;
        width: 100%;
        margin: 0;
    }
    
    .contact .left-side {
        order: 2;
        width: 100%;
        padding-top: 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    
    .contact-section .img-wrapper img {
        width: 388px;
        height: 305px;
    }
    .contact-container {
        padding: 0 8px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .section-header h2 br {
        display: block;
    }
    
    input.form-control,
    textarea.form-control {
        font-size: 14px;
        padding: 12px;
    }
    
    button.submit-btn {
        width: 100%;
        max-width: 216px;
    }
}

@media (max-width: 320px) {
    .security-section .left-side img {
        max-height: 388px;
        width: 100%;      
        height: auto;
        padding-bottom: 0; 
    }
}