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

/* Body */
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Header */
header {
    background-color: #003366; /* perbaikan komentar */
    color: white;
    padding: 15px 20px;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

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

.logo {
    height: 80px;
    width: auto;
    margin-right: 10px;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-title-group h1 {
    font-size: 1.5rem;
}

.header-title-group p {
    font-size: 0.85rem;
}

/* Hamburger Icon */
.open-slider-icon {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.open-slider-icon span {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Slider Overlay */
.slider-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 101;
    display: none;
}

.slider-overlay.show {
    display: block;
}

/* Slider Panel */
.slider {
    width: 250px;
    height: 100%;
    background-color: #fff;
    position: absolute;
    left: -250px;
    top: 0;
    padding: 20px;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.slider.show {
    left: 0;
}

.close-slider {
    background: none;
    border: none;
    font-size: 2rem;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #c62828;
}

.slider nav {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
}

.slider nav a {
    padding: 10px 0;
    color: #c62828;
    text-decoration: none;
    font-weight: bold;
}

/* Page Content */
.page {
    display: none;
    padding: 40px 20px;
}

.page.active {
    display: block;
}

/* Section Title */
.section-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #c62828;
    text-align: center;
}

/* Modular Layout */
.module {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.image-column {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
}
.module1 .image-column img {
    width: 500px !important;
    max-width: none !important;
    height: auto;
}
.image-column img {
    width: 100%;
    max-width: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.module1 img {
  width: 500px;
  height: auto;
}


.text-column {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-column h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin-top: 20px; /* tambahkan titik koma */
    color: #444;
}

.text-column p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px 10px;
    margin-top: 40px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-container div {
    flex: 1 1 200px;
    margin-bottom: 20px;
}

.footer-container h3,
.footer-container h4 {
    margin-bottom: 10px;
    color: #f4f4f4;
}

.footer-container ul {
    list-style: none;
    padding: 0;
}

.footer-container ul li {
    margin-bottom: 8px;
}

.footer-container ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-container ul li a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .module {
        flex-direction: column;
    }

    .image-column,
    .text-column {
        flex: 1 1 100%;
        text-align: center;
    }

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

    .footer-container div {
        margin-bottom: 10px;
    }

    footer {
        padding: 30px 20px 10px;
    }

    .open-slider-icon {
        margin-left: auto;
    }
}
