/* ==========================================================================
   DevDharaAgro Premium CSS Stylesheet
   Design System: Modern Agriculture, Glassmorphism, Smooth Micro-animations
   ========================================================================== */

/* Google Fonts preconnected in HTML head for non-blocking high-speed rendering */

:root {
    --primary-color: #164e2d;
    /* Logo Forest Evergreen */
    /* Deep Forest Emerald */
    --primary-light: #1f633b;
    /* Fresh Forest Green */
    /* Deep Olive Green */
    --accent-color: #73b41a;
    /* Logo Sprout Green */
    /* Warm Bronze Accent */
    --accent-glow: rgba(115, 180, 26, 0.2);
    --secondary-color: #84cc16;
    /* Fresh Leaf Highlight */
    /* Honey Gold Highlight */
    --bg-main: #f5f7f5;
    /* Organic Light Sage Background */
    --bg-card: rgba(255, 255, 255, 0.9);
    --text-dark: #14281c;
    /* Premium Greenish Charcoal */
    --text-muted: #5e6b60;
    /* Grayish Green */
    --border-color: rgba(115, 180, 26, 0.18);
    --shadow-soft: 0 8px 30px rgba(15, 41, 30, 0.03);
    --shadow-hover: 0 20px 40px rgba(15, 41, 30, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-heading);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
}

/* ==========================================================================
   TOP UTILITY & TRUST BAR
   ========================================================================== */
.top-utility-bar {
    background: linear-gradient(90deg, #071911 0%, #0d281a 50%, #071911 100%);
    color: #e2ece6;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(115, 180, 26, 0.18);
    position: relative;
    z-index: 1001;
    line-height: 1.2;
}

.utility-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.utility-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(115, 180, 26, 0.14);
    color: #84cc16;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(115, 180, 26, 0.28);
}

.utility-badge-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.utility-sep {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    font-size: 0.8rem;
}

.utility-link {
    color: #cbdad1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.utility-link:hover {
    color: #73b41a;
}

.utility-link svg,
.utility-item svg {
    color: #73b41a;
    flex-shrink: 0;
}

.utility-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9db2a5;
    font-weight: 400;
}

.utility-admin-link {
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all 0.2s ease;
}

.utility-admin-link:hover {
    background: rgba(115, 180, 26, 0.25);
    color: #f7dfbe;
    border-color: rgba(115, 180, 26, 0.4);
}

/* ==========================================================================
   MAIN NAVIGATION HEADER (STICKY, BLURRED GLASS & RESPONSIVE)
   ========================================================================== */
