body { margin-bottom: 0 !important; }
/* Mobil menyu üçün hamburger düyməsinə klik zamanı animasiya */
.navbar-toggler.collapsed .navbar-toggler-icon {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

html, body {
  height: 100%;
}
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.admin-content, .content {
  flex: 1;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
  transform: rotate(90deg);
}

/* Açıldıqda menyuya arxa fon effekti */
@media (max-width: 991.98px) {
  .navbar-collapse.show {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
  }
}
/* Hero slider arrow fix */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

#heroCarousel .carousel-control-prev {
  left: 15px;
}

#heroCarousel .carousel-control-next {
  right: 15px;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.carousel-item {
  height: 65vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.carousel-item {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  z-index: 0;
}
.hero-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#000 0.8px, transparent 0.8px);
  background-size: 3px 3px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 2;
}


    .top-header {
      background-color: #f8f9fa;
      padding: 6px 0;
      font-size: 0.9rem;
    }

    .top-header .contact-info i,
    .top-header .social-icons a {
      margin-right: 10px;
      color: #0d6efd;
      transition: 0.3s;
    }

    .top-header .social-icons a:hover {
      color: #6610f2;
    }

    .navbar-custom {
      background-color: #0d6efd;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      transition: all 0.4s ease;
    }

    .navbar-brand {
      font-weight: bold;
      font-size: 1.6rem;
      color: #fff !important;
    }

    .nav-link {
      color: #fff !important;
      display: flex;
      align-items: center;
      gap: 6px;
      transition: all 0.3s ease;
    }

    .nav-link:hover {
      color: #ffd700 !important;
      transform: translateY(-2px);
    }

    .btn-login {
      background-color: #fff;
      color: #0d6efd;
      border: none;
      padding: 6px 14px;
      font-weight: 500;
      margin-left: 10px;
      border-radius: 20px;
      transition: all 0.3s ease;
      margin-top: 6px;
    }

    .btn-login:hover {
      background-color: #ffd700;
      color: #000;
    }

    .navbar-toggler {
      border-color: #fff;
    }

    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }


    .hero-slider .carousel-item {
      height: 65vh;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transform: scale(1.2) rotate(2deg);
      animation: zoomRotateFade 1.4s ease-in-out forwards;
      position: relative;
    }

    .carousel-item.active {
      z-index: 1;
    }

    .carousel-caption {
      padding: 20px;
      border-radius: 10px;
      animation: fadeInUp 1s ease-in-out;
    }

    .carousel-caption h2 {
      font-size: 2rem;
      font-weight: bold;
    }

    .carousel-caption p {
      font-size: 1rem;
      margin: 10px 0;
    }

    .carousel-caption .btn {
      background-color: #ffd700;
      color: #000;
      border: none;
    }

    @keyframes zoomRotateFade {
      0% {
        opacity: 0;
        transform: scale(1.2) rotate(2deg);
      }
      100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
      }
    }

    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(20px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .fade-background {
    animation: fadeDots 6s ease-in-out forwards;
  }

  /*
  @keyframes fadeDots {
    0% { opacity: 1; }
    100% { opacity: 1; }
  }
    100% { opacity: 0.3; }
  }
      100% { opacity: 0; }
    }
    */  
  
  .fade-background {
    animation: fadeDots 3s ease-in-out forwards;
  }

  

    .partner-logo:hover {
      filter: grayscale(0%);
      transform: scale(1.1);
    }
    .partner-logo {
      filter: grayscale(100%);
      transition: all 0.3s ease-in-out;
    }

    .partner-logo:hover {
      filter: grayscale(0%);
      transform: scale(1.1);
    }
    .carousel-control-prev, .carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

    .carousel-control-prev:hover, .carousel-control-next:hover {
      background-color: rgba(0, 0, 0, 0.6);
    }
    .carousel-control-prev, .carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  position: absolute;
  top: 15%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-control-prev {
  left: 0px;
}

.carousel-control-next {
  right: 0px;
}

    .carousel-control-prev:hover, .carousel-control-next:hover {
      background-color: rgba(0, 0, 0, 0.7);
    }
  #partnerCarousel .carousel-control-prev,
#partnerCarousel .carousel-control-next {
  right: 10px;
}

  #partnerCarousel .carousel-control-prev {
  left: 10px;
}

  #partnerCarousel .carousel-control-next {
    right: 10px;
  }



@media (max-width: 991.98px) {
  .mobile-animated {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .navbar-collapse.show.mobile-animated {
    max-height: 500px;
  }

  .navbar-nav {
    animation: slideFadeIn 0.5s ease forwards;
  }

  @keyframes slideFadeIn {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}


/* Form sahələrinin dizaynı */
form input.form-control,
form textarea.form-control {
  border: 1px solid #ced4da;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  box-shadow: none;
  transition: all 0.3s ease;
}

form input.form-control:focus,
form textarea.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

form label.form-label {
  font-weight: 500;
  color: #333;
}

form button[type="submit"] {
  font-weight: 600;
  font-size: 1rem;
  border-radius: 25px;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: #0b5ed7;
  color: #fff;
}

.btn-logout {
  background-color: #fff;
  color: #0d6efd;
  border: none;
  padding: 6px 14px;
  font-weight: 500;
  margin-left: 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
  margin-top: 6px;
}
.btn-logout:hover {
  background-color: #ffd700;
  color: #000;
}
