@media screen and (min-width:1200px) {

    .HizmetTitle,
    .Title {
        height: 100px;
        font-weight: 700
    }

    .HomeMain {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .TitleContainer {
        width: 100%;
        display: flex;
        flex-direction: column
    }

    .Title {
        position: relative;
        background: #165a8e;
        color: #fff;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        /* Ana başlık (Title) font boyutu küçültüldü */
    }

    .Title div {
        position: absolute;
        right: 0;
        padding: 0;
        top: 20%;
        text-align: end;
        display: flex;
        flex-direction: column;
        align-items: end
    }

    .Title div h2,
    .Title div p {
        font-size: 15px
    }

    .boxesss {
        margin-right: 0;
        margin-top: 5px;
        display: block;
        width: min-content;
        padding: 5px 10px;
        background: #fff;
        color: #2b83c7
    }

    .NdnContainer {
        margin-top: 30px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
        padding: 15px;
        box-sizing: border-box;
        overflow: hidden
    }

    .NdnCard {
        background-color: #2c3e50;
        color: #fff;
        border-radius: 12px;
        padding: 25px;
        display: flex;
        align-items: flex-start;
        gap: 15px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
        transition: transform .3s, box-shadow .3s;
        opacity: 0;
        animation-fill-mode: forwards
    }

    .HizmetCard,
    .HizmetTitle,
    .tintle {
        background: #165a8e
    }

    .NdnCard[data-animation=left] {
        transform: translateX(-100%)
    }

    .NdnCard[data-animation=right] {
        transform: translateX(100%)
    }

    .NdnCard:nth-child(odd) {
        animation: .8s ease-out forwards slideInLeft
    }

    .NdnCard:nth-child(2n) {
        animation: .8s ease-out forwards slideInRight
    }

    .NdnCard:first-child {
        animation-delay: .1s
    }

    .NdnCard:nth-child(2) {
        animation-delay: .2s
    }

    .NdnCard:nth-child(3) {
        animation-delay: .3s
    }

    .NdnCard:nth-child(4) {
        animation-delay: .4s
    }

    .NdnCard:nth-child(5) {
        animation-delay: .5s
    }

    .NdnCard:nth-child(6) {
        animation-delay: .6s
    }

    .NdnCard:hover {
        transform: scale(1.05) translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, .5);
        cursor: pointer
    }

    .NdnIcon {
        font-size: 36px;
        flex-shrink: 0
    }

    .NdnContent h3 {
        margin: 0 0 8px;
        font-size: 22px;
        font-weight: 700;
        color: #52d8f4
    }

    .NdnContent p {
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
        color: #ecf0f1
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-100%)
        }

        to {
            opacity: 1;
            transform: translateX(0)
        }
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(100%)
        }

        to {
            opacity: 1;
            transform: translateX(0)
        }
    }

    .HizmetTitle {
        margin-top: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-size: 40px;
        /* HizmetTitle font boyutu büyütüldü */
    }

    .HizmetContainer {
        padding: 0 50px;
        margin-top: 20px;
        justify-content: space-around;
        gap: 75px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr)
    }

    .HizmetCard {
        aspect-ratio: 3/4;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, .1);
        transition: background .3s, transform .1s ease-in-out, box-shadow .1s ease-in-out
    }

    .HizmetBox,
    .tintle {
        align-items: center
    }

    .HizmetCard:hover {
        background: #2b83c7;
        transform: translateY(2px);
        box-shadow: inset 0 3px 7px rgba(0, 0, 0, .2)
    }

    .HizmetBox {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        padding-left: 7px;
        padding-right: 7px
    }

    .Contlist,
    .tintle {
        padding-left: 20px
    }

    .HizmetBox p {
        color: #fff;
        font-size: 28px;
        font-weight: 1000;
        text-align: center;
        border-radius: 10px;
        padding-top: 5px;
        padding-bottom: 5px
    }

    .HizmetBox img {
        width: 100%;
        border-radius: 5px;
        object-fit: cover;
        height: 70%
    }

    .ContactContainer {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding-bottom: 50px;
        padding-top: 25px
    }

    .AdresBox {
        flex: 1
    }

    .Contlist {
        color: #fff;
        list-style: disc;
        font-size: 18px;
        margin: 20px 10px
    }

    .map,
    .tintle {
        margin-bottom: 20px
    }

    .ContactBox {
        flex: 1;
        display: flex;
        flex-direction: column
    }

    .map {
        display: block;
        margin-top: 20px;
        margin-left: 20px;
        border-radius: 15px;
        max-width: 90%
    }

    .Information,
    .tintle {
        display: flex;
        color: #fff;
        font-weight: 700
    }

    .tintle {
        border-bottom-right-radius: 35px;
        border-top-right-radius: 35px;
        width: 40%;
        height: 70px;
        font-size: 30px
    }

    .Information {
        margin-left: 10px;
        align-items: center;
        font-size: 20px;
        margin-bottom: 10px
    }
}

