body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.small-text {
    font-size: 0.9rem; /* Atur ukuran sesuai selera */
    color: #333;
}

/* Navbar styles for mobile */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.navbar-brand {
    color: #333;
    font-size: 24px;
}

.navbar-collapse {
    display: none;
    flex-direction: column;
    width: 100%;

}

.navbar-collapse.show {
    display: flex;
}

.navbar-nav {
    padding: 10px 0;
	flex-direction: column;
}

.nav-link {
    color: #333;
    padding: 10px 15px;
}

.carousel-frame {
	max-width : 100%;
	height : 100vh;
	overflow : hidden;
}

.carousel-item img {
	width : 100%;
	height : 100vh;
	object-fit : cover;
}
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    text-align: left;
    max-width: 40%;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption h3,
.carousel-caption p {
    opacity: 0;
    transition: opacity 5s ease-in-out;
}

.carousel-item.active .carousel-caption h3,
.carousel-item.active .carousel-caption p {
    opacity: 1;
}


@keyframes kenBurns {
	0% {
	transform : scale(1.1);
	}
	100% {
	transform : scale(1);
	}
}

.ken-burns img {
	animation : kenBurns 30s infinite alternate;
}

/* Footer Style */

footer {
    background-color: #fff;
    color: #333;
    text-align: left;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    line-height: 1.5;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer p {
    flex: 1 1 50%;
    font-size: 12px;
    margin: 2px 0;
}

footer iframe {
    flex: 1 1 50%;
    height: 100px;
}

.main-heading {
	font-size : 1.5rem;
	background : linear-gradient(to right, white 0%, rgb(255, 255, 255, 0) 100%);
	font-weight : bold;
	margin-bottom : 10px;
}
.sub-heading {
	font-size : 1.0rem;
	color : #333;
	font-style : italic;
	margin-bottom : 10px;
}
/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInAnimation 2.0s ease-out forwards;
}

.fade-in.delay-1 {
    animation-delay: 1s;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.business {
	background : linear-gradient(to right, white 0%, rgb(255, 255, 255, 0) 100%);
	text-align : center;
	padding : 50px 25px;

}
.business .section-title {
	color: #5a7ba4;
	font-size : 2.5em;
	margin-bottom : 40px;
	position : relative;
}
.business .content-wrapper {
	display : flex;
	justify-content : center;
	flex-wrap : wrap;
}
.business .content-item {
	background-color : #ffffff;
	box-shadow : 0 2px 10px rgb(0, 0, 0, 0.1);
	margin : 0;
	padding : 5px;
	max-width : 250px;
	border-radius : 10px;
	overflow : hidden;
	position : relative;
	transition : transform 0.3s;
	color : inherit;
	text-decoration : none;
	text-align : center;
}
.business .content-item:hover {
	transform : translateY(-20px);
	box-shadow : 0 8px 25px rgb(0, 0, 0, 0.2);
}
.business .content-item img {
	width : 100%;
	height : 400px;
	object-fit : cover;
}
.business .content-item h3 {
	position : absolute;
	top : 300px;
	left : 10%;
	color : white;
	background : rgb(0, 0, 0, 0.5);
	border-radius : 5px;
	text-align : left;
	font-size : 1.5em;
	font-weight : 200;
	margin : 0;
	display : inline-block;
}

.content-item a {
	color : inherit;
	text-decoration : none;
}
.content-description {
	padding : 0 1rem;
}

#why-us {
    background: linear-gradient(to right, white 0%, rgb(255, 255, 255, 0) 100%);
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#why-us h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 40px;
}

#why-us .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

#why-us .col-lg-5 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    max-width: 500px;
    padding: 0 15px;
    flex: 1 1 100%;
}

#why-us .d-flex {
    align-items: center;
    border: #e0e0e0 solid 1px;
    border-radius: 8px;
    padding: 20px;
    background-color: #fafafa;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 300px;
    box-sizing: border-box;
    width: 100%;
}

#why-us .d-flex:hover {
    box-shadow: 0 8px 16px rgb(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

#why-us .icon img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgb(0, 0, 0, 0.2);
}

#why-us .ms-3 {
    margin-left: 10px;
    flex: 1;
}

#why-us h5 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

#why-us p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* Container utama slider */
.slider {
    position: relative;
    overflow: hidden;
    width: 100%; 
    max-width: 1200px;
    margin: 20px auto;
}

/* Gradient pada ujung slider untuk tampilan fade */
.slider::before,
.slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
    pointer-events: none; /* Supaya tidak menghalangi klik */
}

.slider::after {
    right: 0;
}

.slider::before {
    left: 0;
}

.slide-track {
    display: flex;
    animation: scroll 300s linear infinite;
}

.slide {
    min-width: 300px;
    margin-right: 20px;
    flex: 0 0 auto;
    transition: transform 0.3s ease-in-out;
}