header.main-header,
header {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(115, 180, 26, 0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px -8px rgba(15, 41, 30, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(115, 180, 26, 0.28);
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    gap: 16px;
    box-sizing: border-box;
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

header.header-scrolled .nav-container {
    padding: 10px 24px;
}

/* Brand Identity & Logo */
.logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    user-select: none;
    transition: transform 0.25s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-emblem {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f291e 0%, #1d4634 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #84cc16;
    box-shadow: 0 4px 14px rgba(15, 41, 30, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(115, 180, 26, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo:hover .logo-emblem {
    transform: rotate(4deg) scale(1.04);
    box-shadow: 0 6px 18px rgba(15, 41, 30, 0.28);
    border-color: #73b41a;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f291e;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.brand-accent {
    background: linear-gradient(135deg, #73b41a 0%, #5b9414 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.brand-tagline {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #63776b;
    margin-top: 2px;
    text-transform: uppercase;
}

/* Navigation Links Container */
.desktop-navigation,
.nav-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}

.desktop-navigation .nav-link-icon {
    display: none !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
}

.nav-links li {
    list-style: none;
    flex-shrink: 0;
}

.nav-links a,
.nav-link-item {
    color: #27342d;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 7px 11px;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.25s ease;
}

.nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7b8f82;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: #0f291e;
    background-color: rgba(15, 41, 30, 0.06);
    transform: translateY(-1px);
}

.nav-links a:hover .nav-link-icon {
    color: #73b41a;
    transform: scale(1.1);
}

.nav-links a.active {
    color: #0f291e;
    background-color: rgba(15, 41, 30, 0.08);
    font-weight: 700;
}

.nav-links a.active .nav-link-icon {
    color: #0f291e;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: #73b41a;
    border-radius: 2px;
}

/* Nav Actions Group (Right Area) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Navbar Inquiry Cart Button */
.nav-cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(15, 41, 30, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f291e;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 41, 30, 0.04);
}

.nav-cart-btn:hover {
    background: #f7faf8;
    border-color: #73b41a;
    color: #0f291e;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(15, 41, 30, 0.12);
}

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #73b41a 0%, #5b9414 100%);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    line-height: 19px;
    border-radius: 10px;
    padding: 0 5px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(175, 132, 70, 0.4);
    border: 2px solid #ffffff;
}

/* Header CTA Button (Desktop) */
.btn-header-cta {
    background: linear-gradient(135deg, #73b41a 0%, #5b9414 100%);
    color: #ffffff !important;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.86rem;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 14px rgba(115, 180, 26, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: none;
    flex-shrink: 0;
}

.btn-header-cta:hover {
    background: linear-gradient(135deg, #7fc520 0%, #68a617 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 180, 26, 0.45);
    color: #ffffff !important;
}

.btn-contact-nav {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
}

.btn-contact-nav:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.15);
}

/* ==========================================================================
   MOBILE MENU TOGGLE BUTTON (HAMBURGER ANIMATION)
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(15, 41, 30, 0.05);
    border: 1px solid rgba(115, 180, 26, 0.28);
    cursor: pointer;
    padding: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: rgba(15, 41, 30, 0.1);
    border-color: #73b41a;
}

.mobile-menu-toggle .bar {
    width: 20px;
    height: 2px;
    background-color: #0f291e;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE DRAWER OVERLAY & SLIDE-OUT ASIDE (DECOUPLED FROM HEADER)
   ========================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 25, 17, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

aside.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 9999;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.28);
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-left: 1px solid rgba(115, 180, 26, 0.25);
    visibility: hidden;
}

aside.mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-drawer-header {
    padding: 18px 22px;
    border-bottom: 1px solid #edf2ef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfa;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.emblem-small {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
}

.drawer-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f291e;
    letter-spacing: -0.02em;
}

.drawer-title span {
    background: linear-gradient(135deg, #73b41a 0%, #5b9414 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2ece6;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f291e;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-drawer-close:hover {
    background: #0f291e;
    color: #84cc16;
    transform: rotate(90deg);
}

.mobile-drawer-auth {
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(15, 41, 30, 0.03) 0%, rgba(115, 180, 26, 0.08) 100%);
    border-bottom: 1px solid #edf2ef;
}

.mobile-drawer-links {
    list-style: none;
    margin: 0;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.mobile-drawer-links li {
    list-style: none;
}

.drawer-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #27342d;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-link-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(15, 41, 30, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f291e;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.drawer-link-item:hover {
    background: rgba(15, 41, 30, 0.05);
    color: #0f291e;
    transform: translateX(4px);
}

.drawer-link-item:hover .drawer-link-icon {
    background: #0f291e;
    color: #84cc16;
}

.drawer-link-item.active {
    background: linear-gradient(135deg, #0f291e 0%, #173d2b 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 41, 30, 0.18);
}

.drawer-link-item.active .drawer-link-icon {
    background: rgba(223, 183, 126, 0.22);
    color: #84cc16;
}

.mobile-drawer-footer {
    padding: 18px 20px;
    border-top: 1px solid #edf2ef;
    background: #fafbfa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #73b41a 0%, #5b9414 100%);
    color: #0c2319;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(115, 180, 26, 0.3);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.drawer-cta-btn:hover {
    background: linear-gradient(135deg, #7fc520 0%, #68a617 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(115, 180, 26, 0.4);
}

.drawer-help-info {
    text-align: center;
}

.drawer-help-label {
    font-size: 0.76rem;
    color: #7b8f82;
    margin-bottom: 2px;
}

.drawer-help-phone {
    font-weight: 700;
    color: #0f291e;
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-block;
}

/* ==========================================================================
   NAVIGATION RESPONSIVE MEDIA QUERIES (1024px & 580px)
   ========================================================================== */
@media (max-width: 1024px) {

    .desktop-navigation,
    .nav-navigation {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-header-cta {
        display: none !important;
    }

    .btn-user-auth .user-auth-label {
        display: none !important;
    }

    .btn-user-auth {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
        min-width: 40px !important;
    }

    .btn-user-auth .user-icon {
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-actions {
        gap: 8px;
    }

    .top-utility-bar {
        font-size: 0.72rem;
    }

    .utility-container {
        padding: 6px 16px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
    }

    .utility-container::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 580px) {
    .brand-tagline {
        display: none;
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .logo-emblem {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .nav-container {
        padding: 10px 16px;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-cart-btn {
        width: 38px;
        height: 38px;
    }

    .btn-user-auth {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
    }
}

/* ==========================================================================
   PAGE HEADER BANNER & BREADCRUMBS (FOR DEDICATED PAGES)
   ========================================================================== */
.page-header-banner {
    background: linear-gradient(135deg, #071911 0%, #0f291e 50%, #163d2c 100%);
    color: #ffffff;
    padding: 60px 24px 50px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(115, 180, 26, 0.25);
}

.page-header-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(115, 180, 26, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-banner-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #a4beae;
    margin-bottom: 16px;
}

.breadcrumb-nav a {
    color: #84cc16;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb-sep {
    opacity: 0.5;
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

.page-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(115, 180, 26, 0.18);
    color: #84cc16;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(115, 180, 26, 0.35);
    margin-bottom: 16px;
}

.page-banner-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 900px;
}

.page-banner-title em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    color: #84cc16;
}

.page-banner-sub {
    font-size: 1.05rem;
    color: #cbdad1;
    max-width: 780px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.page-banner-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 10px;
}

.banner-metric-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2ece6;
    backdrop-filter: blur(8px);
}

.banner-metric-icon {
    color: #84cc16;
}

@media (max-width: 580px) {
    .page-header-banner {
        padding: 40px 16px 36px;
    }

    .page-banner-title {
        font-size: 1.9rem;
    }

    .page-banner-sub {
        font-size: 0.92rem;
    }

    .page-banner-metrics {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Hero Section */
.hero {
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.hero-content h1 em {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(45, 106, 79, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.hero-image-container {
    position: relative;
}

.hero-badge {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.hero-badge-icon {
    font-size: 1.8rem;
}

.hero-badge-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-badge-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 30px 100px 30px 30px;
    box-shadow: var(--shadow-hover);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Products Section */
.products-section {
    background-color: #fff;
    padding: 100px 24px;
    border-top: 1px solid var(--border-color);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(82, 183, 136, 0.3);
}

.product-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f1f3f1;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-light);
}

.product-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.btn-buy {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-buy:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

/* Loading & Empty States */
.loading-state,
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Contact & Inquiry Section */
.contact-section {
    padding: 100px 24px;
    background-color: var(--bg-main);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    background-color: rgba(82, 183, 136, 0.15);
    color: var(--primary-light);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-weight: 700;
    color: var(--primary-color);
}

.contact-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Inquiry Form */
.form-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background-color: #fafbfa;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.15);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    min-width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    border-left: 6px solid #ccc;
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateY(100px);
    opacity: 0;
    animation: slideIn 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
    transition: var(--transition-smooth);
}

.toast.success {
    border-left-color: #52b788;
}

.toast.error {
    border-left-color: #e63946;
}

.toast-icon {
    font-size: 1.4rem;
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

@keyframes slideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================================================
   MODERN UNIFIED PREMIUM FOOTER
========================================================= */
footer,
.footer {
    background: linear-gradient(180deg, #0f291e 0%, #081711 100%);
    color: #ffffff;
    padding: 70px 24px 30px;
    border-top: 1px solid rgba(115, 180, 26, 0.2);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.footer-content {
    display: grid !important;
    grid-template-columns: 1.3fr 2fr !important;
    gap: 50px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 45px !important;
    align-items: start !important;
}

.footer-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-brand .brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.footer-brand .brand-accent {
    background: linear-gradient(135deg, #73b41a 0%, #84cc16 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand .brand-tagline {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.footer-links {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-col h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: #73b41a;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: #84cc16;
    transform: translateX(3px);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 580px) {
    .footer-links {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* ==========================================================================
   RESPONSIVE NAVBAR & MOBILE NAVIGATION DRAWER SYSTEM
   ========================================================================== */

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid rgba(15, 41, 30, 0.15);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 41, 30, 0.05);
}

.mobile-menu-toggle:hover {
    background: #f4f8f5;
    border-color: #73b41a;
    transform: translateY(-1px);
}

.mobile-menu-toggle .bar {
    height: 2.2px;
    width: 20px;
    background-color: #0f291e;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-toggle.active {
    background: #fef2f2;
    border-color: #fecaca;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7.2px) rotate(45deg);
    background-color: #dc2626;
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7.2px) rotate(-45deg);
    background-color: #dc2626;
}

/* Mobile Drawer Overlay Backdrop */
.mobile-drawer-overlay,
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 25, 17, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-overlay.active,
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Drawer Slide-out Side Panel */
.mobile-drawer,
aside.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background-color: #ffffff;
    box-shadow: -15px 0 50px rgba(15, 41, 30, 0.22);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

/* Mobile Drawer Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(115, 180, 26, 0.2);
    background: #fbfdfc;
    flex-shrink: 0;
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.emblem-small {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
}

.drawer-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f291e;
    letter-spacing: -0.02em;
}

.drawer-title span {
    color: #73b41a;
}

.btn-drawer-close {
    background: #f1f5f9;
    border: none;
    color: #475569;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-drawer-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

/* Mobile Drawer Auth Card */
.mobile-drawer-auth {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(15, 41, 30, 0.04) 0%, rgba(115, 180, 26, 0.1) 100%);
    border-bottom: 1px solid #edf2ef;
    flex-shrink: 0;
}

/* Mobile Drawer Nav Links */
.mobile-drawer-links {
    list-style: none;
    margin: 0;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.drawer-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e2922;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.drawer-link-item:hover,
.drawer-link-item.active {
    background-color: rgba(15, 41, 30, 0.07);
    color: #0f291e;
    border-color: rgba(115, 180, 26, 0.28);
}

.drawer-link-item.active {
    background: rgba(15, 41, 30, 0.08);
    font-weight: 700;
    border-left: 3px solid #73b41a;
}

.drawer-link-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(15, 41, 30, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f291e;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.drawer-link-item.active .drawer-link-icon {
    background: #0f291e;
    color: #84cc16;
}

/* Mobile Drawer Footer */
.mobile-drawer-footer {
    padding: 18px 20px;
    border-top: 1px solid #edf2ef;
    background: #fbfdfc;
    flex-shrink: 0;
    margin-top: auto;
}

.drawer-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0f291e 0%, #1e4535 100%);
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(15, 41, 30, 0.15);
    transition: all 0.25s ease;
}

.drawer-cta-btn:hover {
    background: linear-gradient(135deg, #163d2c 0%, #295c46 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 41, 30, 0.22);
}

.drawer-help-info {
    text-align: center;
}

.drawer-help-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 600;
}

.drawer-help-phone {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f291e;
    text-decoration: none;
}

/* ==========================================================================
   DEDICATED PAGE BANNER HERO (Products, Consultation, Machinery)
   ========================================================================== */
.page-header-banner {
    background: linear-gradient(135deg, #071911 0%, #0f291e 50%, #15392b 100%);
    color: #ffffff;
    padding: 48px 24px 44px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(115, 180, 26, 0.25);
}

.page-header-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(115, 180, 26, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #9db2a5;
    margin-bottom: 16px;
}

.breadcrumb-nav a {
    color: #cbdad1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: #84cc16;
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
    color: #84cc16;
    font-weight: 600;
}

.page-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(115, 180, 26, 0.16);
    color: #84cc16;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(115, 180, 26, 0.35);
    margin-bottom: 14px;
}

.page-banner-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-banner-title em {
    font-family: var(--font-serif);
    font-style: italic;
    color: #84cc16;
    font-weight: 400;
}

.page-banner-sub {
    font-size: 1.05rem;
    color: #cbdad1;
    max-width: 720px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.page-banner-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.banner-metric-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    color: #e2ece6;
    font-weight: 600;
}

.banner-metric-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(115, 180, 26, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #84cc16;
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ========================================================================== */

/* Desktop Clean Rendering (> 1024px) */
@media (min-width: 1025px) {

    .mobile-drawer,
    aside.mobile-drawer,
    .mobile-drawer-overlay,
    .mobile-menu-overlay,
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .btn-header-cta {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Medium Desktop & Standard Laptops (<= 1360px) */
@media (max-width: 1360px) {
    .nav-links {
        gap: 2px;
    }

    .nav-links a,
    .nav-link-item {
        padding: 6px 8px;
        font-size: 0.84rem;
    }

    .btn-header-cta {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .btn-user-auth {
        padding: 6px 12px !important;
        font-size: 0.82rem !important;
    }
}

/* Large Tablets & Medium Laptops (<= 1180px) */
@media (max-width: 1180px) {
    .nav-links {
        gap: 1px;
    }

    .nav-links a,
    .nav-link-item {
        padding: 5px 6px;
        font-size: 0.80rem;
    }

    .btn-header-cta {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .btn-header-cta svg {
        display: none;
    }

    .btn-user-auth {
        padding: 5px 10px !important;
        font-size: 0.78rem !important;
    }
}

/* Tablet Breakpoint (<= 1024px) - Switches to Mobile Navigation Drawer */
@media (max-width: 1024px) {

    .desktop-navigation,
    .nav-navigation:not(.mobile-drawer) {
        display: none !important;
    }

    .btn-header-cta {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Make Account button compact icon on tablets/mobile */
    .user-auth-label,
    .user-name-text,
    .dropdown-arrow {
        display: none !important;
    }

    .btn-user-auth {
        padding: 0 !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }

    .btn-user-auth .user-icon {
        margin: 0 !important;
    }

    .btn-user-auth .user-icon svg {
        width: 16px;
        height: 16px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 50px;
        gap: 36px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 28px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-img {
        height: 340px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .page-banner-title {
        font-size: 2.2rem;
    }
}

/* Small Tablets / Phablets (<= 768px) */
@media (max-width: 768px) {
    .top-utility-bar {
        font-size: 0.72rem;
    }

    .utility-container {
        padding: 6px 16px;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .utility-hide-tablet,
    .utility-hide-mobile,
    .utility-item {
        display: none !important;
    }

    .utility-badge {
        padding: 2px 8px;
        font-size: 0.68rem;
        white-space: nowrap;
    }

    .utility-link {
        white-space: nowrap;
        font-size: 0.74rem;
    }

    .nav-container {
        padding: 12px 18px;
    }

    .brand-title {
        font-size: 1.3rem;
    }

    .page-header-banner {
        padding: 36px 18px 30px;
    }

    .page-banner-title {
        font-size: 1.85rem;
    }

    .page-banner-sub {
        font-size: 0.95rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
    .utility-badge span:last-child {
        display: inline-block;
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-container {
        padding: 10px 14px;
        gap: 8px;
    }

    .logo {
        gap: 8px;
    }

    .logo-emblem {
        width: 36px;
        height: 36px;
        border-radius: 9px;
    }

    .logo-emblem svg {
        width: 18px;
        height: 18px;
    }

    .brand-title {
        font-size: 1.15rem;
    }

    .brand-tagline {
        display: none;
    }

    .nav-actions {
        gap: 7px;
    }

    .nav-cart-btn,
    .mobile-menu-toggle,
    .btn-user-auth {
        width: 38px !important;
        height: 38px !important;
    }

    .page-banner-title {
        font-size: 1.6rem;
    }

    .banner-metric-item {
        font-size: 0.8rem;
    }
}


/* ==========================================================================
   DevDharaAgro New Additions (Products, Consultation, Machinery & Cart Drawer)
   ========================================================================== */

/* Utility Width classes */
.w-100 {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* Product Section Search & Filters */
.filter-search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: 20px;
}

.search-box {
    position: relative;
    flex: 1 1 300px;
}

.search-box input {
    width: 100%;
    padding: 12px 18px 12px 42px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    background: #fff;
    transition: var(--transition-smooth);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--text-muted);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-tab:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(82, 183, 136, 0.05);
}

.filter-tab.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 6px 15px var(--accent-glow);
}

/* Consultation Section styles */
.consultation-section {
    background-color: var(--bg-main);
    padding: 100px 24px;
    border-top: 1px solid var(--border-color);
}

.consultation-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 40px;
}

.consultation-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-header {
    margin-bottom: 24px;
}

.card-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.card-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 8px;
}

.card-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.consultation-card select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background-color: #fafbfa;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.consultation-card select:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Diagnostic results */
.diagnostic-result {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(82, 183, 136, 0.08), rgba(45, 106, 79, 0.03));
    border: 1px solid rgba(82, 183, 136, 0.2);
    border-radius: 16px;
    padding: 24px;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    padding-bottom: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.result-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.result-confidence {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
}

.result-body h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
    margin-bottom: 4px;
}

.result-body p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.result-recommendation-product {
    border-top: 1px dashed rgba(27, 67, 50, 0.15);
    padding-top: 16px;
    margin-top: 16px;
}

.result-recommendation-product>span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.promo-product-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 12px;
}

.promo-info h5 {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
}

.promo-info p {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0;
}

.btn-buy-promo {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-buy-promo:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

/* Machinery Section styling */
.machinery-section {
    background: #fff;
    padding: 100px 24px;
    border-top: 1px solid var(--border-color);
}

.machinery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.machinery-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.machinery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(82, 183, 136, 0.3);
}

.machinery-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.machinery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.machinery-card:hover .machinery-img {
    transform: scale(1.08);
}

.machinery-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.machinery-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.machinery-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.machinery-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.machinery-prices {
    background: rgba(27, 67, 50, 0.03);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: none !important;

}

.machinery-prices div span {
    color: var(--primary-light);
    font-weight: 800;
}

.machinery-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.machinery-actions button {
    padding: 10px 8px;
    font-size: 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    
}

/* Machinery Support & Calculator layout */
.machinery-interactions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.machinery-calc-card,
.machinery-support-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.calculator-body {
    margin-top: 20px;
}

.machinery-calc-card select,
.machinery-support-card select,
.machinery-support-card input,
.machinery-support-card textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background-color: #fafbfa;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.machinery-calc-card select:focus,
.machinery-support-card select:focus,
.machinery-support-card input:focus,
.machinery-support-card textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.slider-input {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    margin: 15px 0 5px;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(82, 183, 136, 0.3);
    transition: var(--transition-smooth);
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--primary-light);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.calc-output-box {
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.03), rgba(82, 183, 136, 0.02));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.calc-row.divider {
    border-top: 1px dashed rgba(27, 67, 50, 0.15);
    padding-top: 12px;
    margin-top: 12px;
    margin-bottom: 0;
}

.calc-row strong {
    color: var(--text-dark);
}

.calc-row .total-price {
    font-size: 1.4rem;
    color: var(--primary-color) !important;
    font-weight: 800;
}

/* Floating Cart System */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.25);
    z-index: 998;
    transition: var(--transition-smooth);
}

.floating-cart-btn:hover {
    background-color: var(--primary-light);
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(27, 67, 50, 0.35);
}

.cart-icon-symbol {
    font-size: 1.8rem;
}

.cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Drawer overlay */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: var(--transition-smooth);
}

.cart-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 800;
}

.btn-close-drawer {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.btn-close-drawer:hover {
    color: var(--text-dark);
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.cart-items {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    gap: 12px;
    animation: slideInItem 0.3s forwards ease;
}

@keyframes slideInItem {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
}

.btn-remove-item {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #e63946;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-remove-item:hover {
    transform: scale(1.15);
}

.cart-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0;
}

.cart-summary-form h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 4px;
}

.cart-summary-form select,
.cart-summary-form input,
.cart-summary-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 12px;
    background: var(--bg-main);
    transition: var(--transition-smooth);
}

.cart-summary-form select:focus,
.cart-summary-form input:focus,
.cart-summary-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #fff;
}

.btn-submit-cart {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-submit-cart:hover {
    background-color: var(--primary-light);
}

/* Adjust Toast container to not clash with Cart Button */
.toast-container {
    bottom: 110px;
}

/* Responsiveness for new sections */
@media (max-width: 968px) {

    .consultation-grid,
    .machinery-interactions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .consultation-card,
    .machinery-calc-card,
    .machinery-support-card,
    .form-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 580px) {

    /* Prevent Hero button overflow */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-badge {
        left: 10px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .consultation-card,
    .machinery-calc-card,
    .machinery-support-card,
    .form-card {
        padding: 24px 16px;
    }

    .filter-search-container {
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
    }

    .filter-tabs {
        justify-content: center;
    }

    .cart-drawer {
        width: 100%;
    }

    .floating-cart-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .cart-icon-symbol {
        font-size: 1.5rem;
    }

    .toast-container {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 90px;
    }

    .toast {
        min-width: unset;
        width: 100%;
    }
}

/* Strict Layout Reset to avoid horizontal leaks & keep content centered */
html,
body {
    overflow-x: hidden;
    position: relative;
    max-width: 100%;
    width: 100%;
}

/* Ensure all primary layout containers are centered on PC */
.utility-container,
.nav-container,
.hero,
.section-container,
.contact-layout,
.footer-content,
.footer-bottom,
.page-banner-container,
.account-dashboard-wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
}

/* =========================================================
   CUSTOMER AUTHENTICATION & USER PROFILE STYLES
========================================================= */
/* Navbar User Profile / Auth Button (Icon Only) */
.nav-actions .btn-user-auth {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #0f291e !important;
    border: 1px solid rgba(15, 41, 30, 0.12) !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 41, 30, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0;
}

.nav-actions .btn-user-auth:hover {
    background: #f7faf8 !important;
    border-color: #73b41a !important;
    color: #0f291e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(15, 41, 30, 0.12) !important;
}

.nav-actions .btn-user-auth .user-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.nav-actions .btn-user-auth .user-icon svg {
    width: 18px !important;
    height: 18px !important;
    color: #0f291e !important;
    transition: color 0.2s ease;
}

.nav-actions .btn-user-auth:hover .user-icon svg {
    color: #73b41a !important;
}

.nav-actions .btn-user-auth .user-auth-label,
.nav-actions .btn-user-auth>span:not(.user-icon) {
    display: none !important;
}

.btn-user-auth {
    background: linear-gradient(135deg, #0f291e 0%, #1b4533 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(115, 180, 26, 0.4) !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(15, 41, 30, 0.16);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-user-auth .user-icon svg {
    color: #84cc16;
}

.btn-user-auth span {
    color: #ffffff !important;
}

.btn-user-auth:hover {
    background: linear-gradient(135deg, #163d2d 0%, #255842 100%) !important;
    color: #ffffff !important;
    border-color: #84cc16 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 41, 30, 0.24);
}

.user-profile-menu {
    position: relative;
    display: inline-block;
}

.btn-user-profile {
    background: linear-gradient(135deg, #0f291e 0%, #1a4231 100%);
    color: #ffffff;
    border: 1px solid rgba(115, 180, 26, 0.35);
    padding: 5px 14px 5px 6px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 12px rgba(15, 41, 30, 0.15);
    transition: all 0.25s ease;
}

.btn-user-profile:hover {
    border-color: #73b41a;
    box-shadow: 0 6px 18px rgba(15, 41, 30, 0.22);
}

.user-avatar-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #73b41a 0%, #5b9414 100%);
    color: #0f291e;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(15, 41, 30, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(115, 180, 26, 0.25);
    padding: 8px 0;
    display: none;
    z-index: 1000;
    animation: dropdownPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-dropdown-menu.active {
    display: block;
}

.dropdown-header-name {
    padding: 12px 18px;
    border-bottom: 1px solid #f0f3f1;
    background: #fbfdfc;
    border-radius: 14px 14px 0 0;
}

.dropdown-header-name h4 {
    font-size: 0.92rem;
    color: #0f291e;
    font-weight: 700;
    margin-bottom: 2px;
}

.dropdown-header-name p {
    font-size: 0.76rem;
    color: #63776b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-item {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.user-dropdown-item:hover {
    background-color: #f3f7f4;
    color: #0f291e;
}

.user-dropdown-item.logout {
    color: #dc2626;
    border-top: 1px solid #f1f5f9;
}

.user-dropdown-item.logout:hover {
    background-color: #fef2f2;
}

/* Modals Overlay */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-card {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.auth-modal-overlay.active .auth-modal-card {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: background 0.2s;
}

.auth-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.auth-modal-header h3 {
    font-size: 1.4rem;
    color: #1b4332;
    font-weight: 700;
}

.auth-modal-header p {
    font-size: 0.88rem;
    color: #64748b;
}

.auth-form-group {
    margin-bottom: 16px;
}

.auth-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.auth-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.auth-form-group input,
.auth-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    outline: none;
    transition: border 0.2s;
}

.auth-form-group input:focus,
.auth-form-group textarea:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.btn-auth-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.btn-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.3);
}

.auth-demo-hint {
    margin-top: 18px;
    background: #f0fdf4;
    border: 1px dashed #bbf7d0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #166534;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-demo-hint code {
    background: #dcfce7;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-demo-autofill {
    background: #2d6a4f;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
}

.auth-modal-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

.auth-modal-footer a {
    color: #2d6a4f;
    font-weight: 700;
    text-decoration: none;
}

.auth-alert-msg {
    color: #dc2626;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    margin-bottom: 12px;
}

/* User Account Profile Drawer Modal */
.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.profile-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.profile-tab {
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-size: 0.88rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-tab.active {
    color: #1b4332;
    border-bottom-color: #2d6a4f;
}

.my-inquiry-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.my-inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.badge-status {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-status.new {
    background: #ffedd5;
    color: #c2410c;
}

.badge-status.read {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-status.replied {
    background: #dcfce7;
    color: #15803d;
}

/* Account Section Styles */
.account-section {
    padding: 80px 20px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.account-guest-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.account-guest-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.account-guest-card h3 {
    font-size: 1.5rem;
    color: #1b4332;
    font-weight: 700;
    margin-bottom: 10px;
}

.account-guest-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.account-guest-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.account-dashboard-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.account-welcome-card {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.account-welcome-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.account-welcome-info p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 850px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

.account-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.account-box-title {
    font-size: 1.15rem;
    color: #1b4332;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}





/* ==========================================================================
   CENTRALIZED MASTER LOGO & BRANDING STYLES (Matching logo1.jpeg)
   ========================================================================== */
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand:hover {
    transform: translateY(-1px);
}

.nav-brand-img {
    height: 46px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    background: #ffffff;
    padding: 3px 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(115, 180, 26, 0.22);
}

.footer-brand-logo {
    display: inline-block;
    background: #ffffff;
    padding: 7px 14px;
    border-radius: 12px;
    border: 1px solid rgba(115, 180, 26, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

.footer-brand-logo:hover {
    transform: translateY(-2px);
    border-color: #73b41a;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Mobile drawer brand logo */
.drawer-brand {
    text-decoration: none;
}

.drawer-brand-img {
    height: 38px;
    max-width: 180px;
}

/* Login / Register modal brand logo */
.auth-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.auth-logo-img {
    height: 54px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

/* Header shrink on scroll + responsive sizes */
header.header-scrolled .nav-brand-img {
    height: 40px;
}

.nav-brand-img {
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    .nav-brand-img {
        height: 40px;
        max-width: 170px;
    }
}

@media (max-width: 420px) {
    .nav-brand-img {
        height: 34px;
        max-width: 140px;
        padding: 2px 4px;
    }
}

.quality-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(15, 41, 30, 0.08);
    color: #0f291e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.shield-check-icon {
    width: 28px;
    height: 28px;
    overflow: visible;
}

.shield-path,
.check-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 0;
}

.check-path {
    stroke-dasharray: 40;
    stroke-dashoffset: 0;
}

.quality-icon:hover .shield-path {
    animation: shield-draw 0.8s ease-out both;
}

.quality-icon:hover .check-path {
    animation: check-draw 0.45s ease-out 0.2s both;
}

@keyframes shield-draw {
    from {
        stroke-dashoffset: 300;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes check-draw {
    from {
        stroke-dashoffset: 40;
        opacity: 0;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .quality-icon:hover .shield-path,
    .quality-icon:hover .check-path {
        animation: none;
    }
}


/* Fix mobile Login/Register text overlapping the green circle */
@media (max-width: 1024px) {
    /* Header account button: show only the user icon */
    .nav-actions > .user-auth-widget .btn-user-auth {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .nav-actions > .user-auth-widget .btn-user-auth > span:not(.user-icon) {
        display: none !important;
    }

    .nav-actions > .user-auth-widget .btn-user-auth .user-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Keep Login/Register inside the drawer as a full-width button */
    .mobile-drawer-auth .btn-user-auth {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 42px !important;
        padding: 10px 14px !important;
        border-radius: 10px !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .mobile-drawer-auth .btn-user-auth > span {
        display: inline-flex !important;
        align-items: center !important;
    }
}
