* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
  }
  .top-banner {
    background-color:#12573b;
    color: white;
    overflow: hidden;
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
  }
  .scrolling-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
    font-size: 1.2rem;
    font-weight: bold;
  }
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }

  /* MAIN SECTION */
  main {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  /* Qidiruv inputi */
  form {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
  }
  input[type="text"] {
    width: 100%;
    max-width: 900px;
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #12573b;
    border-radius: 8px 0 0 8px; /* Inputning chap tomoni uchun radius */
    outline: none;
    transition: all 0.3s ease;
  }
  input[type="text"]:focus {
    border-color: #0056b3;
    box-shadow: 0 0 8px #12573b;
  }    

  button[type="submit"] {
    background-color: #12573b;
    border: 2px solid #12573b;
    border-radius: 0 8px 8px 0; /* Tugma o'ng tomoni uchun radius */
    color: white;
    font-size: 16px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: -2px;
  }

  button[type="submit"]:hover {
    background-color: #0056b3;
  }

  h1 {
    margin: 30px 10px;
    padding: 0;
    max-width: 900px;
    color: #777;
    font-family: sans-serif, Verdana, Arial;
    font-size: 16px;
    font-weight: 100;
    text-align: center;
  }

  .centered {
    text-align: center;
  }
  img {
    max-width: 100%;
    height: auto;
  }

  .footer {
      background-color: #12573b;
      color: white;
      text-align: center;
      padding: 20px;
      margin-top: 30px;
  }
  .footer p {
      font-size: 18px;
      margin-bottom: 15px;
  }
  .store-buttons a {
      display: inline-block;
      margin: 0 10px;
  }
  .store-buttons img {
      height: 50px;
      transition: transform 0.3s ease;
  }
  .store-buttons img:hover {
      transform: scale(1.1);
  }

  .results {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
  }
  
  .result-card {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
  }
  
  .result-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .result-item {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 8px;
  }
  
  .result-item:last-child {
    margin-bottom: 0;
  }
  

  @media (max-width: 600px) {
      .scrolling-text {
          font-size: 1rem;
          animation-duration: 10s;
      }
      main {
          margin: 20px 10px;
          padding: 15px;
      }
      input[type="text"] {
          width: 90%;
      }
      .store-buttons img {
          height: 40px;
      }
  }