body {
    font-family: Arial, sans-serif;
    padding: 20px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.product-card img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Homepage Styles */
body.homepage {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, rgba(157, 238, 120, 0.5),  rgba(42, 120, 5, 0.5)),
       url('') no-repeat center center/cover;
}


/* Hero Section */
.hero {
    background: url('../images/organic-bg.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero .overlay {
    background-color: rgba(6, 5, 5, 0.5);
    padding: 40px;
    border-radius: 20px;
}

.hero-title {
    font-size: 3rem; font-family: 'Times New Roman', Times, serif;
    margin: 0;
    animation: fadeInDown 1s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 10px 0 20px;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-50px);}
    100% { opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* Buttons */
.shop-btn, .btn {
    background-color:  #388E3C;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    transition: 0.3s ease;
}

.shop-btn:hover, .btn:hover {
    background-color: #388E3C;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px auto;
    max-width: 900px;
    text-align: center;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 250px;
    transition: transform 0.3s ease;
}

.feature-card img {
    width: 170px; height: 150px;
    margin-bottom: 15px;
}

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

/* Featured Products Section */
.featured-products {
    text-align: center;
    margin: 50px auto;
}

.featured-products h1 span {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to right,rgb(20, 144, 32),rgb(13, 57, 3));
  padding: 15px 40px;
  transform: skew(-20deg);
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.product-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-card {
    background: white;
    padding: 15px;
    border-radius: 15px;
    width: 200px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card img {
    max-width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

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

/* Testimonials */
.testimonials {
    background-color: #e8f5e9;
    padding: 40px 20px;
    text-align: center;
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
 .testimonials h1 span {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to right,rgb(20, 144, 32),rgb(13, 57, 3));
  padding: 15px 40px;
  transform: skew(-20deg);
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.testimonial {
    background: white;
    padding: 20px;
    border-radius: 15px;
    width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Newsletter */
.newsletter {
    text-align: center;
    margin: 50px 0;
}.newsletter span {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to right,rgb(20, 144, 32),rgb(13, 57, 3));
  padding: 15px 40px;
  transform: skew(-20deg);
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.newsletter input[type="email"] {
    padding: 10px;
    width: 250px;
    border-radius: 30px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.newsletter button {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

.newsletter button:hover {
    background-color: #388E3C;
}

/* About Section */
.about {
    text-align: center;
    margin: 50px auto;
    max-width: 700px;
} .about h1 span {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to right,rgb(20, 144, 32),rgb(13, 57, 3));
  padding: 15px 40px;
  transform: skew(-20deg);
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
/* About Us Section */
.about {
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.about h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.about h1 span {
    color: #f7f7f7;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1 1 45%;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.about-text ul {
    padding-left: 20px;
    margin-top: 10px;
}

.about-text ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #444;
}

.about-media {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.about-img {
    width: calc(33% - 10px);
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-video {
    width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    .about-text, .about-media {
        flex: 1 1 100%;
    }
    .about-img {
        width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .about-img {
        width: 100%;
    }
}

/* Special Offer */
.special-offer {
    background-color: #c8e6c9;
    text-align: center;
    padding: 30px 20px;
    margin: 50px auto;
    border-radius: 15px;
    animation: pulse 2s infinite;
}.special-offer h1 span {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to right,rgb(20, 144, 32),rgb(13, 57, 3));
  padding: 15px 40px;
  transform: skew(-20deg);
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #e8f5e9;
    font-size: 0.9rem;
}
/* Products Page */
.products-page {
    background: linear-gradient(to right, rgba(161, 232, 193, 0.5), #99ea741a),
       url('user-hero-bg.jpg') no-repeat center center/cover;
    font-family: Arial, sans-serif;
    margin: 0;
}

/* Hero Section */
.products-hero {
    background: url('../images/products-bg.jpg') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.products-hero .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 20px;
}

.products-hero h1 {
    font-size: 2.5rem; font-family: 'Times New Roman', Times, serif;
    animation: fadeInDown 1s ease-out forwards;
}

.products-hero p {
    font-size: 1.2rem;
    animation: fadeInUp 1.5s ease-out forwards;
    opacity: 0;
}

/* Keyframes reused from homepage */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-50px);}
    100% { opacity: 1; transform: translateY(0);}
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* Product Listing */
.product-listing {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

/* Badges */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 12px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: badgePulse 1.5s infinite;
}

.badge.new { background-color: #4CAF50; }
.badge.sale { background-color: #FF5722; }

@keyframes badgePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Product Image and Overlay */
.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.product-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-image:hover img {
    filter: brightness(70%);
    transform: scale(1.05);
}

.product-image .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    text-align: center;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.product-image .overlay p,
.product-image .overlay .btn {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-image:hover .overlay {
    height: 100%;
}

.product-image:hover .overlay p,
.product-image:hover .overlay .btn {
    opacity: 1;
}

/* Headings and Price */
.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.product-card p:nth-child(3) {
    font-weight: bold;
    color: #4CAF50;
}

/* Buttons */
.product-card .btn {
    display: inline-block;
    background-color: #0d7d11;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.product-card .btn:hover {
    background-color: #388E3C;
}

/* Hover Lift */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #e8f5e9;
    font-size: 0.9rem;
    margin-top: 50px;
}
/* Category Section */
.category-section {
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.category-section h2 {
    font-size: 1.8rem;font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 20px;
    color: #054507;
    text-transform: uppercase;
}

/* Product Grid inside Category */
.category-section .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* View More Button */
.category-section .view-more {
    text-align: center;
    margin-top: 20px;
}

.category-section .view-more .btn {
    background-color: #f50400; /* Orange for view more */
    padding: 10px 25px;
    font-size: 1rem;
}

.category-section .view-more .btn:hover {
    background-color: #f50400;
}

/* Reuse previous product card CSS for hover, overlay, badges */
