/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import font Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Body untuk ukuran mobile */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #00223e;
    min-height: 100vh;
    padding: 20px;
    max-width: 480px; /* Batasi hanya untuk mobile */
    margin: 0 auto;
}

/* Container utama */
.container {
    width: 100%;
    margin: 0 auto;
}

/* Card1 */
.card1 {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}

.card1:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Teks headings */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: #00223e;
    margin-bottom: 15px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
}

h2 {
    font-size: 20px;
    font-weight: bold;
}

h3 {
    font-size: 18px;
    font-weight: 500;
}

h4 {
    font-size: 16px;
    font-weight: 500;
}

/* Paragraf */
p {
    font-family: 'Poppins', sans-serif;
    color: #1a4568;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Container untuk card kiri dan kanan */
.card-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.card-center {
    width: 85%;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-center:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
/* Card kiri */
.card-left {
    width: 45%;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-foto {
    width: 45%;
    background-color: #1a4568;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.card-foto:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.card-left:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Card kanan */
.card-right {
    width: 45%;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-right:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Form styling */
.form-group {
    margin-bottom: 20px;
}

label {
    font-family: 'Poppins', sans-serif;
    color: #1a4568;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #00223e;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #00223e;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #1a4568;
    box-shadow: 0 0 0 3px rgba(26, 69, 104, 0.1);
}

input::placeholder, textarea::placeholder {
    color: #8da2b5;
}

/* Tombol form */
.btn-form {
    background-color: #00223e;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
}

.btn-form:hover {
    background-color: #1a4568;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-form:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.card-center-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-center-icon {
    width: 50px;
    height: 50px;
    background-color: #00223e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}


.card-center-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.card-center-text h3 {
    color: #00223e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-center-text p {
    color: #1a4568;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

/* Responsive adjustments untuk mobile kecil */
@media (max-width: 576px) {
    body {
        padding: 15px;
    }
    
    .card-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-left, .card-right .card-center {
        width: 100%;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
}

/* Animasi tambahan untuk interaksi */
.card1, .card-left, .card-right .card-center {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling (opsional) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1a4568;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00223e;
}
/* Header Styles */
.main-header {
    background-color: #00223e;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.back-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.page-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.main-content {
    min-height: calc(100vh - 120px);
    padding-bottom: 20px;
}

/* Footer Styles */
.main-footer {
    background-color: #00223e;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 60px;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
}

.nav-label {
    color: #ffffff;
    font-size: 10px;
    font-weight: 400;
    text-align: center;
}

/* Active state untuk navigasi */
.nav-item.active {
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-item.active .nav-label {
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .main-header {
        padding: 12px 15px;
    }
    
    .page-title {
        font-size: 16px;
    }
    
    .nav-label {
        font-size: 9px;
    }
    
    .nav-item {
        min-width: 50px;
        padding: 5px 8px;
    }
}

/* Pastikan konten tidak tertutup footer */
body {
    padding-bottom: 80px;
}

@media (max-width: 576px) {
    body {
        padding-bottom: 70px;
    }
}