body {
    background-color: #F9F9F9;
}

.hero {
    /* background-image: url(../img/careerhero.png); */
    color: #183A5C;
}

.hero h1 {
    font-size: 48px;
    font-weight: 300;
}

.hero h1 b {
    font-weight: 700;
}

.hero .buttons {
    display: flex;
    gap: 50px;
}

.hero .buttons a,
.positions .items .item a,
.apply_container a {
    width: fit-content;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: #161F37;
    border: 1px solid #161F37;
    text-decoration: none;
    font-family: var(--font-family);
    justify-content: space-between;
    gap: 50px;
}

.apply_container a {
    border: 1px solid #fff;
    color: #fff;
}

.hero .buttons a:last-child {
    background-color: #7abade;
    color: #fff !important;
    border: 1px solid #7abade !important;
}

/* Staj bölümü */
.staj {
    padding: 100px 0 120px;
    background: #fff;
    color: #183A5C;
    scroll-snap-align: start;
}

.staj .staj-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.staj .content {
    flex: 0 1 42%;
    min-width: 280px;
}

.staj .staj-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: #183A5C;
    line-height: 1.25;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

.staj .content p {
    font-size: 16px;
    line-height: 1.65;
    color: #183A5C;
    margin: 0 0 16px;
}

.staj .staj-btn {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #d0d0d0;
    color: #161F37;
    text-decoration: none;
    font-family: var(--font-family);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.staj .staj-btn:hover {
    border-color: #183A5C;
    box-shadow: 0 2px 8px rgba(24, 58, 92, 0.1);
}

.staj .staj-btn .icon-holder {
    background: #377EC2;
}

.staj .staj-btn:hover .icon-holder {
    background: #183A5C;
    color: #fff;
}

.staj .images {
    flex: 1 1 52%;
    min-width: 300px;
    position: relative;
    min-height: 650px;
    max-width: 770px; /* Görsellerin (355 + 20 + 395) toplam genişliği */
    display: flex;
    align-items: center;
    justify-content: center;
}

.staj .images img {
    max-width: 100%;
    height: auto;
}

.staj .images .staj-img {
    position: absolute;
    object-fit: cover;
    border-radius: 2px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.staj .images .staj-img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.staj .images .staj-img-1 {
    top: 70px;
    right: 415px; /* (staj-img-main 395px + 20px gap) */
    width: 295px;
    height: 195px;
    z-index: 2;
}

.staj .images .staj-img-main {
    top: 0;
    right: 0;
    width: 395px;
    height: 430px;
    z-index: 1;
}

.staj .images .staj-img-3 {
    top: 285px; /* (staj-img-1 70+195 + 20px gap) */
    left: 0;
    width: 355px;
    height: 310px;
    z-index: 3;
}

.staj .images .staj-img-4 {
    top: 450px; /* (staj-img-main 430 + 20px gap) */
    right: 100px;
    width: 295px;
    height: 200px;
    z-index: 2;
}

/* Positions bölümü */
.positions {
    padding: 100px 0 120px;
    scroll-snap-align: start;
    color: #183A5C;
}

.positions .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
    position: relative;
}

.positions .title h5 {
    font-size: var(--h5-font-size);
    margin: 0;
}

.positions .title hr {
    flex: 1;
}

.positions .title a {
    color: #183A5C;
    font-size: 16px;
    text-decoration: none;
}

.positions .items .item {
    background-color: #fff;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.positions .items .item p {
    margin: 0;
}

.positions .items .item h3 {
    margin: 0;
}

.positions .items .item a {
    background-color: #F9F9F9;
    border: none;
}

/* Apply container */
.apply_container {
    width: 100%;
    height: 630px;
    place-content: center;
    justify-items: center;
    text-align: center;
    /* background: linear-gradient(0deg, #183a5cc7, #183a5cc7), url(../img/careerjoin.png); */
    color: #fff;
    scroll-snap-align: start;
}

.apply_container h2 {
    font-size: 48px;
    margin: 0;
}

.apply_container p {
    width: 50%;
    margin: 10px auto;
}
@media (max-width: 992px) {
    .apply_container p {
        width: 70%;
    }
}

@media (max-width: 768px) {
    .apply_container p {
        width: 100%;
        padding: 0 10px;
    }
}
@media only screen and (max-width: 991px) {
    .apply_container h2 {
        font-size: 32px;
    }
}

.apply_container a {
    color: #fff;
    border-color: #fff;
    margin: 20px auto;
}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {
    .positions {
        padding: 100px 0 120px !important;
    }
}

@media (min-width: 992px) {
    .hero .hero-desc {
        max-width: 50%;
    }
}

@media only screen and (max-width: 991px) {
    .hero {
        padding: 120px 20px 60px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero .buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero .buttons a {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .staj {
        padding: 40px 20px 60px;
    }

    .staj .staj-inner {
        flex-direction: column;
        gap: 32px;
    }

    .staj .content {
        flex: 1 1 100%;
    }

    .staj .images {
        flex: 1 1 100%;
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .staj .images .staj-img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        max-width: unset !important;
        top: unset !important;
        left: unset !important;
        right: unset !important;
        bottom: unset !important;
        z-index: 1 !important;
    }

    .positions {
        padding: 40px 20px 60px;
    }

    .positions .title h2 {
        font-size: 28px;
    }

    .positions .items .item {
        padding: 25px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .positions .items .item h3 {
        font-size: 24px;
        margin-top: 5px;
    }

    .positions .items .item a {
        width: 100%;
        justify-content: center;
        gap: 30px;
        background-color: #161F37;
        color: #fff;
    }

    .positions .items .item a .icon-holder {
        background-color: #fff;
    }
    
    .positions .items .item a .icon-holder img {
        filter: brightness(0);
    }
}

/* Custom Quality Grid Styles */
.custom-quality-grid {
    display: flex;
    gap: 15px;
    width: 100%;
    position: relative;
    align-items: flex-start;
}

.custom-quality-grid .col-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 45%;
    position: relative;
    margin-top: 50px;
}

.custom-quality-grid .col-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 58%;
    position: relative;
}

.custom-quality-grid img {
    width: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-quality-grid img:hover {
    opacity: 1;
    transform: scale(1.1);
    z-index: 10;
}

/* Sol sütun: Küçük görseller */
.custom-quality-grid .col-left img:nth-child(1) {
    height: 160px;
    width: 90%;
    margin-left: auto;
}
.custom-quality-grid .col-left img:nth-child(2) {
    height: 200px;
}

/* Sağ sütun: Büyük görseller */
.custom-quality-grid .col-right img:nth-child(1) {
    height: 280px;
}
.custom-quality-grid .col-right img:nth-child(2) {
    height: 200px;
    width: 85%;
}

@media (max-width: 991px) {
    .custom-quality-grid {
        flex-direction: row;
        gap: 6px;
    }

    .custom-quality-grid .col-left,
    .custom-quality-grid .col-right {
        width: 50%;
        margin-top: 0;
        gap: 6px;
    }
    
    .custom-quality-grid .col-right {
        margin-top: 40px;
    }
    
    .custom-quality-grid .col-left img:nth-child(1) {
        height: 100px;
        width: 85%;
        margin-left: auto;
    }
    .custom-quality-grid .col-left img:nth-child(2) {
        height: 160px;
        width: 100%;
    }
    .custom-quality-grid .col-right img:nth-child(1) {
        height: 180px;
    }
    .custom-quality-grid .col-right img:nth-child(2) {
        height: 120px;
        width: 85%;
    }
}