:root {
    --primary-color: #2e7d32; /* Rich Forest Green */
    --primary-light: #4caf50;
    --secondary-color: #795548; /* Earthy Brown */
    --accent-color: #ffc107; /* Golden Sun Yellow */
    --text-dark: #1a1a1a;
    --: #666;
    --text-light: #ffffff;
    --bg-light: #f1f8e9;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(46, 125, 50, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
    overflow-x: hidden;
}

/* Scroll Animation Helper Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Navigation */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 0;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 0.8rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Animated Slider Header */
.carousel-item {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    bottom: 30%;
    z-index: 10;
}

.carousel-caption h1 {
    font-size: 5rem;
    font-weight: 800;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.5);
    animation: slideDown 1s ease forwards;
}

.carousel-caption p {
    font-size: 1.5rem;
    animation: fadeIn 1.5s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

/* Modern Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border: none;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 125, 50, 0.4);
}

/* Sections Enhancement */
section {
    padding: 7rem 0;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Glass Cards */
.card {
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-slow);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-img-top {
    transition: transform 0.8s ease;
    height: 300px;
}

.card:hover .card-img-top {
    transform: scale(1.15);
}

/* Icon Box with Animation */
.icon-box {
    padding: 3.5rem 2rem;
    border-radius: 25px;
    background: var(--bg-light);
    border: 1px solid transparent;
    transition: var(--transition-slow);
    position: relative;
    z-index: 1;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0;
    background: var(--primary-color);
    border-radius: 25px;
    transition: var(--transition-slow);
    z-index: -1;
}

.icon-box:hover::before {
    height: 100%;
}

.icon-box:hover {
    color: #fff;
}

.icon-box i {
    font-size: 4rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    transition: var(--transition-slow);
}

.icon-box:hover i {
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Footer Modern */
footer {
    background: #111;
    color: #999;
    padding: 6rem 0 3rem;
}

footer h5 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: rgba(255,255,255,0.05);
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    margin-right: 12px;
    transition: var(--transition-fast);
}

.social-links a {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(360deg);
}

/* Product Category Filter UI */
.category-filter {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 50px;
    display: inline-flex;
    margin-bottom: 3rem;
}

.category-btn {
    border-radius: 40px;
    padding: 0.6rem 1.8rem;
    margin: 0 0.3rem;
}

/* Testimonials Carousel */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid var(--bg-light);
}

/* Parallax Section */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .carousel-caption h1 { font-size: 3.5rem; }
    section { padding: 4rem 0; }
}

.footer-links a{
    text-decoration: none;
    color: #fff;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #2e7d32 !important;
    color: #fff !important;
}
