/* CSS/style.css content */
:root {
    --primary-color: #28a745;
    --secondary-color: #6c757d;
    --success-color: #20c997;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Navigation */
/* .navbar {
    transition: all 0.3s ease;
    padding: .5rem 0;
} */

/* Transparent default */
.navbar {
    background-color: white;
}

/* Glassmorphism on scroll or mobile toggle */
.navbar.navbar-scrolled {
    background-color: rgb(255, 255, 255) !important;
}



.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    width: 80px;
    height: 80px;
}

.navbar-brand img {
    width: 79px;
    height: 79px;
    border-radius: 50%;
}

.nav-link {
    font-weight: 800;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
    color: var(--primary-color) !important;
}

.nav-link:hover {
    color: rgb(85, 176, 51);
}

.nav-link.active {
    color: var(--secondary-color) !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: calc(100% - 20px);
    height: 3px;
    /* background-color: var(--secondary-color); */
    border-radius: 2px;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    margin-top: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    /* background: var(--primary-color); */
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

/* Plant Cards */

.plant-margin {
    margin-top: -3rem;
}

.plant-card {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: fit-content;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25),
        0 6px 6px rgba(0, 0, 0, 0.22);

}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.plant-card img {
    height: 81%;
    object-fit: cover;
    width: 100%;
}

.plant-card .card-body {
    padding: 1.5rem;
}

/* Contact Section */
.contact {
    margin-top: 5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Footer */
footer {
    background: var(--dark-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

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

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--success-color);
    transform: translateY(-3px);
}

/* Animation Classes */
/* .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
} */

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.slide-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.insect {
    /* background: var(--primary-color) !important; */
    padding: 3rem 3rem 12rem 3rem;
    border-bottom-left-radius: 60%;
    border-bottom-right-radius: 100%;
    width: 100%;
    margin-bottom: 3rem;
}

.bg-glass-wrapper {
    overflow: hidden;
    position: relative;
}

.bg-blur-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/src/hero_img.png');
    /* Replace with actual path */
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    opacity: 0.6;
    z-index: 0;
    border-bottom-left-radius: 60%;
    border-bottom-right-radius: 100%;
}

.glass-effect {
    z-index: 1;
    /* background: rgba(255, 255, 255, 0.2); */
    /* backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); */
    border-radius: 1rem;
}


.section-title2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin-bottom: 1rem;
    position: relative;
}

#product-container>div {
    display: none;
    /* Initially hidden; JS will display required ones */
}


/* About */
.strong {
    color: var(--primary-color) !important;
}

.text-justify {
    color: var(--secondary-color) !important;
    text-align: justify;
}












/* Responsive Design */
@media (max-width: 770px) {


    .section-title {
        font-size: 2rem;
    }

    .feature-card,
    .service-card {
        margin-bottom: 2rem;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
    }

    .cta-button {
        padding: .5rem 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-text {
        padding: 1rem 2rem;
    }
}

@media (max-width: 576px) {

    .hero-content {
        margin-top: 5rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }

    .hero-section {
        border-bottom-left-radius: 2%;
        border-bottom-right-radius: 2%;
    }

    .insect {
        margin-bottom: -9rem;
    }

    .navbar {
        backdrop-filter: blur(5px);
    }

    .nav-link {
        color: var(--dark-color) !important;
    }

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .navbar-brand {
        width: 67px;
        height: 67px;
    }

    .navbar-brand img {
        width: 65px;
        height: 65px;
    }

}