* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    /* background: linear-gradient(180deg, #87ceeb, #f4f4f9);
    min-height: 100vh; */

    background: rgb(174,205,238);
background: linear-gradient(90deg, rgba(174,205,238,1) 0%, rgba(149, 233, 148, 0.493) 100%);
}

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


/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: rgba(129, 207, 131, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-left: -5rem;
}

.navbar .logo span {
  color: #1c6a3e
    /* color: hwb(39 0% 0%); */
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.navbar ul li a:hover {
    background-color: #45a049;

}

.navbar i {
    font-size: 27px;
    padding-right: 5px;
    color: white
}
.navbar button {
    background-color: #ffa500;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: background 0.3s
}
.navbar button a {
    text-decoration: none;
    color: white;
}

.login-btn:hover {
    background-color: #e69500;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    margin-top: 15%;
    margin-left: 10%;
    margin-bottom: 10%;
}

.hero img {
    margin-left: 30%;
    height: 300px;
    width: 900px;
    margin-top: -10%;
}

.hero .content .btn {
    max-width: 45%;

}

.hero h1 {
    font-size: 3rem;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin: 20px 0;
}

.hero .content span{
    color: #fbc239
}

.hero .content i{
    margin: 5px;
}

.hero .btn {
    display: inline-block;
    background-color: #ffa500;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    margin-right: 10px;
    transition: background 0.3s;
}

.btn {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 1rem;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #45a049;
}

.hero img {
    max-width: 55%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.hero .farmer-img img:hover {
    animation: float 3.5s ease-in-out infinite;
    transition: filter 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-bar {
        width: 200px;
    }
}

/* Features Section */
.features {
    background-color: #f4f4f9;
    padding: 50px 30px;
    border: 2px solid  #90c8df;
    margin-top: 10%;
}

.features h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

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

.features .feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.features .feature:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid  #90c8df;
}

.features .feature h3 {
    margin-bottom: 10px;
    color: #45a049;
}

.features .feature p {
    color: #555;
}

/* Weather */
.weather-section {
    padding: 90px 0;
    background: #f8f9fa;
  }

  .weather-section h2 {
    text-align: center;
    margin-bottom: 5rem;
    color: #2c5530;
    font-size: 2.5rem;
  }

  .weather-container {
    max-width: 700px;
    margin: 0 auto;
  }

  .weather-search {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
  }

  .weather-search input {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    width: 400px;
  }

  .weather-search button {
    padding: 1rem 2rem;
    font-size: 1rem;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .weather-search button:hover {
    background: #45a049;
  }

  .weather-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .weather-card h3 {
    margin-bottom: 1rem;
    color: #2c5530;
  }

  .weather-info {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
  }

  .weather-icon {
    font-size: 3rem;
    color: #ffa500;
    margin-right: 2rem;
  }

  .weather-details .temperature {
    font-size: 2rem;
    font-weight: bold;
    color: #2c5530;
  }

  .weather-details .description {
    font-size: 1.2rem;
    color: #666;
  }

  .weather-details .location {
    color: #888;
  }

  .weather-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
  }

/* Nurseries */
.nursery-section {
    padding: 90px 0;
  }

  .nursery-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5530;
    font-size: 2.5rem;
  }

  .map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    height: 500px;
  }

  #map {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nursery-list {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .nursery-list h3 {
    margin-bottom: 1rem;
    color: #2c5530;
  }

  .nursery-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
  }

  .nursery-item h4 {
    color: #4caf50;
    margin-bottom: 0.5rem;
  }

  .nursery-item p {
    margin-bottom: 0.25rem;
    color: #666;
  }

  .distance {
    color: #4caf50;
    font-weight: bold;
  }

/* Products */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e9f7df;
    margin: 0;
    padding: 0;
    color: #333;
}
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
  }

  .products-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5530;
    font-size: 2.5rem;
  }

  .product-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
  }

  .category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #4caf50;
    background: transparent;
    color: #4caf50;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
  }

  .category-btn.active,
  .category-btn:hover {
    background: #4caf50;
    color: white;
  }

  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }

  .product-card:hover {
    transform: translateY(-5px);
  }

  .product-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: flex;
    text-align: center;
    justify-content: center;
  }

  .product-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: #2c5530;
  }

  .product-card p {
    padding: 0 1rem;
    color: #666;
    margin-bottom: 1rem;
  }

  .price {
    padding: 0 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 1rem;
  }

  .buy-btn {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 1rem;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .buy-btn:hover {
    background: #45a049;
  }

/* Guides */
.guides-section {
    padding: 80px 0;
    background: #f8f9fa;
  }

  .guides-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5530;
    font-size: 2.5rem;
  }

  .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }

  .video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }

  .video-card:hover {
    transform: translateY(-5px);
  }

  .video-thumbnail {
    position: relative;
    overflow: hidden;
  }

  .video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(76, 175, 80, 0.9);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
  }

  .play-button:hover {
    background: rgba(76, 175, 80, 1);
    transform: translate(-50%, -50%) scale(1.1);
  }

  .video-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: #2c5530;
  }

  .video-card p {
    padding: 0 1rem;
    color: #666;
    margin-bottom: 1rem;
  }

  .duration {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin: 0 1rem 1rem;
  }

