:root {
    --qm-primary-green: #1d5226;
    --qm-light-green: #eef7f0;
}

.qm-hero-section {
    position: relative;
    border-radius: 16px;
    margin: 20px 15px;
    overflow: hidden;
}
/* Ensure the inner row has a white gradient overlay for readability */
.qm-hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to right, #ffffff 45%, rgba(255,255,255,0.9) 55%, rgba(255,255,255,0) 75%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
.qm-hero-section > .section-content,
.qm-hero-row {
    position: relative !important;
    z-index: 2 !important;
}
.qm-hero-row {
    padding: 60px 40px 80px 40px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* HERO TEXT */
.qm-hero-content {
    flex: 1 !important;
    max-width: 600px !important;
}
.qm-hero-title {
    color: var(--qm-primary-green);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 5px;
}
.qm-hero-subtitle {
    color: var(--qm-primary-green);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}
.qm-hero-desc {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
}

/* HERO FEATURES */
.qm-hero-features {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 30px 0 0 0 !important;
}
.qm-hero-features::before, .qm-hero-features::after { display: none !important; }
.qm-hero-features > .col {
    padding: 0 10px 0 0 !important;
    margin: 0 !important;
    flex: 1 !important;
    max-width: none !important;
}
.qm-hero-feat .icon-box-left {
    display: flex !important;
    align-items: center !important;
}
.qm-hero-feat i {
    color: var(--qm-primary-green);
    font-size: 1.5rem !important;
    margin-right: 10px !important;
}
.qm-hero-feat .icon-box-text h5 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* HERO STATS */
.qm-hero-stats-col {
    display: flex !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
}
.qm-hero-stats {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px !important;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    display: inline-block;
}
.qm-hero-stats .icon-box-text h5 {
    font-size: 24px;
    font-weight: 800;
    color: var(--qm-primary-green);
    margin-bottom: 0;
}

.qm-hero-form {
    background: #fff;
    border-radius: 16px;
    padding: 30px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    width: 90% !important;
    max-width: 1200px !important;
    margin: 0;
    position: relative;
    z-index: 3 !important;
    display: block !important;
}
.qm-hero-form::before, .qm-hero-form::after { display: none !important; }

.qm-hero-form .text {
    text-align: left !important;
}
.qm-hero-form h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

/* TABS */
.qm-v13-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 !important;
    width: 100% !important;
}
.qm-v13-tabs::before, .qm-v13-tabs::after { display: none !important; }
.qm-v13-tabs > .col {
    padding: 0 5px !important;
    margin: 0 !important;
    flex: 1 !important;
    max-width: none !important;
}

.qm-v13-tab, .qm-v13-tab.button {
    border-radius: 50px !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
    background: #fff !important;
    font-weight: 600 !important;
    text-transform: none !important;
    font-size: 13px !important;
    width: 100%;
    margin-bottom: 0 !important;
    padding: 5px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.qm-v13-tab i {
    margin-right: 5px !important;
}
.qm-v13-tab.active, .qm-v13-tab:hover {
    border-color: var(--qm-primary-green) !important;
    color: var(--qm-primary-green) !important;
    background: #f0f7f2 !important;
}

.qm-v13-cta, .qm-v13-cta.button {
    background-color: var(--qm-primary-green) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 0 30px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}
.qm-hero-bottom-bar {
    background: var(--qm-primary-green);
    color: #fff;
    border-radius: 0 0 16px 16px;
    margin-top: -30px !important;
    padding-top: 50px !important; /* Offset for form overlap */
    padding-bottom: 20px !important;
    position: relative;
    z-index: 1;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-around !important;
    align-items: center !important;
    width: 100% !important;
}
.qm-hero-bottom-bar::before, .qm-hero-bottom-bar::after { display: none !important; }
.qm-hero-bottom-bar > .col {
    padding: 0 15px !important;
    margin: 0 !important;
    flex: 1 !important;
    max-width: none !important;
}

.qm-bot-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}
.qm-bot-item .icon-box-left {
    margin-right: 15px !important;
}
.qm-bot-item i {
    color: #fff;
    font-size: 2rem !important;
    opacity: 0.9;
}
.qm-bot-item .icon-box-text {
    text-align: left !important;
}
.qm-bot-item .icon-box-text h5 {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}
.qm-bot-item .icon-box-text p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin: 0;
}
.qm-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--qm-primary-green);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.qm-product-grid .product-small {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 15px;
}
.qm-product-grid .product-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.qm-footer-section {
    background-color: var(--qm-primary-green);
    color: rgba(255,255,255,0.8);
}
.qm-footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.qm-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.qm-footer-links li {
    margin-bottom: 10px;
}
.qm-footer-links li::before {
    content: "•";
    color: #fff;
    margin-right: 8px;
    font-size: 1.2em;
    vertical-align: middle;
}
