.hero-bg {
  width: 100%;
  height: 665px;
  background-size: cover;
  background-position: center;
}
.h1 {
  display: flex;
  flex-direction: column;
  font-size: 70px;
  font-weight: 600;
  color: #fff;
}
.h1 .tag {
  font-size: 30px;
  color: #0cefff;
}
.arrow-container {
  position: relative;
  top: -20px;
  left: 25px;
  margin-bottom: -38px;
}
.page-desc {
  font-size: 18px;
  color: #fff;
  padding-left: 4rem;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 50px;
  border: 0;
  padding: 20px 25px;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-left: 4rem;
  color: #4952ff;
  width: 50%;
  animation: btnShake 3s linear infinite;
  transition: transform 0.2s;
}
.contact-btn .btn-scale {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}
.contact-btn:hover .btn-scale {
  transform: scale(1.03); /* hover büyüme */
  color: #0b15d3;
}
.contact-btn:hover {
  animation-play-state: paused;
}
@keyframes btnShake {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  10% {
    transform: translateX(-1.5px) rotate(-0.8deg);
  }
  20% {
    transform: translateX(2px) rotate(1deg);
  }
  30% {
    transform: translateX(-2px) rotate(-1.2deg);
  }
  40% {
    transform: translateX(1.5px) rotate(0.7deg);
  }
  50% {
    transform: translateX(-1px) rotate(-0.5deg);
  }
  60% {
    transform: translateX(0) rotate(0deg); /* hareket bitince hemen dur */
  }
  100% {
    transform: translateX(0) rotate(0deg); /* 5 saniye duraklama */
  }
}

.glass-bg {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px) saturate(120%) contrast(1.2) brightness(1.1);
  -webkit-backdrop-filter: blur(5px) saturate(120%) contrast(1.2) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.anim-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 22px;
  color: #fff;
  transform: rotate(30deg);
}

