/* css  */
:root {
    --primary-color: #3d5a3d;
    --secondary-color: #c4b676;
    --accent-color: #8aa654;
    --light-bg: #f8f9f5;
    --dark-text: #2d2d2d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* Topbar */
.topbar {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.topbar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.topbar a:hover {
    color: var(--secondary-color);
}

.topbar i {
    margin-right: 5px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Header */
.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 110px;
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.enquiry-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.enquiry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel */
.hero-carousel {
    position: relative;
    height: 600px;
}

.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

.carousel-caption {
    top: 30%;
    transform: translateY(-50%);
    bottom: auto;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.hero-btn {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.hero-btn:hover {
    background: white;
    transform: scale(1.05);
}

/* Section Styles */
.section-title {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-box i {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image i {
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-info h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s;
    margin-bottom: 30px;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(61, 90, 61, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 3rem;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 4rem;
    color: white;
    opacity: 0.5;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.blog-meta span i {
    margin-right: 5px;
    color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 40px;
    border-radius: 15px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 2rem;
    margin-right: 20px;
    color: var(--secondary-color);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e0e0e0;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(138, 166, 84, 0.25);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Newsletter */
.newsletter-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
}

.newsletter-form button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: white;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 15px 15px 0 0;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
}

/* bread crumb css */
.breadcrumb-section {
    position: relative;
    height: 300px;
    /* adjust height as needed */
    background-image: url("./img/Moringa_Powder.webp");
    /* change your image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.breadcrumb-section .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    /* dark opacity */
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}



/* css design */
.product-section {
    background: #f9fdf9;
}

.section-title {
    font-weight: 700;
    color: #2d6a4f;
}

.section-subtitle {
    color: #6c757d;
    font-size: 15px;
}

.product-card {
    background: #ffffff;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    max-width: 90%;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: scale(1.05);
}

.product-title {
    color: #1b4332;
    font-weight: 600;
}

.product-desc {
    color: #555;
    line-height: 1.7;
}

.product-features {
    padding-left: 0;
    list-style: none;
}

.product-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #444;
}

.product-features li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #2d6a4f;
    font-weight: bold;
}