/* ============================================
   BIDANG INDEX & SHOW PAGE
   ============================================ */

/* ---- HERO ---- */
.bidang-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 40px 0;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.bidang-hero-show {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    padding: 40px 0;
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.bidang-hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    pointer-events: none;
}

.bidang-hero-pattern .circle-1 {
    position: absolute;
    width: 300px; height: 300px;
    background: white;
    border-radius: 50%;
    top: -100px; right: -100px;
}

.bidang-hero-pattern .circle-2 {
    position: absolute;
    width: 200px; height: 200px;
    background: white;
    border-radius: 50%;
    bottom: -50px; left: 50px;
}

.bidang-hero-pattern .circle-lg {
    position: absolute;
    width: 400px; height: 400px;
    background: white;
    border-radius: 50%;
    top: -150px; right: -150px;
}

.bidang-hero-pattern .circle-md {
    position: absolute;
    width: 250px; height: 250px;
    background: white;
    border-radius: 50%;
    bottom: -80px; left: -80px;
}

.bidang-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.bidang-hero-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bidangBounce 2s infinite;
}

.bidang-hero-icon-lg {
    font-size: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

.bidang-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.bidang-hero-show h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.bidang-hero p,
.bidang-hero-show p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes bidangBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ---- BREADCRUMB ---- */
.bidang-breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.bidang-breadcrumb .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.bidang-breadcrumb a {
    color: #2a5298;
    text-decoration: none;
}

.bidang-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---- CONTENT SECTION ---- */
.bidang-content-section {
    background: #f5f7fa;
    padding: 60px 0;
}

.bidang-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- INDEX: Stats ---- */
.bidang-stats {
    text-align: center;
    margin-bottom: 50px;
}

.bidang-stats h2 {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 10px;
}

.bidang-stats p {
    color: #666;
    font-size: 16px;
}

/* ---- INDEX: Grid ---- */
.bidang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* ---- INDEX: Card ---- */
.bidang-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.bidang-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(42, 82, 152, 0.15);
}

.bidang-card-header {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    padding: 30px;
    text-align: center;
    position: relative;
}

.bidang-card-icon {
    font-size: 64px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.bidang-card-number {
    position: absolute;
    top: 15px; right: 15px;
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 600;
}

.bidang-card-body {
    padding: 30px;
}

.bidang-card-body h3 {
    font-size: 22px;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.bidang-card-body p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 15px;
    min-height: 80px;
}

.bidang-card-info {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.bidang-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.bidang-info-item.blue {
    background: #e3f2fd;
}

.bidang-info-item-icon {
    font-size: 20px;
}

.bidang-info-item small {
    color: #999;
    font-size: 12px;
    display: block;
}

.bidang-info-item.blue small {
    color: #1976d2;
}

.bidang-info-item strong {
    color: #333;
    font-size: 14px;
}

.bidang-info-item.blue strong {
    color: #1976d2;
    font-size: 18px;
}

.bidang-btn-detail {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.bidang-btn-detail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.4);
}

/* ---- INDEX: Empty state ---- */
.bidang-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bidang-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.bidang-empty h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.bidang-empty p {
    color: #999;
    font-size: 16px;
}

/* ---- INDEX: Info section ---- */
.bidang-info-section {
    background: white;
    padding: 60px 0;
}

.bidang-info-section .inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bidang-info-section h3 {
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 20px;
}

.bidang-info-section p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* ---- SHOW: Layout ---- */
.bidang-show-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* ---- SHOW: Main card ---- */
.bidang-main-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.bidang-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #f0f0f0;
}

.bidang-section-header-icon {
    font-size: 42px;
}

.bidang-section-header h2 {
    color: #1e3c72;
    font-size: 28px;
    margin: 0;
}

.bidang-tupoksi-text {
    line-height: 1.9;
    color: #555;
    font-size: 16px;
    white-space: pre-line;
}

/* ---- SHOW: Service cards ---- */
.bidang-services-grid {
    display: grid;
    gap: 20px;
}

.bidang-service-card {
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    background: #fafafa;
    transition: all 0.3s;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.bidang-service-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    background: white;
}

.bidang-service-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.bidang-service-content h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 12px;
    font-weight: 700;
}

.bidang-service-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 15px;
}

.bidang-service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.bidang-service-link:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ---- SHOW: No services ---- */
.bidang-no-services {
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.bidang-no-services-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.bidang-no-services h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.bidang-no-services p {
    color: #999;
    font-size: 16px;
}

/* ---- SHOW: Sidebar ---- */
.bidang-sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.bidang-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.bidang-sidebar-header-icon { font-size: 28px; }

.bidang-sidebar-header h3 {
    color: #1e3c72;
    font-size: 20px;
    margin: 0;
}

.bidang-kepala-photo {
    margin-bottom: 20px;
    text-align: center;
}

.bidang-kepala-photo img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bidang-kepala-name {
    font-size: 20px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 700;
    text-align: center;
}

.bidang-kepala-title {
    color: #999;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

.bidang-kontak-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 12px;
}

.bidang-kontak-item-icon { font-size: 24px; }

.bidang-kontak-item small {
    color: #999;
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.bidang-kontak-item a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    word-break: break-word;
}

.bidang-stats-card {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: white;
    text-align: center;
}

.bidang-stats-card-icon { font-size: 48px; margin-bottom: 15px; }

.bidang-stats-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.bidang-stats-card-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.bidang-stats-card p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* ---- SHOW: Back button ---- */
.bidang-back-wrap {
    margin-top: 40px;
    text-align: center;
}

.bidang-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #2a5298;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #2a5298;
    transition: all 0.3s;
    font-size: 16px;
}

.bidang-btn-back:hover {
    background: #2a5298;
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .bidang-show-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .bidang-hero,
    .bidang-hero-show { padding: 40px 0; }

    .bidang-hero h1 { font-size: 28px; }
    .bidang-hero-show h1 { font-size: 26px; }
    .bidang-hero p,
    .bidang-hero-show p { font-size: 15px; }
    .bidang-hero-icon { font-size: 48px; }
    .bidang-hero-icon-lg { font-size: 48px; }

    .bidang-grid { grid-template-columns: 1fr; }
    .bidang-stats h2 { font-size: 24px; }

    .bidang-main-card { padding: 20px; }
    .bidang-section-header h2 { font-size: 22px; }
    .bidang-service-icon { font-size: 36px; }
    .bidang-service-content h3 { font-size: 17px; }

    .bidang-kepala-photo img { max-width: 150px; height: 150px; }
    .bidang-stats-card-number { font-size: 36px; }
}

@media (max-width: 480px) {
    .bidang-btn-back { padding: 12px 20px; font-size: 14px; }
    .bidang-card-body { padding: 20px; }
    .bidang-card-header { padding: 20px; }
}