.anim-2 {
  position: absolute;
  top: 0%;
  left: 25%;
  border-radius: 50px;
  color: #fff;
  font-size: 20px;
  padding: 20px 25px;
  transform: rotate(5deg);
}
.anim-3 {
  position: absolute;
  top: 3%;
  left: 70%;
  font-size: 22px;
  color: #fff;
  transform: rotate(30deg);
}
.anim-4 {
  position: absolute;
  top: 28%;
  left: 8%;
  border-radius: 50px;
  color: #fff;
  font-size: 20px;
  padding: 20px 25px;
  transform: rotate(-5deg);
}
.anim-5 {
  position: absolute;
  top: 38%;
  left: 40%;
  font-size: 22px;
  color: #fff;
  transform: rotate(30deg);
}
.anim-6 {
  position: absolute;
  top: 30%;
  left: 50%;
  border-radius: 50px;
  color: #fff;
  font-size: 20px;
  padding: 20px 25px;
  transform: rotate(10deg);
}
.anim-7 {
  position: absolute;
  top: 70%;
  left: 12%;
  font-size: 22px;
  color: #fff;
  transform: rotate(30deg);
}
.anim-8 {
  position: absolute;
  top: 55%;
  left: 25%;
  border-radius: 50px;
  color: #fff;
  font-size: 20px;
  padding: 20px 25px;
  transform: rotate(-10deg);
}
.pointer-container {
  position: absolute;
  top: 85%;
  left: 25%;
}
.pointer-text {
  background: linear-gradient(180deg, #4696ff 0%, #008cff 100%);
  border-radius: 50px;
  border: 2px solid #fff;
  padding: 10px 30px;
  color: #fff;
  font-weight: 400;
  margin-left: 15px;
  position: relative;
  z-index: 1;
  animation: pointer-text-anim 7s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(var(--x1), var(--y1)) rotate(var(--r1));
  }
  50% {
    transform: translate(var(--x2), var(--y2)) rotate(var(--r2));
  }
  75% {
    transform: translate(var(--x3), var(--y3)) rotate(var(--r3));
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Her anim için farklı değerler ve süreler */
.anim-1 {
  --x1: 5px;
  --y1: -5px;
  --r1: 2deg;
  --x2: 0px;
  --y2: 5px;
  --r2: -2deg;
  --x3: -5px;
  --y3: -2px;
  --r3: 1deg;
  animation: float 6s ease-in-out infinite;
}

.anim-2 {
  --x1: 3px;
  --y1: -3px;
  --r1: 1deg;
  --x2: 0px;
  --y2: 4px;
  --r2: -1deg;
  --x3: -3px;
  --y3: -1px;
  --r3: 0.5deg;
  animation: float 7s ease-in-out infinite;
}

.anim-3 {
  --x1: 4px;
  --y1: -4px;
  --r1: 1.5deg;
  --x2: 0px;
  --y2: 3px;
  --r2: -1.5deg;
  --x3: -4px;
  --y3: -3px;
  --r3: 1deg;
  animation: float 6.5s ease-in-out infinite;
}

.anim-4 {
  --x1: 6px;
  --y1: -2px;
  --r1: 3deg;
  --x2: 0px;
  --y2: 5px;
  --r2: -3deg;
  --x3: -2px;
  --y3: -4px;
  --r3: 2deg;
  animation: float 8s ease-in-out infinite;
}

.anim-5 {
  --x1: 5px;
  --y1: -3px;
  --r1: 2deg;
  --x2: 0px;
  --y2: 6px;
  --r2: -2deg;
  --x3: -3px;
  --y3: -3px;
  --r3: 1deg;
  animation: float 6.8s ease-in-out infinite;
}

.anim-6 {
  --x1: 4px;
  --y1: -5px;
  --r1: 1.5deg;
  --x2: 0px;
  --y2: 4px;
  --r2: -1deg;
  --x3: -5px;
  --y3: -2px;
  --r3: 2deg;
  animation: float 7.2s ease-in-out infinite;
}

.anim-7 {
  --x1: 3px;
  --y1: -4px;
  --r1: 2deg;
  --x2: 0px;
  --y2: 5px;
  --r2: -1deg;
  --x3: -3px;
  --y3: -2px;
  --r3: 1deg;
  animation: float 7.5s ease-in-out infinite;
}

.anim-8 {
  --x1: 5px;
  --y1: -5px;
  --r1: 2deg;
  --x2: 0px;
  --y2: 6px;
  --r2: -2deg;
  --x3: -4px;
  --y3: -3px;
  --r3: 1.5deg;
  animation: float 8.5s ease-in-out infinite;
}
@keyframes pointer-anim {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  10% {
    transform: translate(75px, 65px) scale(1.05) rotate(5deg); /* sağa yukarı kayış */
  }
  20% {
    transform: translate(70px, 60px) scale(0.95) rotate(-5deg); /* tıklama hissi */
  }
  30% {
    transform: translate(70px, 65px) scale(1.05) rotate(5deg); /* tekrar yukarı kayış */
  }
  40% {
    transform: translate(0, 0) scale(1) rotate(0deg); /* geri dön */
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}
@keyframes pointer-text-anim {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  10% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  20% {
    transform: translate(0, 0) scale(0.9) rotate(0deg);
  }
  30% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  40% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}
.pointer-container svg {
  position: relative;
  transform-origin: center center; /* Scale ve rotate merkezden */
  animation: pointer-anim 7s ease-in-out infinite;
  z-index: 2;
}

.success-item {
  display: flex;
  padding: 13px 25px;
  border-radius: 7px;
}
.success-item i {
  font-size: 37px;
  margin-right: 15px;
}
.send-btn {
  background-color: #2731ff;
  color: #fff;
  width: 100%;
  border: 0;
  height: 55px;
  font-weight: 600;
  border-radius: 10px;
}
.meta-partner {
  position: absolute;
  top: 15%;
  left: -17%;
  animation: slide-horizontal 5s ease-in-out infinite;
  --translate-x: 50px;
}

.google-partner {
  position: absolute;
  top: 32%;
  left: -13%;
  animation: slide-horizontal 5s ease-in-out infinite;
  --translate-x: 25px;
}
@keyframes slide-horizontal {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(var(--translate-x));
  }
  100% {
    transform: translateX(0);
  }
}

.gif {
  position: absolute;
  bottom: 3%;
  right: 25%;
  width: 130px;
  background-color: #fff;
  padding: 5px;
  border-radius: 10px;
}

/* Sevices Slider CSS*/
/* Container full width */
.what-do-section {
  padding: 60px 0;
  background-position: center 70px;
  background-repeat: no-repeat;
}
.service-slider {
  width: 100%;
  overflow: hidden;
}

/* Kart stil */
.service-card {
  position: relative;
  width: 100%;
  transform-origin: center center;
  transform: scale(0.9);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  border: 4px solid #fff;
}

/* Aktif olan */
.service-card.active {
  transform: scale(1);
}

/* Görsel */
.service-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(77, 77, 77, 0.7);
  transition: opacity 0.3s ease;
  opacity: 1;
  border-radius: 8px;
}

.service-card.active::after {
  background: rgba(0, 0, 0, 0.7);
}

.service-card .content {
  position: absolute;
  top: 76%;
  left: 5%;
  z-index: 1;
  transition: top 0.3s ease;
}

.service-card:hover .content,
.service-card.active .content {
  top: 60%;
}

/* Başlık */
.service-card .title {
  color: white;
  font-size: 1.3rem;
  z-index: 1;
  margin-bottom: 5px;
}

.service-card .desc {
  width: 85%;
  color: white;
  font-size: 1rem;
  overflow: hidden;
  z-index: 1;
}

.service-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  left: 1.5rem;
  bottom: 4rem;
  color: #fff;
  background-color: #81878c;
  border-radius: 10px;
  width: 60px;
  height: 60px;
  z-index: 1;
  font-size: 28px;
  margin-bottom: 10px;
}

