/* SIPENA Redesign Theme */

:root {
    --primary-teal: #00A79D;
    /* Matching the teal line */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --footer-bg: #404040;
    /* Dark grey for footer */
    --success-bg: #E8F5E9;
    /* Light green for verified bar */
    --success-text: #2E7D32;
    --border-color: #E0E0E0;

    --container-width: 1140px;
    --font-sans: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.site-header {
    background: #002B49;
    /* Dark Blue as requested */
    font-size: 0.9rem;
    color: #FFFFFF;
}

.header-logos {
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-teal);
    /* Keep teal accent line */
    background: transparent;
}

.logos-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group-left,
.logo-group-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-group-right {
    margin-left: auto;
}

/* Placeholder styles for logos since we don't have images */
.logo-placeholder {
    height: 40px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #FFFFFF;
    /* White text for logos */
    font-size: 1.1rem;
}

.logo-sipena {
    font-weight: 800;
    font-size: 1.4rem;
    color: #FFFFFF;
}

.logo-sipena span {
    color: #00A79D;
}

/* Teal accent for P in SIPENA */

.logo-berakhlak {
    color: #FFFFFF;
}

.nav-bar {
    background: #FFFFFF;
    /* White background request */
    border-bottom: 4px solid #00A79D;
    /* Hijau muda (Teal) line */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-banner {
    width: 100%;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    /* Removes bottom space */
}

.nav-menu {
    display: flex;
    gap: 10px;
    /* Reduced gap to account for padding on links */
}

.nav-link {
    padding: 15px 20px;
    /* Added horizontal padding for button-like feel */
    font-weight: 500;
    color: #333333;
    /* Dark text for white background */
    position: relative;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    /* Smooth animation */
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-teal);
    color: #FFFFFF;
    /* White text on teal background */
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 167, 157, 0.2);
}

/* Header Controls */
.header-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.lang-select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFF;
    padding: 5px 10px;
    border-radius: 4px;
    outline: none;
}

.lang-select option {
    background: #2750d6;
    color: #FFF;
}

.login-btn {
    background-color: #f85306;
    /* Orange color */
    color: #FFFFFF;
    padding: 6px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #E68A00;
}

.search-container {
    position: relative;
}

.search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 6px 15px 6px 35px;
    color: #FFF;
    outline: none;
    font-size: 0.85rem;
    width: 200px;
    transition: width 0.3s;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    width: 240px;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 20px 0;
    background: var(--bg-white);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    list-style: none;
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.folder-icon {
    font-size: 1.1rem;
    color: #555;
    margin-right: 4px;
}

/* Main Content */
.main-content {
    padding: 20px 0 60px;
    flex: 1;
}

.certificate-title {
    font-size: 2rem;
    font-weight: 400;
    /* As per image, looks regular/semi-bold but clean */
    color: var(--text-dark);
    margin-bottom: 25px;
}

.certificate-info {
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.info-row {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
}

.info-label {
    font-weight: 700;
    min-width: 100px;
    color: var(--text-dark);
}

.info-value {
    color: var(--text-dark);
}

.verified-bar {
    background-color: #DDEFE6;
    /* Matching the light green in image */
    padding: 15px 20px;
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.verified-text {
    color: #2E7D32;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: #FFFFFF;
    padding-top: 40px;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    background: #FFF;
    border-radius: 4px;
    /* Square with radius as per image looks like icons */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-bg);
    font-size: 14px;
}

.footer-right {
    text-align: left;
    /* Image shows text aligned left, simpler */
}

.footer-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: #FFF;
}

.copyright-bar {
    background-color: #333333;
    border-top: 1px solid #555;
    padding: 20px 0;
    color: #BBB;
    font-size: 0.85rem;
}

.mobile-menu-toggle {
    display: none;
    flood-color: white;
    font-size: 28px;
    cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
    .logos-inner {
        padding: 5px 0;
    }

    /* Hide desktop banner and nav */
    .header-banner,
    .nav-bar {
        display: none;
    }

    /* Show hamburger menu */
    .mobile-menu-toggle {
        display: block;
        margin-right: auto;
        /* Pushes everything else to the right */
        color: #FFF;
    }

    .logo-group-right {
        margin-left: 0;
        /* Reset auto margin */
        gap: 10px;
    }

    /* Simplified controls for mobile */
    .search-input {
        display: none;
        /* Hide input box on mobile, just show icon if we had a button, but for now filtering */
    }

    .search-container .search-icon {
        position: static;
        transform: none;
        font-size: 1.2rem;
        color: #FFF;
        cursor: pointer;
    }

    /* Adjust Login Button */
    .login-btn {
        padding: 4px 12px;
        font-size: 0.8rem;
    }

    /* Content Adjustments */
    .breadcrumb-section {
        display: none;
        /* Hide breadcrumb to match clean look */
    }

    .certificate-title {
        font-size: 1.5rem;
        margin-top: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}