/* KHUSUS untuk Pengenalan Page sahaja */

/* Page Header */
.page-header {
    padding: 150px 0 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
}

.breadcrumb li {
    margin: 0 10px;
}

.breadcrumb li:not(:last-child):after {
    content: "/";
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

/* Main Content */
.main-content {
    padding: 50px 0;
}

.content-section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Introduction Section */
.intro-content {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.intro-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Objectives Section */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.objective-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.objective-card:hover {
    transform: translateY(-5px);
}

.objective-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
}

.objective-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.5rem;
}

.objective-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

/* Functions Section */
.functions-list {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.function-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.function-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.function-number {
    min-width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    font-size: 1.2rem;
}

.function-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

/* Organization Chart */
.org-chart-container {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    text-align: center;
}

.org-chart {
    max-width: 100%;
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chart-placeholder {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    border-radius: 8px;
    overflow: hidden;
}

.chart-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* gambar fit dalam kotak tanpa terpotong */
    border-radius: 8px;
}

.chart-description {
    margin-top: 20px;
    color: var(--gray);
    text-align: center;
}

/* Responsive Design untuk Pengenalan Page */
@media (max-width: 768px) {
    .page-header {
        padding: 130px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .intro-content,
    .functions-list,
    .org-chart-container {
        padding: 25px;
    }
    
    .function-item {
        flex-direction: column;
    }
    
    .function-number {
        margin-bottom: 15px;
    }
    
    .chart-placeholder {
        overflow: hidden;
        
    }

    .chart-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* gambar fit dalam kotak tanpa terpotong */
    border-radius: 8px;
}
    
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
}