
.contact-form-section {
    overflow: hidden;
    margin-top: 40px;
}

.contact-form-section .container {
    max-width: 1920px;
}

.contact-form-wrap {
    display: flex;
    align-items: stretch;
}

.contact-form-left {
    width: 48%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.contact-form-left img {
    width: 100%;
    height: 100%;
    object-position: center;
    display: block;
}

.contact-form-right {
    width: 52%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 110px 0 40px;
}

.romatem-contact-form {
    width: 100%;
    max-width: 760px;
}

.contact-form-title {
    display: block;
    margin-top: 0;
    font-size: 36px;
    line-height: 1;
    font-weight: 300;
    color: #082d67;
    margin-bottom: 34px;
    letter-spacing: -1px;
}

.form-line-group,
.form-textarea-group {
    margin-bottom: 34px;
}

.form-line-group label,
.form-textarea-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #082d67;
}

.form-line-group input,
.form-line-group select {
    width: 100%;
    height: 48px;
    border: none;
    border-bottom: 2px solid #183f78;
    background: transparent;
    outline: none;
    padding: 0;
    font-size: 17px;
    color: #082d67;
    border-radius: 0;
}

.form-line-group input::placeholder {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #082d67;
    opacity: 1;
}

.form-line-group input::placeholder,
.phone-inline-wrap input::placeholder {
    color: #95a4bf;
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.phone-inline-wrap {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #183f78;
    height: 48px;
}

.phone-inline-wrap input[type="tel"] {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    padding: 0;
    outline: none;
    font-size: 17px;
    color: #082d67;
}

.phone-code-preview {
    display: none;
    flex: 0 0 auto;
    margin-inline-end: 10px;
    color: #082d67;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.phone-code-preview.is-visible {
    display: inline-flex;
}

.form-textarea-group {
    margin-top: 8px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.form-textarea-group textarea {
    width: 100%;
    min-height: 100px;
    border: 2px solid #183f78;
    border-radius: 14px;
    background: transparent;
    outline: none;
    resize: none;
    padding: 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #082d67;
}

.checkbox-row-contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 32px;
    cursor: pointer;
}

.checkbox-row-contact input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: #ff7a00;
    flex-shrink: 0;
}

.checkbox-row-contact span {
    font-size: 16px;
    line-height: 1.45;
    color: #274677;
}

.checkbox-row-contact strong {
    color: #082d67;
    font-weight: 700;
}

.contact-submit-btn {
    min-width: 200px;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: #082d67;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}

.contact-submit-btn:hover {
    background: #0c3c87;
    transform: translateY(-2px);
}

.contact-submit-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.form-line-group input:focus,
.phone-inline-wrap input:focus,
.form-textarea-group textarea:focus {
    border-color: #ff7a00;
}

.phone-inline-wrap:focus-within {
    border-bottom-color: #ff7a00;
}

.has-error input,
.has-error textarea {
    border-color: #d93025 !important;
}

.has-error .phone-inline-wrap {
    border-bottom-color: #d93025 !important;
}

.has-error .country-dd-toggle {
    border-bottom-color: #d93025 !important;
}

.help-block {
    color: #d93025;
    font-size: 13px;
    margin-top: 7px;
}

/* ÜLKE DROPDOWN (select2 yerine) */
.country-dd {
    position: relative;
}

.country-dd-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    border: none;
    border-bottom: 2px solid #183f78;
    background: transparent;
    border-radius: 0;
    outline: none;
    padding: 0;
    cursor: pointer;
    color: #082d67;
    font-size: 17px;
    text-align: start;
}

.country-dd.is-open .country-dd-toggle {
    border-bottom-color: #ff7a00;
}

.country-dd-selected.is-placeholder {
    color: #95a4bf;
}

.country-dd-arrow {
    font-size: 20px;
    color: #082d67;
    line-height: 1;
    transition: transform .2s;
}

.country-dd.is-open .country-dd-arrow {
    transform: rotate(180deg);
}

.country-dd-menu {
    position: absolute;
    top: calc(100% + 4px);
    inset-inline-start: 0;
    inset-inline-end: 0;
    z-index: 99999;
    background: #fff;
    border: 1px solid #d8e0ef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(8, 45, 103, .12);
    display: none;
}

.country-dd.is-open .country-dd-menu {
    display: block;
}

.country-dd-search {
    padding: 10px;
    border-bottom: 1px solid #eef2f8;
}

.country-dd-search-input {
    width: 100%;
    height: 42px;
    border: 1px solid #d8e0ef;
    border-radius: 8px;
    outline: none;
    padding: 0 12px;
    color: #082d67;
    font-size: 15px;
}

.country-dd-search-input:focus {
    border-color: #ff7a00;
}

.country-dd-list {
    max-height: 240px;
    overflow-y: auto;
}

.country-dd-item {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    text-align: start;
    padding: 10px 12px;
    font-size: 15px;
    color: #082d67;
    cursor: pointer;
}

.country-dd-item:hover {
    background: #082d67;
    color: #fff;
}

.country-dd-empty {
    padding: 14px 12px;
    font-size: 15px;
    color: #95a4bf;
    text-align: center;
}

/* BİLDİRİM MODALI (sweetalert yerine) */
.site-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(8, 45, 103, .45);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.site-modal-overlay.is-open {
    display: flex;
}

.site-modal {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 34px 30px 26px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(8, 45, 103, .28);
}

.site-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #082d67;
    margin-bottom: 12px;
}

.site-modal-text {
    font-size: 15px;
    line-height: 1.5;
    color: #274677;
    margin-bottom: 24px;
    white-space: pre-line;
}

.site-modal-close {
    min-width: 140px;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #082d67;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}

.site-modal-close:hover {
    background: #0c3c87;
}

@media (max-width:1399px) {
    .contact-form-right {
        padding: 60px 70px 60px 30px;
    }

    .contact-form-title {
        font-size: 54px;
    }
}

@media (max-width:991px) {
    .contact-form-wrap {
        flex-direction: column;
        min-height: auto;
    }

    .contact-form-left,
    .contact-form-right {
        width: 100%;
    }

    .contact-form-left {
        max-height: 420px;
    }

    .contact-form-right {
        padding: 45px 24px 60px;
    }

    .form-row-double {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-title {
        font-size: 42px;
        margin-bottom: 24px;
    }

    .contact-submit-btn {
        width: 100%;
        min-width: 100%;
    }
}

@media (max-width:575px) {
    .contact-form-left {
        max-height: 280px;
    }

    .contact-form-title {
        font-size: 34px;
    }

    .form-line-group,
    .form-textarea-group {
        margin-bottom: 24px;
    }

    .form-line-group label,
    .form-textarea-group label {
        font-size: 16px;
    }

    .form-line-group input,
    .phone-inline-wrap input {
        font-size: 15px;
    }

    .checkbox-row-contact span {
        font-size: 14px;
    }

    .contact-submit-btn {
        height: 56px;
        font-size: 18px;
    }
}
