/********** Template CSS **********/
* {
  text-decoration: none !important;
}

:root {
  --primary: #e51a51;
  --light: #f1f8ff;
  --dark: #0f172b;
  --bs-primary: #e51a51 !important;
}

.bg-efefef {
  background-color: #efefef !important;
}

.bg-e51a51 {
  background-color: #e51a51 !important;
}

.bg-28394e {
  background-color: #28394e !important;
}

.color-e51a51 {
  color: #e51a51 !important;
}

.color-28394e {
  color: #28394e !important;
}

.btn-28394e {
  background-color: #28394e;
  border: 1px solid #28394e;
  color: #fff;
  transition: 0.3s;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.btn-28394e:hover {
  background-color: #fff;
  color: #28394e;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: end;
  justify-content: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::before {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  left: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 2px;
  top: 50%;
  right: -55px;
  margin-top: -1px;
  background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
  display: none;
}

/*** Service ***/
.service-item {
  height: 320px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.5s;
}

.service-item:hover {
  background: var(--primary);
}

.service-item .service-icon {
  margin: 0 auto 30px auto;
  width: 65px;
  height: 65px;
  transition: 0.5s;
}

.service-item i,
.service-item h5,
.service-item p {
  transition: 0.5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
  color: #ffffff !important;
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
  text-decoration: none !important;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.ozdemirajans {
  float: left;
  width: 100%;
  height: 45px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("../../ozdemirajans.svg");
}

.g-recaptcha {
  float: left;
  overflow: hidden;
}

@media screen and (max-width: 991px) {
  .g-recaptcha {
    width: 100% !important;
  }

  .form-btn-mobile {
    float: left !important;
    width: 100% !important;
    margin-top: 15px !important;
  }
}

.carousel-indicators .active {
  position: relative;
}

.carousel-indicators .active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Karartma rengi ve opaklığı */
  z-index: 1;
}

.carousel-indicators [data-bs-target] {
  margin-left: 0px;
  margin-right: 0px;
  opacity: 1;
}

.custom-carousel .carousel-indicators {
  bottom: -80px;
}

.custom-carousel .carousel-indicators li {
  width: 180px;
  height: 120px;
  background-size: cover;
  background-position: center;
}

.header-link {
  font-size: 18px;
  color: #ffffff;
}

.header-link:hover,
.header-link.active {
  color: #e51a51 !important;
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 9999;
}

@media screen and (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 106px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }

  .mobile-menu {
    padding: 2rem 1rem;
    box-sizing: border-box;
  }

  .custom-carousel {
    height: 568px;
  }

  .custom-carousel .carousel-inner .carousel-item img {
    height: 568px;
    object-fit: cover;
    object-position: center;
  }

  #social-media {
    margin-top: 18px;
    font-size: 18px;
  }
}

@media screen and (max-width: 575px) {
  .page-header {
    height: 368px;
  }

  .custom-carousel {
    height: 368px;
  }

  .custom-carousel .carousel-inner .carousel-item img {
    height: 368px;
    object-fit: cover;
  }

  .custom-carousel .carousel-indicators {
    bottom: -25px;
  }

  .custom-carousel .carousel-indicators li {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center;
  }
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
  color: #28394e;
  background-color: #fff;
}

.accordion-button:focus{
  box-shadow: none;
}

.footer-box-w-100{
  width: 100%;
  float: left;
}

.footer-contact-a,
.footer-contact-p{
  float: left;
  width: 100%;
  margin-bottom: 10px;
  color: #fff;
}

.footer-contact-a:hover,
.footer-contact-p:hover{
  color: #fff;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    font-size: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
    color: #fff;
}