html {
  font-size: 14px;
}


@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Service Cards - Equal Height */
.service-three__list {
  display: flex !important;
  align-items: stretch !important;
}

.service-three__list__item {
  flex: 1 !important;
  display: flex !important;
}

/* Case Studies Cards - Equal Height and Text Overflow Fix */
.case-studies--home .case-studies__list {
  display: flex;
  gap: 30px;
  margin-bottom: 0;
  padding-bottom: 0;
  align-items: stretch; /* Kartları eşit yükseklikte hizala */
}

.case-studies--home .case-studies__list__item {
  flex: 1; /* Tüm kartlar eşit genişlikte */
  display: flex;
  flex-direction: column;
}

.case-studies--home .case-studies__list__item__content {
  position: relative;
  z-index: 1;
  height: 100%; /* İçeriği tam yükseklikte yap */
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Hover efektleri için overflow gizle */
}

.case-studies--home .case-studies__list__item__thumb {
  height: 400px; /* Sabit yükseklik */
  width: 100%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0; /* Görsel boyutunu koru */
}

.case-studies--home .case-studies__list__item__thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%; /* Görseli tam yükseklikte göster */
}

.case-studies--home .case-studies__list__item__hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  transition: all 0.4s ease-in-out;
  z-index: 2;
  padding: 20px 15px 15px 15px; /* Padding ekle */
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.case-studies--home .case-studies__list__item:hover .case-studies__list__item__hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.case-studies--home .case-studies__list__item__hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  transition: all 0.4s ease-in-out;
  z-index: 2;
  padding: 20px 15px 15px 15px; /* Padding ekle */
  opacity: 0;
  visibility: hidden;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(20px);
}

.case-studies--home .case-studies__list__item__title {
  color: var(--laboix-white, #fff);
  font-size: 24px; /* Font boyutunu küçült */
  font-weight: 700;
  line-height: 1.3; /* Satır yüksekliğini azalt */
  letter-spacing: -0.6px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  word-wrap: break-word; /* Uzun kelimeleri böl */
  overflow-wrap: break-word;
}

.case-studies--home .case-studies__list__item__text {
  color: var(--laboix-secondary, #0EBD66);
  font-size: 16px; /* Font boyutunu küçült */
  font-weight: 500;
  line-height: 1.4; /* Satır yüksekliğini azalt */
  letter-spacing: -0.4px;
  margin-bottom: 0;
  padding-bottom: 0;
  word-wrap: break-word; /* Uzun kelimeleri böl */
  overflow-wrap: break-word;
  max-height: 120px; /* Maksimum yükseklik sınırı */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6; /* Maksimum 6 satır göster */
  -webkit-box-orient: vertical;
}

/* Responsive düzenlemeler */
@media (max-width: 1080px) {
  .case-studies--home .case-studies__list {
    flex-wrap: wrap;
  }
  
  .case-studies--home .case-studies__list__item {
    flex: 0 0 48%;
    max-width: 48%;
    margin-bottom: 30px;
  }
  
  .case-studies--home .case-studies__list__item__title {
    font-size: 20px;
  }
  
  .case-studies--home .case-studies__list__item__text {
    font-size: 14px;
    max-height: 100px;
    -webkit-line-clamp: 5;
  }
}

@media (max-width: 767px) {
  .case-studies--home .case-studies__list {
    flex-direction: column;
    gap: 20px;
  }
  
  .case-studies--home .case-studies__list__item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 0;
  }
  
  .case-studies--home .case-studies__list__item__thumb {
    height: 300px;
  }
  
  .case-studies--home .case-studies__list__item__title {
    font-size: 18px;
    line-height: 1.2;
  }
  
  .case-studies--home .case-studies__list__item__text {
    font-size: 13px;
    max-height: 80px;
    -webkit-line-clamp: 4;
  }
}