body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('images/background.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    text-align: center;
}

/* Navbar */
.navbar {
    background: #2E7D32;
    color: white;
    padding: 15px;
    text-align: center;
}

/* Header */
.header {
    text-align: center;
    padding: 20px;
    color: white;
}

/* Grid (homepage only) */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 30px;
    max-width: 1000px;
    margin: auto;
}

/* Cards */
.card {
    cursor: pointer;
}

.btn {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-6px);
}

/* 🔥 REMOVE old .section usage (not needed anymore) */

/* Container for feature pages */
.container {
    background: rgba(0, 0, 0, 0.6);
    padding: 25px;
    border-radius: 12px;
    width: 320px;
    margin: 60px auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Inputs */
input {
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    width: 90%;
}

/* Buttons */
button {
    padding: 10px 15px;
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #1b5e20;
}

/* Back button */
.back-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #444;
}

.back-btn:hover {
    background: #222;
}

.result h4 {
    margin-top: 15px;
    color: #2e7d32;
}