 html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #333333;
    }

    /* ======= BASE GRID (≥1300px) ======= */
    #container {
      display: grid;
      grid-template-areas:
        "header header header"
        "content1 content2 content3"
        "content4 content5 content5"
        "footer footer footer";
      grid-auto-rows: minmax(250px, auto);
      gap: 16px;
      padding: 10px;
      box-sizing: border-box;
    }

    /* ======= HEADER ======= */
    .header {
      grid-area: header;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgb(122, 0, 0);
      padding: 15px;
      border-radius: 8px;
      flex-wrap: wrap;
      gap: 10px;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .header-left img {
      width: 50px;
      height: 50px;
      object-fit: contain;
    }

    .header h1 {
      margin: 0;
      font-size: 2rem;
    }

    #hamburger {
      display: none;
      width: 36px;
      height: 36px;
      cursor: pointer;
      filter: drop-shadow(0 0 2px #000000);
    }

    /* ======= NAVIGATION ======= */
    .nav {
      display: flex;
      gap: 12px;
      background: rgb(0, 0, 0);
      padding: 8px 14px;
      border-radius: 10px;
    }

    .nav a {
      text-decoration: none;
      color: rgb(243, 0, 0);
      font-weight: bold;
      font-size: 1rem;
      padding: 6px 10px;
      border-radius: 5px;
      transition: background 0.3s;
    }

    .nav a:hover {
      background: rgb(0, 197, 33);
    }

    p{color: #fafafa;}

    h2{color: #ac0000;}

    [class^="content"] {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      text-align: center;
      overflow: hidden;
      border-radius: 10px;
      padding: 20px;
      box-sizing: border-box;
      gap: 20px;
    }

    [class^="content"] img {
      width: 40%;
      max-width: 300px;
      max-height: 25vh;
      object-fit: contain;
      border-radius: 8px;
    }

    [class^="content"] .text {
      width: 50%;
      text-align: left;
    }

    [class^="content"] h2 {
      margin: 10px 0;
      font-size: 1.5rem;
    }

    [class^="content"] p {
      font-size: 1rem;
      line-height: 1.4;
    }

    .content1 { grid-area: content1; background: rgb(0, 0, 0); }
    .content2 { grid-area: content2; background: rgb(0, 0, 0); }
    .content3 { grid-area: content3; background: rgb(0, 0, 0); }
    .content4 { grid-area: content4; background: rgb(0, 0, 0); }
    .content5 { grid-area: content5; background: rgb(0, 0, 0); }

    .footer {
      grid-area: footer;
      background: rgb(0, 0, 0);
      text-align: center;
      padding: 10px;
      border-radius: 8px;
      font-size: 1rem;
    }

    /* ======= MEDIUM SCREENS ≤1299px ======= */
    @media (max-width: 1299px) {
      #container {
        grid-template-areas:
          "header header"
          "content1 content2"
          "content3 content4"
          "content5 content5"
          "footer footer";
      }

      .header h1 {
        font-size: 1.75rem;
      }

      .nav a {
        font-size: 0.95rem;
      }

      [class^="content"] {
        flex-direction: row;
      }

      [class^="content"] img {
        width: 45%;
        max-height: 27vh;
      }

      [class^="content"] h2 {
        font-size: 1.3rem;
      }

      [class^="content"] p {
        font-size: 0.95rem;
      }
    }

    /* ======= SMALL SCREENS ≤599px ======= */
    @media (max-width: 599px) {
      #container {
        grid-template-areas:
          "header"
          "content1"
          "content2"
          "content3"
          "content4"
          "content5"
          "footer";
      }

      .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }

      .header h1 {
        font-size: 1.3rem;
      }

      .nav {
        display: none;
        flex-direction: column;
        background: lightyellow;
        margin-top: 10px;
        padding: 10px;
        border-radius: 8px;
      }

      .nav.show {
        display: flex;
      }

      .nav a {
        font-size: 1rem;
        padding: 8px 0;
      }

      [class^="content"] {
        flex-direction: column;
        text-align: center;
      }

      [class^="content"] .text {
        width: 90%;
        text-align: center;
      }

      [class^="content"] img {
        width: 80%;
        max-height: 30vh;
      }

      [class^="content"] h2 {
        font-size: 1.1rem;
      }

      [class^="content"] p {
        font-size: 0.9rem;
      }

      #hamburger {
        display: block;
      }
    }



    

