/* Global Styles for Farmers Hub Global Resources Limited */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    top: 100%;
    left: 0;
}

.dropdown-content.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2d5a27;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: rgba(45, 90, 39, 0.05);
    color: #2d5a27;
    padding-left: 25px;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: #f28c28;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-toggle:hover .dropdown-content {
    display: block;
}

.dropdown-caret {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle:hover .dropdown-caret {
    transform: rotate(180deg);
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        width: 100%;
        max-width: 280px;
        margin-top: 10px;
    }
    
    .dropdown-content.show {
        display: block;
    }
    
    .dropdown-item {
        padding: 15px 20px;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
}

/* Category Icon Styles */
.category-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

header {
    background-color: #2d5a27; /* Green color */
    color: white;
    padding: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

footer {
    background-color: #2d5a27; /* Green color */
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Brand colors */
.brand-green {
    color: #2d5a27;
}

.brand-orange {
    color: #f28c28;
}

.bg-brand-green {
    background-color: #2d5a27;
}

.bg-brand-orange {
    background-color: #f28c28;
}

/* Form styling */
.form-group {
    margin-bottom: 20px;
}

.btn {
    background-color: #2d5a27;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: #1e3d1a;
}

.btn-orange {
    background-color: #f28c28;
}

.btn-orange:hover {
    background-color: #e67e22;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}