.service-card.active .icon {
  background-color: #545659;
}

/* Responsive: küçük ekranlarda da 5 öğe gösterilir ama yükseklik vs ayarlanır */
@media (max-width: 576px) {
  .service-card img {
    height: 160px;
  }

  .slider-item {
    flex: 0 0 calc((100% - 4rem) / 2);
  }

  /* aynı hesap */
  .slider-btn {
    width: 40px;
    height: 40px;
  }
}
/* Completed Projects*/
.completed-project-section .filter-btn {
  text-wrap: nowrap;
  background-color: #edefff;
  border: 0;
  border-radius: 25px;
  color: #37394b;
  padding: 15px 25px;
}
.completed-project-section .filter-btn.active {
  background-color: #2731ff;
  color: #fff;
}

.project-slider {
  width: 100%;
  overflow: hidden;
}
/* Sol kenarda beyaz geçiş */
.project-slider::before,
.project-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 250px; /* geçiş genişliği */
  height: 100%;
  z-index: 10;
  pointer-events: none; /* tıklamayı engellemesin */
}

.project-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--section-bg) 10%, transparent 100%);
}

.project-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--section-bg) 10%, transparent 100%);
}
/* Kart stil */
.project-card {
  position: relative;
  width: 100%;
  transform-origin: center center;
  transform: scale(0.9);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}
.project-card .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Aktif olan */
.project-card.active {
  transform: scale(1);
}

/* Görsel */
.project-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Başlık */
.project-card .title {
  font-size: 1.4rem;
  z-index: 1;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 600;
  text-align: center;
}

.project-card .desc {
  width: 80%;
  color: #37394b;
  font-size: 1.2rem;
  text-align: center;
}

