:root {
    --brand-green: #1E5631; 
    --brand-navy: #0F172A; 
    --bg-light: #F8FAFC;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    --wa-color: #25D366;
    --tg-color: #0088cc;
    --vb-color: #7360f2;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }

/* Mathematical fix for fixed navbar overlap */
body { background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; padding-top: 74px; }

/* FIXED: Replaced percentage width with robust pixel padding to prevent edge-smashing */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.text-center { text-align: center; }
.text-green { color: var(--brand-green); }
.text-navy { color: var(--brand-navy); }
.bg-light { background-color: #ffffff; }
.bg-navy { background-color: var(--brand-navy); }
.shadow-md { box-shadow: var(--shadow-md); }

/* Unified Vibrant Hero Text */
.text-hero-highlight { color: #4ADE80; text-shadow: 0 2px 5px rgba(0,0,0,0.6); }

/* Typography */
h1, h2, h3, h4 { color: var(--brand-navy); font-weight: 700; line-height: 1.3; }
.section-header { margin-bottom: 3rem; }
.section-tag { display: block; font-size: 0.85rem; font-weight: 800; color: var(--brand-green); letter-spacing: 2px; margin-bottom: 0.5rem; }
.section-header h2 { font-size: 2.2rem; }
.underline { width: 50px; height: 4px; background: var(--brand-green); margin: 15px auto 20px; border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; transition: var(--transition); border: 2px solid transparent; font-size: 1rem; }
.btn-primary { background: var(--brand-green); color: #fff; }
.btn-primary:hover { background: var(--brand-navy); }
.btn-outline-white { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--brand-navy); }
.btn-outline { border-color: var(--border-color); color: var(--brand-navy); background: transparent; }
.btn-outline:hover { border-color: var(--brand-navy); background: var(--bg-light); }

/* Navbar */
.navbar-wrapper { background: #fff; box-shadow: var(--shadow-sm); position: fixed; width: 100%; top: 0; z-index: 1000; height: 74px; display: flex; align-items: center; }
/* FIXED: Removed width: 100% to allow .container padding to work correctly */
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { font-size: 1.5rem; font-weight: 800; text-decoration: none; color: var(--brand-navy); }
.main-nav { display: flex; align-items: center; gap: 20px; }
.nav-item { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.95rem; transition: var(--transition); }
.nav-item:hover { color: var(--brand-green); }
.btn-sm-contact { padding: 8px 16px; background: var(--brand-navy); color: #fff; border-radius: 4px; font-size: 0.9rem; }
.btn-sm-contact:hover { background: var(--brand-green); }

/* Mobile Hamburger strictly hidden on desktop */
.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: var(--brand-navy); }

/* Hero */
.hero-bg { 
    min-height: calc(80vh - 74px); 
    background: url('https://images.unsplash.com/photo-1595183363385-d6c5222bf680?q=80&w=2000&auto=format&fit=crop') center/cover; 
    position: relative; 
    display: flex; 
    align-items: center; 
    padding: 60px 0;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 100%); }
.hero-content { max-width: 700px; }
.hero-badge { display: inline-block; padding: 5px 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; border-radius: 4px; margin-bottom: 20px; }
.hero-content h1 { font-size: 3.5rem; color: #fff; margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 30px; font-weight: 400; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* About / Approach Grid */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.about-text p { font-size: 1.05rem; margin-bottom: 15px; }
.benefit-list { list-style: none; margin-top: 20px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 1.05rem; }
.benefit-list i { color: var(--brand-green); margin-top: 4px; font-size: 1.2rem; flex-shrink: 0; }
.about-stats { background: #fff; border-radius: 12px; padding: 30px; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--border-color); }
.stat-box { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.stat-box:last-child { border-bottom: none; padding-bottom: 0; }
.stat-box i { font-size: 2rem; color: var(--brand-green); margin-bottom: 10px; }

/* Corporate Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.prod-card { background: #fff; border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.prod-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-green); transform: translateY(-3px); }
.prod-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.prod-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.prod-body h3 { font-size: 1.4rem; margin-bottom: 5px; }
.prod-tag { color: var(--brand-green); font-weight: 600; font-size: 0.9rem; margin-bottom: 15px; display: block; }
.prod-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prod-specs { list-style: none; margin-bottom: 25px; padding: 15px; background: var(--bg-light); border-radius: 6px; font-size: 0.9rem; }
.prod-specs li { margin-bottom: 6px; display: flex; justify-content: space-between; border-bottom: 1px dashed #cbd5e1; padding-bottom: 4px; }
.prod-specs li:last-child { border: none; padding-bottom: 0; margin-bottom: 0; }
.prod-specs strong { color: var(--brand-navy); }
.btn-inquire { margin-top: auto; width: 100%; background: var(--bg-light); color: var(--brand-navy); border: 1px solid var(--border-color); }
.btn-inquire:hover { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }

/* Custom Sourcing Banner */
.custom-sourcing-banner { background: #fff; border: 1px dashed var(--brand-green); border-radius: 8px; padding: 30px; margin-top: 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cs-text h3 { color: var(--brand-navy); font-size: 1.3rem; margin-bottom: 5px; }
.cs-text p { color: var(--text-muted); font-size: 0.95rem; max-width: 600px; }

/* Direct Contact CTAs */
.direct-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.contact-action-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 30px; text-decoration: none; color: #fff; transition: var(--transition); display: flex; flex-direction: column; align-items: center; cursor: pointer;}
.contact-action-card:hover { transform: translateY(-5px); }
.contact-action-card.whatsapp:hover { background: var(--wa-color); border-color: var(--wa-color); }
.contact-action-card.telegram:hover { background: var(--tg-color); border-color: var(--tg-color); }
.contact-action-card.viber:hover { background: var(--vb-color); border-color: var(--vb-color); }
.contact-action-card i { font-size: 2.5rem; margin-bottom: 15px; }
.contact-action-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 5px; }
.contact-action-card p { color: #cbd5e1; font-size: 1.1rem; font-weight: 600; margin-bottom: 15px; }
.contact-action-card span { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Corporate Footer */
.corporate-footer { background: #0A0F1C; color: #94A3B8; padding: 60px 0 20px; border-top: 4px solid var(--brand-green); }
.footer-top { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 20px; }
.footer-brand h2 { color: #fff; font-size: 1.5rem; margin-bottom: 15px; }
.footer-contact h3, .footer-social h3 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-contact ul { list-style: none; }
.footer-contact li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.footer-contact i { color: var(--brand-green); width: 15px; text-align: center; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; text-decoration: none; font-size: 1.2rem; transition: var(--transition); background: rgba(255,255,255,0.1); cursor: pointer;}
.social-icons a.wa:hover { background: var(--wa-color); }
.social-icons a.tg:hover { background: var(--tg-color); }
.social-icons a.vb:hover { background: var(--vb-color); }
.social-icons a.em:hover { background: var(--brand-green); }
.footer-bottom { text-align: center; font-size: 0.85rem; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.8); backdrop-filter: blur(4px); z-index: 2000; display: flex; justify-content: center; align-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: 12px; width: 100%; max-width: 400px; transform: scale(0.95); transition: var(--transition); overflow: hidden; }
.modal-overlay.show .modal-box { transform: scale(1); }
.modal-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; background: var(--bg-light); }
.modal-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--text-muted); }
.modal-body { padding: 25px; }
.modal-btn-col { display: flex; flex-direction: column; gap: 12px; }
.btn-modal-wa { background: var(--wa-color); color: #fff; width: 100%; border: none; }
.btn-modal-tg { background: var(--tg-color); color: #fff; width: 100%; border: none; }
.btn-modal-vb { background: var(--vb-color); color: #fff; width: 100%; border: none; }
.btn-modal-wa:hover, .btn-modal-tg:hover, .btn-modal-vb:hover { filter: brightness(0.9); }

/* Responsive Adjustments */
@media(max-width: 900px) {
    /* Navbar Mobile Menu Trigger */
    .hamburger { display: block; }
    
    .main-nav { position: absolute; top: 74px; left: -100%; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: var(--shadow-md); transition: var(--transition); gap: 15px; border-top: 1px solid var(--border-color); }
    .main-nav.active { left: 0; }
    .btn-sm-contact { width: 100%; text-align: center; }

    /* Hero Mobile Adjustments */
    .hero-bg { min-height: auto; padding: 80px 0 60px; }
    .hero-content { text-align: center; }
    .hero-badge { margin: 0 auto 15px auto; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; gap: 15px; width: 100%; }
    .hero-btns .btn { width: 100%; }

    /* General Layout */
    .about-grid { grid-template-columns: 1fr; }
    .custom-sourcing-banner { flex-direction: column; text-align: center; }
    .custom-sourcing-banner .btn { width: 100%; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-contact li { justify-content: center; }
    .social-icons { justify-content: center; }
}
