/* ==========================================
   Bize Ulaşın — contact.css
   Tema: var(--accent-color) = #04415f
   ========================================== */

.ct-page {
    overflow-x: hidden;
}

.ct-kicker,
.ct-section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ct-section-kicker {
    background: rgba(4, 65, 95, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(4, 65, 95, 0.14);
}

/* ========================================
   HERO
   ======================================== */

.ct-hero-section {
    padding: 20px 0;
    background: #f1f5f7;
    border-bottom: 1px solid #e8edf0;
}

.ct-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.ct-hero-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-family: var(--heading-font);
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ct-hero-desc {
    font-size: 1.02rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 460px;
}

.ct-hero-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ct-hero-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e4e9ec;
    background: var(--surface-color);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .ct-hero-contact-card:hover {
        transform: translateX(5px);
        box-shadow: 0 6px 20px rgba(4, 65, 95, 0.08);
        border-color: var(--accent-color);
        color: inherit;
    }

.ct-hero-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #04415f, #06618e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ct-hero-contact-card:hover .ct-hero-contact-icon {
    transform: scale(1.08);
}

.ct-hero-contact-icon-mail {
    background: linear-gradient(135deg, #1a6b94, #2b8cbf);
}

.ct-hero-contact-icon i {
    font-size: 1.05rem;
    color: #fff;
}

.ct-hero-contact-body {
    flex: 1;
}

.ct-hero-contact-label {
    display: block;
    font-size: 0.72rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.ct-hero-contact-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--heading-color);
}

.ct-hero-contact-arrow {
    font-size: 1rem;
    color: #ccc;
    transition: color 0.3s ease, transform 0.3s ease;
}

.ct-hero-contact-card:hover .ct-hero-contact-arrow {
    color: var(--accent-color);
    transform: translateX(3px);
}

.ct-hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-hero-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ct-hero-stat-card {
    background: var(--background-color);
    border: 1px solid #e4e9ec;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ct-hero-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(4, 65, 95, 0.09);
    }

.ct-hero-stat-card-accent {
    background: linear-gradient(135deg, #04415f 0%, #06618e 100%);
    border-color: transparent;
}

.ct-hero-stat-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.ct-hero-stat-card-accent .ct-hero-stat-icon {
    color: rgba(255, 255, 255, 0.7);
}

.ct-hero-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--heading-font);
    color: var(--heading-color);
    line-height: 1;
}

.ct-hero-stat-card-accent .ct-hero-stat-number {
    color: #fff;
}

.ct-hero-stat-label {
    font-size: 0.78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ct-hero-stat-card-accent .ct-hero-stat-label {
    color: rgba(255, 255, 255, 0.65);
}

.ct-hero-address-band {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(4, 65, 95, 0.05);
    border: 1px solid rgba(4, 65, 95, 0.1);
    font-size: 0.88rem;
    color: var(--accent-color);
    font-weight: 500;
}

    .ct-hero-address-band i {
        font-size: 1rem;
        flex-shrink: 0;
    }

/* ========================================
   HQ SECTION
   ======================================== */

.ct-hq-section {
    padding: 20px 0;
    background: var(--surface-color);
}

/* stretch: sağ kolon sol kolonla eşit yükseklikte kalır */
.ct-hq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.ct-hq-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.ct-hq-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ct-hq-card {
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ct-hq-card:hover {
        transform: translateY(-4px);
    }

.ct-hq-card-primary {
    background: linear-gradient(135deg, #011e2c 0%, #04415f 100%);
    box-shadow: 0 16px 48px rgba(4, 65, 95, 0.28);
    padding: 32px 30px;
}

.ct-hq-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.ct-hq-card-primary .ct-hq-card-badge {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ct-hq-card-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.ct-hq-card-primary .ct-hq-card-name {
    color: #fff;
}

.ct-hq-card-address {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.ct-hq-card-primary .ct-hq-card-address {
    color: rgba(255, 255, 255, 0.72);
}

.ct-hq-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 16px 0;
}

.ct-hq-card-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-hq-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.2s ease;
}

    .ct-hq-contact-row:hover {
        opacity: 0.7;
        color: #fff;
    }

    .ct-hq-contact-row i {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.55);
        width: 16px;
    }

.ct-hq-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ct-hq-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .ct-hq-map-btn:hover {
        background: rgba(255, 255, 255, 0.22);
        transform: translateY(-2px);
        color: #fff;
    }

.ct-hq-card-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

    .ct-hq-card-note i {
        font-size: 0.8rem;
    }

.ct-hq-social {
    margin-top: 20px;
    padding: 20px 22px;
    border-radius: 14px;
    background: var(--background-color);
    border: 1px solid #e4e9ec;
}

.ct-hq-social-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: block;
}

.ct-hq-social-row {
    display: flex;
    gap: 10px;
}

.ct-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ct-social-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        color: #fff;
    }