/* Responsive: küçük ekranlarda da 5 öğe gösterilir ama yükseklik vs ayarlanır */
@media (max-width: 576px) {
  .service-card img {
    height: 360px;
  }

  .slider-item {
    flex: 0 0 calc((100% - 4rem) / 2);
  }

  /* aynı hesap */
  .slider-btn {
    width: 40px;
    height: 40px;
  }
}

.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 1rem;
}

.slider-pagination button {
  width: 17px;
  height: 8px;
  border-radius: 5px;
  border: none;
  background: #d9d9d9;
  cursor: pointer;
  transition: all 0.2s;
}

.slider-pagination button.active {
  width: 30px;
  background: #2731ff;
}

.before-after-section .slider-viewport {
  width: 150%;
  left: -25%;
}

.before-after-section .slider-item {
  flex: 0 0 calc((100%) / 3);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
}
.before-after-section .arrow {
  position: absolute;
  bottom: 1rem;
}
.before-after-slider {
  width: 100%;
  overflow: hidden;
}
/* Kart stil */
.before-after-card {
  position: relative;
  width: 100%;
  transform-origin: center center;
  transform: scale(0.9);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}
.before-after-card .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.before-after-card .img-area {
  border-radius: 15px;
  border: 5px solid #fff;
}
/* Aktif olan */
.before-after-card.active {
  transform: scale(0.97);
}

/* Görsel */
.before-after-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

/* Başlık */
.before-after-card .title {
  font-size: 1.4rem;
  z-index: 1;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 600;
  text-align: center;
}

.before-after-card .desc {
  width: 80%;
  color: #37394b;
  font-size: 1.2rem;
  text-align: center;
}
.before-after-card .before {
  position: absolute;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background-color: #2731ff;
  padding: 5px 140px;
  transform: rotate(-40deg);
  bottom: -5rem;
  right: -11rem;
  transition: all 0.3s;
  text-wrap: nowrap;
}
.before-after-card.active .before {
  bottom: 4rem;
  right: -6rem;
}
.before-after-card .after {
  position: absolute;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background-color: #2731ff;
  padding: 5px 140px;
  transform: rotate(-40deg);
  bottom: -5rem;
  right: -11rem;
  transition: all 0.3s;
  text-wrap: nowrap;
}
.before-after-card.active .after {
  bottom: 4rem;
  right: -6rem;
}
/* Responsive: küçük ekranlarda da 5 öğe gösterilir ama yükseklik vs ayarlanır */
@media (max-width: 576px) {
  .before-after-card img {
    height: 300px;
  }

  .before-after-slider .slider-item {
    flex: 0 0 calc((100% - 2rem) / 1.6);
  }

  /* aynı hesap */
  .slider-btn {
    width: 40px;
    height: 40px;
  }
}
.contact-image {
  width: 80%;
}
@media (max-width: 1200px) {
  .h1 {
    font-size: 55px;
  }
  .page-desc {
    font-size: 16px;
  }
  .glass-bg {
    font-size: 17px;
    padding: 10px 13px;
    text-wrap: nowrap;
  }
}
@media (max-width: 991px) {
  .h1 {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
  }
  .h1 .tag {
    text-align: center;
    font-size: 20px;
  }
  .page-desc {
    font-size: 15px;
    padding-left: 4rem;
  }
  .arrow-container {
    width: 50%;
  }
  .contact-btn {
    width: 100%;
    text-align: center;
    text-wrap: nowrap;
    margin-left: 0rem;
    padding: 10px 15px;
  }
  .pointer-container {
    margin-top: 40px;
  }
  .success-items {
    margin: 0;
  }
  .success-items .col-lg-5 {
    padding: 0;
    margin: 0;
  }
  .success-items .col-lg-5 {
    padding: 0;
    margin: 0;
    position: relative;
    top: -40px;
    margin-bottom: -40px;
    z-index: 1;
  }
  .success-item {
    margin-bottom: 10px;
    text-wrap: nowrap;
    padding: 13px 15px;
  }
  .success-item i {
    font-size: 30px;
    margin-right: 10px;
  }
  .mt-4-5 {
    margin-top: 2.5rem;
  }
  .contact-image {
    width: 100%;
  }
  .meta-partner {
    width: 120px;
    top: 5%;
    left: 3%;
  }
  .google-partner {
    width: 120px;
    top: 22%;
    left: 10%;
  }
  .gif {
    width: 80px;
    right: 20px;
  }
  .service-card .content {
    top: 70%;
  }
  .service-card:hover .content,
  .service-card.active .content {
    top: 20%;
  }
  .project-slider::before,
  .project-slider::after {
    width: 70px;
  }
  .before-after-card.active .before,
  .before-after-card.active .after {
    bottom: 2rem;
    right: -8rem;
    font-size: 15px;
  }
  .before-after-card .title {
    font-size: 1.1rem;
  }
  .before-after-card .desc {
    font-size: 1rem;
  }
  .before-after-section .arrow {
    bottom: 0;
  }
  .before-after-section .arrow svg {
    width: 80px;
  }

  .accordion-item {
    margin-bottom: 7px;
  }
  .accordion-button {
    font-size: 16px;
    padding: 15px 25px 15px 25px;
  }
  .accordion-body {
    font-size: 15px;
    padding: 15px 0px;
    margin: 0 25px;
  }
  .footer-section .contact {
    padding: 30px 20px;
  }
  .footer-section .title,
  .footer-section .desc {
    padding: 0;
  }
  .footer-section .footer-contact-image {
    top: -60px;
    margin-bottom: -60px;
  }
  .footer-section .contact-item {
    width: 100%;
  }
  .footer-section .footer-dark-bg {
    padding-top: 0;
  }
  .footer-section .footer-items-wrapper {
    align-items: start;
    padding-left: 45px;
    padding-top: 15px;
    border-top: 1px solid #5a5a5a;
    margin-bottom: 10px;
  }
  .project-card .desc {
    font-size: 1rem;
  }
  .project-card .title {
    font-size: 1.1rem;
  }
  .project-card img {
    height: 250px;
  }
}

