/* Reset some default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #d3e6d9;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Title Bar */
.title-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(45, 87, 44, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: background-color 0.3s ease;
}

.title-bar:hover {
    background-color: rgba(45, 87, 44, 0.9);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
    transition: border-bottom 0.3s ease;
}

.nav-links a:hover {
    border-bottom: 2px solid white;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.login-button, .logout-button {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    text-align: center;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.login-button:hover, .logout-button:hover {
    background-color: #45a049;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1472224371017-08207f84aaae?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
    position: relative;
    animation: fadeIn 2s ease-in;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: slideInDown 1s ease-out;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in 0.5s forwards;
    opacity: 0;
}

.hero-section p strong {
    font-weight: bold;
}

.prakriti-path {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 20px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.prakriti-path:hover {
    background-color: #2d572c;
    transform: scale(1.05);
}

/* Keyframes for animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Learn More Section */
.learn-more-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    animation: fadeIn 2s ease-in;
}

.learn-more-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2d572c;
}

.learn-more-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.learn-more-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.learn-more-button:hover {
    background-color: #45a049;
}

/* Category Section */
.category-section {
    padding: 80px 20px;
    background-color: #f9fff9; /* Light green background for contrast */
}

.category-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #2d572c;
    position: relative;
}

.category-section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #4CAF50;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.categories-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category.reverse {
    flex-direction: row-reverse;
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.category-text {
    flex: 1;
    max-width: 500px;
}

.category-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2d572c;
}

.category-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.explore-button {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.explore-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

.category-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 400px;
    object-fit: cover; /* Ensures the image covers the container without distortion */
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ensures images maintain aspect ratio and are fully visible */
.category-image img {
    object-fit: contain;
    background-color: #f0f4f0; /* Optional: Adds a background to prevent white spaces */
}

/* Hover Effects for Images */
.category-image img:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
    .category-section {
        padding: 60px 15px;
    }

    .category {
        gap: 30px;
        padding: 15px;
    }

    .category-image img {
        height: 250px;
    }

    .category-text h3 {
        font-size: 1.8rem;
    }

    .category-text p {
        font-size: 0.95rem;
    }

    .explore-button {
        padding: 8px 20px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 768px) {
    .category {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .category.reverse {
        flex-direction: column;
    }

    .category-image img {
        height: 200px;
    }

    .category-text h3 {
        font-size: 1.6rem;
    }

    .category-text p {
        font-size: 0.9rem;
    }

    .explore-button {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .category-section {
        padding: 40px 10px;
    }

    .category-image img {
        height: 180px;
    }

    .category-text h3 {
        font-size: 1.4rem;
    }

    .category-text p {
        font-size: 0.85rem;
    }

    .explore-button {
        font-size: 0.85rem;
        padding: 6px 18px;
    }
}

/* Reverse category for alternating layout */
.category.reverse {
    flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
    .category {
        flex-direction: column;
        align-items: center;
    }
    .category.reverse {
        flex-direction: column;
    }
    .category-image, .category-text {
        max-width: 100%;
    }
    .category-image img {
        height: 250px;
    }
}

/* Horizontal Scroll for Plants */
.plants-section {
    background-color: #f0f4f0;
    padding: 60px 0;
    overflow-x: hidden;
}

.plants-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2d572c;
}

.scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 20px;
    scroll-behavior: smooth;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #4CAF50;
    border-radius: 4px;
}

.plant-box {
    min-width: 200px;
    flex-shrink: 0;
    background-color: #fff;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plant-box:hover {
    transform: translateY(-10px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
}

.plant-box img {
    width: 100%;
    height: 270px;
    width: 270px;
    object-fit: cover;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.plant-box img:hover {
    opacity: 0.9;
}

.plant-box p {
    margin-top: 10px;
    font-weight: bold;
    color: #2d572c;
}

/* Services Section */
.service-section-container {
    padding: 100px 20px;
    background-color: #fff;
}

.service-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2d572c;
}

.service-section {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.service-container {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
    background-color: #f9fff9;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-container:focus,
.service-container:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}

.service-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.service-container h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
    color: #2d572c;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2d572c;
}

.testimonials-container {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.testimonial {
    background-color: #f9fff9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: scale(1.02);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.testimonial p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-style: italic;
    color: #555;
}

.testimonial h4 {
    font-size: 1rem;
    color: #2d572c;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    background-color: #f0f4f0;
    text-align: center;
}

.gallery-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2d572c;
    position: relative;
}

.gallery-section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #4CAF50;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

/* View More Button */
.view-more-container {
    margin-top: 40px;
}

.view-more-button {
    background-color: #2d572c;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.view-more-button:hover {
    background-color: #4CAF50;
    transform: scale(1.05);
}


/* Newsletter Subscription Section */
.newsletter-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2d572c;
}

.newsletter-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    width: 300px;
    max-width: 100%;
}

.newsletter-form button {
    padding: 12px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #45a049;
}

/* Back to Top Button */
#backToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
    background-color: #45a049;
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: rgba(45, 87, 44, 0.8);
    padding: 20px;
    text-align: center;
    color: white;
}

footer .social-handles a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s ease;
}

footer .social-handles a:hover {
    color: #d3e6d9;
}

footer p {
    margin-top: 10px;
    font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .service-section {
        flex-direction: column;
        align-items: center;
    }

    .category {
        flex-direction: column;
        align-items: center;
    }

    .category.reverse {
        flex-direction: column;
    }

    .service-container {
        width: 80%;
    }

    .testimonials-container {
        flex-direction: column;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .nav-links a {
        margin: 0 10px;
        font-size: 16px;
    }

    .plant-box {
        min-width: 150px;
    }

    .category-section {
        padding: 40px 10px;
    }

    .learn-more-section {
        padding: 40px 10px;
    }

    .service-section-container {
        padding: 40px 10px;
    }

    .gallery-section h2 {
        font-size: 2rem;
    }

    .gallery-item img {
        height: 180px;
    }
}

@media screen and (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .title-bar {
        justify-content: space-between;
    }

    /* Hamburger Menu can be added here for better navigation on small screens */
}




/* styles.css */

/* Reset some default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #d3e6d9;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Title Bar */
.title-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(45, 87, 44, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: background-color 0.3s ease;
}

.title-bar:hover {
    background-color: rgba(45, 87, 44, 0.9);
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
    transition: border-bottom 0.3s ease;
}

.nav-links a:hover {
    border-bottom: 2px solid white;
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.login-button, .logout-button {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    text-align: center;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.login-button:hover, .logout-button:hover {
    background-color: #45a049;
}