.slide:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 10px;
}

.product-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.product-info h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 10px 0;
}

.slider-heading {
    text-align: center;
    margin-bottom: 20px;
}

.slider-heading h2 {
    font-size: 18px;
    color: #555;
    font-weight: 300;
    margin: 0;
}

.slider-heading h3 {
    font-size: 36px;
    color: #333;
    font-weight: 700;
    margin: 5px 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 17));
    }
}


.palmhero-section {
    background: url('../images/hero/palmoil.jpeg') center/cover;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

.palmhero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.palmhero-content h1 {
    font-size: 2.5rem;
	
}

.palmhero-content p {
    font-size: 1.2rem;
}

/* Products Section */
.products-section {
    padding: 40px 20px;
    text-align: center;
}

/* Filter Form Styles */
#palm-oil-filter-form {
    margin-bottom: 30px;
}

#palm-oil-filter-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

#palm-oil-filter-form select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Products Container Styles */
.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    flex: 0 1 calc(25% - 30px);
    transition: transform 0.2s ease-in-out;
    text-align: center;
}

.product-item:hover {
    transform: scale(1.02);
}

.product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
	
}

.product-item h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #e67e22;
}

.product-item p {
    margin: 5px 0 15px;
    font-size: 0.9rem;
    color: #555;
}

.product-item .btn {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.product-item .btn:hover {
    background-color: #2980b9;
}

/* Value Proposition */
#value-proposition {
    background-color: #ecf0f1;
    padding: 50px 15px;
    border-radius: 10px;
    text-align: center;
}

#value-proposition h2 {
    color: #27ae60;
    margin-bottom: 30px;
}

#value-proposition .icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

#value-proposition img {
    width: 100%;
    border-radius: 50%;
}

#value-proposition h5 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

#value-proposition p {
    margin-bottom: 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    background-color: #25D366;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: white;
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background-color: #1eb954;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}

