/* Reset default margins/padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Background Image and Base Styles */
  html, body {
    height: 100%;
    min-height: 100%;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keeps background steady while scrolling */
    color: #fff;
  }
  
  
  /* Overlay for readability */
  body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
  }
  
  /* Navbar */
  nav {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    backdrop-filter: blur(5px);
    color: #fff;
  }
  
  nav h1 {
    font-size: 24px;
    font-weight: bold;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
  }
  
  nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color:#7cc0cf;
  }
  
  /* Search Bar & Buttons */
  nav input[type="text"],
  #searchInput {
    padding: 8px;
    border-radius: 4px;
    border: none;
    outline: none;
    font-size: 14px;
  }
  
  nav button,
  #searchBtn,
  #resetBtn {
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
    background-color: #7cc0cf;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  nav button:hover,
  #searchBtn:hover,
  #resetBtn:hover {
    background-color: #b7dbd6;
  }
  
  /* Home Section */
  #home {
    padding: 50px 30px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
  }
  
  #home h2 {
    font-size: 36px;
    margin-bottom: 10px;
  }
  
  #home p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  #time {
    margin-bottom: 30px;
    font-weight: bold;
  }
  
  #results {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }
  
  .result-card {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    padding: 15px;
    color: #333; /* Makes text visible */
  }
  
  .result-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .result-card h3 {
    margin: 10px 0 5px;
    font-size: 18px;
  }
  
  .result-card p {
    font-size: 14px;
    color: #555; /* Slightly muted for readability */
    margin: 0;
  }
  
  /* Quote Banner */
.quote-banner {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 30px auto;
    max-width: 800px;
    border-left: 4px solid #7cc0cf;
    font-style: italic;
    color: #fff;
    backdrop-filter: blur(3px);
    text-align: center;
  }
  
  /* Featured Section */
  .featured-text-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    padding: 20px;
    max-width: 1000px;
  }
  
  .text-card {
    background: linear-gradient(to bottom right, #ffffff, #f1f9f9);
    border-left: 6px solid #7cc0cf;
    border-radius: 12px;
    padding: 25px 20px;
    width: 280px;
    color: #333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.3s ease;
  }
  
  .text-card h3 {
    font-size: 22px;
    color: #095f68;
    margin-bottom: 10px;
  }
  
  .text-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
  }
  
  .text-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }
  .cta {
    text-align: center;
    margin: 50px 0;
  }
  
  .cta button {
    background: linear-gradient(135deg, #7cc0cf, #4bbac3);
    color: white;
    font-size: 18px;
    padding: 14px 32px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .cta button:hover {
    background: linear-gradient(135deg, #4bbac3, #7cc0cf);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }
  