/* ==========================================================================
   1. VARIABLES & GLOBAL STYLES
   ========================================================================== */
:root {
    --brand-green: #10B981;
    --brand-green-dark: #059669;
    --brand-blue: #0284c7; /* Plain solid blue matching logo tone */
    --brand-dark: #0f172a;
    --brand-light: #f8fafc;
    --footer-dark-bg: #071d18; /* Rich dark tone matching logo green */
    --text-color: #334155;
    --border-color: #e2e8f0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: #fff;
}

.extra-small {
    font-size: 0.725rem;
}

/* ==========================================================================
   2. TOP HEADER & FIXED NAVBAR
   ========================================================================== */
/* Plain Solid Blue Top Header Bar */
.top-header-bar {
    background: linear-gradient(135deg, #005dd1 0%, 60%, #02de3d 100%);
    font-size: 0.825rem;
    letter-spacing: 0.2px;
    z-index: 1031;
}

/* Fixed Header on Scroll */
.custom-navbar.sticky-top {
    position: sticky !important;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background-color: #ffffff !important;
    transition: all 0.3s ease;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.03);
}

@media (max-width: 991.98px) {
    .header-logo-responsive {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
    }
}

/* Navigation Links */
.nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--brand-dark) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0%;
        height: 2px;
        background-color: var(--brand-green);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-link:hover::after, 
    .nav-link.active::after {
        width: 60%;
    }
}

.nav-link:hover, 
.nav-link.active {
    color: var(--brand-green) !important;
}

/* Mobile Dropdown Styling */
@media (max-width: 991.98px) {
    .mobile-dropdown-card {
        background-color: #ffffff;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        position: relative;
        z-index: 10;
    }

    .mobile-dropdown-card .nav-link {
        border-radius: 8px;
        padding: 10px 16px !important;
        margin-bottom: 2px;
    }

    .mobile-dropdown-card .nav-link:hover,
    .mobile-dropdown-card .nav-link.active {
        background-color: #ecfdf5;
        color: var(--brand-green-dark) !important;
    }
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #119759;
    transition: all 0.25s ease;
    color:#fff;
}

.nav-icon-btn:hover {
    background-color: var(--brand-green);
    color: #fff !important;
}

/* ==========================================================================
   3. HERO CAROUSEL (Faster Slide Speed)
   ========================================================================== */
