.success {
    color: green;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.error {
    color: red;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.info {
    color: blue;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.warning {
    color: orange;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.step-links {
    display: flex;
    align-items: center;
}

.step-links a {
    margin: 0 5px;
    padding: 5px 10px;
    background: #007BFF; /* Primary color */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
    font-weight: bold;
}

.step-links a:hover {
    background: #0056b3; /* Darker shade for hover effect */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.step-links a:disabled {
    background: #ddd; /* Gray background for disabled links */
    color: #aaa; /* Light gray text for disabled links */
    cursor: not-allowed; /* Change cursor to indicate disabled state */
}

.current {
    margin: 0 10px;
    font-weight: bold;
    color: #333; /* Darker color for current page indicator */
    font-size: 1.1em; /* Slightly larger font size for emphasis */
}

.section_part{
    padding: 150px 0 50px 0;
}


:root{
  --speed: 35s;         /* sürət */
  --gap: 16px;          /* şəkillər arası məsafə */
  --radius: 14px;       /* künc radiusu */
  --height: clamp(90px, 22vw, 110px); /* adaptiv hündürlük */
}

.sliderss{
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  padding-block: 8px;
}

.track{
  display: flex;
  width: max-content;
  animation: scroll var(--speed) linear infinite;
}

@keyframes scroll{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

.lane{
  display: flex;
  gap: var(--gap);
}

.cardss{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  height: var(--height);
  aspect-ratio: 10/4;
  border-radius: var(--radius);
}

.cardss img{
  height: 100%;
  object-fit: cover;
  display: block;
}

/* hover ilə dayandırmaq */
.sliderss:hover .track { animation-play-state: paused; }

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .track{ animation: none; }
}
