/* ==========================================================================
   PT Kaldera Persada Mandiri (KPM) - CSS Stylesheet
   Design Style: Organic Agriculture & Modern Biomass Export
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-green: #2F6B45;
    --dark-green: #123C2A;
    --fresh-green: #6DAA5B;
    --earth-brown: #9B6A3D;
    --cream-bg: #F7F3EA;
    --white: #FFFFFF;
    --text-dark: #1E2A22;
    --muted-text: #556359;
    
    /* Interactive & Glow States */
    --hover-green: #245435;
    --accent-glow: rgba(109, 170, 91, 0.15);
    --border-color: rgba(30, 42, 34, 0.08);
    --card-shadow: 0 8px 24px rgba(18, 60, 42, 0.04);
    --hover-shadow: 0 16px 36px rgba(18, 60, 42, 0.08);
    --modal-shadow: 0 24px 60px rgba(18, 60, 42, 0.12);
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Corners */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Header Dimensions */
    --header-height: 90px;
    --header-shrink-height: 70px;
}

/* --------------------------------------------------------------------------
   2. Base Settings & Normalization
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--fresh-green);
    outline-offset: 2.5px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-primary);
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Base Wrapper */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. Typography & UI Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-green);
    font-weight: 700;
    line-height: 1.25;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--earth-brown);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-tag.center {
    justify-content: center;
    width: 100%;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--muted-text);
    max-width: 620px;
    margin: 0 auto 60px auto;
    text-align: center;
    font-weight: 500;
}

.section-description {
    font-size: 1.05rem;
    color: var(--muted-text);
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--hover-green);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 24px rgba(47, 107, 69, 0.22);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(47, 107, 69, 0.12);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Sticky glassmorphism)
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    height: var(--header-shrink-height);
    background-color: rgba(247, 243, 234, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--card-shadow);
    border-bottom: 1px solid rgba(18, 60, 42, 0.04);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.logo-image {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    display: block;
}

.site-header.scrolled .logo-image {
    height: 42px;
}

@media (max-width: 768px) {
    .logo-image {
        height: 46px;
    }
    .site-header.scrolled .logo-image {
        height: 38px;
    }
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--primary-green);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Toggle Hamburger */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--dark-green);
    transition: var(--transition);
    transform-origin: left center;
}

/* Mobile Nav Overlay */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: var(--cream-bg);
    z-index: 999;
    box-shadow: var(--modal-shadow);
    padding: 110px 40px 40px 40px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
    visibility: hidden;
}

.mobile-drawer.open {
    right: 0;
    visibility: visible;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-green);
}

.mobile-nav-link:hover {
    color: var(--primary-green);
    padding-left: 8px;
}

.mobile-drawer-btn {
    margin-top: 30px;
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. Hero Section (Floating dynamic graphics)
   -------------------------------------------------------------------------- */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* --------------------------------------------------------------------------
   5. Hero Section (Full-bleed Background Landscape)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.jpg') no-repeat center center / cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 60, 42, 0.72) 0%, rgba(18, 60, 42, 0.45) 50%, rgba(18, 60, 42, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-end;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-headline {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--white);
}

.highlight-text-gold {
    color: #E5A93B;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-cta {
    background-color: #E5A93B;
    color: var(--dark-green);
    font-weight: 700;
}

.btn-hero-cta:hover {
    background-color: #f2b74b;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(229, 169, 59, 0.35);
}

.btn-secondary-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-secondary-white svg {
    margin-right: 8px;
}

.btn-secondary-white:hover {
    background-color: var(--white);
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 12px;
}

.hero-stat-card {
    display: flex;
    flex-direction: column;
    text-align: right;
    color: var(--white);
}

.h-stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: #E5A93B;
    line-height: 1;
}

.h-stat-lbl {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
}

/* Transparent Header Adaptations */
.site-header:not(.scrolled) .nav-link {
    color: var(--white);
}

.site-header:not(.scrolled) .nav-link::after {
    background-color: var(--white);
}

.site-header:not(.scrolled) .logo {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(18, 60, 42, 0.12);
}

.site-header:not(.scrolled) .logo-image {
    height: 44px;
}

@media (max-width: 768px) {
    .site-header:not(.scrolled) .logo-image {
        height: 38px;
    }
}

.site-header:not(.scrolled) .hamburger-bar {
    background-color: var(--white);
}

.site-header:not(.scrolled) .btn-header-cta {
    background-color: var(--white);
    color: var(--dark-green);
}

