/* Tambahkan kode ini di bagian paling atas styles.css sebelum kode lainnya */

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix container and responsive issues */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Fix all flex and grid containers */
.licence-content,
.company-overview,
.contact-container,
.footer-content,
.vision-mission-container,
.map-stats,
.partners-grid,
.products-grid-home,
.catalog-features,
.values-grid,
.services-grid,
.products-container,
.gallery-grid {
    width: 100%;
    box-sizing: border-box;
}

/* Fix images to prevent overflow */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fix for carousel and map containers */
.hero-carousel,
.map-container-animated,
.map-world-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix header and navigation */
.header-container {
    width: 100%;
    box-sizing: border-box;
}

/* Fix responsive sections */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Ensure all sections don't exceed viewport */
    .hero,
    .page-banner,
    .company-licence,
    .about-company,
    .vision-mission-redesign,
    .export-map,
    .partners,
    .featured-products,
    .download-catalog,
    .services,
    .products-page,
    .gallery-page,
    .packaging,
    .contact-page {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    /* Fix padding for mobile */
    .hero {
        padding: 60px 15px;
    }
    
    .page-banner {
        padding: 0 15px;
    }
    
    /* Ensure all cards don't overflow */
    .product-card-home,
    .product-page-card,
    .gallery-item,
    .service-card,
    .value-card,
    .vision-card,
    .mission-card,
    .partner-logo,
    .catalog-feature,
    .map-stat-new {
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    /* Fix grid layouts for mobile */
    .products-grid-home,
    .partners-grid,
    .values-grid,
    .services-grid,
    .products-container,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Reduce font sizes for mobile */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    /* Fix buttons on mobile */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    /* Fix carousel for mobile */
    .carousel-text {
        padding: 20px;
        margin: 0 10px;
    }
    
    .carousel-text h1 {
        font-size: 1.8rem;
    }
    
    /* Fix map containers */
    .map-container-animated,
    .map-world-container {
        height: 300px;
    }
    
    /* Ensure no element exceeds screen width */
    * {
        max-width: 100%;
    }
}

/* Additional fixes for specific elements */
.hero-carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
}

