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;
}

  
  .pest-identification h1 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
  }
  .pest-identification p{
    text-align: center;
  }
  
  .upload-box {
    margin: 30px auto;
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  
  .button-group {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .button-group button {
    padding: 10px 20px;
    border: none;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 6px;
    background: #f0f0f0;
    transition: 0.3s;
  }
  
  .button-group .active {
    background: #28a745;
    color: #fff;
  }
  
  .drop-zone {
    background: #e9fcef;
    border: 2px dashed #b5e7c3;
    padding: 40px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 20px;
  }
  
  .drop-message img {
    width: 40px;
    margin-bottom: 10px;
  }
  
  .drop-message .browse {
    color: #28a745;
    font-weight: bold;
    cursor: pointer;
  }
  
  .identify-btn {
    background: #70d393;
    padding: 10px 25px;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .identify-btn:hover {
    background: #56c27e;
  }
  
  .note {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
  }
  .how-it-works {
    text-align: center;
    padding: 40px 20px;
    background: #fafdfa;
  }
  
  .how-it-works h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .step-card {
    background: #ffffff;
    border: 1px solid #e1f6e3;
    border-radius: 16px;
    max-width: 300px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
  }
  
  .step-card:hover {
    transform: translateY(-5px);
  }
  
  .step-number {
    width: 35px;
    height: 35px;
    margin: 0 auto 10px;
    background: #dfffea;
    color: #28a745;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .step-card h3 {
    font-size: 18px;
    margin: 10px 0;
  }
  
  .step-card img {
    width: 30px;
    margin: 10px 0;
  }
  
  .step-card p {
    font-size: 15px;
    color: #444;
  }
  .tips-section {
    background-color: #f1fcf5;
    padding: 40px;
    border-radius: 12px;
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
  }
  
  .tips-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
  }
  
  .tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
  }
  
  .tip {
    display: flex;
    align-items: start;
    gap: 12px;
    font-size: 18px;
    line-height: 1.6;
    background: rgba(0, 128, 0, 0.03);
    padding: 10px 15px;
    border-radius: 8px;
  }
  
  .check-icon {
    background-color: #c7f5d8;
    color: green;
    border-radius: 50%;
    padding: 6px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    width: 28px;
  }
  /* Add fade effect */
.fade-init {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}
/* Add this to your CSS */
.step-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.step-card.expanded .step-detail {
  max-height: 200px;
}
.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;
}  