.site-header:not(.scrolled) .btn-header-cta:hover {
    background-color: #E5A93B;
    color: var(--dark-green);
    box-shadow: 0 8px 20px rgba(229, 169, 59, 0.25);
}


/* --------------------------------------------------------------------------
   6. About Section (Agriculture accents)
   -------------------------------------------------------------------------- */
.about-section {
    padding: 120px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-main-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.about-stats-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background-color: var(--dark-green);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--hover-shadow);
    display: flex;
    flex-direction: column;
}

.stats-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--fresh-green);
    line-height: 1;
}

.stats-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--cream-bg);
    padding: 18px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(18, 60, 42, 0.02);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateX(6px);
    border-color: rgba(47, 107, 69, 0.15);
}

.highlight-icon {
    background-color: var(--white);
    color: var(--primary-green);
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    flex-shrink: 0;
}

.highlight-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-green);
}

/* --------------------------------------------------------------------------
   7. Why Choose Section (Corporate Grid Cards)
   -------------------------------------------------------------------------- */
.why-choose-section {
    padding: 120px 0;
    background-color: var(--cream-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(18, 60, 42, 0.02);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(47, 107, 69, 0.12);
}

.advantage-icon {
    background-color: rgba(109, 170, 91, 0.08);
    color: var(--primary-green);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    background-color: var(--primary-green);
    color: var(--white);
}

.advantage-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-green);
}

.advantage-text {
    font-size: 0.95rem;
    color: var(--muted-text);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Company Overview Section
   -------------------------------------------------------------------------- */
.overview-section {
    padding: 120px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
}

.strengths-wrapper {
    margin-top: 32px;
}

.strengths-wrapper h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.strengths-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.strengths-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.list-icon {
    color: var(--fresh-green);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.strengths-list span {
    font-weight: 600;
    color: var(--text-dark);
}

.vision-mission-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vm-card {
    background-color: var(--cream-bg);
    padding: 36px 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(18, 60, 42, 0.03);
    transition: var(--transition);
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(47, 107, 69, 0.1);
}

.vm-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--primary-green);
}

.vm-card p {
    color: var(--muted-text);
    font-size: 1rem;
}

.card-icon {
    color: var(--earth-brown);
    margin-bottom: 16px;
}

.mission-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--muted-text);
}

.mission-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-green);
}

/* --------------------------------------------------------------------------
   9. Featured Products Preview Section
   -------------------------------------------------------------------------- */
.featured-products-preview {
    padding: 120px 0;
    background-color: var(--cream-bg);
}

.products-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-preview-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.product-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.p-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.p-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-preview-card:hover .p-card-image img {
    transform: scale(1.08);
}