.whatsapp-text {
    font-size: 10px;
    font-weight: bold;
    margin-right: 10px;
}
#sustainhero {
    background: url('../images/hero/sustain.jpg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}
#aboutushero {
    background: url('../images/hero/aboutus.jpeg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

/* Hero Section */
#productdetailshero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

#productdetailshero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1;
}

.productdetailshero-content {
    position: relative;
    z-index: 2; /* Make sure content stays on top of the overlay */
}

.productdetailshero-content h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.productdetailshero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.productdetailshero-content .btn {
    padding: 10px 25px;
    font-size: 1.1rem;
    background-color: #28a745;
    border: none;
    border-radius: 50px;
    transition: 0.3s ease;
}

.productdetailshero-content .btn:hover {
    background-color: #1c7c32;
}

/* Product Details Section */
.product-details-section {
    padding: 4rem 2rem;
    background-color: #fff;
}

.product-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-header p {
    font-size: 1.10rem;
    color: #777;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.product-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
	gap: 2rem;
}

/* Specification Section */
.specification-section {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f9f9fb;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.specification-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.specification-list {
    list-style-type: none;
    padding: 0;
}

.specification-list li {
    padding: 1rem;
    background-color: #fff;
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.specification-list li:hover {
    transform: translateY(-5px);
}

.specification-list li strong {
    color: #28a745;
    font-size: 1.2rem;
}

/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.gallery-container h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem; /* Sesuaikan jarak */
    color: #333;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sesuaikan shadow agar konsisten */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Shadow saat hover lebih dramatis */
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Menghindari distorsi gambar */
    object-position: center; /* Memastikan gambar terpusat */
}
#projecthero {
    background: url('../images/hero/projects.jpeg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

#beanhero {
    background: url('../images/hero/beans.jpg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

#herbhero {
    background: url('../images/hero/herbs.jpg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

/* Hero Section */
#newshero {
    background: url('../images/hero/news.jpg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

#coconuthero {
    background: url('../images/hero/coconut.jpg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}


.coconuthero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.coconuthero-content h1 {
    font-size: 2.5rem;
	
}

.coconuthero-content p {
    font-size: 1.2rem;
}

#vesselhero {
    background: url('../images/hero/vessel.jpeg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

#customhero {
    background: url('../images/hero/custom.jpeg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}
#contactushero {
    background: url('../images/hero/contact.jpeg') center/cover;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

#newsdetailshero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

#newsdetailshero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1;
}

.newsdetailshero-content {
    position: relative;
    z-index: 2; /* Make sure content stays on top of the overlay */
}

.newsdetailshero-content h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
/* General Styles */
.news-details-section {
    padding: 60px 15px;
    background-color: #f8f9fa; /* Light background */
    font-family: 'Arial', sans-serif;
}

.news-details-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* News Header Styles */
.news-header {
    padding: 30px;
    text-align: justify;
}

.news-header p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
    font-size: 15px;
}

/* News Date */
.news-date {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.news-header .btn:hover {
    background-color: #0056b3;
}
.features {
	padding : 50px 0;
	background-color : #f7f7f7;
}
.feature-item {
	margin-bottom : 20px;
}
.feature-item img {
	max-width : 100%;
	height : auto;
	margin-bottom : 15px;
}
.feature-item h3 {
	font-size : 1.2rem;
}
.feature-item p {
	font-size : 0.9rem;
	color : #555;
}
#howwework {
    background-color: #f8f9fa; /* Latar belakang lembut */
    padding: 40px 0; /* Padding atas dan bawah */
}

#howwework h2 {
    font-size: 2rem; /* Ukuran font untuk judul */
    color: #333; /* Warna font untuk judul */
    margin-bottom: 30px; /* Spacing di bawah judul */
}

#howwework .text-center {
    text-align: center; /* Menengahkan konten dalam div */
}

#howwework img {
    max-width: 100%; /* Pastikan gambar responsif */
    height: 400px; /* Mempertahankan rasio aspek gambar */
    border-radius: 8px; /* Sudut gambar yang melengkung */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Efek bayangan lembut */
}

#howwework p.sub-heading {
    font-size: 1.1rem; /* Ukuran font untuk keterangan */
    color: #555; /* Warna font untuk keterangan */
    margin-top: 20px; /* Spacing di atas paragraf */
    line-height: 1.6; /* Jarak antar baris yang lebih baik */
}
.charter-option-card, .fleet-card, .reason-card {
    background-color: #fff; /* Latar belakang putih */
    border: 1px solid #ddd; /* Border halus */
    border-radius: 8px; /* Sudut melengkung */
    padding: 20px; /* Padding dalam card */
    transition: box-shadow 0.3s; /* Transisi bayangan */
}

.charter-option-card:hover, .fleet-card:hover, .reason-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Bayangan saat hover */
}

.fleet-card h3{
text-align:left;
}

.process-list {
    list-style: none; /* Menghapus bullet */
    padding: 0; /* Menghapus padding */
    margin: 0; /* Menghapus margin */
}

.process-list li {
    font-size: 1.1rem; /* Ukuran font untuk list */
    color: #333; /* Warna font */
    margin: 10px 0; /* Jarak antar item list */
}

.newshero-content h1 {
    font-size: 2.5rem;
}



/* Responsive Styles */
@media (max-width: 1024px) {
    .product-item {
        flex: 0 1 calc(33.33% - 30px); /* 3 item per baris */
    }
}

/* Responsive styles */
@media (min-width: 768px) {
    .navbar-collapse {
        display: flex;
        flex-direction: row;
    }

    .navbar-nav {
        flex-direction: row;
    }
}

.contact-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
/* Media query for devices with width below 768px (tablets and smartphones) */
@media (max-width: 768px) {
	.slide {
        min-width: 90%; /* Slide lebih besar untuk layar kecil */
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .slider::before,
    .slider::after {
        width: 50px; /* Kurangi ukuran gradient */
    }
    .whatsapp-float {
        padding: 8px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }

    .whatsapp-text {
        font-size: 14px;
        margin-right: 8px;
    }
	#productdetailshero {
        padding: 100px 15px;
    }

    .productdetailshero-content h1 {
        font-size: 2rem;
    }

    .productdetailshero-content p {
        font-size: 1rem;
    }

    .product-header h2 {
        font-size: 2rem;
    }
	.product-item {
        flex: 0 1 calc(50% - 20px); /* 2 item per baris */
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .specification-list li {
        padding: 0.75rem;
    }
	#why-us h2 {
        font-size: 2rem; /* Slightly smaller font size */
    }

    #why-us .d-flex {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
        text-align: center; /* Center text */
        height: auto; /* Allow for dynamic height */
    }

    #why-us .icon img {
        width: 80px; /* Further reduce icon size */
        height: 80px; /* Maintain aspect ratio */
    }

    #why-us .col-lg-5 {
        flex: 1 1 100%; /* Allow full width on mobile */
        margin-bottom: 20px; /* Space between items */
    }
	

    .palmhero-content h1 {
        font-size: 2rem;
    }

    .palmhero-content p {
        font-size: 1rem;
    }
	.palmhero-section {
		padding: 150px 20px;
    }
	
	#value-proposition .icon {
			width: 50px;
			height: 50px;
		}
	.features .row {
	display : flex;
	flex-wrap : wrap;
	justify-content : center;
	}
	.feature-item {
	flex : 1 1 100%;
	text-align : center;
	}
	.news-header {
        padding: 20px;
    }
    .news-header p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-item {
        flex: 0 1 100%; /* 1 item per baris */
    }
}