/* Base Styles */
:root {
    --primary-color: #4a8f52;
    --secondary-color: #f0c869;
    --dark-color: #333333;
    --light-color: #f9f9f9;
    --text-color: #555555;
    --accent-color: #e27d60;
    --font-main: 'Raleway', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.8rem auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.secondary-btn:hover {
    background-color: var(--dark-color);
    color: white;
    border: 2px solid var(--dark-color) white;

}

/* Navigation */
header {
    /* position: fixed; */
    width: 100%;
    /* z-index: 1000; */
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo img {
    max-width: 100%;  
    height: auto;    
    width: 120px;    
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .logo img {
        width: 120px; 
    }
}

@media screen and (max-width: 480px) {
    .logo img {
        width: 100px; 
    }
}





.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-image: url("/images/waste\ bin.jpg"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    padding-left: 5%; 
    color: white; 
 
  }
  
  .hero-content {
    max-width: 600px; 
    background: rgba(0, 0, 0, 0.2); 
    padding: 20px;
    border-radius: 10px;
    transform: translateX(-100%); 
    opacity: 0;
    animation: slideInFromLeft 1s ease forwards;
  }

  /* Heading animation */
  .hero-content h1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
  }
  
  /* Paragraph animation */
  .hero-content p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
  }
  
  /* Buttons animation */
  .hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.9s;
  }
  
  /* Button hover effect */
  .btn {
    transition: all 0.3s ease;
  }
  
  .btn:hover {
    transform: translateY(-3px);
  }
  
  /* Animation keyframes */
  @keyframes slideInFromLeft {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }


.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    margin: 0.2rem;
}



/* About Product Section */
.about-grid, .innovator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text, .innovator-text {
    padding: 2rem 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-top: 1rem;
}

.about-image img, .innovator-image img {
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* About Innovator Section */
.about-innovator {
    background-color: #f5f5f5;
}

blockquote {
    font-style: italic;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-color);
    margin: 2rem 0;
    color: var(--dark-color);
}

/* Product Showcase */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

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

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3, .product-card p {
    padding: 0 1.5rem;
}

.product-card h3 {
    margin-top: 1rem;
    color: var(--primary-color);
}

.product-card p {
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    background-color: #f5f5f5;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info ul {
    margin-bottom: 1.5rem;
}

.contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--light-color);
    /* background-color: var(--primary-color); */
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
  
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 143, 82, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #f5f5f5;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

footer h3, footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

footer a {
    color: #ddd;
}

footer a:hover {
    color: var(--secondary-color);
}

footer ul li {
    margin-bottom: 0.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}


.product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
    padding-bottom: 60px; /* Make space for the button */
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Product price styling */
.product-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #4a8f29;
    margin: 8px 0 12px 0;
    text-align: center;
}

/* Buy Now button styling */
.buy-now-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4a8f29;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80%;
    max-width: 150px;
}

.buy-now-btn:hover {
    background-color: #3a7220;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.buy-now-btn:active {
    transform: translateX(-50%) scale(0.98);
}

/* Responsive adjustments for the new products and buttons */
@media (max-width: 768px) {
    .product-card {
        padding-bottom: 50px;
    }
    
    .product-price {
        font-size: 1rem;
        margin: 6px 0 10px 0;
    }
    
    .buy-now-btn {
        bottom: 15px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .about-grid, .innovator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .innovator-grid {
        flex-direction: column-reverse;
    }
    .innovator-image {
        order: -1;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 8rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}