*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
    background-color: #2A3A2B;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    transition: background-image 2s ease-in-out; 
}
h1, h2, h3 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 40px;
}
.developer {
                
            color:#ddd;
            margin: 5px 0;
        }
.logo img {
    height: 80px;
    width: auto;
    background: #ffffff;
    padding: 5px 10px;
    border-radius: 6px;
    object-fit: contain;
}

.links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 6px;
    margin: 0;
    padding: 5px 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 50px;
}
.links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 50px;
    transition: all 0.25s ease;
}
.links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFD54F;
}
.category-selection-container {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.category-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.card-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

.category-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.category-card p {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.action-btn {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    background: rgba(0, 0, 0, 0.4);
}

.crop-card:hover { border-color: #4caf50; }
.crop-card:hover .action-btn { color: #81c784; }
.livestock-card:hover { border-color: #ffb74d; }
.livestock-card:hover .action-btn { color: #ffb74d; }
.mini-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
}

.mini-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .category-selection-container {
        flex-direction: column;
        margin: 20px auto;
        padding: 0 15px;
    }

    .category-card {
        width: 100%;
        padding: 30px 20px; 
    }

    .mini-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 20px;
    }

}
 .lang-switch { margin-left: 20px; }
        .lang-switch a { text-decoration: none; padding: 5px; font-weight: bold; }
        .active-lang { border-bottom: 2px solid white; }