.home {
  width: 100vw;
  height: auto;
}

.home .swiper-slide .inner {
  position: relative;
  height: 100%;
}

.home .swiper-slide .text {
  position: absolute;
  top: 20%;
  color: #fff;
  font-size: 40px;
  padding: 23px 40px 23px 0;
  background-color: rgba(247, 28, 91, 0.8);
  transform: translateX(-100%);
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.home .swiper-slide-active .text,
.home .swiper-slide-duplicate-active .text {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.3s;
}

.home .swiper-slide-prev .text,
.home .swiper-slide-next .text {
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.home .swiper-slide .text::after {
  content: "";
  width: 50%;
  position: absolute;
  left: -50%;
  height: 100%;
  top: 0;
  background-color: rgba(247, 28, 91, 0.8);
}

.home .swiper-slide .text span {
  font-weight: 560;
  display: inline-block;
  transition: transform 0.5s ease 0.6s;
}

.home .swiper-slide-active .text span,
.home .swiper-slide-duplicate-active .text span {
  animation: textPop 0.5s ease forwards 1.2s;
}

@keyframes textPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.home img {
  width: 100%;
}

.kategoriler {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.kategoriler .kategori {
  text-align: center;
  background-color: var(--primary);
  color: var(--white);
  font-size: 14px;
  border-radius: 11px;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.25);
  width: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 126px;
}

.kategoriler .kategori .icon {
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  z-index: 1;
}

.kategoriler .kategori .text {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  z-index: 2;
}

.kategoriler .kategori .bg-fill {
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary);
  transition: left 0.4s ease;
  z-index: 0;
}

.kategoriler .kategori:hover .bg-fill {
  left: 0;
}

.kategoriler .kategori:hover .icon {
  opacity: 0;
  transform: translateY(-10px);
}

.kategoriler .kategori:hover .text {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure clean animation back to initial state */
.kategoriler .kategori:not(:hover) .icon {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.kategoriler .kategori:not(:hover) .text {
  opacity: 0;
  transform: translateY(10px);
  transition-duration: 0.2s;
}

.kategoriler .kategori span {
  font-weight: 560;
}

.carousels {
  padding: 40px 0 120px;
  display: flex;
  gap: 24px;
  width: 100%;
}

.carousels .item {
  position: relative;
  padding-left: 60px;
  min-height: 450px;
  width: 33.33%;
  display: flex;
  flex-direction: column;
}

.carousels .item .box {
  color: #fff;
  font-size: 31px;
  background-color: var(--secondary);
  width: 100%;
  border-radius: 37px;
  min-height: 400px;
  height: auto;
  position: relative;
  padding: 39px 12px;
  /* flex: 1; */
}

.carousels .item .box span {
  font-weight: 560;
}

.carousels .item img {
  position: absolute;
  top: 120px;
  left: -150px;
  /* left: -70px; */
  width: 140%;
  max-width: unset;
}

.swiper.news {
  border-radius: 37px;
  background: #d9d9d9;
  position: relative;
  padding: 54px 46px 80px 46px;
  width: 33.33%;
  height: auto;
  min-height: 450px;
}

.swiper.news .haber {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: auto;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.swiper.news .haber .title ,
.proje .title
{
  padding-bottom: 12px;
  font-size: 18px;
}

.swiper.news .haber .text,
.proje .text
{
  padding-top: 12px;
  margin-bottom: 15px;
}

.swiper.news .haber img {
  max-width: 100%;
  height: auto;
}

.swiper.news .haber .devami {
  background-color: #fff;
  color: #000;
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 5px;
  font-size: 12px;
  transition: all 0.3s ease;
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.swiper.news .haber .devami:hover {
  background-color: #f0f0f0;
  /* transform: translateY(-2px); */
}

.swiper-title {
  color: #fff;
  font-size: 20px;
  padding: 10px 50px !important;
  background-color: var(--primary);
  text-align: center;
  width: max-content;
  border-radius: 7px;
  position: absolute;
  top: 0;
  left: -10px;
  /* transform: translateX(-50%); */
}

.swiper.news .swiper-button-next,
.swiper.news .swiper-button-prev {
  bottom: 24px !important;
  top: unset;
}

.swiper.news .swiper-button-next:after,
.swiper.news .swiper-button-prev:after {
  display: none;
}

.swiper.news .swiper-button-next {
  right: 30%;
}

.swiper.news .swiper-button-prev {
  left: 30%;
}

.swiper.news .index {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 70px;
  font-weight: 560;
}

.swiper.projects {
  border-radius: 37px;
  background: var(--primary);
  position: relative;
  padding: 54px 46px 24px 46px;
  width: 33.33%;
  height: auto;
  min-height: 450px;
}

.swiper.projects .proje {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: auto;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
  color: var(--white);
}

.swiper.projects .proje .title {
    font-weight: bold;

  padding-bottom: 12px;
}

.swiper.projects .proje .text {
  padding-top: 12px;
  margin-bottom: 15px;
}

.swiper.projects .proje img {
  max-width: 100%;
  height: auto;
}

.projet.swiper-title {
  color: #fff;
  font-size: 20px;
  padding: 10px 50px !important;
  background-color: var(--secondary) !important;
  text-align: center;
  width: max-content;
  border-radius: 7px;
  position: absolute;
  top: 0 !important;
  right: -10px !important;
  left: unset;
  /*  transform: translateX(-50%); */
}

.swiper.projects .swiper-button-next,
.swiper.projects .swiper-button-prev {
  bottom: 24px !important;
  top: unset;
}

.swiper.projects .swiper-button-next:after,
.swiper.projects .swiper-button-prev:after {
  display: none;
}

.swiper.projects .swiper-button-next {
  right: 30%;
}

.swiper.projects .swiper-button-prev {
  left: 30%;
}

.swiper.projects .index {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 70px;
  font-weight: 560;
}

.swiper.projects .proje .devami {
  background-color: #fff;
  color: #000;
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 5px;
  font-size: 12px;
  transition: all 0.3s ease;
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.swiper.projects .proje .devami:hover {
  background-color: #f0f0f0;
  /* transform: translateY(-2px); */
}

.chooseus .title {
  color: #55575b;
  font-family: "Deuterium Variable";
  font-size: 41.466px;
  font-style: normal;
  font-weight: 400;
  line-height: 58px; /* 139.872% */
  letter-spacing: 1.659px;
  text-align: center;
  padding-bottom: 24px;
}

.chooseus .items {
  padding-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #d9d9d9;
  border-top: 1px solid #d9d9d9;
}

.chooseus .items .inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.chooseus .items .item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chooseus .items .item .item-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #55575b;
  text-align: center;
  font-family: "Deuterium Variable";
  font-size: 20px;
  font-style: normal;
  font-weight: 560;
  line-height: 140%; /* 28px */
  text-align: center;
  margin-bottom: 10px;
}

.chooseus .items .item .icon {
  background-color: var(--primary);
  padding: 8px;
}

.chooseus .items .item .item-text {
  color: #55575b;
}

/*HOME CONTACT*/
.home-contact {
  padding: 70px 0 0 0;
}

.support-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.support-form .inner {
  position: relative;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0px 0px 7.5px 1px rgba(0, 0, 0, 0.24);
  padding: 65px 60px 30px 60px;
  text-align: center;
}

.support-form .inner .form-title {
  color: #000;
  text-align: center;
  font-family: "Deuterium Variable";
  font-size: 14px;
  font-style: normal;
  padding-bottom: 20px;
}

.support-form .inner .form-desc {
  color: var(--text-color);
  font-style: normal;
  font-weight: 500;
  padding-bottom: 10px;
}

.support-form .inner .icon {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translate(-50%);
}

.support-form .inner form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.support-form .inner form input {
  background-color: rgba(232, 232, 232, 0.35);
  height: 45px;
  padding: 0 0 0 16px;
  width: 100%;
  outline: 1px solid transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
  font-size: 12px;
}

.support-form .inner form input::placeholder {
  color: #5b5b5b;
  font-weight: 400;
  line-height: 32.5px;
  letter-spacing: 0.24px;
}

.support-form .inner form input:focus {
  outline: 1px solid var(--primary);
  border: 1px solid var(--primary);
}

.support-form .inner form textarea {
  background-color: rgba(232, 232, 232, 0.35);
  padding: 0 0 0 16px;
  width: 100%;
  outline: 1px solid transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}

.support-form .inner form textarea::placeholder {
  color: #5b5b5b;
  font-size: 12px;
  /* font-style: italic; */
  font-weight: 400;
  line-height: 32.5px;
  letter-spacing: 0.24px;
}

.support-form .inner form textarea:focus {
  outline: 1px solid var(--primary);
  border: 1px solid var(--primary);
}

.support-form .inner form button {
  width: 146px;
  height: 38px;
  background: var(--primary);
  box-shadow: 0px 3.604px 3.604px 0px rgba(0, 0, 0, 0.25);
  color: var(--white);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 27.032px;
  letter-spacing: 0.85px;
  transition: all 0.3s ease-in-out;
  outline: none;
  border: none;
}

.support-form .inner form button:hover {
  background: var(--secondary);
}

.contact-relative {
  background-image: url(../design/contact-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 300px;
  text-align: center;
}

.contact-relative .text {
  color: var(--white);
  text-shadow: 0px 2.259px 2.259px rgba(0, 0, 0, 0.25);
  font-size: 45px;
  font-style: normal;
  font-weight: 300;
  line-height: 63.868px;
  padding: 70px 0 0 0;
}

.mobile{
    display: none;
} 
/*HOME CONTACT*/

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .kategoriler {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

.mobile{
    display: block;
}

  .kategoriler {
    margin-top: unset !important;
  }

  .carousels {
    flex-direction: column;
    padding: 40px 16px 60px;
  }

  .carousels .item,
  .swiper.news,
  .swiper.projects {
    width: 100%;
    /* min-height: 400px; */
  }

  .carousels .item {
    padding-left: 0;
  }

  .carousels .item .desk {
    display: none;
  }

  .carousels .item {
    min-height: unset !important;
  }

  .swiper.projects .proje,
  .swiper.news .haber {
    padding-bottom: 20px;
  }

  .swiper.projects {
    padding: 54px 46px 80px 46px;
  }

  .carousels .item img {
    position: static;
    width: 30%;
  }

  .carousels .item .box {
    display: flex;
    align-items: center;
    text-align: center;
  }

  .chooseus .items .inner {
    flex-direction: column;
    gap: 40px;
  }
}

@media screen and (max-width: 768px) {
  .home .swiper-slide .text {
    font-size: 28px;
    padding: 15px 30px 15px 0;
  }

  .kategoriler .kategori {
    width: calc(50% - 20px);
    min-height: 100px;
  }

  .carousels .item .box {
    font-size: 24px;
    min-height: 300px;
    padding: 25px 10px;
  }

  .swiper-title {
    font-size: 18px;
    padding: 8px 30px !important;
  }

  .chooseus .title {
    font-size: 32px;
    line-height: 45px;
  }

  .support-form .inner {
    padding: 65px 20px 30px 20px;
  }
}

@media screen and (max-width: 480px) {
  .chooseus .items .item .item-title,
  .chooseus .items .item {
    text-align: left;
    align-items: start;
  }

  .home-contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home .swiper-slide .text {
    font-size: 20px;
    padding: 10px 20px 10px 0;
  }

  .kategoriler {
    margin-top: -30px;
  }

  .kategoriler .kategori {
    width: 100%;
    min-height: 80px;
  }

  .swiper.news,
  .swiper.projects {
    padding: 54px 20px 80px 20px;
  }

  .swiper.news .swiper-button-next {
    right: 20%;
  }

  .swiper.news .swiper-button-prev {
    left: 20%;
  }

  .swiper.projects .swiper-button-next {
    right: 20%;
  }

  .swiper.projects .swiper-button-prev {
    left: 20%;
  }

  .chooseus .items {
    padding: 20px 0;
  }

  .chooseus .items .item .item-title {
    font-size: 18px;
  }

  .galeri.swiper .swiper-slide {
    width: 100%;
  }

  .kategoriler {
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .home.swiper {
    height: 30vh;
  }

  .home.swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home.swiper .text {
    white-space: break-spaces;
    font-size: 14px;
  }
}
