/* CSS Reset and Global Styles */
:root {
    --primary-green: #004d40;
    --accent-yellow: #fdd835;
    --light-bg: #f9f9f9;
    --dark-text: #333;
    --light-text: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    color: var(--primary-green);
}

h2 { font-size: 2.5rem; margin-bottom: 20px; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }
.section-subtitle {
    text-align: center;
    color: var(--accent-yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Animation: Fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background-color: var(--primary-green);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 60px; 
    width: auto;
    display: block;
 /* Tambahkan 'filter' ke dalam transisi */
    transition: height 0.4s ease, filter 0.4s ease;
}

header.scrolled .logo img {
 height: 50px;
    /* Baris ini mengubah warna logo menjadi putih */
    filter: brightness(0) invert(1);
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active-link {
    color: var(--accent-yellow);
}

.nav-menu li a:hover::after,
.nav-menu li a.active-link::after {
    width: 100%;
}

.menu-toggle, .menu-close {
    display: none;
}


/* Hero Section */
#home { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: #fff; position: relative; padding: 0; overflow: hidden; }
.video-bg { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 77, 64, 0); z-index: -1; }
.hero-content h1 { font-size: 4rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.hero-button { display: inline-block; background-color: var(--accent-yellow); color: var(--primary-green); padding: 15px 35px; text-decoration: none; font-weight: 600; border-radius: 50px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hero-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }


/* About Section Layout */
.about-main {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-top: 4px solid var(--accent-yellow);
    text-align: left; /* Teks di dalam kotak kita buat rata kiri */
    max-width: 800px;
    margin: 40px auto 60px auto; /* Margin tetap sama */
}

.about-main h3 {
    margin-bottom: 20px;
    text-align: center; /* Judul 'About' kita buat tetap di tengah */
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-top: 4px solid var(--accent-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-item ul {
    padding-left: 20px;
}
.about-item li {
    margin-bottom: 10px;
}


/* Services Section */
#services { background-color: var(--primary-green); }
#services h2, #services h3 { color: #fff; }
#services .section-subtitle { color: var(--accent-yellow); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { background: rgba(255,255,255, 0.05); padding: 30px; border-radius: 10px; color: var(--light-text); border: 1px solid rgba(255,255,255, 0.2); transition: transform 0.3s ease, background-color 0.3s ease; }
.service-card:hover { transform: translateY(-10px); background: rgba(255,255,255, 0.1); }
.service-card i { font-size: 3rem; color: var(--accent-yellow); margin-bottom: 20px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 60px; margin-top: 40px; align-items: center; }
.product-card { text-align: center; }
.product-card img { max-width: 100%; width: auto; max-height: 400px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-bottom: 20px; transition: transform 0.3s ease; }
.product-card img:hover { transform: scale(1.05); }
.product-card p { max-width: 300px; margin: 0 auto; }
.remove-bg-trick { mix-blend-mode: multiply; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 20px; }
.team-member { text-align: center; }
.team-member img { width: 160px; height: 200px; border-radius: 0; object-fit: Top; margin-bottom: 5px; }
.team-member h4 { font-size: 1.2rem; margin-bottom: 5px; }
.team-member p { font-style: italic; color: #777; }
.testimonials { margin-top: 80px; background: var(--primary-green); padding: 60px 0; border-radius: 15px; }
.testimonials h2 { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; padding: 0 40px; }
.testimonial-card { background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.testimonial-card p { font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-right: 15px; }
.testimonial-author h5 { margin: 0; color: var(--primary-green); }
.testimonial-author span { font-size: 0.9rem; color: #777; }

/* ... (semua kode CSS dari atas sampai sebelum #contact tetap sama) ... */

/* Contact Section */
#contact { 
    background-color: var(--primary-green);
    color: var(--light-text);
}
#contact h2 { color: #fff; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px; /* Sedikit penyesuaian padding */
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px; /* Sedikit penyesuaian jarak */
    text-align: left;
}

.contact-info-item i {
    font-size: 2.2rem; /* Ukuran ikon disesuaikan */
    color: var(--accent-yellow);
    margin-bottom: 0;
}

.contact-info-item h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-item p {
    color: #ddd;
    margin: 0;
    word-break: break-all;
}

.contact-info-item p a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item p a:hover {
    color: var(--accent-yellow);
}

.social-icons a { 
    color: #fff; 
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-icons a:last-child {
    margin-right: 0; /* Hapus margin di ikon terakhir */
}
.social-icons a:hover { color: var(--accent-yellow); }

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    border-radius: 10px;
}

/* ... (sisa kode CSS dari footer sampai bawah tetap sama) ... */
/* Responsive & Hamburger Menu Styles */
@media (max-width: 768px) {
    /* ... (kode responsive yang sudah ada tetap sama) ... */
    
    /* PENYESUAIAN RESPONSIVE UNTUK CONTACT GRID */
    .contact-grid {
        grid-template-columns: 1fr; /* Ubah menjadi 1 kolom di mobile */
    }
}

.social-icons a { color: #fff; font-size: 2rem; margin: 0 10px; transition: color 0.3s ease; }
.social-icons a:hover { color: var(--accent-yellow); }
footer { background: #222; color: #b1b1b1; text-align: center; padding: 20px 0; }
footer p { margin-bottom: 10px; }

/* Partners */
.partners {
    padding: 40px 0;
    text-align: center;
}
.partners p { margin-bottom: 20px; }
.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}
.partner-logos img {
    height: 70px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}
.partner-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.5);
}

/* Backgrounds */
#about { background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('bg-about.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }
#product { background-image: linear-gradient(rgba(0, 77, 64, 0.8), rgba(0, 77, 64, 0.8)), url('bg-product.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }
#product h2, #product h3, #product p { color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
#product .section-subtitle { color: var(--accent-yellow); }
#team { background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('bg-team.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }


/* Responsive & Hamburger Menu Styles */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.8rem; }
    section { padding: 60px 0; }
    
    .menu-toggle { display: block; font-size: 2rem; color: #fff; cursor: pointer; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background-color: var(--primary-green); flex-direction: column; padding: 50px 20px; transition: right 0.4s ease; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
    .nav-menu.show-menu { right: 0; }
    .nav-menu li { margin: 20px 0; }
    .nav-menu li a { font-size: 1.2rem; }
    .menu-close { display: block; position: absolute; top: 20px; right: 20px; font-size: 2rem; color: var(--accent-yellow); cursor: pointer; }
}