/* Custom Radio Button Styles */
.custom-radio-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.custom-radio {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

.custom-radio-mark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
  background: white;
  vertical-align: middle;
}

.custom-radio:checked+.custom-radio-mark {
  border-color: var(--ihlas-blue);
  background: white;
}

.custom-radio:checked+.custom-radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--ihlas-orange);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.custom-radio:hover+.custom-radio-mark {
  border-color: var(--ihlas-blue);
  box-shadow: 0 0 0 3px rgba(70, 121, 204, 0.1);
}

.custom-radio:focus+.custom-radio-mark {
  outline: none;
  border-color: var(--ihlas-blue);
}

/* Swiper */

.swiper-button-prev:after {
  content: 'prev';
  font-size: 24px;
  color: var(--ihlas-blue);
}

.swiper-button-next:after {
  content: 'next';
  font-size: 24px;
  color: var(--ihlas-blue);
}

.swiper-pagination-bullet {
  width: 30px;
  border-radius: 6px;
  height: 6px;
  transition: all 0.3s ease;
  background-color: var(--ihlas-light-blue);
}

.swiper-pagination-bullet-active {
  width: 68px;
  border-radius: 6px;
  height: 6px;
  background-color: var(--ihlas-blue);
}

.hero-progress-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  height: 6px;
  background: rgba(0, 62, 146, 0.2);
  overflow: hidden;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: #003e92;
  transition: width 0s linear;
}

.progress-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  height: 6px;
  background: rgba(0, 62, 146, 0.2);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #003e92;
  transition: width 0s linear;
}

/* Rotating Border Image Link */

.rotating-border-container {
  position: relative;
  display: inline-block;
}

.rotating-image-link {
  display: block;
  position: relative;
  width: 126px;
  height: 126px;
  text-decoration: none;
}

.border-wrapper {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: visible;
}

.dashed-border {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 140px;
  height: 140px;
  border: 3px dashed #ff7300;
  border-radius: 50%;
  transition: transform 0.6s ease-in-out;
  z-index: 1;
  box-sizing: border-box;
}

.profile-image {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  transition: transform 0.3s ease;
  border: 6px solid #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.rotating-image-link:hover .dashed-border {
  transform: rotate(360deg);
}

.rotating-image-link:hover .profile-image {
  transform: scale(1.1);
}

/* Bağışçı olun */

.hero-bagisci-container {
  border-radius: 10px;
  box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.16);
  background-color: #fff;
}

/* Destek olun */

.hero-proje-item {
  border-radius: 10px;
  box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.16);
  background-color: #fff;
  height: 441px;
  padding: 33px 22px 32px 24px;
}

.hero-proje-item2 {
  border-radius: 10px;
  box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.16);
  background-color: #fff;
  height: 600px;
  padding: 33px 22px 32px 24px;
}


.hero-proje-progress-container {
  width: 100%;
  height: 6px;
  background: rgba(0, 62, 146, 0.2);
  overflow: hidden;
  border-radius: 6px;
}

.hero-proje-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--ihlas-orange);
  transition: width 0s linear;
}

/* Haberler hero */

.haberler-hero-item {
  border-radius: 10px;
  box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.16);
  background-color: #fff;
}

/* Scroll to Top Button */

.scroll-to-top-container {
  position: fixed;

  z-index: 1000;
}

.scroll-to-top {
  position: fixed;
  bottom: 115px;
  right: 30px;
  width: 54px;
  height: 54px;
  background: var(--ihlas-orange);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255, 115, 0, 0.3);
}

.scroll-to-top:hover {
  background: var(--ihlas-blue);
  transform: translateY(0);
  box-shadow: 0 6px 25px rgba(0, 62, 146, 0.4);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
}

/* iOS Safari'de input odaklandığında otomatik zoom'u önle */
@media screen and (max-width: 1024px) {
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input:not([type]),
  select,
  textarea {
    font-size: 16px !important;
  }
}