.ct-facebook {
    background: #1877f2;
}

.ct-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.ct-twitter {
    background: #000;
}

/* Sağ kolon: görsel + harita flex ile sol kolona eşitlenir */
.ct-hq-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ct-hq-visual-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    flex: 1;
    min-height: 240px;
}

.ct-hq-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.ct-hq-visual-card:hover .ct-hq-visual-img {
    transform: scale(1.04);
}

.ct-hq-visual-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(1, 30, 44, 0.7));
}

.ct-hq-visual-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

.ct-map-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: 260px;
    flex-shrink: 0;
}

#ct-map {
    width: 100%;
    height: 100%;
}

/* ========================================
   BRANCHES SECTION
   ======================================== */

.ct-branches-section {
    padding: 20px 0;
    background: var(--background-color);
}

.ct-branches-head {
    text-align: center;
    margin-bottom: 56px;
}

.ct-branches-title {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 0.6rem;
}

.ct-branches-desc {
    color: #666;
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.ct-branches-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ct-branch-card {
    background: var(--surface-color);
    border: 1px solid #e4e9ec;
    border-radius: 18px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .ct-branch-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, var(--accent-color), #06618e);
        border-radius: 4px 0 0 4px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .ct-branch-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 48px rgba(4, 65, 95, 0.12);
        border-color: rgba(4, 65, 95, 0.2);
    }

        .ct-branch-card:hover::before {
            opacity: 1;
        }

.ct-branch-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ct-branch-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #04415f, #06618e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ct-branch-card:hover .ct-branch-icon-wrap {
    transform: scale(1.1) rotate(-4deg);
}

.ct-branch-icon-wrap i {
    font-size: 1.15rem;
    color: #fff;
}

.ct-branch-city {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.ct-branch-region {
    display: block;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ct-branch-address {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.ct-branch-contacts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ct-branch-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.87rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .ct-branch-phone:hover {
        color: var(--accent-color);
    }

    .ct-branch-phone i {
        font-size: 0.8rem;
        color: var(--accent-color);
    }

.ct-branch-no-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.87rem;
    color: #aaa;
}

    .ct-branch-no-phone i {
        color: #ccc;
    }

.ct-branch-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

    .ct-branch-map-btn:hover {
        background: #06618e;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(4, 65, 95, 0.3);
        color: #fff;
    }

/* ========================================
   FORM SECTION
   ======================================== */

.ct-form-section {
    padding: 20px 0;
    background: var(--surface-color);
}

/* start: sol form uzarsa sağ kolon takip etmez, düzeni korur */
.ct-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
}

.ct-form-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-family: var(--heading-font);
    color: var(--heading-color);
    margin-bottom: 0.6rem;
}

.ct-form-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ct-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.ct-form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ct-form-group-full {
    grid-column: 1 / -1;
}

.ct-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--heading-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ct-form-group input,
.ct-form-group select,
.ct-form-group textarea {
    padding: 13px 16px;
    border: 1px solid #dde2e7;
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--default-color);
    background: var(--background-color);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--default-font);
    resize: none;
    appearance: none;
}

    .ct-form-group input:focus,
    .ct-form-group select:focus,
    .ct-form-group textarea:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(4, 65, 95, 0.1);
    }

    .ct-form-group input::placeholder,
    .ct-form-group textarea::placeholder {
        color: #b0b8c1;
    }

.ct-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 32px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #04415f 0%, #06618e 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
}

    .ct-form-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 32px rgba(4, 65, 95, 0.35);
    }

.ct-contact-form .loading,
.ct-contact-form .error-message,
.ct-contact-form .sent-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.ct-contact-form .loading {
    background: #f0f6fb;
    color: var(--accent-color);
}

.ct-contact-form .error-message {
    background: #fff0f0;
    color: #d32f2f;
}

.ct-contact-form .sent-message {
    background: #edfdf5;
    color: #2e7d32;
}

.ct-form-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ct-form-visual-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ct-form-visual-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    background: transparent;
}