.hero-carousel .carousel-item {
    height: 65vh;
    min-height: 380px;
    max-height: 600px;
    background-color: #059669;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.hero-caption {
    bottom: 20%;
    padding: 0 1rem;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.hero-caption h1,
.hero-caption p,
.hero-caption span,
.hero-caption div {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-caption h1,
.hero-caption p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   4. BUTTONS & BADGES
   ========================================================================== */
.btn-brand {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-brand:hover {
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
    transform: translateY(-2px);
}

.view-all-btn {
    background-color: #a7f3d0;
    color: #065f46;
    border: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.view-all-btn:hover {
    background-color: var(--brand-green);
    color: #fff;
}

/* ==========================================================================
   5. FRESH CATEGORIES SECTION
   ========================================================================== */
.fresh-cat-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 280px;
    background-color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fresh-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.fresh-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fresh-cat-card:hover img {
    transform: scale(1.05);
}

.fresh-cat-label {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #119759;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: calc(100% - 24px);
    line-height: 1.2;
}

/* ==========================================================================
   6. PRODUCT CARDS & GRID HIGHLIGHTS
   ========================================================================== */
.product-card {
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.product-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
    border-color: #e2e8f0;
}

.product-img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    padding: 8px;
}

.product-img {
    height: 150px;
    object-fit: contain;
    width: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-card .badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--brand-green);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
}

.custom-tabs .nav-link {
    color: #64748b;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.875rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.custom-tabs .nav-link.active {
    background-color: var(--brand-green) !important;
    color: #ffffff !important;
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   7. FOOTER (Dark Logo Green Background)
   ========================================================================== */
footer {
    background-color: #0f5b95;
    color: #ffffff;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #34d399;
}

.footer-logo {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 6px 12px;
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-newsletter-input {
    border-radius: 30px 0 0 30px;
    border: none;
    padding-left: 18px;
    background-color: rgba(255, 255, 255, 0.95);
}

.footer-newsletter-btn {
    border-radius: 0 30px 30px 0;
    background-color: var(--brand-green);
    color: white;
    border: none;
}

.footer-newsletter-btn:hover {
    background-color: var(--brand-green-dark);
    color: white;
}

/* ==========================================================================
   8. MEDIA QUERIES
   ========================================================================== */
@media (max-width: 575.98px) {
    .product-img {
        height: 120px;
    }
    .product-title {
        font-size: 0.85rem;
    }
    .fresh-cat-card {
        height: 220px;
    }
}

@media (min-width: 768px) {
    .logo-img {
        height: 100px;
    }
    .hero-carousel .carousel-item {
        height: 75vh;
    }
    .product-img {
        height: 180px;
    }
}

@media (min-width: 1024px) {
    .hero-carousel .carousel-item {
        height: 85vh;
    }
    .product-img {
        height: 200px;
    }
}

/* ==========================================================================
   9. ABOUT US PAGE STYLES
   ========================================================================== */
.about-hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), 
                url('https://images.unsplash.com/photo-1540420773420-3366772f4999?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    min-height: 280px;
    padding: 60px 0;
}

.vision-mission-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card {
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06) !important;
    border-color: #a7f3d0 !important;
}

.why-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.extra-small {
    font-size: 0.785rem;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-tight {
    letter-spacing: -0.02em;
}

/* Custom Styles specifically for Interactive Contact Page Features */
.contact-hero {
    background: linear-gradient(135deg, #071d18 0%, #0f5b95 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    filter: blur(80px);
}

.quick-contact-card {
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    transition: all 0.35s ease;
}

.quick-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-green);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ecfdf5;
    color: var(--brand-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.quick-contact-card:hover .icon-circle {
    background-color: var(--brand-green);
    color: #ffffff;
    transform: scale(1.05);
}

/* Modern Form Container */
.form-card-wrapper {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.topic-chip {
    cursor: pointer;
    border: 1.5px solid #e2e8f0;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.25s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topic-chip:hover {
    border-color: var(--brand-green);
    color: var(--brand-green-dark);
    background-color: #f0fdf4;
}

.topic-chip.active {
    background-color: var(--brand-green);
    color: #ffffff;
    border-color: var(--brand-green);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.custom-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.custom-input:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #15803d;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* --------------------------------------------------------------------------
   Section 1: Main Product Display
   -------------------------------------------------------------------------- */
.product-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thumb-box {
    width: 70px;
    height: 70px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.thumb-box.active, .thumb-box:hover {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 1px var(--brand-green);
}

.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.main-image-display {
    background-color: #f8fafc;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.main-image-display img {
    max-height: 360px;
    object-fit: contain;
    width: 100%;
}

.product-category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #64748b;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-green);
}

.unit-pill {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.825rem;
    font-weight: 600;
    cursor: pointer;
    background: #ffffff;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.unit-pill.active {
    background-color: var(--brand-green);
    color: #ffffff;
    border-color: var(--brand-green);
}

.qty-control {
    width: 120px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
}

.qty-btn {
    border: none;
    background: none;
    color: var(--text-color);
    font-weight: bold;
    cursor: pointer;
    padding: 0 8px;
}

.btn-add-cart {
    background-color: var(--brand-green);
    color: #ffffff;
    font-weight: 600;
    border-radius: 25px;
    padding: 12px 24px;
    border: none;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background-color: var(--brand-green-dark);
    color: #ffffff;
}

.btn-buy-now {
    background-color: #0284c7;
    color: #ffffff;
    font-weight: 600;
    border-radius: 25px;
    padding: 12px;
    width: 100%;
    border: 1px solid #0284c7;
    transition: all 0.2s ease;
} 

.btn-buy-now:hover,
.btn-buy-now:focus {
    background-color: #0369a1; /* Slightly darker shade on hover/focus */
    color: #ffffff;
    border-color: #0369a1;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.icon-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: #fff;
    transition: all 0.2s;
}

.icon-action-btn:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
}

.meta-list {
    font-size: 0.825rem;
    color: #64748b;
}

.meta-list span {
    color: var(--text-color);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Section 2: Specifications & Related Products
   -------------------------------------------------------------------------- */
.details-tab-nav {
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
    gap: 20px;
}

.details-tab-nav .nav-link {
    border: none;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    padding-bottom: 12px;
}

.details-tab-nav .nav-link.active {
    color: var(--brand-green-dark);
    border-bottom-color: var(--brand-green-dark);
    background: transparent;
}

.spec-table-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.spec-label {
    color: #64748b;
}

.spec-value {
    font-weight: 600;
    color: var(--text-color);
    text-align: right;
}

.section-tab-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.section-tab-heading.active {
    color: var(--brand-green-dark);
    border-bottom-color: var(--brand-green-dark);
}

.product-card-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    background: #ffffff;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    height: 100%;
}

.product-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.badge-discount, .badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--brand-green);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.card-img-container {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-img-container img {
    max-height: 120px;
    object-fit: contain;
}

.product-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-card-add {
    width: 100%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 6px;
    margin-top: 10px;
    transition: all 0.2s;
}

.btn-card-add:hover {
    background-color: var(--brand-green);
    color: #ffffff;
    border-color: var(--brand-green);
}

/* ==========================================================================
   10. CHECKOUT SPECIFIC BRAND STYLES & ALIGNMENTS
   ========================================================================== */
.brand-link-green {
    color: var(--brand-green-dark);
}

.brand-link-green:hover {
    color: var(--brand-green);
}

.brand-heading-green {
    color: var(--footer-dark-bg);
}

.brand-price {
    color: var(--brand-green-dark);
}

.checkout-banner-section {
    position: relative;
    padding: 65px 0;
    /* High-resolution Unsplash real image URL for natural herbal health */
    background: url('https://images.unsplash.com/photo-1540420773420-3366772f4999?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.checkout-banner-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 29, 24, 0.82);
    z-index: 1;
}

.custom-checkout-input {
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1.5px solid var(--border-color);
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.custom-checkout-input:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.15);
}

.payment-option-card {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option-card:hover {
    border-color: var(--brand-green);
    background-color: #ecfdf5;
}

.payment-option-card input[type="radio"] {
    accent-color: var(--brand-green-dark);
    width: 16px;
    height: 16px;
}

.btn-pay-now {
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-pay-now:hover {
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
    transform: translateY(-2px);
}

.btn-apply-coupon {
    background-color:#059669;
    color: #ffffff;
    border-radius: 0 8px 8px 0;
    font-size: 0.8rem;
    transition: background-color 0.2s ease;
}

.btn-apply-coupon:hover {
    background-color: var(--brand-green-dark);
    color: #ffffff;
}

.summary-thumb-img {
    width: 52px;
    height: 52px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3px;
    background: #f8fafc;
    flex-shrink: 0;
}

.summary-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .checkout-banner-section {
        padding: 40px 0;
    }
    
    .checkout-banner-section h1 {
        font-size: 1.75rem;
    }

    .cart-summary-card {
        position: static !important;
    }
}
@media (max-width: 767.98px) {
    .btn-pay-now {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        font-size: 0.875rem !important;
        border-radius: 30px !important;
    }
}