* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
  
:root {
    --primary-color: #051042;
    --text-black: #fefefe;
    --text-black-light: rgba(254, 254, 254, 0.7);
    --text-white: #ffffff;
}
  
body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol;
    line-height: 1.5;
    user-select: none;
}
  
img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ke-hizmetler-bolumu {
    position: relative;
    width: 100%;
    overflow: hidden; 
    isolation: isolate;
    padding: 0 0;
}
  
.ke-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 30px;
}
  
.ke-scroll-viewport {
    width: 100%; 
    height: 100vh;
    isolation: isolate;
    overflow: hidden; 
}
  
.ke-scroll-grup {
    display: flex;
    align-items: center;
    width: 100%; 
    height: 100vh;
    transform-origin: top right;
    will-change: transform;
}
  
.ke-kart-slider {
    display: flex; 
    flex-wrap: nowrap; 
    width: max-content; 
    align-items: center;
    gap: 52px;
}
  
.ke-kart {
    flex: 0 0 auto; 
    height: 670px;
    min-width: 990px;
    position: relative;
    display: block;
}
  
.ke-kart-resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
  
.ke-kart-icerik-katmani {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: opacity 0.35s;
}
  
.ke-metin-kutusu {
    border-radius: 12px;
    padding: 40px;
    position: relative;
    max-width: 810px;
    backdrop-filter: blur(15px); 
    background-color: rgba(5, 16, 66, 0.15);
    min-height: 250px;
}

.ke-kart-detaylar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-bottom: 30px;
}
  
.ke-kart-baslik {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-black);
    max-width: 612px;
}
  
.ke-kart-aciklama {
    max-width: 612px;
}
  
.ke-kart-aciklama p {
    font-size: 20px;
    color: var(--text-black-light);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}
  
@media (max-width: 1680px) {
    .ke-scroll-grup {
      gap: 80px;
    }
    .ke-kart {
      height: 630px;
      min-width: 800px;
    }
    .ke-metin-kutusu {
      padding: 30px;
    }
}
  
@media (max-width: 1440px) {
    .ke-scroll-grup {
      gap: 50px;
    }
    .ke-kart {
      height: 550px;
      min-width: 650px;
    }
    .ke-kart-slider {
      gap: 30px;
    }
}
  
@media (max-width: 1280px) {
    .ke-kart {
      height: 500px;
      min-width: 550px;
    }
    .ke-kart-baslik {
      font-size: 30px;
    }
    .ke-kart-aciklama p {
      font-size: 18px;
    }
}
  
@media (max-width: 1024px) {
    .ke-scroll-viewport {
      width: auto;
      height: auto;
      display: block;
      overflow: visible;
    }
    .ke-scroll-grup {
      display: block;
      width: auto;
      height: auto;
    }
    .ke-kart-slider {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      width: 100%;
    }
    .ke-kart {
      width: 100%;
      height: 400px;
      min-width: auto;
    }
    .ke-metin-kutusu {
      padding: 20px;
    }
    .ke-kart-aciklama p {
      font-size: 16px;
    }
    .ke-kart-baslik {
      font-size: 24px;
    }
}
  
@media (max-width: 768px) {
    .ke-container {
      width: 100vw;
      max-width: 100vw;
      margin-left: 50%;
      transform: translateX(-50%);
      padding-left: 16px;
      padding-right: 16px;
    }
    .ke-hizmetler-bolumu {
      padding-top: 30px;
    }
    .section_solution .ke-hizmetler-bolumu .ke-kart {
      height: 480px; 
      border-radius: 12px;
      overflow: hidden !important; 
      mask-image: radial-gradient(white, black); 
      -webkit-mask-image: -webkit-radial-gradient(white, black); 
    }
    .section_solution .ke-hizmetler-bolumu .ke-kart-icerik-katmani {
      border-radius: inherit; 
    }
    .section_solution .ke-hizmetler-bolumu .ke-kart-resim {
      border-radius: inherit; 
    }
    .ke-kart-aciklama p {
      -webkit-line-clamp: 3;
      line-clamp: 3; 
    }
    .ke-metin-kutusu {
        padding: 20px;
        min-height: auto;
    }
    .ke-kart-detaylar {
        padding-bottom: 20px;
        gap: 15px;
    }
    .ke-kart-baslik {
        font-size: 18px;
    }
    .ke-kart-aciklama p {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .ke-slider-container {
      position: relative;
      width: 100%;
      overflow: hidden; 
    }
  
    .ke-kart-slider {
      display: flex;
      gap: 12px; 
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
  
    .ke-kart-slider::-webkit-scrollbar {
      display: none;
    }
  
    .ke-kart-slider .ke-kart {
      flex: 0 0 calc(100% - 24px);
      width: calc(100% - 24px);
      margin: 0 12px; 
      scroll-snap-align: center;
    }
  
    .ke-slider-buton {
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      background-color: rgba(13, 49, 187, 0.9);
      color: #051042;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      transition: opacity 0.2s;
      user-select: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
  
    .ke-slider-geri {
      left: 8px;
    }
  
    .ke-slider-ileri {
      right: 8px; 
    }
  
    .ke-slider-buton.pasif {
      opacity: 0.3;
      cursor: not-allowed;
    }
}

@media (min-width: 1025px) {
  .ke-slider-buton {
    display: none !important;
  }
}