.p-card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.p-card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.p-card-content p {
    font-size: 0.95rem;
    color: var(--muted-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.p-card-tag {
    align-self: flex-start;
    background-color: rgba(155, 106, 61, 0.06);
    color: var(--earth-brown);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-cta-btn {
    text-align: center;
}

/* --------------------------------------------------------------------------
   10. Detailed Products Section (Clean specifications tables)
   -------------------------------------------------------------------------- */
.products-section {
    padding: 120px 0;
    background-color: var(--white);
}

.product-detail-item {
    margin-bottom: 100px;
    padding-bottom: 100px;
    border-bottom: 1px solid var(--border-color);
}

.product-detail-item:last-of-type {
    margin-bottom: 60px;
    padding-bottom: 0;
    border-bottom: none;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.product-detail-grid.alt-layout .product-detail-info {
    order: 2;
}

.product-detail-grid.alt-layout .product-detail-specs {
    order: 1;
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--earth-brown);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.detail-name {
    font-size: 2.25rem;
    font-weight: 800;
    margin-top: 6px;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.detail-desc {
    color: var(--muted-text);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.detail-meta {
    margin-bottom: 24px;
}

.detail-meta h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--dark-green);
}

.meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-tags li {
    background-color: rgba(47, 107, 69, 0.06);
    color: var(--primary-green);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
}

.meta-tags.outlines li {
    background-color: transparent;
    color: var(--earth-brown);
    border: 1px solid var(--earth-brown);
}

.product-detail-specs {
    background-color: var(--cream-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(18, 60, 42, 0.03);
}

.product-detail-specs h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.95rem;
}

.specs-table th {
    font-weight: 700;
    color: var(--dark-green);
    border-bottom: 2px solid rgba(18, 60, 42, 0.08);
    background-color: rgba(30, 42, 34, 0.02);
}

.specs-table td {
    color: var(--text-dark);
    border-bottom: 1px solid rgba(18, 60, 42, 0.04);
    font-weight: 600;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* Other Products Sub */
.other-products-sub {
    margin-top: 100px;
    background-color: var(--cream-bg);
    padding: 80px 48px;
    border-radius: var(--radius-lg);
}

.other-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.other-product-card {
    background-color: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.other-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.op-icon {
    color: var(--primary-green);
    margin-bottom: 16px;
}

.other-product-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.other-product-card p {
    font-size: 0.85rem;
    color: var(--muted-text);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Quality Assurance Section
   -------------------------------------------------------------------------- */
.quality-section {
    padding: 120px 0;
    background-color: var(--cream-bg);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.highlighted-p {
    border-left: 4px solid var(--primary-green);
    padding-left: 20px;
    margin: 24px 0;
}

.quality-cert-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark-green);
}

.cert-item svg {
    color: var(--fresh-green);
}

.quality-params {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.quality-params h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.params-intro {
    color: var(--muted-text);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.params-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.param-tag {
    background-color: var(--cream-bg);
    color: var(--text-dark);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(18, 60, 42, 0.02);
    text-align: center;
}

.param-tag:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. Contact CTA Banner Section
   -------------------------------------------------------------------------- */
.cta-section {
    padding: 80px 0;
    background-color: var(--white);
}

.cta-box {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--hover-shadow);
}

.cta-box h2 {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto 20px auto;
}

.cta-sub {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fresh-green);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-wa {
    background-color: #25D366;
    color: var(--dark-green);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
}

.btn-cta-wa:hover {
    background-color: #20ba5a;
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.btn-cta-wa svg {
    margin-right: 10px;
}

.btn-cta-email {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
}

.btn-cta-email:hover {
    background-color: var(--white);
    color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-cta-email svg {
    margin-right: 10px;
}

/* --------------------------------------------------------------------------
   13. Contact & Form Section (Submit via WhatsApp integration)
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 120px 0;
    background-color: var(--cream-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-lead-text {
    font-size: 1.05rem;
    color: var(--muted-text);
    margin-bottom: 40px;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-detail-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    color: var(--primary-green);
    background-color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-size: 0.95rem;
    color: var(--dark-green);
    margin-bottom: 2px;
}

.info-text span {
    font-size: 0.9rem;
    color: var(--muted-text);
}

.info-text a:hover {
    color: var(--primary-green);
}

/* Form Box */
.contact-form-box {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(18, 60, 42, 0.02);
}

.contact-form-box h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.contact-form-box p {
    color: var(--muted-text);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark-green);
}

.form-group input, .form-group select, .form-group textarea {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(30, 42, 34, 0.12);
    background-color: var(--cream-bg);
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.btn-submit-form {
    width: 100%;
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   14. Footer Layout
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--dark-green);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fb-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.5px;
}

.fb-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--fresh-green);
    margin-bottom: 16px;
    margin-top: 4px;
}

.fb-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4, .footer-newsletter h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--fresh-green);
    padding-left: 6px;
}

.footer-newsletter p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-input-group {
    display: flex;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.newsletter-input-group input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--white);
    font-family: var(--font-primary);
}

.newsletter-input-group input:focus {
    outline: none;
}

.newsletter-input-group .btn {
    border-radius: 0;
    padding: 12px 20px;
}

.footer-bottom {
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
}

.fb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.design-credit {
    color: var(--fresh-green);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   15. Interactive Animations & Components
   -------------------------------------------------------------------------- */
/* Scroll to top floating button */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: var(--hover-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    z-index: 98;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.3);
    z-index: -1;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: var(--modal-shadow);
}

/* Intersection Observer Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   16. Media Queries & Mobile Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 992px) {
    .main-nav, .btn-header-cta {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* Hamburger bar transitions when expanded */
    .hamburger-menu[aria-expanded="true"] .hamburger-bar:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .hamburger-menu[aria-expanded="true"] .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu[aria-expanded="true"] .hamburger-bar:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    /* Layout shifts */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 40px;
        width: 100%;
        margin-top: 20px;
    }
    
    .hero-stat-card {
        text-align: center;
    }
    
    .about-grid, .overview-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-detail-grid.alt-layout .product-detail-info {
        order: 1;
    }
    
    .product-detail-grid.alt-layout .product-detail-specs {
        order: 2;
    }
    
    .advantages-grid, .products-preview-grid, .other-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
        --header-shrink-height: 60px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .advantages-grid, .products-preview-grid, .other-products-grid {
        grid-template-columns: 1fr;
    }
    
    .other-products-sub {
        padding: 50px 24px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quality-params {
        padding: 30px 20px;
    }
    
    .params-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
    
    .contact-form-box {
        padding: 30px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-newsletter {
        grid-column: span 1;
    }
    
    .fb-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-buttons .btn, .cta-buttons .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   17. Video Showcase Section
   -------------------------------------------------------------------------- */
.video-showcase-section {
    padding: 120px 0;
    background-color: var(--white);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--hover-shadow);
    border: 8px solid var(--white);
    background-color: var(--dark-green);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(47, 107, 69, 0.95);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(47, 107, 69, 0.4);
    z-index: 10;
}

.play-overlay-btn:hover {
    background-color: var(--fresh-green);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(109, 170, 91, 0.5);
}

.play-icon-triangle {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid currentColor;
    margin-left: 6px;
}

.video-wrapper.playing .play-overlay-btn {
    opacity: 0;
    visibility: hidden;
}

/* --------------------------------------------------------------------------
   18. Interactive Sourcing Map Section
   -------------------------------------------------------------------------- */
.map-section {
    padding: 120px 0;
    background-color: var(--cream-bg);
}

.map-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.map-visual-container {
    position: relative;
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(18, 60, 42, 0.02);
}

.indonesia-svg-map {
    width: 100%;
    height: auto;
}

/* Hotspots */
.map-hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%); /* Centering hotspots on coordinate */
}

.hotspot-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-green);
    z-index: 12;
    transition: var(--transition);
    border: 2px solid var(--white);
}

