/* ========================================
   Bismi Trading Company - Stylesheet
   PERFORMANCE OPTIMIZED
   ======================================== */

:root {
    --color-primary: #1B4332;
    --color-primary-light: #2D6A4F;
    --color-primary-dark: #081C15;
    --color-accent: #52B788;
    --color-accent-hover: #74C69D;
    --color-text-dark: #1B2A22;
    --color-text-light: #F4F9F6;
    --color-bg-light: #F7FCF9;
    --color-bg-alt: #E8F5E9;
    --color-error: #EA5E5E;
    --font-primary: 'Montserrat', sans-serif;
    --font-serif: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    --header-height: 88px;
    --header-height-scrolled: 68px;
}

/* Preloader Overlay */
.preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
    visibility: visible;
    opacity: 1;
}

.preloader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.preloader-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    animation: preloader-pulse 1.8s infinite ease-in-out;
}

.preloader-spinner-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-top: 2px solid var(--color-accent);
    border-radius: 50%;
    animation: preloader-spin 1.5s linear infinite;
    top: -15px;
}

.preloader-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 4px;
    margin-top: 36px;
    text-transform: uppercase;
}

.preloader-bar-container {
    width: 200px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    margin-top: 16px;
    overflow: hidden;
    position: relative;
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-accent);
    transition: width 0.1s linear;
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-light);
    overflow-x: hidden;
    overscroll-behavior: y-auto;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px;
    height: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scroll margin for all anchor targets to account for fixed header */
#about,
#products,
#quality,
#contact,
#quote-section {
    scroll-margin-top: calc(var(--header-height) + 68px);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--color-accent) !important;
}

.text-white {
    color: #ffffff !important;
}

.text-light-green {
    color: #A9D1B9 !important;
}

.align-center {
    align-items: center;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(82, 183, 136, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--color-primary-dark);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-full-width {
    width: 100%;
}

/* Premium Navbar - PERFORMANCE: no backdrop-filter during scroll */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
}

.navbar-header.scrolled {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-header.scrolled .brand-name {
    color: var(--color-primary);
}

.navbar-header.scrolled .nav-link {
    color: rgba(27, 67, 50, 0.75);
}

.navbar-header.scrolled .nav-link:hover,
.navbar-header.scrolled .nav-link.active {
    color: var(--color-primary);
}

.navbar-header.scrolled .mobile-toggle .bar {
    background-color: var(--color-primary);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(240,245,242,0.9));
    border-radius: 50%;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    margin-left: -20px;
    cursor: pointer;
}

/* PERFORMANCE: Simplified logo ring - reduced complexity, no conic-gradient mask */
.logo-badge-wrap::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(82, 183, 136, 0.4);
    z-index: -1;
    filter: drop-shadow(0 4px 20px rgba(82, 183, 136, 0.25));
}

.logo-badge-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 50%, rgba(0,0,0,0.02) 100%);
    box-shadow: inset 0 -4px 12px rgba(0, 0, 0, 0.06), inset 0 4px 12px rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.logo-brand:hover .logo-badge-wrap {
    transform: translateY(-4px) scale(1.06);
}

.logo-brand:hover .logo-badge-wrap::before {
    border-color: rgba(82, 183, 136, 0.7);
    filter: drop-shadow(0 6px 28px rgba(82, 183, 136, 0.35));
}

.logo-img {
    width: 68px !important;
    height: 68px !important;
    object-fit: contain;
    padding: 6px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.1;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 2px;
}

.navbar-header.scrolled .logo-badge-wrap {
    width: 60px;
    height: 60px;
    margin-left: -12px;
}

.navbar-header.scrolled .logo-badge-wrap::before {
    opacity: 0.5;
}

.navbar-header.scrolled .logo-img {
    width: 56px !important;
    height: 56px !important;
    padding: 4px;
}

.navbar-header.scrolled .logo-text .brand-name {
    font-size: 1.1rem;
}

.navbar-header.scrolled .logo-text .brand-sub {
    font-size: 0.5rem;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    transform-origin: center;
}

