    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body, html {
      height: 100%;
      width: 100%;
      font-family: Arial, sans-serif;
      background-color: whitesmoke;
    }

    #splash {
      position: fixed;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background-color: whitesmoke;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 100;
    }

    .logo-container {
      width: 180px;
      height: 180px;
      background-color: white;
      padding: 20px;
      border-radius: 20px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .logo-container img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    #homepage {
      display: none;
      background: whitesmoke;
      color: #fff;
      min-height: 100vh;
    }

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      border-bottom: 1px solid #333;
      background: whitesmoke;
    }

    .hamburger {
      background: none;
      border: none;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .hamburger span {
      display: block;
      width: 25px;
      height: 3px;
      background: orangered;
    }

    .sidebar {
      position: fixed;
      top: 0;
      left: -260px;
      width: 250px;
      height: 100%;
      background-color: whitesmoke;
      padding-top: 60px;
      transition: left 0.3s ease;
      z-index: 3;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
      left: 0;
    }

    .sidebar a {
      display: flex;
      align-items: center;
      padding: 15px 20px;
      text-decoration: none;
      color: black;
      font-size: 16px;
      transition: background 0.2s;
    }

    .sidebar a:hover {
      background-color: #333;
      color: white;
    }

    .sidebar i {
      margin-right: 10px;
      width: 20px;
      text-align: center;
    }

    .btn-action {
      background: #e53935;
      border: none;
      padding: 8px 15px;
      border-radius: 20px;
      color: #fff;
      font-weight: bold;
      cursor: pointer;
    }

    main {
      padding: 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }

    .blog {
      background: #1e1e1e;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease;
    }

    .blog:hover {
      transform: translateY(-5px);
    }

    .blog img {
      width: 100%;
      height: 250px;
      object-fit: contain; /* ✅ Ensures image is fully visible */
      background-color: #fff;
      cursor: pointer;
    }

    .blog-content {
      padding: 15px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .blog h2 {
      font-size: 18px;
      margin: 8px 0;
      color: white;
    }

    .blog p {
      font-size: 14px;
      color: #ccc;
      cursor: pointer;
      flex-grow: 1;
    }

    .blog-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      margin-top: 10px;
      color: #aaa;
    }

    .btn-icon {
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 13px;
    }

    .btn-icon svg {
      width: 20px;
      height: 20px;
    }