/* Fix for products filter */
.products-filter {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Fix for stats sections */
.stats,
.map-stats-new {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.stat-item,
.map-stat {
    min-width: 120px;
    text-align: center;
}

/* Fix for forms */
.form-control {
    width: 100%;
    box-sizing: border-box;
}

/* Fix for modal */
.modal-content {
    max-width: 95%;
    margin: 10px;
    box-sizing: border-box;
}

/* Fix for lightbox */
.lightbox-content {
    max-width: 95%;
    margin: 10px;
}

/* Fix for footer */
.footer-column {
    min-width: 100%;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .footer-column {
        min-width: calc(50% - 25px);
    }
}

@media (min-width: 992px) {
    .footer-column {
        min-width: calc(25% - 25px);
    }
}

/* Add this to ensure all inline elements don't break layout */
span, a, button, input, textarea {
    max-width: 100%;
}

/* Fix for tables if you have any */
table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Fix for iframes (like maps) */
iframe {
    max-width: 100%;
    width: 100%;
}
/* styles.css */
:root {
    --primary-green: #1a472a;
    --dark-green: #0d2818;
    --medium-green: #2d5a27;
    --light-green: #4a7856;
    --accent-gold: #c9a959;
    --light-bg: #f8f9f7;
    --text-dark: #2c3e50;
    --text-light: #5d6d7e;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(26, 71, 42, 0.1);
    --shadow-hover: 0 10px 30px rgba(26, 71, 42, 0.15);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

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

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

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

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    color: var(--primary-green);
    font-size: 28px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.2;
}

.logo-text span {
    color: var(--text-light);
    display: block;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 15px;
    padding: 5px 0;
}

nav a:hover {
    color: var(--primary-green);
}

nav a.active {
    color: var(--primary-green);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
}

.language-switcher {
    display: flex;
    gap: 5px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 5px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--primary-green);
    cursor: pointer;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Page Banner */
.page-banner {
    height: 350px;
    background: linear-gradient(rgba(26, 71, 42, 0.179), rgba(26, 71, 42, 0.959)),
            url('/img/slide3.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.page-banner h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Home Page */
/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1590071089561-2087c8b6c6f8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    border-radius: 0 0 15px 15px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* Company Licence */
.company-licence {
    padding: 80px 0;
    background-color: var(--light-bg);
    margin-bottom: 80px;
}

.licence-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.licence-text {
    flex: 1;
}

.licence-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.licence-details {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.licence-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.licence-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.licence-icon {
    font-size: 24px;
    color: var(--primary-green);
    margin-right: 15px;
    width: 40px;
    flex-shrink: 0;
}

.licence-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.licence-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Company */
.about-company {
    padding: 80px 0;
    margin-bottom: 80px;
}

.company-overview {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.overview-text {
    flex: 1;
}

.overview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
    line-height: 1;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 10px;
}

.overview-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vision Mission */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.vision, .mission {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.vision:before, .mission:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-gold);
}

.vision h2, .mission h2 {
    color: var(--primary-green);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.vision h2 i, .mission h2 i {
    color: var(--accent-gold);
}

.mission-list {
    list-style: none;
}

.mission-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.mission-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Values */
.company-values {
    padding: 80px 0;
    background-color: var(--light-bg);
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    font-size: 50px;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

/* Services */
.services {
    padding: 80px 0;
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-green);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 50px;
    color: var(--primary-green);
    margin-bottom: 25px;
}

/* Products Page */
.products-page {
    padding: 80px 0;
}

.products-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: var(--light-bg);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-green);
    color: white;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

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

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

.product-page-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.product-page-info {
    padding: 25px;
}

.product-page-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-specs {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

/* Product Detail Modal */
.product-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    padding: 40px;
}

.modal-product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

/* Gallery Page */
.gallery-page {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgb(255, 255, 255));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Packaging Options */
.packaging {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.packaging-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.packaging-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.packaging-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.packaging-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.packaging-icon {
    font-size: 50px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

/* Contact Page */
.contact-page {
    padding: 80px 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: var(--primary-green);
    margin-right: 20px;
    width: 40px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    background-color: var(--light-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.1);
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-green);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .licence-content, .company-overview {
        flex-direction: column;
    }
    
    .licence-image, .overview-image {
        order: -1;
    }
}

@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .stats {
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        width: 100%;
        order: 3;
        margin-top: 20px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    main {
        margin-top: 100px;
    }
    
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        padding: 25px;
    }
}

/* Tambahkan di styles.css setelah .hero section */

/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 700px;
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    margin-bottom: 60px;
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.carousel-text {
    max-width: 800px;
    padding: 40px;
    background-color: rgba(26, 71, 42, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.carousel-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: var(--primary-green);
    transform: scale(1.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

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

/* Responsive untuk carousel */
@media (max-width: 992px) {
    .hero-carousel {
        height: 600px;
    }
    
    .carousel-text h1 {
        font-size: 2.8rem;
    }
    
    .carousel-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 500px;
    }
    
    .carousel-text h1 {
        font-size: 2.2rem;
    }
    
    .carousel-text p {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 450px;
    }
    
    .carousel-text h1 {
        font-size: 1.8rem;
    }
    
    .carousel-text p {
        font-size: 1rem;
    }
    
    .carousel-text {
        padding: 20px;
    }
}

/* Tambahkan di styles.css sebelum .company-values */

/* Vision Mission Redesign */
.vision-mission-redesign {
    padding: 80px 0;
    background-color: var(--light-bg);
    margin-bottom: 80px;
}

.vision-mission-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.vision-card, .mission-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.vision-card:before, .mission-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.vision-card:before {
    background-color: var(--accent-gold);
}

.mission-card:before {
    background-color: var(--primary-green);
}

.vision-icon, .mission-icon {
    font-size: 60px;
    margin-bottom: 25px;
    display: inline-block;
}

.vision-icon {
    color: var(--accent-gold);
}

.mission-icon {
    color: var(--primary-green);
}

.vision-card h2, .mission-card h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--dark-green);
}

.vision-text, .mission-list {
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-list {
    list-style: none;
}

.mission-list li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
}

.mission-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.mission-list li:nth-child(1):before { content: '1'; }
.mission-list li:nth-child(2):before { content: '2'; }
.mission-list li:nth-child(3):before { content: '3'; }

/* Export Map Animation */
.export-map {
    padding: 80px 0;
    background-color: var(--white);
    margin-bottom: 80px;
}

.map-container-animated {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 500px;
    background-color: #e8f5e9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.world-map {
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/World_map_blank_without_borders.svg/2560px-World_map_blank_without_borders.svg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.map-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 rgba(46, 125, 50, 0.4);
}

.map-dot:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-green);
    animation: ripple 2s infinite;
}

.map-label {
    position: absolute;
    background-color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-green);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInOut 4s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 125, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-20px);
    }
}

.map-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.map-stat {
    text-align: center;
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    min-width: 150px;
    box-shadow: var(--shadow);
}

.map-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
    line-height: 1;
}