/* Testing */
.testing-section {
    padding: 80px 0;
  }

  .testing-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5530;
    font-size: 2.5rem;
  }

  .testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
  }

  .testing-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .testing-card h3 {
    margin-bottom: 1.5rem;
    color: #2c5530;
  }

  .upload-area {
    border: 2px dashed #4caf50;
    padding: 3rem;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
  }

  .upload-area:hover {
    background: #f0f8f0;
  }

  .upload-area i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 1rem;
  }

  .upload-area input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
  }

  .test-results {
    margin-top: 2rem;
  }

  .test-results h4 {
    margin-bottom: 1rem;
    color: #2c5530;
  }

  .result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }

  .result-value {
    font-weight: bold;
    color: #4caf50;
  }

  .recommendations {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f8f0;
    border-radius: 5px;
  }

  .recommendations h5 {
    margin-bottom: 0.5rem;
    color: #2c5530;
  }

  .recommendations ul {
    padding-left: 1rem;
  }

  .pesticide-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .pesticide-form select {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
  }

  .pesticide-form button {
    padding: 1rem;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .pesticide-form button:hover {
    background: #45a049;
  }

  .pesticide-results {
    margin-top: 2rem;
  }

  .pesticide-item {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
  }

  .pesticide-item h5 {
    color: #2c5530;
    margin-bottom: 0.5rem;
  }

  .safety-level {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
  }

  .safety-level.safe {
    background: #d4edda;
    color: #155724;
  }

  .safety-level.moderate {
    background: #fff3cd;
    color: #856404;
  }

  .usage-instructions {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
  }


/* Responsive Design */
@media (max-width: 768px) {
    .search-bar {
        width: 200px;
    }
}

/* Features Section */
.features {
    background-color: #f4f4f9;
    padding: 50px 30px;
    border: 2px solid  #90c8df;
    margin-top: 10%;
}

.features h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

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

.features .feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.features .feature:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid  #90c8df;
}

.features .feature h3 {
    margin-bottom: 10px;
    color: #45a049;
}

.features .feature p {
    color: #555;
}

.products {
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
}

.products .btn {
    margin-top: 1rem;
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.heading:hover {
    color: #45a049;
}

.products span{
    color: #45a049;
}

.heading h1 {
    margin-top: 2rem;
    color: #e69500;
    font-weight: 600;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,auto));
    gap: 1.5rem;
    margin-top: 2rem;
}

.products-container .box {
    padding: 20px;
    box-shadow: 1px 2px 11px 4px rgb(14 55 54/15%);
    border-radius: 0.5rem;
    position: relative;
}




.products-container .box img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
}

.products-container .box span {
    font-weight: 500;
    font-size: 14px;
}

.products-container .box h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: #e69500;
}

.products-container .box .price {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: #45a049;
}

.products-container .box .price span {
    color: var(--text-color);
}

.products-container .box .bx-heart {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 20px;
    color: rgba(0, 0, 0, 0.1)
}

.products-container .box .fa-solid {
    color: orange;
}

.products-container .box .fa-regular {
    color: red;
}

.products-container .box .discount {
    position: absolute;
    top: 1rem;
    left: 0;
    background: orange;
    color: black;
    padding: 4px 18px;
    clip-path: polygon(100% 0%, 75% 50%, 100% 100%, 0 99%, 0% 50%, 0 0);
}

/*About */
.about {
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(21rem, auto));
    align-items: center;
    gap: 1.5rem;

}

.about .btn {
    display: inline-block;
    background-color: #ffa500;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    margin-right: 10px;
    transition: background 0.3s;
}

.about-text span {
    font-weight: 600;
    text-transform: uppercase;
    color: #45a049;
}

.about-text p {
    margin: 0.5rem 0 1rem;
}
.about-text .btn {
    width: 20%;
}

.about .btn i{
    margin: 5px;
}

.btn {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 1rem;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #45a049;
}

.footer {
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
    text-align: center;
    padding: 10px 0;
}

.footer a {
    color: #90fa95;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}