/* Soft animated background */
    body {
      background: linear-gradient(135deg, #e6e6fa, #d8f8d8);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .main_body {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2rem;
    }

    .body_matric {
      background-color: white;
      padding: 2rem;
      border-radius: 1.5rem;
      width: 100%;
      max-width: 420px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
      animation: fadeIn 0.8s ease-in-out;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Input and button hover transitions */
    input[type="file"] {
      transition: all 0.3s ease;
    }
    input[type="file"]:hover {
      border-color: #16a34a;
      background-color: #f1fff1;
    }

    button {
      transition: all 0.3s ease;
    }
    button:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
    }

    /* Make sure logo/footer stay nicely aligned */
    header, footer {
      text-align: center;
      width: 100%;
    }

    /* Responsive adjustments */
    @media (max-width: 640px) {
      .body_matric {
        padding: 1.5rem;
        margin: 0 1rem;
      }
      h2 {
        font-size: 1.5rem;
      }
    }
