.banner {
    width: 100%;
    max-width: 1500px;
    margin:auto;
    max-height: 650px;
    position: relative;
    overflow: hidden; 
    padding: 0; 
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.sliderwrite {
    position: absolute;
    top: 35%;
    left: 50%;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 2;
    align-items: center;
}

.carousel-item {
    position: relative;
}

.sliderwrite h2 {
    opacity: 0; 
    animation: slide-up 1s forwards ease-in-out; 
    animation-delay: 1s;
    font-size: 3rem
}

.sliderwrite p {
    opacity: 0; 
    animation: slide-up 1s forwards ease-in-out; 
    animation-delay: 2s; 
    font-size: 1.5rem
}


.carousel-item img {
    animation: zoom-in 15s infinite alternate ease-in-out; 
}

.subhead {
    font-weight: 600;
    font-size: 20px;
    background: linear-gradient(to right, red, blue);
    -webkit-background-clip: text;
    color: transparent;
}

.subhead2 {
    font-weight: 600;
    font-size: 30px;
    background: linear-gradient(to right, red, blue);
    -webkit-background-clip: text;
    color: transparent;
    text-align: center;
    margin: 60px 0 20px 0;
    transform: translateX(100px);
    opacity: 0;
    transition: transform 1.0s ease, opacity 0.6s ease;
}

    .subhead2.show {
        transform: translateX(0);
        opacity: 1;
    }

.second {
    margin-top: 50px;
    width: 100%;
}

.card img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}



.card {
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}



    .card.show {
        transform: translateY(0);
        opacity: 1;
    }

        .card.show:hover {
            transform: scale(1.05);
        }

.row > .colhizmetsol {
    margin-top: 50px;
}

.row > .colhizmetsag {
    margin-top: 50px;
}

.colhizmetsol {
    transform: translateX(-100px);
    opacity: 0;
    transition: transform 1s ease, opacity 0.6s ease;
}



    .colhizmetsol.show {
        transform: translateX(0);
        opacity: 1;
    }

.colhizmetsag {
    transform: translateX(100px);
    opacity: 0;
    transition: transform 1s ease, opacity 0.6s ease;
}



    .colhizmetsag.show {
        transform: translateX(0);
        opacity: 1;
    }

.back {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding:20px 0px;
}

.main {
   max-width:80%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    width: 100%;
    margin-top: -150px; 
    z-index: 10;
    position: relative;
    overflow: hidden;
    margin-bottom:30px;
}

.tema {
    position: relative;
}

.image {
    float: right; 
    margin-left: 20px; 
    max-width: 600px;
}

.paragraf {
    margin-top: 50px;
    font-size: 18px;
}

.scroll {
    scroll-margin-top: 100px;
}




@keyframes zoom-in {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3); 
    }
}

@keyframes slide-up {
    from {
        opacity: 0; 
        transform: translate(-50%, 50%);
    }

    to {
        opacity: 1; 
        transform: translate(-50%, -50%); 
    }
}

@media (max-width:1300px){
    .image{
        max-width:500px;
    }
}
@media (max-width:1100px) {
    .image {
        max-width: 400px;
    }
}
@media (max-width: 768px) {
    .sliderwrite {
        top: 40%; 
        left: 50%; 
        
    }

        .sliderwrite h2 {
            font-size: 2rem; 
        }

        .sliderwrite p {
            font-size: 1rem; 
        }
}

@media (max-width: 480px) {
    .sliderwrite {
        top: 35%; 
        left: 45%; 
      
    }

        .sliderwrite h2 {
            font-size: 1.2rem; 
        }

        .sliderwrite p {
            font-size: 0.7rem; 
        }

    
}

@media (max-width:1000px) {
    .text-left, .text-right {
        font-size: 40px;
    }

    .main{
        margin-top:-100px;
    }
}

@media (max-width: 576px) {
    .reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    .text-left, .text-right {
        font-size: 20px;
    }
    .subhead{
        margin-top:20px;
    }
    .subhead2{
        font-size:20px;
    }
    .main{
        margin-top:-30px;
        max-width:95%;
    }
    .paragraf {  
        font-size: 14px;
    }
    .colhizmetsag p,li{
        font-size:14px;
    }
    .colhizmetsol p, li {
        font-size: 14px;
    }
}


@media(min-width:480px) {
    .carousel-control-prev,
    .carousel-control-next {
        bottom: 30%; 
    }
}
