body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f8fbf7;
    color: #222;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2e7d32;
  }
  
  nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #444;
  }
  
  .auth-buttons button {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    background-color: #38913d;
    border-radius: 5px;
    cursor: pointer;
    color: white;
  }
  
  .signup {
    background-color: #38913d;
    color: white;
  }
  .signup :hover {
    background-color: #0d7035;
  }
  

.container {
    background-color: #fff;
    padding: 30px;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 900px;
    justify-content: center;
    margin-left: 20%;
}

header {
    text-align: center;
    margin-bottom: 25px;
}

header h1 {
    color: #333;
    margin-bottom: 5px;
}

header p {
    color: #666;
    font-size: 0.9em;
}

.input-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.input-fields > div {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

select {
    appearance: none; /* Remove default arrow */
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg fill="%23666" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.note {
    font-size: 0.8em;
    color: #777;
    margin-top: 5px;
}

.soil-ph {
    grid-column: 1 / -1; /* Span across all columns */
}

.ph-slider-container {
    display: flex;
    align-items: center;
}

input[type="range"] {
    flex-grow: 1;
    margin-right: 10px;
}

#ph-value {
    width: 60px;
    text-align: right;
    color: #555;
}

.ph-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #777;
    margin-top: 5px;
}

.recommendation-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    transition: background-color 0.3s ease;
}

.recommendation-button:hover {
    background-color: #45a049;
}

@media (max-width: 600px) {
    .input-fields {
        grid-template-columns: 1fr;
    }
}
.smart-farming-tips {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1000px;
    text-align: center;
    margin-left: 17.3%;
    margin-top: 28px;
}

.smart-farming-tips h2 {
    color: #333;
    margin-bottom: 20px;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tip-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.icon {
    font-size: 2.5em;
    color: #4CAF50; /* Example green color */
    margin-bottom: 10px;
}

.tip-card h3 {
    color: #555;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.tip-card p {
    color: #777;
    font-size: 0.9em;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .tips-container {
        grid-template-columns: 1fr;
    }
}
.footer {
    background: #146837;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 20px;
  }
  
  .footer-col {
    max-width: 300px;
  }
  
  .footer-col h3 {
    margin-bottom: 15px;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-col ul li {
    margin: 8px 0;
  }
  
  .footer input[type="email"] {
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 6px;
    width: 100%;
  }
  .footer {
    background-color: #0d7035;
    color: white;
    padding: 50px 20px 20px;
    font-family: Arial, sans-serif;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-section h3,
  .footer-section h4 {
    font-weight: bold;
    margin-bottom: 15px;
  }
  
  .footer-section p {
    font-size: 0.95em;
    line-height: 1.6;
  }
  
  .social-icons a {
    margin-right: 10px;
    color: white;
    font-size: 1.2em;
    text-decoration: none;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  
  .footer-section ul li a {
    color: white;
    text-decoration: none;
  }
  
  .footer-section ul li a:hover {
    text-decoration: underline;
  }
  
  .footer-section form input,
  .footer-section form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
  }
  
  .footer-section form textarea {
    height: 80px;
  }
  
  .footer-section form button {
    background-color: #1ab64f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .footer-section form button:hover {
    background-color: #149d41;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    border-top: 1px solid #15733c;
    padding-top: 20px;
  }
    