/* Do not change global <body> height — that caused a large empty area under the footer.
   Keep font-family scoped to the sliding section. */
.sliding-section,
.sliding-section * {
  font-family: "Segoe UI";
}

  .sliding-section {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    background-color: #0B1228;
    padding: 40px 20px;
    text-align: center;
    /* max-width: 1600px; */
    margin: 0 auto;
    min-height: 300px;
    box-sizing: border-box;
    will-change: opacity, transform;
  }
  
  .sliding-section.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .content {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .images {
    position: relative;
    width: 100px;
    height: 150px;
    margin-left: 10px;
  }
  
  .images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease-in;
    opacity: 0;
    right: 17px;
  }
  
  #image2 {
    z-index: 2;
    opacity: 1;
  }
  
  #image1 {
    z-index: 1;
    opacity: 0;
  }
  
  .sliding-section.show #image2 {
    opacity: 0;
  }
  
  .sliding-section.show #image1 {
    opacity: 1;
  }
  
  
  @media (max-width: 800px) {
   
    .sliding-section {
      padding: 30px 10px;
    }
    .images {
      width: 80px;
      height: 120px;
    }
  }
  
  @media (max-width: 600px) {
    .images {
      width: 70px;
      height: 100px;
    }
    .button {
      font-size: 14px;
      padding: 8px 15px;
      margin-right: 10px;
    }
    .sliding-section {
      opacity: 0; 
      transform: translateY(100px); 
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
  }
  
  .button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #2a80ba;
    color: white;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
    border-radius: 20px;
    margin-right: 17px;
  }
  
  .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #3283da;
    transition: left 0.4s ease;
    z-index: 0;
  }
  
  .button:hover::before {
    left: 0;
  }
  
  .button:hover {
    color: black;
  }
  
  .button span {
    position: relative;
    z-index: 1;
  }
  @media (max-width: 600px) {
    .sliding-section {
      transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
  }