.shine-text .line {
  display: block;
  color: #fff;
  transform: translateY(100%);
  opacity: 0;
  animation: riseShine 5s infinite;
}

/* Sırayla başlaması için delay */
.shine-text .line-1 {
  animation-delay: 0s;
}

.shine-text .line-2 {
  animation-delay: 0.3s;
}

.shine-text .line-3 {
  animation-delay: 0.6s;
}

/* Animasyon */
@keyframes riseShine {
  0% {
    transform: translateY(100%);
    opacity: 0;
    text-shadow: none;
  }

  20% {
    transform: translateY(0);
    opacity: 1;
    text-shadow:
      0 0 2px #fff,
      0 0 4px #fff;
  }

  50% {
    text-shadow:
      0 0 4px #fff,
      0 0 6px #0ff;
  }

  80% {
    transform: translateY(0%);
    opacity: 1;
    text-shadow:
      0 0 2px #fff,
      0 0 4px #0ff;
  }

  90% {
    transform: translateY(-100%);
    opacity: 0;
    text-shadow: none;
  }
}

.page-desc {
  display: inline-block;
  overflow: hidden;
}

.page-desc span {
  display: inline-block;
  opacity: 0;
  transform: translate(20px, 20px);
  animation: letterRise 1s forwards;
}

@keyframes letterRise {
  0% {
    opacity: 0;
    transform: translate(20px, 20px);
  }

  50% {
    opacity: 1;
    transform: translate(-5px, -5px);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes letterFall {
  0% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-5px, -5px);
  }
}

.word {
  display: inline;
  /* kelimeyi bir satırda tutar */
}

.page-desc span {
  display: inline-block;
  /* harf animasyonu için */
}
