@font-face {
  font-family: 'SairaSemiCondensed';
  src: url('font/SairaSemiCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DINbek Black';
  src: url('/font/DINbekBlack.ttf');
}

@font-face {
  font-family: 'SairaSemiCondensed ExtraBold';
  src: url('/font/SairaSemiCondensed-ExtraBold.ttf');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'SairaSemiCondensed', sans-serif !important;
  background: rgb(245, 245, 245) !important;
  padding-top: 80px;
  text-rendering: optimizeLegibility;
}


/* NAVBAR */

.navbar {
  background-color: #15022E;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 5px -2px;
  height: 10vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  padding: 0 2vw;
  overflow: hidden;
  transition: height 0.3s ease, padding 0.3s ease;
}

.navbar-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-nav .nav-item {
  color: #DDDDDD;
  display: block;
  height: 100%;
  position: relative;
}

.navbar-nav .nav-item a {
  color: #DDDDDD;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 33px;
  padding: 10px 0;
  display: block;
  height: 100%;
  text-align: center;
  line-height: 80px;
  font-weight: bold;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
  overflow: hidden;
}

.navbar-nav .nav-item a::before {
  font-family: 'SairaSemiCondensed', sans-serif;
  content: attr(data-icon);
  font-size: 24px;
  display: block;
  margin-bottom: 5px;
}

.navbar-toggler-container {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar-toggler {
  order: 1;
  margin-left: 2vh;
}

.navbar-nav .nav-item:hover {
  background-color: #33204C;
}

.navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar-nav .nav-link:hover::before {
  color: #fff;
}



.logo {
  height: auto;
  width: 10vw;
  max-width: 150px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  margin-right: -2vh;
  align-items: center;
}

.social-icons a {
  color: #fff;
  display: inline-flex;
  margin: 5px;
  font-size: 18px;
  border-radius: 50%;
  border: 2px solid #ddd;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 32px;
  height: 32px;
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
}

.social-icons a:hover {
  background-color: white;
}

.social-icons a i {
  color: var(--text);
  border: 2px solid var(--text);
  border-radius: 50%;
  cursor: pointer;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.social-icons a.facebook:hover i {
  color: #3b5998;
}

.social-icons a.youtube:hover i {
  color: #FF0000;
}

.social-icons a.instagram:hover i {
  color: #833AB4;
}

.social-icons a.linkedin:hover i {
  color: #0072b1;
}

.social-icons a.twitter:hover i {
  color: #1DA1F2;
}

.social-icons a.tiktok:hover i {
  color: #000000;
}

.switch {
  display: flex;
  visibility: visible !important;
  position: relative;
  width: 60px;
  height: 34px;
  margin-right: 0;
  cursor: pointer; 

}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  content: "TR";
  position: absolute;
  height: 26px;
  width: 26px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: #4CC9FE;
  color: white;
  transition: 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-family: 'SairaSemiCondensed', sans-serif;
  font-weight: bold;
}

input:checked+.slider:before {
  transform: translateX(26px);
  background-color: red;
  color: white;
  content: "EN";
}

/* MEDİA */
@media (max-width: 1000px) and (min-width: 400px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 20px;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 10px 0;
  }

  .social-icons {
    margin-top: 20px;
    justify-content: center;
    width: 100%;
  }
}

@media (min-width: 1470px) {
  .navbar {
    padding: 0 30px;
  }

  .navbar-nav .nav-item a {
    font-size: 16px;
    margin: 0 20px;
  }

  .logo {
    width: 18vw;
    max-width: 180px;
  }
}

@media (min-width: 768px) and (max-width: 1470px) {
  .navbar {
    padding: 0 20px;
  }

  .navbar-nav .nav-item a {
    font-size: 14px;
    margin: 0 15px;
  }

  .logo {
    width: 20vw;
    max-width: 150px;
  }

  .navbar .social-icons {
    display: none !important;
  }
}

@media (min-width: 600px) and (max-width: 768px) {
  .navbar-nav .nav-item a {
    font-size: 18px;
    margin: 0 33px;
  }

  .logo {
    width: 30vw;
    max-width: 160px;
  }

  .navbar .social-icons {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 10px 20px;
    height: auto;
  }

  .logo {
    width: 35vw;
    max-width: 160px;
    height: auto;
  }

  .navbar-nav .nav-item a {
    font-size: 18px;
    margin: 0 33px;
  }

  .navbar .social-icons {
    display: none !important;
  }
}

/* MOBİLE MENÜ */
.mobile-menu-items {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: rgba(21, 2, 46, 0.91);
  width: 70vw;
  max-width: 80vw;
  padding: 0;
  border-radius: 5px;
  text-align: center;
  top: 13vh;
  overflow-y: auto;
  max-height: 80vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out, transform 0.8s ease-out;
}

.mobile-menu-items.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(10%);
  pointer-events: all;
}

.mobile-menu-items.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
}

.mobile-menu-items ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-items li {
  margin: 0;
  position: relative;
}

.mobile-menu-items li.active {
  background-color: #33204C; 
}

.mobile-menu-items li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: #403250; 
}

.mobile-menu-items li:last-child::after {
  display: none;
}

.mobile-menu-items a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: font-size 0.3s ease;
}

.mobile-menu-items a.expanded {
  font-size: 20px;
}

.mobile-menu-items a:hover {
  background-color: #33204C !important;
  width: 100% !important;
  max-width: 70vw !important;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
}

@media (max-width: 991px) {
  .navbar-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

/* FOOTER */

footer {
  background-color: #15022E;
  padding: 20px 0;
}

footer .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

footer .col {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

footer img {
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  filter: grayscale(100%) brightness(80%);
  transition: filter 0.2s ease;
  padding: 3px;
  display: grid;
}

footer img:hover {
  filter: grayscale(0%) brightness(100%);
}

.faq-answer {
  font-size: 2vh;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}


h1,
h4,
h5 {
  font-weight: bold !important;
  margin-top: 1vh;
}


button {
  color: black;
}

.hamb {
  display: none;
  background: none;

}

@media (max-width: 991px) {
  .hamb {
    display: block;
    border: none;

  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hamb .ham {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.hamb .ham {
  height: 60px;
  width: 60px;
  cursor: pointer;
  transition-duration: .3s;
  border: none;
}

.hamb .ham .top {
  stroke-dasharray: 40 160;
}

.hamb .ham .middle {
  transform-origin: 50%;
  stroke-dasharray: 40 142;
}

.hamb .ham .bottom {
  transform-origin: 50%;
  stroke-dasharray: 40 85;
}

.hamb .line {
  fill: none;
  stroke: white;
  stroke-width: 5;
  transition-duration: .3s;
  stroke-linecap: round;
}

.hamb.active svg {
  --tw-rotate: 45deg;
  transform: rotate(var(--tw-rotate));
}

.hamb.active svg .top {
  stroke-dashoffset: -64px;
}

.hamb.active svg .middle {
  --tw-rotate: 90deg;
  transform: rotate(var(--tw-rotate));
}

.hamb.active svg .bottom {
  stroke-dashoffset: -64px;
}