:root {
    --primary-color: #2c5530;
    --secondary-color: #6c9a3d;
    --accent-color: #8bc34a;
    --light-green: #e8f5e8;
    --text-dark: #333;
    --text-light: #666;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--light-green);
    color: var(--primary-color);
}

.dropdown-header {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .nav-item.dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--accent-color) 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
    background-color: var(--secondary-color);
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    padding: 15px;
    background: #ffffff;
}

.product-card .card-body {
    padding: 20px 25px;
    background: var(--primary-color);
    border-radius: 0 0 15px 15px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-card h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card .card-body p.text-muted {
    color: #d4e8d6 !important;
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.5;
}

.product-card .badge-series {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    align-self: flex-start;
}

.badge-bioherbalike {
    background-color: rgba(139, 195, 74, 0.2);
    color: #a8d86e;
}

.badge-ctt {
    background-color: rgba(231, 76, 60, 0.15);
    color: #f1948a;
}

.product-card .card-body.card-body-ctt {
    background: #7b1a1a;
}

.product-card .card-body.card-body-ctt p.text-muted {
    color: #f0c8c8 !important;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background-color: var(--light-green);
    padding: 80px 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.testimonial-card .quote {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
}

.contact-info h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a3a1d;
    color: white;
    padding: 40px 0 20px;
}

footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

footer .footer-links li {
    margin-bottom: 8px;
}

@media (min-width: 992px) {
    footer .footer-contact {
        white-space: nowrap;
    }
}

footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-section {
    padding: 120px 0 80px;
}

.product-detail-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    background: #ffffff;
    padding: 20px;
}

.product-detail-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-detail-section .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.ingredient-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.ingredient-list li:last-child {
    border-bottom: none;
}

.benefit-item {
    padding: 15px;
    background: var(--light-green);
    border-radius: 10px;
    margin-bottom: 10px;
}

.benefit-item i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.dosage-box {
    background: var(--light-green);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.dosage-box h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.suitable-tag {
    display: inline-block;
    padding: 6px 15px;
    background: white;
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    margin: 5px;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== PRODUCTS LISTING PAGE ===== */
.products-hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--accent-color) 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.products-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.series-section {
    padding: 60px 0;
}

.series-section:nth-child(even) {
    background-color: #f8f9fa;
}

.series-header {
    margin-bottom: 40px;
}

.series-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.series-header .series-divider {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px 0;
    border-radius: 2px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
    padding-top: 80px;
    background: var(--light-green);
}

.breadcrumb-section .breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .dropdown-menu {
        box-shadow: none;
        border-radius: 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 80px 0;
    }

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

    .product-detail-section {
        padding: 100px 0 60px;
    }


}
