 /* Reset basic spacing */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      line-height: 1.6;
      background-image: linear-gradient(rgb(96, 163, 227) 10%, rgb(2, 53, 97) 90%);
      /* background-color: #004080; */
      color: #333;
    }

    
  /* Logo and title */
    #logo {
      display: block;
      margin: 10px auto;
      max-width: 200px;
      height: auto;
      padding: 10px;
    }
    h1.title {
      color: rgb(27, 61, 109) important;
      text-align: center;
      font-size: 1.4rem;
      margin-top: -5px;
      margin-bottom:-50px;
    }
/* Banner Navigation */
    nav {
      background: #004080;
      padding: 15px;
    }

    nav ul {
      list-style: none;
      display: flex;
      justify-content: right;
      flex-wrap: wrap; /* allows wrapping on smaller screens */
      gap: 25px;
    }

    nav ul li a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s ease;
    }

    nav ul li a:hover {
      color: #ffcc00;
    }

    h2 a {
      color: #004080;
      text-decoration: none;
    }
    h2 a:hover {
      color: #a36f08;
    }
    /* Hero / header */
    header {
      text-align: center;
      margin: 10px;
      /* background-image: linear-gradient(rgb(194, 192, 192) 20%,rgb(137, 193, 245) 80%); */
      /* background-color: rgb(137, 193, 245); */
      border-radius: 5px;
    }

    header h1 {
      font-size: 1.25rem;
      margin-bottom: 10px;
      color: rgb(50, 131, 218);
    }

    header p {
      font-size: 1.2rem;
      
    }

    /* Main content area */
    .container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 10px;
      padding: 5px 10px;
      max-width: 1200px;
      margin:auto;
    }

    .card {
      /* background: #8ba9e0; */
      padding: 10px;
      border-radius: 12px;
      height: 145px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.25);
      text-align: center;
    }

    .card h2 {
      margin-bottom: 10px;
      font-size: 1.2rem;
      text-align:center;
      color: #ffffff;
    }

    .card h2 a {
      color: #ffffff;
      text-decoration: none;
    }

    .card p {
      font-size: 1rem;
      color: #ffffff;
      background-color: rgba(0, 0, 0, );
      z-index: 10;
    }

    .card a:hover {
      text-decoration: none;
      color:#efce28
    }

    .poster {
      display: flex;
      justify-content: center;
      text-align: center;
      /* border-radius: 12px; */
      width:auto;
      margin:10px auto;
      max-width: 90%;
    }

    .poster img {
      max-width: 100%;
      width: 60%;
      height: auto;
      display: block;
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    address {
      text-align: left;
      font-size: 1rem;
    }

    /* Footer */
    footer {
      text-decoration:none;
      background-color: rgb(2, 53, 97);
      /* background: rgb(137, 193, 245); */
      color: rgb(255, 255, 255);
      font-size:0.6rem;
      text-align: center;
      padding: 20px;
      margin-top: 50px;
    }

    footer a {
      color: rgb(255, 255, 255);
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: none;
      font-size: 0.65rem;
      /* color:rgb(27, 61, 109) */
      transition: ease-in 0.3s;
    }

    footer p.counter {
      text-align: center;
      /* margin-top: 10px; */
      font-size: 0.85rem;
      color: rgb(123, 137, 148);
      z-index:10;
    }

    /* Responsive text scaling */
    @media (max-width: 600px) {
      header h1 {
        font-size: 2rem;
      }
       img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block; /* Ensures the image is a block element */
      }

      .poster img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block; /* Ensures the image is a block element */
      }
      
      #logo {
        max-width: 150px;
        height: auto;
        padding-top: 5px
      }
      nav ul li a {
        font-size: 16px;
      }

      .header p {
        font-size: 1rem;
      }
      .card { 
        height: 120px; 
      }
     
      .poster img {  
      height:100%;
      padding: 5px;
      }
}