.header {
    background-image: url("https://d305p51unhq4uc.cloudfront.net/aphids-closeup.jpg");
    background-size: cover;
    background-position: 50% 50%;
}
.header-inner {
    display: flex;
    justify-items: center;
    max-width: 1320px;
    margin: 0 auto;
    flex-direction: column;
    padding: 3rem 2rem 6rem 2rem;
    width: auto;
}

.quick-links-container {
    padding: 3rem 0; /* Adjust padding as needed */
    border-bottom: 1px solid #ccc; /* Adjust color as needed */
}

.quick-links-list {
    list-style-type: none; /* Removes default list styling */
    padding: 0; /* Removes default padding */
    margin: 1rem 0; /* Adjust margin as needed */
    width: 320px; /* Sets a fixed width */
    max-width: 100%; /* Ensures responsiveness */
}

.quick-link-item {
    display: block; /* Makes the link fill the entire list item area */
    padding: 0.5rem 1rem; /* Adjust padding as needed */
    background-color: #f8f9fa; /* Sets a light background color for the item */
    border: 1px solid #ddd; /* Adds a border to each item */
    margin-bottom: 0.5rem; /* Adds space between items */
    text-decoration: none; /* Removes underline from links */
}

.quick-links-title {
    text-align: left; /* Centers the title */
    margin-bottom: 1rem; /* Adds space below the title */
}

.gallery {
    display: flex;
    flex-direction: column;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px; /* Space between images */
}

.image-container {
    flex: 1 0 calc(33.333% - 10px); /* Three images per row minus the gap */
    max-width: calc(
        33.333% - 10px
    ); /* Ensures the width does not exceed three in a row */
    display: flex;
    flex-direction: column;
    margin-bottom: 10px; /* Space between rows of images */
}

.image-container img {
    width: 100%; /* Image takes full width of the container */
    height: auto; /* Height is set to auto to maintain aspect ratio */
    object-fit: cover;
    max-width: 100%; /* Ensures image is not bigger than its container */
}

@media (max-width: 767px) {
    .image-container {
        flex: 0 0 calc(50% - 10px); /* 2 images per row on small screens */
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .image-container {
        flex: 0 0 100%; /* 1 image per row on very small screens */
        max-width: 100%;
    }
}

.container {
    max-width: 1320px;
    margin: auto;
}

.risk-item-block {
    background-color: #f8f9fa; /* Light grey background */
    border: 1px solid #ddd; /* Light grey border */
    border-radius: 0.25rem; /* Rounded corners */
}

.risk-item-title {
    color: #333; /* Color for the title */
    margin-bottom: 0.5rem; /* Space below the title */
}

.risk-item-description {
    color: #333; /* Darker text color for contrast */
    margin-bottom: 1rem; /* Space above the button */
}

.risk-item-button {
    border: 1px solid #0d6efd; /* No border for the button */
    padding: 0.375rem 0.75rem; /* Padding inside the button */
    border-radius: 0.25rem; /* Rounded corners for the button */
}

/* Ensure that columns are full width on small screens */
@media (max-width: 767px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.description-row {
    text-align: left;
}

@media (max-width: 992px) {
    .nav-item-custom {
        text-align: center;
    }
}
/* Wrapper styles for nearest trap location */
.nearest-trap-location-wrapper {
    margin-bottom: 1.5rem; /* Space below the section */
    
}

.form-label {
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.fa-map-location-dot, .fa-wheat-awn, .fa-seedling {
    margin-right: 0.25rem; /* Space between the icon and text */
}

.form-select, .form-control, .form-check-input {
    margin-bottom: 1rem; /* Consistent spacing */
}

.card {
    margin-top: 1rem; /* Space above the card */
    border: 1px solid #dee2e6; /* Light grey border */
    border-radius: 0.25rem; /* Slightly rounded corners */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Light shadow */
}

.card-header {
    background-color: #f8f9fa; /* Light grey background */
    text-align: center;
}

.card-body {
    padding: 1.5rem;
}

.risk-status {
    font-weight: bold;
}

.risk-high {
    color: #dc3545; /* Bootstrap 'danger' red */
}

.risk-medium {
    color: #ffc107; /* Bootstrap 'warning' yellow */
}

.insect-status {
    font-size: 1.25rem; /* Increase font size for emphasis */
    color: #28a745; /* Bootstrap 'success' green */
}

.graphsContainer {
    padding-top: 3rem;
}

.seed-treatment-container .form-check-input {
    width: 3em;
    height: 1.5em;
    margin-right: 0.5em;
    transform: scale(1.2);
    transform-origin: left;
}