/* custom button styling */
.btn-primary {
    background-color: #34D399;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #059669;
}

/* Styling for Go Up and Go Down buttons */
.scroll-btn {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background-color: #34D399;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-btn.down {
    bottom: 110px;
}

.scroll-btn:hover {
    background-color: #059669;
}

/* Ensure the mobile menu is hidden by default */
#mobile-menu.hidden {
    display: none;
}


/* Footer styling */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #f8f8f8;
    text-align: center;
}

footer .col {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.follow {
    text-align: center;
}

.follow .icon {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.follow .icon a {
    display: inline-block;
}

/* Additional Styles Land */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
}

.land-listing-card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

.land-listing-card img {
    width: 100%;
    border-radius: 8px;
    height: 200px;
    object-fit: cover;
}

.land-listing-card h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-top: 15px;
}

.land-listing-card p {
    color: #4a5568;
    font-size: 1rem;

}


/* Pest Control Section Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#pest-control {
    background-color: #f8fafc;
    padding: 40px 0;
}

#pest-control .title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 20px;
}

#pest-control .content {
    text-align: center;
    color: #4a5568;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 300px;
    padding: 20px;
    text-align: center;
}

.feature-card img {
    width: 80px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.feature-card p {
    color: #4a5568;
    font-size: 1rem;
}

.btn-primary {
    background-color: #34D399;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #059669;
}

  /* Custom styles for plant disease*/
  .card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px 0;
}
#upload-preview {
    max-width: 100%;
    height: auto;
}
.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Custom CSS for fixing the logo and hero section */
.logo {
    height: 80px;
    width: 80px;
}

.nav-logo-container {
    display: flex;
    align-items: center;
}

.hero-section {
    position: relative;
    min-height: 500px;
    background-image: url('images/farmland.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 10; /* Ensures text is above the background */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Optional: Adds overlay to improve text visibility */
}

.hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5; /* Ensures image is behind the text */
}
