 /* 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-size: cover;
      background-repeat: no-repeat;
      color: #333;
    }

    
  /* Logo and title */
    #logo {
      display: block;
      margin: 10px auto;
      max-width: 200px;
      height: auto;
      padding: 10px;
    }
    h1.title {
      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(180px, 1fr));
      gap: 10px;
      padding: 5px 10px;
      max-width: 1200px;
      margin:auto;
    }

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

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

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

    .card p {
      font-size: 1rem;
      color: #ffffff;
      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: 4px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

  
    #route262{
      display: flex block;
      position: relative;
      margin-top: 110px;
      text-align: center;
      align-items: center;
      margin-left: 46%;
    }

    #route262 img{
      position: absolute;
      width: 80px;
      height: auto;
      bottom: 10px;
      align-items: center;
    }

    #text {
      position: relative;
      text-align: center;
      color: white;
      top: .15rem;
      font-size: 0.85rem;
    }

    #text a span {
      color: white;
      text-decoration: underline;
      margin-left: 20px;
    }

    #text a:hover {
      text-decoration: none;
      font-size: 0.9rem;
      transition: ease-in 0.3s;
      color:#a36f08;
    }
  
    address {
      text-align: left;
      font-size: 1rem;
    }

    /* Footer */
    footer {
      text-decoration:none;
      color: rgb(255, 255, 255);
      font-size:0.6rem;
      text-align: center;
      padding: 20px;
      margin-top: 20px;
    }

    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-out 0.3s;
    }

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

    #itemlink {
      text-align: center;
      max-width:80px;
      border-radius: 8px;
      font-size: .8rem;
      color:azure;
      margin:auto;
      background-color: rgb(51, 137, 249);
      border-color: rgb(42, 67, 97);
      border-style: solid; 
      border-width: 2px; 
    }

    #itemlink a {
      text-decoration: none;
      color:azure;  
    }

    #itemlink a:hover {
      color: #e9a92b;
      font-size: 0.85rem;
      text-decoration: none;
      transition: ease-in-out 0.3s;
    }

     .content {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        background-color: #a9b4bf;
        border-radius: 20px;
        filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.6));
        }

        .content ol {
        margin-left: 20px;
        }

        .content a {
        color:#303041}

        .content a:hover {
        color: rgb(152, 110, 2);}

        .content ul li, .content ol li {
             margin-left: 2rem;
             
        }

        h1, h2, h3 {
        text-align: left;
        }

        h1 {
        font-size: 2.25rem;
        color: rgb(25, 32, 108)
        }
        h2 {
        font-size: 1.5rem;
        color: rgb(71, 73, 89)  }
        h3 {
        text-align: center;
        font-size: 1rem;
        color: rgb(25, 32, 108)
    }

    .contain {
      display: flex;
      flex-direction: column;
      height: 280px;
      align-items: center;
      justify-content: start;
    }

    .contain > * {
      /* position: absolute; */
      min-width: 200px;
      margin-top: 10px;
    }

    .contain #route262 {
      margin: 0 auto;
      width: 150px;
      margin-top: 15px;  
    } 

   #dealer  {  
      margin: auto;
      width: 250px;
      color: white;
      justify-content: space-evenly;
      align-content: center;
    }

     img #route262 {
     height: auto;
  }

  div.text {
    text-align: center;
     max-width:80px;
      border-radius: 8px;
      font-size: .8rem;
      color:azure;
      margin:auto;
      background-color: rgb(51, 137, 249);
      border-color: rgb(42, 67, 97);
      border-style: solid; 
      border-width: 2px; 
    font-size: 0.8rem;
    text-decoration: none;
  }

  div.text a  {
      margin: auto;
      color: white;
      font-size: 0.8rem;
      text-decoration: none;
      transition: ease-in 0.3s;
    }

    div.text a:hover {
      font-size: .85rem;
      text-decoration: none;
      color: #e9a92b;
  }


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

      .poster img {
        width: 100%;
        height: auto;
        margin: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: 50px; 
      }
     
       .poster img {  
      height:100%;
      padding: 5px;
      }

      div#scholarship h2 a {
        display: inline-block;
        margin-top: -20px;
      }

      /* #route262 {
        margin-left: 53%;
      }  */

    }