.ct-form-visual-card:hover .ct-form-visual-img {
    transform: scale(1.02);
}

.ct-form-reasons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-form-reason {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--background-color);
    border: 1px solid #e4e9ec;
    border-radius: 14px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .ct-form-reason:hover {
        transform: translateX(5px);
        box-shadow: 0 8px 24px rgba(4, 65, 95, 0.08);
        border-color: rgba(4, 65, 95, 0.18);
    }

.ct-form-reason-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #04415f, #06618e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ct-form-reason:hover .ct-form-reason-icon {
    transform: scale(1.1);
}

.ct-form-reason-icon i {
    font-size: 1.1rem;
    color: #fff;
}

.ct-form-reason h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 4px;
}

.ct-form-reason p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   JobPostings — Başvuru Formu Modal
   ================================================ */

/* Overlay */
.jp-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(4, 65, 95, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

/* Modal kutusu */
.jp-modal-box {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px 40px 40px;
    box-shadow: 0 24px 64px rgba(4, 65, 95, 0.18);
    animation: jpModalIn 0.22s ease;
}

@keyframes jpModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Kapat butonu */
.jp-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
}

    .jp-modal-close:hover {
        background: #e2e8f0;
        color: #04415f;
    }

/* Başvurulan ilan etiketi */
.jp-modal-project-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 4px;
}

.jp-modal-project-name {
    font-size: 15px;
    font-weight: 700;
    color: #04415f;
    margin: 0 0 20px;
    padding: 10px 14px;
    background: #f0f7fb;
    border-left: 3px solid #06618e;
    border-radius: 6px;
}

/* Scrollbar (webkit) */
.jp-modal-box::-webkit-scrollbar {
    width: 6px;
}

.jp-modal-box::-webkit-scrollbar-track {
    background: transparent;
}

.jp-modal-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* İş Başvuru — inline select stili (mevcut input/textarea ile uyumlu) */
#jobApplicationInlineForm select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
/* İş Başvuru — inline form boşlukları */
#jobApplicationInlineForm .ct-form-row {
    gap: 20px;
    margin-bottom: 20px;
}

#jobApplicationInlineForm .ct-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#jobApplicationInlineForm .ct-form-group label {
    margin-bottom: 0;
}

#jobApplicationInlineForm .ct-form-group input,
#jobApplicationInlineForm .ct-form-group select,
#jobApplicationInlineForm .ct-form-group textarea {
    padding: 12px 16px;
}

#jobApplicationInlineForm .ct-form-group-full {
    margin-bottom: 20px;
}