.map-stat-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.partner-logo:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-green);
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive Design untuk elemen baru */
@media (max-width: 992px) {
    .vision-card, .mission-card {
        min-width: 100%;
    }
    
    .map-container-animated {
        height: 400px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .map-container-animated {
        height: 350px;
    }
    
    .map-stat {
        min-width: 120px;
        padding: 20px;
    }
    
    .map-stat-number {
        font-size: 2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .partner-logo {
        height: 120px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .vision-card, .mission-card {
        padding: 35px 25px;
    }
    
    .vision-icon, .mission-icon {
        font-size: 50px;
    }
    
    .map-container-animated {
        height: 250px;
    }
    
    .map-stats {
        gap: 20px;
    }
    
    .map-stat {
        min-width: calc(50% - 10px);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tambahkan di styles.css */

/* Map Animation New Style */
.map-animation-new {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9f7 0%, #e8f5e9 100%);
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.map-animation-new:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="%231a472a" opacity="0.03"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.map-world-container {
    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    background-color: #e8f5e9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-base {
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/83/World_map_blank_without_borders.svg/2560px-World_map_blank_without_borders.svg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.indonesia-highlight {
    position: absolute;
    top: 60%;
    left: 77%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 50px;
    background-color: rgba(46, 125, 50, 0.8);
    border-radius: 8px;
    animation: indonesiaPulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.5);
}

.indonesia-highlight:after {
    content: 'INDONESIA';
}

.export-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.export-arrow {
    position: absolute;
    stroke: var(--primary-green);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 10;
    animation: dash 3s linear infinite;
}

.arrow-label {
    position: absolute;
    background-color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-green);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.map-stats-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.map-stat-new {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.map-stat-new:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.map-stat-new:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-gold);
}

.map-stat-icon {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.map-stat-number-new {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.map-stat-text-new {
    font-size: 1.1rem;
    color: var(--text-light);
}

@keyframes indonesiaPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(46, 125, 50, 0);
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: 100;
    }
}

/* Products Grid Section */
.featured-products {
    padding: 80px 0;
    background-color: var(--white);
    margin-bottom: 80px;
}

.products-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card-home {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

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

.product-card-home:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-green);
}

.product-image-home {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.product-info-home {
    padding: 20px;
    text-align: center;
}

.product-info-home h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-green);
}

.product-category {
    font-size: 0.9rem;
    color: var(--text-light);
    background-color: var(--light-bg);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 5px;
}

/* Download Catalog Section */
.download-catalog {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.download-catalog:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white" opacity="0.05"/></svg>');
    background-size: 300px;
}

.catalog-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.catalog-icon {
    font-size: 80px;
    color: var(--accent-gold);
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.catalog-container h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.catalog-container p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.catalog-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.catalog-feature {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.catalog-feature-icon {
    font-size: 40px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.catalog-feature h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.catalog-feature p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.btn-catalog {
    background-color: var(--accent-gold);
    color: var(--dark-green);
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.btn-catalog:hover {
    background-color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive untuk elemen baru */
@media (max-width: 992px) {
    .map-world-container {
        height: 400px;
    }
    
    .products-grid-home {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .catalog-container h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .map-world-container {
        height: 350px;
    }
    
    .indonesia-highlight {
        width: 60px;
        height: 40px;
        font-size: 10px;
    }
    
    .products-grid-home {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .product-image-home {
        height: 120px;
    }
    
    .catalog-container h2 {
        font-size: 1.8rem;
    }
    
    .catalog-icon {
        font-size: 60px;
    }
}

@media (max-width: 576px) {
    .map-world-container {
        height: 250px;
    }
    
    .map-stats-new {
        grid-template-columns: 1fr;
    }
    
    .products-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog-features {
        grid-template-columns: 1fr;
    }
    
    .btn-catalog {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* Product Hover Effect */
.product-image-container {
    position: relative;
    height: 150px;
    width: 100%;
    overflow: hidden;
}

.product-image-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.product-image-home.main-image {
    opacity: 1;
}

.product-image-home.hover-image {
    opacity: 0;
}

.product-card-home:hover .main-image {
    opacity: 0;
}

.product-card-home:hover .hover-image {
    opacity: 1;
}

/* Text Center Utility */
.text-center {
    text-align: center;
}

/* Hover effect for product images */
.product-image-container-modern {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-main-image,
.product-hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.product-main-image {
    opacity: 1;
}

.product-hover-image {
    opacity: 0;
}

.modern-product-card:hover .product-main-image {
    opacity: 0;
}

.modern-product-card:hover .product-hover-image {
    opacity: 1;
}

/* Same for modal */
.modal-image-container:hover .modal-main-image {
    opacity: 0;
}

.modal-image-container:hover .modal-hover-image {
    opacity: 1;
}

.product-page-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-page-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-page-info p {
    flex-grow: 1;
}

.product-page-info .view-detail {
    margin-top: auto;
    width: 100%;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #e6b325;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    padding: 20px;
    max-width: 600px;
    background: rgba(26, 71, 42, 0.9);
    border-radius: 0 0 8px 8px;
    width: 100%;
}

.lightbox-caption h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.lightbox-caption p {
    font-size: 16px;
    color: #e0e0e0;
}

/* Navigation buttons for lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-nav button {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-nav button:hover {
    background: rgba(26, 71, 42, 0.9);
    transform: scale(1.1);
}

/* Update gallery item cursor */
.gallery-item {
    cursor: zoom-in;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}