/* Reset dasar untuk konsistensi */
body, h1, h2, h3, p, ul, li, form {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    background-color: #007bff;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}
header h1 {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 10px;
}
header p.tagline {
    font-size: 1.2em;
    opacity: 0.8;
}
section {
    padding: 60px 0;
}
section h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    align-items: stretch; /* Membuat semua item flex dalam baris memiliki tinggi yang sama */
}
.col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
    padding-left: 15px;
    padding-right: 15px;
    display: flex; /* Tambahkan display: flex untuk kolom juga */
}
.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
    display: flex; /* Ubah product-card menjadi flex container */
    flex-direction: column; /* Susun isinya secara vertikal */
    justify-content: space-between; /* Pastikan konten didorong ke atas/bawah, dan tombol ke bawah */
    height: 100%; /* Pastikan kartu mengambil tinggi penuh dari kolom flex */
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.product-card h3 {
    font-size: 1.8em;
    color: #28a745;
    margin-bottom: 15px;
}
.product-card p {
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Biarkan paragraf mengambil ruang sebanyak mungkin */
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Pastikan tombol rata kiri di dalam kartu */
}
.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}
.btn-primary:hover {
    background-color: #0056b3;
}
.bg-light {
    background-color: #e9ecef;
}
#about p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}
#contact .contact-info {
    margin-bottom: 30px;
    color: #555;
}
#contact .contact-info p {
    margin-bottom: 8px;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}
.form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}
.form-control:focus {
    border-color: #007bff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 60px 0;
    }
    header h1 {
        font-size: 2.8em;
    }
    .col-md-4 {
        width: 100%;
    }
}

/* Smooth Scrolling Behavior */
html {
    scroll-behavior: smooth;
}
/* Header fixed on scroll */
body {
    padding-top: 60px; /* Jaga ruang untuk header tetap terlihat saat scrolling */
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0; /* Kurangi padding header saat fixed */
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    font-size: 2em;
    margin-bottom: 0;
}
header p.tagline {
    display: none; /* Sembunyikan tagline saat header fixed (opsional) */
}

@media (min-width: 769px) {
    body {
        padding-top: 156px; /* Sesuaikan dengan tinggi header awal */
    }
    header {
        padding: 80px 0;
        position: static; /* Kembalikan ke static di desktop agar tidak menutupi konten awal */
    }
    header .container {
        display: block;
        text-align: center;
    }
    header h1 {
        font-size: 3.5em;
        margin-bottom: 10px;
    }
    header p.tagline {
        display: block;
    }
}/* Reset dasar untuk konsistensi */
body, h1, h2, h3, p, ul, li, form {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
header {
    background-color: #007bff;
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}
header h1 {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 10px;
}
header p.tagline {
    font-size: 1.2em;
    opacity: 0.8;
}
section {
    padding: 60px 0;
}
section h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    align-items: stretch; /* Membuat semua item flex dalam baris memiliki tinggi yang sama */
}
.col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
    padding-left: 15px;
    padding-right: 15px;
    display: flex; /* Tambahkan display: flex untuk kolom juga */
}
.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out;
    display: flex; /* Ubah product-card menjadi flex container */
    flex-direction: column; /* Susun isinya secara vertikal */
    justify-content: space-between; /* Pastikan konten didorong ke atas/bawah, dan tombol ke bawah */
    height: 100%; /* Pastikan kartu mengambil tinggi penuh dari kolom flex */
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.product-card h3 {
    font-size: 1.8em;
    color: #28a745;
    margin-bottom: 15px;
}
.product-card p {
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Biarkan paragraf mengambil ruang sebanyak mungkin */
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Pastikan tombol rata kiri di dalam kartu */
}
.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
}
.btn-primary:hover {
    background-color: #0056b3;
}
.bg-light {
    background-color: #e9ecef;
}
#about p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}
#contact .contact-info {
    margin-bottom: 30px;
    color: #555;
}
#contact .contact-info p {
    margin-bottom: 8px;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}
.form-control {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}
.form-control:focus {
    border-color: #007bff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 60px 0;
    }
    header h1 {
        font-size: 2.8em;
    }
    .col-md-4 {
        width: 100%;
    }
}

/* Smooth Scrolling Behavior */
html {
    scroll-behavior: smooth;
}
/* Header fixed on scroll */
body {
    padding-top: 60px; /* Jaga ruang untuk header tetap terlihat saat scrolling */
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0; /* Kurangi padding header saat fixed */
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header h1 {
    font-size: 2em;
    margin-bottom: 0;
}
header p.tagline {
    display: none; /* Sembunyikan tagline saat header fixed (opsional) */
}

@media (min-width: 769px) {
    body {
        padding-top: 156px; /* Sesuaikan dengan tinggi header awal */
    }
    header {
        padding: 80px 0;
        position: static; /* Kembalikan ke static di desktop agar tidak menutupi konten awal */
    }
    header .container {
        display: block;
        text-align: center;
    }
    header h1 {
        font-size: 3.5em;
        margin-bottom: 10px;
    }
    header p.tagline {
        display: block;
    }
}