/* home start */
:root {
    --halmart-primary: #556B2F;
    --halmart-primary-dark: #34421D;
    --halmart-primary-light: #A8B78B;
    --halmart-text: #252525;
    --halmart-muted: #6b7280;
    --halmart-border: #eeeeee;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--halmart-text);
    font-family: Arial, Helvetica, sans-serif;
}

/* Navbar */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--halmart-border);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .035);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 5px 0;
    margin-right: 24px;
}

.halmart-logo {
    display: block;
    width: 150px;
    height: 55px;
    object-fit: contain;
}

.main-navbar .navbar-nav {
    align-items: center;
    gap: 2px;
}

.main-navbar .nav-link {
    position: relative;
    padding: 15px 10px !important;
    color: #292929;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus,
.main-navbar .nav-link.active {
    color: var(--halmart-primary);
}

.main-navbar .nav-link::after {
    transition: border-color .2s ease;
}

/* Dropdown menus */
#mainNav .nav-link {
    color: #00000078;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
    color: #005faf;
}

.main-navbar .dropdown-menu {
    min-width: 245px;
    max-height: 75vh;
    overflow-y: auto;
    padding: 9px;
    margin-top: 0;
    border: 1px solid var(--halmart-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .11);
}

.main-navbar .dropdown-item {
    padding: 10px 13px;
    border-radius: 6px;
    color: #333;
    font-size: 13px;
    white-space: normal;
    transition: color .2s ease,
                background-color .2s ease,
                padding-left .2s ease;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
    padding-left: 18px;
    color: var(--halmart-primary);
    background: var(--halmart-primary-light);
}

.main-navbar .dropdown-divider {
    border-color: #eee;
}

/* Top-to-bottom slide animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .main-navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-14px);
        transition: opacity .22s ease,
                    transform .22s ease,
                    visibility .22s ease;
    }

    .main-navbar .dropdown:hover > .dropdown-menu,
    .main-navbar .dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        animation: slideDown .22s ease;
    }
}

/* Main buttons */
.btn-halmart {
    padding: 11px 20px;
    border: 1px solid var(--halmart-primary);
    border-radius: 7px;
    background: var(--halmart-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background-color .2s ease,
                border-color .2s ease,
                transform .2s ease;
}

.btn-halmart:hover,
.btn-halmart:focus {
    border-color: var(--halmart-primary-dark);
    background: var(--halmart-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-halmart {
    padding: 11px 20px;
    border: 1px solid var(--halmart-primary);
    border-radius: 7px;
    color: var(--halmart-primary);
    font-weight: 600;
    transition: .2s ease;
}

.btn-outline-halmart:hover {
    background: var(--halmart-primary);
    color: #fff;
}

/* Hero */
.hero {
    padding: 95px 0;
    background: #eff1e9;
    overflow: hidden;
}

.hero-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 30px;
    background: #556B2F;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    margin-bottom: 22px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--halmart-primary);
}

.hero-description {
    max-width: 570px;
    color: var(--halmart-muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-visual {
    padding: 40px 25px;
    border: 1px solid #f4e8e2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(237, 84, 35, .10);
    text-align: center;
}

.hero-emoji {
    font-size: clamp(80px, 10vw, 125px);
    line-height: 1.4;
}

.hero-visual h3 {
    margin-top: 15px;
    font-weight: 800;
}

/* Sections */
.section-padding {
    padding: 75px 0;
}

.section-heading {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
}

.section-description {
    color: var(--halmart-muted);
    line-height: 1.8;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--halmart-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Cards */
.info-card,
.category-card,
.service-card {
    height: 100%;
    padding: 28px 22px;
    border: 1px solid var(--halmart-border);
    border-radius: 14px;
    background: #fff;
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
}

.info-card:hover,
.category-card:hover,
.service-card:hover {
    transform: translateY(-5px);
    border-color: #f4b29b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .065);
}

.card-icon {
    display: inline-flex;
    width: 65px;
    height: 65px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--halmart-primary-light);
    font-size: 30px;
}

.info-card h5,
.category-card h5,
.service-card h5 {
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p,
.category-card p,
.service-card p {
    margin-bottom: 0;
    color: var(--halmart-muted);
    font-size: 14px;
    line-height: 1.75;
}

.soft-section {
    background: #faf8f7;
}

/* Company values */
.value-card {
    height: 100%;
    padding: 25px;
    border-left: 3px solid var(--halmart-primary);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.value-card h5 {
    font-weight: 700;
}

/* Journey timeline */
.journey-item {
    position: relative;
    padding: 0 0 25px 30px;
    border-left: 2px solid #f2b29c;
}

.journey-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.journey-item::before {
    position: absolute;
    top: 3px;
    left: -7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--halmart-primary);
    content: "";
}

.journey-item h5 {
    font-weight: 700;
}

/* FAQ */
.accordion-item {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--halmart-border) !important;
    border-radius: 9px !important;
}

.accordion-button {
    padding: 18px 20px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: var(--halmart-primary-dark);
    background: var(--halmart-primary-light);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: #f4b29b;
    box-shadow: 0 0 0 .2rem rgba(237, 84, 35, .12);
}

/* CTA */
.cta-section {
    padding: 70px 20px;
    background: var(--halmart-primary-light);
    text-align: center;
}

/* Footer */
.main-footer {
    padding: 45px 0 25px;
    background: #154c35;
    color: #f3f151;
}

.footer-brand {
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    text-decoration: none;
}

.footer-brand span {
    color: var(--halmart-primary);
}

.main-footer p {
    color: #c9c5c3;
}

.footer-link {
    display: inline-block;
    margin: 4px 8px;
    color: #d6d1ce;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-link:hover {
    color: #ff9b79;
}

.footer-divider {
    margin: 25px 0 18px;
    border-color: #ffffff25;
}

/* Form Controls */
.form-control, .form-select {
    padding: 12px 15px;
    border: 1px solid var(--halmart-border, #eeeeee);
    border-radius: 8px;
    font-size: 14px;
}

.form-control:focus, .form-select:focus {
    border-color: #f4b29b;
    box-shadow: 0 0 0 .2rem rgba(237, 84, 35, .12);
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .halmart-logo {
        width: 120px;
    }

    .main-navbar .nav-link {
        padding: 13px 7px !important;
        font-size: 12px;
    }

    .main-navbar .navbar-nav {
        gap: 0;
    }
}

@media (max-width: 991.98px) {
    .halmart-logo {
        width: 135px;
        height: 48px;
    }

    .main-navbar .navbar-nav {
        align-items: stretch;
        gap: 0;
        padding: 12px 0;
    }

    .main-navbar .nav-link {
        padding: 11px 8px !important;
        white-space: normal;
    }

    .main-navbar .dropdown-menu {
        min-width: 0;
        max-height: none;
        margin: 3px 0 10px;
        border-radius: 8px;
        box-shadow: none;
        background: #faf8f7;
    }

    .hero {
        padding: 65px 0;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        letter-spacing: -.8px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-padding {
        padding: 55px 0;
    }

    .info-card,
    .category-card,
    .service-card {
        padding: 22px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
