/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    background: #017143;
    color: #fff;
    padding: 10px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
    text-align: left;
}

.navigation {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    text-align: center;
}

.navigation li {
    display: inline;
    margin: 0 10px;
}

.navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    margin: 0 20px; /* Adds horizontal space between each link */
}

.toggle {
    display: none; /* Placeholder for a mobile menu toggle if needed */
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    background: #f0f0f0;
}

.hero .circle {
    background: #f0f0f0;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 20px 0;
}

.hero .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero .textBox {
    margin-bottom: 30px; /* Increased margin for better spacing */
}

.hero h2 {
    font-size: 2rem;
    margin: 0;
}

.hero h2 span {
    color: #017143;
}

.hero p {
    font-size: 1rem;
    margin: 10px 0;
}

.hero .explore-button {
    display: inline-block;
    padding: 10px 10px; /* Larger padding for a more prominent button */
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem; /* Increased font size */
    font-weight: bold;
    border-radius: 100px;
    background: #017143; /* Solid green background */
    border: 3px solid transparent; /* Border for better visual separation */
    box-shadow: 0 4px 6px rgba(3, 82, 45, 0.2); /* Subtle shadow */
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
    position: relative;
    z-index: 1; /* Ensure button is on top of other elements */
}

.hero .explore-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2); /* Glassy effect */
    transform: translate(-50%, -50%) scale(0.5);
    transition: transform 0.3s;
    z-index: 0; /* Behind button text */
    border-radius: 50%;
}

.hero .explore-button:hover::before,
.hero .explore-button:focus::before {
    transform: translate(-50%, -50%) scale(1);
}

.hero .explore-button:hover,
.hero .explore-button:focus {
    background: #017143; /* Slightly darker green on hover/focus */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.05); /* Slightly larger on hover/focus */
}

.hero .imgBox {
    margin-top: 30px; /* Increased margin for proper spacing */
}

.hero .imgBox img {
    max-width: 100%;
    height: auto;
}

.about {
    padding: 20px;
    text-align: center;
}

.about h2 {
    margin: 0;
    font-size: 2rem;
    color: #017143;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-picture {
    margin-bottom: 20px;
}

.profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}

.products {
    padding: 20px;
}

.products h2 {
    font-size: 2rem;
    color: #017143;
    text-align: center;
    margin: 0 0 20px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    width: calc(33.33% - 20px); /* Adjusted for better fit on larger screens */
    box-sizing: border-box;
}

.product img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s; /* Smooth hover effect */
}

.product img:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

footer {
    background: #017143;
    color: #fff;
    text-align: center;
    padding: 10px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .product {
        width: calc(25% - 20px); /* Four items per row on medium screens */
    }
}

@media (max-width: 992px) {
    .product {
        width: calc(33.33% - 20px); /* Three items per row on tablets */
    }
}

@media (max-width: 768px) {
    .product {
        width: calc(50% - 20px); /* Two items per row on tablets */
    }

    header h1 {
        font-size: 1.5rem;
    }

    .navigation {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navigation li {
        margin: 5px 0;
    }

    .hero .textBox {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product {
        width: calc(100% - 20px); /* One item per row on small screens */
    }

    .hero .circle {
        width: 100px;
        height: 100px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .navigation {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .navigation li {
        margin: 10px 0;
    }

    .hero .textBox {
        font-size: 0.8rem;
    }
}