/* ========================================
   INNOVATIVE HERO SECTION - PERFORMANCE OPTIMIZED
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #ffffff;
    padding-top: 88px;
    background: linear-gradient(
        45deg,
        #0d2818 0%,
        #1B4332 30%,
        #2D6A4F 50%,
        #1B4332 70%,
        #0d2818 100%
    );
    /* PERFORMANCE: Removed gradient animation (too expensive for scroll) */
    /* PERFORMANCE: will-change removed - causes memory pressure */
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(27, 67, 50, 0.75) 0%,
        rgba(45, 106, 79, 0.65) 30%,
        rgba(82, 183, 136, 0.55) 60%,
        rgba(27, 67, 50, 0.75) 100%
    );
    /* PERFORMANCE: Removed overlay-pulse animation - not needed */
}

.hero-floating-grains {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.rice-stalk-img {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 600px;
    height: auto;
    opacity: 0.45;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.25));
    animation: stalk-float 6s ease-in-out infinite;
}

@keyframes stalk-float {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-52%) rotate(1.5deg); }
}

/* PERFORMANCE: Reduced grain dots from 18 to 4, removed box-shadows */
.hero-grain-dots {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.grain-dot {
    position: absolute;
    top: -60px;
    width: 6px;
    height: 20px;
    display: block;
    background: radial-gradient(
        ellipse at 30% 30%,
        #FFD700 0%, #FFA500 35%, #CC8400 65%, #8B6914 100%
    );
    border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    animation: grain-float linear infinite;
    animation-duration: 14s;
}

@keyframes grain-float {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.7);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    100% {
        transform: translate3d(0, 100vh, 0) rotate(240deg) scale(0.8);
        opacity: 0;
    }
}

/* Only 4 grain dots for performance */
.grain-dot:nth-child(1) { left: 15%; animation-delay: 0s; }
.grain-dot:nth-child(2) { left: 40%; animation-delay: 3.5s; }
.grain-dot:nth-child(3) { left: 65%; animation-delay: 7s; }
.grain-dot:nth-child(4) { left: 85%; animation-delay: 10.5s; }

.hero-container {
    z-index: 5;
    position: relative;
    width: 100%;
}

.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 180px);
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.badge-legacy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
    width: fit-content;
}

