/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    background-color: #004d40;
    overflow: hidden;
    padding: 10px 0;
    border: 4px solid #2ecc71;
    border-radius: 10px;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin-right: 30px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 15px 20px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar ul li a:hover {
    background-color:  #2ecc71;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('crop.jpg');
    background-size: cover;
    background-position: center center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 80%;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2em;
    margin: 20px 0;
}

.cta-button {
    background-color: #27ae60;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    z-index: 2;
}

.cta-button:hover {
    background-color: #2ecc71;
}

/* Features Section */
.features {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
    border-radius: 10px;
}

.features h2 {
    margin-bottom: 30px;
    color: #333;
}

.features-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #004d40;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature-card h3 {
    color: #004d40;
    margin-top: 15px;
}

.feature-card p {
    color: #555;
}

/* Crop Budget Calculator and Production Costs Section */
.crop-budget {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
    border-radius: 10px;
}

.crop-budget h2 {
    margin-bottom: 30px;
    color: #333;
}

.crop-budget-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.crop-budget-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #004d40;
}

.crop-budget-card:hover {
    transform: translateY(-10px);
}

.crop-budget-card h3 {
    color: #004d40;
    margin-top: 15px;
}

.crop-budget-card p {
    color: #555;
}

.crop-budget-card form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.crop-budget-card form label {
    font-weight: bold;
}

.crop-budget-card form input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.crop-budget-card form button {
    padding: 10px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.crop-budget-card form button:hover {
    background-color: #2ecc71;
}

#budget-result {
    margin-top: 20px;
    text-align: left;
    color: #333;
}

#budget-result h4 {
    margin-bottom: 10px;
}

#budget-result p {
    margin: 5px 0;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f9f9f9, #f1f1f1);
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
}

.testimonials h2 {
    margin-bottom: 30px;
    color: #333;
}

.testimonial-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.testimonial p {
    color: #555;
}

.testimonial h4 {
    margin-top: 10px;
    color: #004d40;
}

/* Footer */
.footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 20px 0;
    border-top: 4px solid #2ecc71;
    border-radius: 10px;
}