@media screen and (max-width:1200px) {

    .NdnCard,
    .NdnCard[data-animation=left],
    .NdnCard[data-animation=right] {
        transform: translateX(-100%)
    }

    .Information,
    .Title {
        font-weight: 700;
        text-align: left
    }

    .HomeMain {
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .TitleContainer {
        width: 100%;
        display: flex;
        flex-direction: column
    }

    .Title {
        position: relative;
        background: #165a8e;
        color: #fff;
        height: 80px;
        display: flex;
        justify-content: left;
        align-items: center;
        font-size: 18px;
        /* Ana başlık (Title) font boyutu küçültüldü */
        padding-left: 10px
    }

    .Title div {
        position: absolute;
        right: 0;
        padding: 0;
        top: 20%;
        text-align: end;
        display: flex;
        flex-direction: column;
        align-items: end;
        animation: 1s ease-out slideInRight
    }

    .Title div h2,
    .Title div p {
        font-size: 10px
    }

    .boxesss {
        margin-right: 0;
        margin-top: 5px;
        display: block;
        width: min-content;
        padding: 5px 10px;
        background: #fff;
        color: #2b83c7;
        display: flex;
        justify-content: center;
        align-items: center
    }

    .ImageGridder {
        width: 100%;
        display: none;
        padding: 20px
    }

    .NdnContainer {
        margin-top: 15px;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        box-sizing: border-box;
        overflow: hidden
    }

    .HizmetTitle,
    .NdnCard {
        display: flex;
        color: #fff
    }

    .NdnCard {
        background-color: #2c3e50;
        border-radius: 12px;
        padding: 20px;
        align-items: flex-start;
        gap: 15px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
        transition: transform .3s, box-shadow .3s;
        opacity: 0;
        animation: .8s ease-out forwards slideInLeft
    }

    .HizmetCard,
    .HizmetTitle,
    .tintle {
        background: #165a8e
    }

    .NdnCard:first-child {
        animation-delay: .1s
    }

    .NdnCard:nth-child(2) {
        animation-delay: .2s
    }

    .NdnCard:nth-child(3) {
        animation-delay: .3s
    }

    .NdnCard:nth-child(4) {
        animation-delay: .4s
    }

    .NdnCard:nth-child(5) {
        animation-delay: .5s
    }

    .NdnCard:nth-child(6) {
        animation-delay: .6s
    }

    .NdnCard:hover {
        transform: scale(1.05) translateY(-8px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, .5);
        cursor: pointer
    }

    .HizmetCard,
    .HizmetCard:hover {
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, .1);
        transition: background .3s, transform .1s ease-in-out, box-shadow .1s ease-in-out
    }

    .NdnIcon {
        font-size: 30px;
        flex-shrink: 0
    }

    .NdnContent h3 {
        margin: 0 0 8px;
        font-size: 20px;
        font-weight: 700;
        color: #52d8f4
    }

    .NdnContent p {
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
        color: #ecf0f1
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-100%)
        }

        to {
            opacity: 1;
            transform: translateX(0)
        }
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(100%)
        }

        to {
            opacity: 1;
            transform: translateX(0)
        }
    }

    .HizmetTitle {
        margin-top: 10px;
        width: 100%;
        height: 60px;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        /* HizmetTitle font boyutu büyütüldü */
        font-weight: 700
    }

    .HizmetContainer {
        padding: 0 70px;
        margin-top: 20px;
        justify-content: space-around;
        gap: 25px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr)
    }

    .HizmetCard {
        aspect-ratio: 3/4;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px
    }

    .HizmetBox,
    .tintle {
        align-items: center
    }

    .HizmetCard:hover {
        background: #2b83c7
    }

    .HizmetBox {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        padding-left: 7px;
        padding-right: 7px
    }

    .Contlist,
    .tintle {
        padding-left: 20px;
        color: #fff
    }

    .HizmetBox p {
        color: #fff;
        font-size: 24px;
        font-weight: 1000;
        text-align: center;
        border-radius: 10px;
        padding-top: 5px;
        padding-bottom: 5px
    }

    .HizmetBox img {
        width: 100%;
        border-radius: 5px;
        object-fit: cover;
        height: 70%
    }

    .ContactContainer {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-bottom: 30px;
        padding-top: 20px;
        align-items: center
    }

    .AdresBox {
        width: 100%;
        margin-bottom: 20px
    }

    .Contlist {
        list-style: disc;
        font-size: 16px;
        margin: 15px 10px
    }

    .ContactBox {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center
    }

    .map {
        display: block;
        border-radius: 15px;
        margin: 15px auto;
        width: 90%;
        height: 250px
    }

    .tintle {
        border-bottom-right-radius: 35px;
        border-top-right-radius: 35px;
        width: 70%;
        height: 50px;
        display: flex;
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 15px;
        align-self: flex-start
    }

    .Information {
        margin-left: 10px;
        display: flex;
        align-items: center;
        color: #fff;
        font-size: 16px;
        margin-bottom: 8px;
        width: 90%
    }

    .ContactBoxs {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 10px
    }
}