@media screen and (min-width: 1118px) {
    .ServicesMain {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .MainTitle {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        margin-top: 20px;
        background: #52d8f4;
        width: 100%;
        height: 80px;
        text-align: center;
        font-size: 40px;
        font-weight: bold;
        color: white;
    }

    .ContentBox {
        display: flex;
        flex: 1;
        justify-content: center;
    }

    .TextBox {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        flex: 1;
        padding: 25px;
        /* Metin kutusunun yüksekliğini sabitleyelim. Bu, slider'ın da aynı yüksekliğe sahip olmasını sağlar. */
        height: 410px;
        /* Bu değeri, hem metnin rahatça sığdığı hem de görselin ideal göründüğü bir değer olarak belirleyin */
        overflow-y: visible;
        /* İçerik taşarsa kaydırma çubuğu çıksın */
        background-color: rgba(255, 255, 255, 0.1);
    }

    .Title {
        font-size: 20px;
        text-align: center;
        font-weight: bold;
        color: white;
        margin-bottom: 0.8rem;
    }

    .SecondText {
        text-align: justify;
        font-size: 17px;
        margin-bottom: 10px;
        width: 100%;
        color: white;
    }

    .List {
        width: 100%;
        margin-bottom: 10px;
        font-size: 17px;
    }

    .List li {
        font-size: 17px;
        color: white;
    }

    /* Resim/Video Slider Konteyneri */
    .image-slider-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.1);
        flex: 1;
        padding: 10px;
        height: 410px;
        /* .TextBox ile aynı değerde olmalı */
    }

    .image-display-box {
        position: relative;
        /* image-slider-wrapper'ın genişliğini kapla */
        height: 100%;
        /* image-slider-wrapper'ın yüksekliğini kapla */
        border-radius: 30px;
        overflow: hidden;
        /* Taşmayı engelle */
        display: flex;
        /* İçindeki medya öğesini ortalamak için */
        justify-content: center;
        align-items: center;
    }

    /* Görsel ve video elementlerinin stilleri */
    .image-display-box img,
    .image-display-box video {
        display: block;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        /* En-boy oranını koruyarak kutuya sığdırır, boşluk kalabilir */
        margin: auto;
        /* Dikey ve yatayda ortala */
        border-radius: 15px;
        /* HTML'deki mevcut border-radius */
    }

    .nav-button {
        background-color: rgba(82, 216, 244, 0.7);
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        margin: 0 5px;
        flex-shrink: 0;
    }

    .nav-button:hover {
        background-color: #52d8f4;
    }

    .Information {
        width: 100%;
        display: flex;
        color: white;
        font-size: 18px;
        line-height: 25px;
        display: flex;
        align-items: center;
    }
}

@media screen and (max-width: 1118px) {
    .ServicesMain {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .MainTitle {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
        margin-top: 20px;
        background: #52d8f4;
        width: 100%;
        height: 50px;
        text-align: center;
        font-size: 21px;
        font-weight: bold;
        color: white;
    }

    .ContentBox {
        display: flex;
        flex: 1;
        flex-direction: column-reverse;
    }

    .TextBox {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        flex: 1;
        background-color: rgba(255, 255, 255, 0.1);
        padding: 25px;
        height: 700px;
    }

    .Title {
        width: calc(100% + 50px);
        height: 50px;
        font-size: 17px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.2);
        font-weight: bold;
        color: white;
        margin-bottom: 0.8rem;
    }

    .SecondText {
        text-align: justify;
        color: white;
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 750;
    }

    .List {
        width: 100%;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .List li {
        font-weight: 750;
        color: white;
        font-size: 13px;
    }

    /* Resim/Video Slider Konteyneri */
    .image-slider-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px;
        flex: 1;
        /* Soldaki .TextBox ile genişliği paylaşsın */
        border-radius: 30px;
        /* Slider'ın yüksekliğini de metin kutusuyla aynı sabit değere ayarlıyoruz */
        height: 400px;
        /* .TextBox ile aynı değerde olmalı */
    }

    .image-display-box {
        position: relative;
        width: 100%;
        /* image-slider-wrapper'ın genişliğini kapla */
        height: 100%;
        /* image-slider-wrapper'ın yüksekliğini kapla */
        border-radius: 30px;
        overflow: hidden;
        /* Taşmayı engelle */
        display: flex;
        /* İçindeki medya öğesini ortalamak için */
        justify-content: center;
        align-items: center;
    }

    /* Görsel ve video elementlerinin stilleri */
    .image-display-box img,
    .image-display-box video {
        display: block;
        /* Margin auto için block elementi olmalı */
        max-width: 100%;
        /* Kapsayıcının genişliğini geçmesin */
        max-height: 100%;
        object-fit: contain;
        /* En-boy oranını koruyarak kutuya sığdırır, boşluk kalabilir */
        margin: auto;
        /* Dikey ve yatayda ortala */
        border-radius: 15px;
        /* HTML'deki mevcut border-radius */
    }

    .nav-button {
        background-color: rgba(82, 216, 244, 0.7);
        color: white;
        border: none;
        padding: 10px 15px;
        font-size: 24px;
        cursor: pointer;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        margin: 0 5px;
        flex-shrink: 0;
    }

    .nav-button:hover {
        background-color: #52d8f4;
    }

    .Information {
        width: 100%;
        display: flex;
        color: white;
        font-size: 13px;
        font-weight: bold;
        margin-bottom: 10px;
        line-height: 15px;
    }
}