    body {
      min-height: 100vh;
      color: white;
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(to bottom, #87ceeb, #ffffff);
      transition: background 0.5s ease;
    }

    #searchForm {
      position: relative;
    }
    
    #searchInput {
      border-radius: 30px;
      padding: 10px 50px 10px 20px; 
      background-color: transparent;
      box-shadow: none;
      outline: none;
      caret-color: #fff;
      color: #fff;
    }
    
    #searchInput::placeholder {
      color: #fff;
    }
    
    #searchButton {
      position: absolute;
      top: 50%;
      right: 10px;
      transform: translateY(-50%);
      border-radius: 30px;
      padding: 8px 10px;
      width: 80px;
      height: 38px;
      display: flex;
      justify-content: center;
      align-items: center;
}
    
    .main-card {
      background: rgba(0, 0, 0, 0.5);
      border-radius: 20px;
      padding: 2rem;
      margin-top: 30px;
      backdrop-filter: blur(10px);
    }

    #icon img{
      width: 100px;
    }

    .temperature {
      font-size: 4rem;
      font-weight: bold;
    }

    .small-text {
      font-size: 1rem;
      color: #ddd;
    }

    .details-card {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      padding: 1rem;
      margin-top: 30px;
    }

    .hourly-forecast {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      margin-top: 30px;
      padding: 1rem;
      overflow-x: auto;
      
    }

    .hour-card {
      min-width: 100px;
      text-align: center;
      margin-right: 10px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .hour-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }

    .hour-icon {
      font-size: 1.5rem;
      margin-bottom: 5px;
    }

    #forecast .holder {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    #forecast .holder:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }
    

    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-in.show {
      opacity: 1;
      transform: translateY(0);
    }
    
    footer {
      text-align: center;
      padding: 15px;
      font-size: 18px;
      color: #fff;
    }

    footer a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
    }

    /* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Spinner inside loader */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #007bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


.sunny {
  /* background: linear-gradient(to bottom, #ffe259, #ffa751); */
  background: url(../images/sunny.jpg) no-repeat center center;
  background-size: cover;
}

.rainy {
  /* background: linear-gradient(to bottom, #314755, #26a0da); */
  background: url(../images/rainy.jpg) no-repeat center center;
  background-size: cover;
}

.cloudy {
  /* background: linear-gradient(to bottom, #bdc3c7, #2c3e50); */
  background: url(../images/cloudy.jpg) no-repeat center center;
  background-size: cover;
}

.snowy {
  /* background: linear-gradient(to bottom, #e6dada, #274046); */
  background: url(../images/snowy.jpeg) no-repeat center center;
  background-size: cover;
}

.thunder {
  /* background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364); */
  background: url(../images/thunder.jpg) no-repeat center center;
  background-size: cover;
}