*{
    box-sizing: border-box;
}
body{
    margin: 0;
    font-family: sans-serif;
    
}
header{
    background-color: rgba(32, 34, 34, 1);
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    
}
header h1{
    margin: 0;
    font-size: 28px;
}
nav{
    display: flex;
    gap: 20px;
    align-items: center;
   
}
nav a{
    color: #fff;
    text-decoration: none;
}
nav a:hover{
    color: #e91e63;
}

.hero{
    background: url("images/banner.jpg") no-repeat center center / cover;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero h2 {
    font-size: 48px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.login-register a{
    color: #fff;
    text-decoration: none;
}
.login-register a:hover{
    color: #e91e63;
}
.login-register nav{
    display: flex;
    gap: 20px;
    align-items: center;
}
footer{
    display: flex;
    background-color: rgba(32, 34, 34, 1);
   
}
.footer-container{
    display: flex;
    justify-content: space-evenly;
    max-width: auto;
    margin: auto;
    padding: 0 20px;
    flex-wrap: wrap;
}
.footer-section{
    flex: 1;
    min-width: 250px;
    margin: 10px;
}
.footer-section h2{
    font-size: 24px;
    color: #ccc;
    margin-bottom: 10px;
}
.footer-section h3{
    color: #ccc;
    margin-bottom: 10px;
}
.footer-section p{
    line-height: 1.6;
    font-size: 14px;
    color: #fff;
}
.section{
    background: linear-gradient(135deg, #47d06a, #2d8943);
    color: white;
    text-align: center;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
}
    .section h2{
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
}
    .section p{
    font-size: 16px;
    margin-bottom: 40px;
}
    .section-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
    .section-item{
    text-align: center;
}
    .icon{
    width: 100px;
    height: 100px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    transition: 0.3s;
    font-size: 40px;
}
    .icon:hover{
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}
    .section-item p{
    font-size: 15px;
    color: #fff;
}
.farm-access-container h3{
    color: #2d572c;
    font-weight: 500;
    margin-bottom: 10px;
}
.farm-access-container p{
    color: #4b6043;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.farmer-access-form input[type="password"] {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #b7d3b7;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .farmer-access-form input[type="password"]:focus {
    border-color: #2d572c;
    box-shadow: 0 0 5px rgba(45, 87, 44, 0.3);
  }
  
  .farmer-access-form button {
    background-color: #2d572c;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .farmer-access-form button:hover {
    background-color: #3e7342;
  }
  @media (max-width: 768px) {
    header {
      position: static;
      width: 100%;
      text-align: center;
    }
    
  }
  