.hotspot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(47, 107, 69, 0.25);
    z-index: 11;
    animation: hotspotPulse 2.5s infinite ease-out;
}

@keyframes hotspotPulse {
    0% {
        width: 12px;
        height: 12px;
        opacity: 1;
    }
    100% {
        width: 44px;
        height: 44px;
        opacity: 0;
    }
}

.map-hotspot:hover .hotspot-dot,
.map-hotspot.active .hotspot-dot {
    background-color: #E5A93B;
    box-shadow: 0 0 8px rgba(229, 169, 59, 0.8);
}

.map-hotspot:hover .hotspot-pulse,
.map-hotspot.active .hotspot-pulse {
    background-color: rgba(229, 169, 59, 0.3);
}

/* Info Panel Card */
.map-info-panel {
    display: flex;
    flex-direction: column;
}

.map-info-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--hover-shadow);
    border: 1px solid rgba(18, 60, 42, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.map-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #E5A93B;
}

.mic-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--earth-brown);
    margin-bottom: 8px;
    display: inline-block;
}

.mic-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark-green);
}

.mic-desc {
    font-size: 0.95rem;
    color: var(--muted-text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.mic-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mic-bullets li {
    font-size: 0.9rem;
    color: var(--muted-text);
    position: relative;
    padding-left: 18px;
    line-height: 1.5;
}

.mic-bullets li::before {
    content: '•';
    color: var(--primary-green);
    font-size: 1.25rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Map card update animations */
@keyframes mapFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-info-card.fade-in-animation {
    animation: mapFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 992px) {
    .map-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 480px) {
    .map-visual-container {
        padding: 20px 10px;
    }
}

/* --------------------------------------------------------------------------
   19. Internal Page Banner & Breadcrumbs
   -------------------------------------------------------------------------- */
.page-banner {
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 50px;
    background-color: var(--dark-green);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(109, 170, 91, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner h1 {
    color: var(--white);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.breadcrumbs {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fresh-green);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.4);
}

/* Sectors Checklist & Commitments Styling from Catalog */
.sectors-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 24px 0 32px 0;
    list-style: none;
}

.sectors-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--dark-green);
    font-size: 0.95rem;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--fresh-green);
    flex-shrink: 0;
}

.commitments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.commitment-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.ci-icon {
    background-color: rgba(109, 170, 91, 0.08);
    color: var(--primary-green);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-text {
    display: flex;
    flex-direction: column;
}

.ci-text strong {
    font-size: 1rem;
    color: var(--dark-green);
    margin-bottom: 4px;
}

.ci-text span {
    font-size: 0.85rem;
    color: var(--muted-text);
    line-height: 1.4;
}

@media (max-width: 576px) {
    .sectors-checklist {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