.hero-title {
    font-size: 0;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title-line {
    display: block;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-title-highlight {
    color: var(--color-accent);
    font-size: 3.8rem;
    font-weight: 800;
    position: relative;
}

.hero-rotating-text-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rotating-label {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.rotating-text {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-accent);
    position: relative;
    padding: 4px 16px;
    background: rgba(82, 183, 136, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(82, 183, 136, 0.2);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
    transform-origin: center;
}

.rotating-text.fade-text {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    filter: blur(2px);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-weight: 300;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-btn-pulse {
    animation: hero-pulse-cta 2.5s infinite;
}

@keyframes hero-pulse-cta {
    0% { box-shadow: 0 0 0 0 rgba(82, 183, 136, 0.5); }
    70% { box-shadow: 0 0 0 12px rgba(82, 183, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(82, 183, 136, 0); }
}

.hero-btn-pulse:hover {
    animation: none;
}

.trusted-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.trusted-badge i {
    font-size: 1rem;
    color: var(--color-accent);
}

.hero-visual-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-stats-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-stat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(82, 183, 136, 0.12);
    border-radius: 14px;
    font-size: 1.4rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.hero-stat-content {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px;
}

.hero-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-serif);
    line-height: 1.1;
}

.hero-stat-plus,
.hero-stat-pct {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-left: 2px;
}

.hero-stat-label {
    width: 100%;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.hero-stat-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-product-strip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.strip-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.strip-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.strip-item {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.strip-item-sep {
    font-size: 0.7rem;
    color: var(--color-accent);
    opacity: 0.5;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.hero-scroll-indicator:hover {
    opacity: 0.8;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* About / Legacy Section */
.about-section {
    background-color: var(--color-bg-light);
    position: relative;
}

.about-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 20% 50%, rgba(82, 183, 136, 0.04) 0%, transparent 60%);
}

.about-image-banner {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(27, 67, 50, 0.3) 0%,
        rgba(8, 28, 21, 0.85) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.banner-content {
    max-width: 700px;
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(82, 183, 136, 0.15);
    border: 1px solid rgba(82, 183, 136, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.banner-title {
    font-size: 2.8rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-text-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text-block .section-desc {
    margin-bottom: 0;
}

.stats-line {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-line-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background-color: #ffffff;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-line-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.08);
}

.stat-line-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.stat-line-content {
    flex: 1;
}

.stat-line-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-line-desc {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.5;
}

.history-map {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    padding: 32px 28px;
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
    border: 1px solid rgba(27, 67, 50, 0.06);
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.history-heading {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 28px;
    text-align: center;
}

.timeline-simple {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    padding-left: 32px;
}

.timeline-simple::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 2px;
    height: calc(100% - 16px);
    background: linear-gradient(
        to bottom,
        var(--color-accent) 0%,
        var(--color-primary-light) 50%,
        var(--color-accent) 100%
    );
    opacity: 0.3;
}

.timeline-simple-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.timeline-simple-dot {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-accent);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
    z-index: 2;
}

.timeline-simple-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-simple-year {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.timeline-simple-desc {
    font-size: 0.88rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.5;
}

/* Products Section */
.products-section {
    background-color: var(--color-bg-alt);
}

.product-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(27, 67, 50, 0.08);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5/3.4;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.badge-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-name {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.product-desc {
    font-size: 0.82rem;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 10px;
    font-weight: 300;
}

.product-specs {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 8px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-specs li {
    font-size: 0.78rem;
    color: var(--color-text-dark);
}

.product-specs .spec-label {
    font-weight: 600;
    color: var(--color-primary);
    margin-right: 4px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.product-rating .stars {
    color: #f5a623;
    font-size: 0.8rem;
}

.product-rating .rating-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-bg-alt);
    padding: 1px 8px;
    border-radius: 10px;
}

.stock-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-badge.in-stock {
    background-color: rgba(82, 183, 136, 0.15);
    color: var(--color-primary-light);
    border: 1px solid rgba(82, 183, 136, 0.2);
}

.stock-badge.in-stock i {
    font-size: 0.5rem;
    color: var(--color-accent);
}

.product-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.product-actions .btn {
    flex: 1;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid rgba(27, 67, 50, 0.15);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.quick-view-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    background-color: rgba(8, 28, 21, 0.92);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.quick-view-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.quick-view-modal {
    max-width: 420px;
    width: min(100%, 420px);
    padding: 48px 36px;
    text-align: center;
    position: relative;
    transform: translate3d(0, 0, 0) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-md);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    margin: auto;
}

.quick-view-overlay.active .quick-view-modal {
    transform: scale(1) translateY(0);
}

.quick-view-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quick-view-close:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.quick-view-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.quick-view-icon {
    font-size: 3rem;
    color: var(--color-accent);
    background: rgba(82, 183, 136, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(82, 183, 136, 0.15);
}

.quick-view-title {
    font-size: 1.5rem;
    color: #ffffff;
}

.quick-view-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.quick-view-inquire {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .quick-view-overlay {
        align-items: flex-start;
        justify-content: center;
        padding: 20px 14px;
    }

    .quick-view-modal {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px 24px;
        margin: 0 auto;
        transform: scale(0.95) translateY(12px);
    }

    .quick-view-overlay.active .quick-view-modal {
        transform: scale(1) translateY(0);
    }

    .quick-view-icon {
        width: 68px;
        height: 68px;
        font-size: 2.4rem;
    }

    .quick-view-title {
        font-size: 1.3rem;
    }

    .quick-view-desc {
        font-size: 0.9rem;
    }

    .quick-view-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
    }
}

/* Quality Assurance Section */
.quality-section {
    background-color: var(--color-bg-light);
}

.quality-card {
    background-color: var(--color-bg-alt);
    padding: 48px 36px;
    border-radius: var(--border-radius-md);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.quality-card:hover {
    background-color: #ffffff;
    border-color: rgba(27, 67, 50, 0.1);
    box-shadow: 0 15px 30px rgba(27, 67, 50, 0.05);
    transform: translateY(-4px);
}

.quality-icon-box {
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.quality-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.quality-card p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.65);
    font-weight: 300;
}

.process-flow {
    margin-top: 60px;
    text-align: center;
}

.process-flow-heading {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 36px;
}

.process-steps {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: flex-start;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    max-width: 260px;
    text-align: left;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
    opacity: 0.25;
    line-height: 1;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.4;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--color-accent);
    opacity: 0.4;
    font-size: 1.2rem;
    margin-top: 8px;
    flex-shrink: 0;
}

/* ========================================
   CERTIFICATION STRIP
   ======================================== */
.certification-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 50px;
    padding: 24px 20px;
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
}

.cert-badge i {
    font-size: 1.3rem;
    color: var(--color-accent);
}

.cert-badge span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-dark);
    white-space: nowrap;
}

.cert-divider {
    width: 1px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.08);
}

/* Quote Form Section */
.quote-section {
    background: linear-gradient(rgba(8, 28, 21, 0.95), rgba(27, 67, 50, 0.9)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
}

.text-light-green {
    font-size: 1.1rem;
    margin-bottom: 36px;
    font-weight: 300;
}

.contact-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.bullet-item i {
    font-size: 1.2rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quote-form-container {
    padding: 40px;
}

.form-heading {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 28px;
    border-left: 3px solid var(--color-accent);
    padding-left: 12px;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-control-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    position: relative;
}

.form-control-wrap.flex-2 { flex: 2; }
.form-control-wrap.flex-1 { flex: 1; }

.form-control-wrap label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.form-control-wrap .required {
    color: var(--color-accent);
}

.form-control-wrap input,
.form-control-wrap select,
.form-control-wrap textarea {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-control-wrap input::placeholder,
.form-control-wrap textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-control-wrap input:focus,
.form-control-wrap select:focus,
.form-control-wrap textarea:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 10px rgba(82, 183, 136, 0.15);
}

.form-control-wrap select option {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.phone-input-group {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.phone-input-group:focus-within {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.12);
}

.phone-input-group .country-prefix {
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.phone-input-group input {
    border: none !important;
    background-color: transparent !important;
    flex-grow: 1;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--color-error);
    margin-top: 4px;
}

.form-control-wrap.invalid input,
.form-control-wrap.invalid select {
    border-color: var(--color-error);
}

.form-control-wrap.invalid .error-msg {
    display: block;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(82, 183, 136, 0.2);
    border-radius: 50%;
    border-top-color: var(--color-accent);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.quote-trust-strip {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 28px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-metric {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.trust-metric i {
    font-size: 1.4rem;
    color: var(--color-accent);
}

.trust-metric div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.trust-metric strong {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 700;
}

.trust-metric span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-metric-divider {
    width: 1px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.08);
}

.live-support-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.live-support-indicator strong {
    color: #ffffff;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-accent);
    position: relative;
    animation: live-dot-pulse 2s infinite;
}

.live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background-color: var(--color-accent);
    opacity: 0.2;
    animation: live-dot-ring 2s infinite;
}

@keyframes live-dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes live-dot-ring {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(2); opacity: 0; }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(8, 28, 21, 0.92);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-modal {
    max-width: 480px;
    width: 90%;
    padding: 48px;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-overlay.active .success-modal {
    transform: scale(1);
}

.success-check-icon {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.success-modal .modal-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.success-modal .modal-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.footer-wrapper {
    background-color: var(--color-primary-dark);
    color: #ffffff;
}

.footer-brand-info {
    display: flex;
    flex-direction: column;
}

.brand-description {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.business-registration {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    border-left: 3px solid var(--color-accent);
    width: fit-content;
}

.tag-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.tag-val {
    color: var(--color-accent);
    font-size: 0.9rem;
    font-family: monospace;
    letter-spacing: 1px;
}

.footer-social {
    margin-top: 24px;
}

.footer-social-title {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.operating-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.operating-hours li {
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.operating-hours li span {
    color: rgba(255, 255, 255, 0.6);
}

.operating-hours li strong {
    color: #ffffff;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.contact-details li i {
    color: var(--color-accent);
    margin-top: 4px;
    width: 20px;
}

.contact-details li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.contact-details li a:hover {
    color: var(--color-accent);
}

.newsletter-wrap {
    margin-top: auto;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-smooth);
}

.newsletter-form input:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-btn {
    padding: 12px 18px;
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    color: var(--color-primary-dark);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--color-accent-hover);
}

.newsletter-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background-color: #ffffff;
    color: #075E54;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-4px);
}

/* Section Shared */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    background-color: rgba(82, 183, 136, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.65);
    max-width: 620px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.section-desc {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 300;
}

.section-header {
    margin-bottom: 20px;
}

/* PERFORMANCE: Reduced motion query for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto !important;
    }
    
    .rotating-text,
    .hero-grain-dots,
    .hero-particles,
    .rice-stalk-img,
    .grain-dot {
        animation: none !important;
    }
    
    .product-card:hover {
        transform: none !important;
    }
    
    .hero-btn-pulse {
        animation: none !important;
    }
}

/* ========================================
   RESPONSIVE — MOBILE FIRST
   ======================================== */
@media (max-width: 1024px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }
    
    .hero-title-line {
        font-size: 2.4rem;
    }
    
    .hero-title-highlight {
        font-size: 2.6rem;
        display: block;
    }
    
    .hero-visual-col {
        order: 2;
    }
    
    .hero-text-col {
        order: 1;
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .history-map {
        position: static;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .process-step {
        max-width: 100%;
        align-items: center;
    }
    
    .step-arrow {
        display: none;
    }
    
    .certification-strip {
        flex-wrap: wrap;
        gap: 12px;
        padding: 20px;
    }
    
    .cert-badge {
        padding: 0 12px;
    }
    
    .cert-divider {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   MOBILE NAV — CLEAN FULLSCREEN MENU
   ======================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }
    
    .navbar-header {
        padding: 12px 0;
        background-color: transparent;
    }
    
    .navbar-header.scrolled {
        padding: 8px 0;
        background-color: #ffffff;
    }

    /* When menu is open, force dark header so it matches the menu */
    body.menu-open .navbar-header,
    body.menu-open .navbar-header.scrolled {
        background-color: var(--color-primary-dark) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    body.menu-open .navbar-header .brand-name,
    body.menu-open .navbar-header.scrolled .brand-name {
        color: #ffffff !important;
    }

    body.menu-open .navbar-header .mobile-toggle .bar,
    body.menu-open .navbar-header.scrolled .mobile-toggle .bar {
        background-color: #ffffff !important;
    }
    
    .logo-badge-wrap {
        width: 52px;
        height: 52px;
        margin-left: -8px;
    }
    
    .logo-img {
        width: 46px !important;
        height: 46px !important;
        padding: 3px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-sub {
        font-size: 0.5rem;
    }
    
    /* Fullscreen dark menu under the fixed header (start below header so toggle stays clickable) */
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        height: calc(100dvh - 72px);
        height: calc(100vh - 72px);
        background: linear-gradient(
            180deg,
            #0d2818 0%,
            var(--color-primary-dark) 45%,
            #081C15 100%
        );
        z-index: 998;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 32px 24px 40px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
    }
    
    /* When scrolled, header is smaller so adjust menu top */
    body.menu-open .navbar-header.scrolled ~ .nav-menu,
    body.menu-open .navbar-header.scrolled + .nav-menu,
    body.menu-open .navbar-header.scrolled .nav-menu {
        top: 60px;
        height: calc(100dvh - 60px);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .nav-list li {
        width: 100%;
    }
    
    .nav-menu .nav-link {
        display: block;
        font-size: 1.25rem;
        font-weight: 600;
        padding: 16px 20px;
        color: #ffffff !important;
        width: 100%;
        text-align: center;
        border-radius: 14px;
        background-color: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.06);
        transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:focus,
    .nav-menu .nav-link.active {
        background-color: rgba(82, 183, 136, 0.16);
        border-color: rgba(82, 183, 136, 0.35);
        color: var(--color-accent) !important;
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }

    /* Prevent scrolled desktop colors from leaking into mobile menu */
    .navbar-header.scrolled .nav-menu .nav-link {
        color: #ffffff !important;
    }

    .navbar-header.scrolled .nav-menu .nav-link:hover,
    .navbar-header.scrolled .nav-menu .nav-link.active {
        color: var(--color-accent) !important;
    }
    
    /* Keep mobile toggle above the menu overlay */
    .mobile-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
        width: 28px;
        height: 20px;
        padding: 0;
    }
    
    /* Hamburger to X animation */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .btn-nav-quote {
        display: none;
    }
    
    /* ========================================
       HERO SECTION MOBILE FIXES
       ======================================== */
    .hero-section {
        min-height: 100dvh;
        padding-top: 72px;
    }

    .hero-container {
        padding: 0 16px;
    }
    
    .hero-grid-layout {
        gap: 20px;
        min-height: auto;
    }

    .hero-text-col {
        padding-top: 10px;
    }
    
    .badge-legacy {
        font-size: 0.7rem;
        padding: 6px 14px;
        margin-bottom: 16px;
    }
    
    .hero-title {
        margin-bottom: 14px;
    }

    .hero-title-line {
        font-size: 2rem;
    }
    
    .hero-title-highlight {
        font-size: 2.2rem;
    }
    
    .hero-rotating-text-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 14px;
    }

    .rotating-label {
        font-size: 1rem;
    }

    .rotating-text {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .hero-btn-pulse {
        animation: none;
    }

    .hero-stats-glass {
        padding: 20px 16px;
        backdrop-filter: none;
        gap: 14px;
    }

    .hero-stat-item {
        gap: 14px;
    }

    .hero-stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .hero-stat-num {
        font-size: 1.6rem;
    }

    .hero-stat-plus,
    .hero-stat-pct {
        font-size: 1rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .hero-product-strip {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .strip-label {
        border-right: none;
        padding-right: 0;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .strip-items {
        gap: 4px;
    }

    .strip-item {
        font-size: 0.75rem;
    }

    /* ========================================
       ABOUT SECTION MOBILE FIXES
       ======================================== */
    .banner-title {
        font-size: 1.6rem;
    }
    
    .banner-subtitle {
        font-size: 0.9rem;
    }

    .about-image-banner {
        height: 260px;
        margin-bottom: 32px;
        border-radius: var(--border-radius-md);
    }
    
    .banner-overlay {
        padding: 20px;
    }

    .banner-content {
        max-width: 100%;
    }

    .banner-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .about-content-wrapper {
        gap: 28px;
    }

    .about-main-content {
        gap: 16px;
    }

    .history-map {
        padding: 24px 20px;
    }

    .history-heading {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .timeline-simple {
        padding-left: 28px;
        gap: 22px;
    }

    .timeline-simple-dot {
        left: -28px;
        width: 10px;
        height: 10px;
    }

    .timeline-simple-year {
        font-size: 1.1rem;
    }

    .timeline-simple-desc {
        font-size: 0.82rem;
    }

    .stats-line {
        gap: 12px;
        padding-top: 18px;
    }

    .stat-line-item {
        padding: 12px;
    }

    /* ========================================
       PRODUCTS SECTION MOBILE FIXES
       ======================================== */
    .section-padding {
        padding: 60px 0;
    }
    
    .grid-3-col {
        grid-template-columns: 1fr;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }

    .product-card {
        max-width: 100%;
    }

    .product-img-wrapper {
        aspect-ratio: 5/3;
    }

    .badge-category {
        top: 12px;
        left: 12px;
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .stock-badge {
        top: 12px;
        right: 12px;
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .product-info {
        padding: 12px 14px 14px;
    }

    .product-name {
        font-size: 0.95rem;
    }

    .product-desc {
        font-size: 0.78rem;
    }

    .product-specs li {
        font-size: 0.72rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 6px;
    }

    .product-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* ========================================
       QUALITY SECTION MOBILE FIXES
       ======================================== */
    .quality-card {
        padding: 32px 24px;
    }

    .quality-icon-box {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .quality-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .quality-card p {
        font-size: 0.85rem;
    }

    .process-flow {
        margin-top: 40px;
    }

    .process-flow-heading {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .process-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .process-step {
        max-width: 100%;
        align-items: center;
        gap: 12px;
    }

    .step-number {
        font-size: 2rem;
        min-width: 40px;
    }

    .step-content h4 {
        font-size: 0.9rem;
    }

    .step-content p {
        font-size: 0.8rem;
    }

    .step-arrow {
        display: none;
    }

    .certification-strip {
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px 12px;
        margin-top: 32px;
    }

    .cert-badge {
        padding: 6px 12px;
        flex: 1 1 40%;
        justify-content: center;
    }

    .cert-badge i {
        font-size: 1rem;
    }

    .cert-badge span {
        font-size: 0.72rem;
    }

    .cert-divider {
        display: none;
    }

    /* ========================================
       QUOTE SECTION MOBILE FIXES
       ======================================== */
    .quote-form-container {
        padding: 24px 20px;
    }

    .form-heading {
        font-size: 1.3rem;
        margin-bottom: 20px;
        padding-left: 10px;
    }
    
    .form-group-row {
        flex-direction: column;
        gap: 14px;
    }

    .form-control-wrap input,
    .form-control-wrap select,
    .form-control-wrap textarea {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .phone-input-group .country-prefix {
        padding: 10px 14px;
    }

    .quote-trust-strip {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        padding: 14px 12px;
        margin-top: 20px;
    }

    .trust-metric {
        flex: 1 1 45%;
        justify-content: flex-start;
        padding: 6px 0;
    }

    .trust-metric i {
        font-size: 1.1rem;
    }

    .trust-metric strong {
        font-size: 0.85rem;
    }

    .trust-metric span {
        font-size: 0.65rem;
    }

    .trust-metric-divider {
        display: none;
    }
    
    .live-support-indicator {
        justify-content: center;
        font-size: 0.78rem;
    }

    .quote-info-wrapper .text-light-green {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .contact-bullets {
        gap: 12px;
    }

    .bullet-item {
        font-size: 0.88rem;
        gap: 10px;
    }

    .bullet-item i {
        font-size: 1rem;
    }

    /* ========================================
       FOOTER SECTION MOBILE FIXES
       ======================================== */
    .footer-wrapper .grid-3-col {
        gap: 28px;
    }

    .footer-brand-info {
        align-items: flex-start;
    }

    .footer-brand-info .logo-brand {
        margin-bottom: 12px;
    }

    .brand-description {
        font-size: 0.88rem;
        margin-bottom: 18px;
    }

    .business-registration {
        width: 100%;
    }

    .footer-social-title {
        font-size: 0.78rem;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .footer-title {
        font-size: 0.92rem;
        margin-bottom: 14px;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links a {
        font-size: 0.82rem;
    }

    .operating-hours li {
        font-size: 0.82rem;
        flex-wrap: wrap;
        gap: 4px;
    }

    .operating-hours li span {
        flex: 1 1 100%;
    }

    .contact-details {
        gap: 10px;
    }

    .contact-details li {
        font-size: 0.82rem;
        word-break: break-word;
    }

    .newsletter-form input {
        font-size: 0.82rem;
        padding: 10px 14px;
    }

    .newsletter-btn {
        padding: 10px 14px;
    }

    .newsletter-note {
        font-size: 0.7rem;
    }

    .footer-bottom {
        font-size: 0.78rem;
        padding: 18px 0;
        margin-top: 32px;
    }

    .hero-stats-glass {
        backdrop-filter: none;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .glass-panel {
        backdrop-filter: none;
    }
    
    .quick-view-overlay {
        backdrop-filter: none;
    }
    
    .modal-overlay {
        backdrop-filter: none;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 16px;
        right: 16px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 16px;
        left: 16px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .quote-info-wrapper {
        margin-bottom: 12px;
    }

    .quote-info-wrapper .section-tag {
        margin-bottom: 8px;
    }

    .quote-info-wrapper .section-title {
        margin-bottom: 12px;
    }

    .quote-info-wrapper .text-light-green {
        margin-bottom: 20px;
    }
    
    .hero-title-line {
        font-size: 1.6rem;
    }
    
    .hero-title-highlight {
        font-size: 1.8rem;
    }
    
    .banner-title {
        font-size: 1.4rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .hero-stats-glass {
        padding: 16px;
    }
    
    .hero-stat-item {
        gap: 12px;
    }
    
    .hero-stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .rotating-text {
        font-size: 0.95rem;
        padding: 3px 12px;
    }
    
    .footer-wrapper .grid-3-col {
        gap: 28px;
    }

    .business-registration {
        width: 100%;
        white-space: normal;
        word-break: break-word;
    }

    .contact-details li {
        word-break: break-word;
    }

    .newsletter-form {
        flex-direction: row;
        align-items: stretch;
    }

    .newsletter-form input {
        font-size: 0.82rem;
    }

    .newsletter-btn {
        padding: 12px 14px;
    }

    .footer-title {
        font-size: 0.92rem;
    }

    .footer-links a {
        font-size: 0.82rem;
    }

    .operating-hours li {
        font-size: 0.82rem;
        flex-wrap: wrap;
        gap: 2px;
    }

    .contact-details li {
        font-size: 0.82rem;
    }

    .brand-description {
        font-size: 0.88rem;
    }

    .footer-bottom {
        font-size: 0.78rem;
        padding: 18px 0;
    }
}