#jobApplicationInlineForm #jp2-vehicleFields .ct-form-row {
    margin-bottom: 20px;
}
/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1199px) {
    .ct-branches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .ct-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ct-hero-desc {
        max-width: 100%;
    }

    .ct-hq-grid,
    .ct-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ct-hq-right {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .ct-hero-section {
        padding: 20px 0;
    }

    .ct-hq-section,
    .ct-branches-section,
    .ct-form-section {
        padding: 20px 0;
    }

    .ct-branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ct-form-row {
        grid-template-columns: 1fr;
    }

    .ct-hq-right {
        min-height: unset;
    }

    .ct-map-wrapper {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .ct-branches-grid {
        grid-template-columns: 1fr;
    }

    .ct-hero-stat-number {
        font-size: 1.5rem;
    }

    .ct-hq-card-primary {
        padding: 20px 18px;
    }
}

/* ================================================
   JobPostings Modal Fix — sağlam hizalama ve taşma önleme
   ================================================ */

/* Modal içinde tüm ölçüleri güvenli hale getir */
.jp-modal-box,
.jp-modal-box *,
.jp-modal-overlay,
.jp-modal-overlay * {
    box-sizing: border-box;
}

/* Overlay kısa ekranlarda içerik kesmesin */
.jp-modal-overlay {
    align-items: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(16px, 3vw, 28px);
}

/* Modal kutusunu güvenli genişlikte ve ortalı tut */
.jp-modal-box {
    width: min(100%, 760px);
    max-width: 760px;
    max-height: none;
    overflow: visible;
    margin: auto;
    border-radius: 22px;
    padding: clamp(24px, 3vw, 40px);
}

/* İç kolon ve form tam genişlikte çalışsın */
.jp-modal-box .ct-form-left,
.jp-modal-box .ct-contact-form {
    width: 100%;
    min-width: 0;
}

/* Satırlar modal içinde kontrollü grid olsun */
.jp-modal-box .ct-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.jp-modal-box .ct-form-group {
    min-width: 0;
}

.jp-modal-box .ct-form-group-full {
    width: 100%;
    margin-bottom: 18px;
}

.jp-modal-box .ct-form-group label {
    margin-bottom: 0;
}

.jp-modal-box .ct-form-group input,
.jp-modal-box .ct-form-group select,
.jp-modal-box .ct-form-group textarea {
    width: 100%;
    min-width: 0;
    display: block;
}

.jp-modal-box .ct-form-group textarea {
    min-height: 120px;
}

/* Mesaj kutuları ve buton hizası */
.jp-modal-box .loading,
.jp-modal-box .error-message,
.jp-modal-box .sent-message {
    width: 100%;
}

.jp-modal-box .ct-form-submit {
    align-self: flex-start;
}

/* Başvuru yapılan ilan etiketi taşmasın */
.jp-modal-project-name {
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Kapat butonu sabit ve güvenli konumda kalsın */
.jp-modal-close {
    top: 14px;
    right: 14px;
    z-index: 2;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .jp-modal-box {
        width: min(100%, 720px);
    }
}

@media (max-width: 767px) {
    .jp-modal-overlay {
        padding: 12px;
    }

    .jp-modal-box {
        width: 100%;
        border-radius: 18px;
        padding: 20px 16px 18px;
    }

    .jp-modal-box .ct-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }

    .jp-modal-box .ct-form-group-full {
        margin-bottom: 14px;
    }

    .jp-modal-box .ct-form-submit {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .jp-modal-project-name {
        padding-right: 42px;
    }
}

/* ================================================================
   JobPostings Modal Final Fix — viewport, z-index, internal scroll
   Bu blok dosyanın en sonunda kalmalı.
================================================================ */
html body #jobApplicationModal.jp-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 24px !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(4, 65, 95, 0.55) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
}

html body #jobApplicationModal.jp-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

html body #jobApplicationModal .jp-modal-box,
html body #jobApplicationModal.jp-modal-overlay .jp-modal-box {
    position: relative;
    width: min(760px, calc(100vw - 48px)) !important;
    max-width: 760px !important;
    max-height: calc(100dvh - 48px) !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 22px !important;
    padding: 32px 28px 28px !important;
    background: #ffffff !important;
    box-shadow: 0 24px 64px rgba(4, 65, 95, 0.18) !important;
}

html body #jobApplicationModal .ct-form-left,
html body #jobApplicationModal .ct-contact-form {
    width: 100%;
    min-width: 0;
}

html body #jobApplicationModal .ct-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

html body #jobApplicationModal .ct-form-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 0 !important;
}

html body #jobApplicationModal .ct-form-group,
html body #jobApplicationModal .ct-form-group-full {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

html body #jobApplicationModal .ct-form-group-full {
    grid-column: 1 / -1;
}

html body #jobApplicationModal .ct-form-group label {
    margin-bottom: 0;
}

html body #jobApplicationModal .ct-form-group input,
html body #jobApplicationModal .ct-form-group select,
html body #jobApplicationModal .ct-form-group textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

html body #jobApplicationModal .ct-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

html body #jobApplicationModal .loading,
html body #jobApplicationModal .error-message,
html body #jobApplicationModal .sent-message {
    width: 100%;
    margin: 0;
}

html body #jobApplicationModal .ct-form-submit {
    align-self: flex-start;
}

html body #jobApplicationModal .jp-modal-project-name {
    word-break: break-word;
    overflow-wrap: anywhere;
}

html body #jobApplicationModal .jp-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

@media (max-width: 767.98px) {
    html body #jobApplicationModal.jp-modal-overlay {
        padding: 12px !important;
        align-items: flex-start !important;
    }

    html body #jobApplicationModal .jp-modal-box,
    html body #jobApplicationModal.jp-modal-overlay .jp-modal-box {
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        max-height: calc(100dvh - 24px) !important;
        padding: 20px 16px 18px !important;
        border-radius: 18px !important;
        margin: 0 auto !important;
    }

    html body #jobApplicationModal .ct-form-row {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    html body #jobApplicationModal .ct-contact-form {
        gap: 14px;
    }

    html body #jobApplicationModal .ct-form-submit {
        width: 100%;
        justify-content: center;
    }

    html body #jobApplicationModal .jp-modal-project-name {
        padding-right: 38px;
    }
}
