/* static/css/style.css */
/* ==========================================
   VARIABLES & RESET
   ========================================== */
:root {
    --primary: #003f9c;
    --primary-light: #1a2d4a;
    --primary-lighter: #243b5e;
    --primary-dark: #060d1a;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--gray-50);
    padding-bottom: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    background: var(--primary-dark);
    color: var(--gray-400);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    color: var(--accent);
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    color: var(--gray-400);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--white);
    background: var(--accent);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    background: var(--primary);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.brand-text h1 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.brand-text p {
    font-size: 11px;
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu a {
    color: var(--gray-300);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: rgba(59,130,246,0.15);
}

.nav-menu a.active {
    background: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================
   HERO SECTION (Homepage)
   ========================================== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, rgba(59,130,246,0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 20px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 42px;
    color: var(--white);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 16px;
    color: var(--gray-300);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: var(--accent);
    color: var(--white);
}

.btn-hero:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-hero-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}
/*/////////////////////////////////////////////////////////////////////////////*/
.hero{
    position:relative;
    min-height:850px;
    overflow:hidden;
}

.hero-slider{
    position:absolute;
    inset:0;
}

.slide{
    position:absolute;
    inset:0;
    opacity:0;
    transition:opacity 1s ease;
    background-size:cover;
    background-position:center;
}

.slide.active{
    opacity:1;
}

.slide:nth-child(1){
    background-image:url("../images/hero1.jpg");
}

.slide:nth-child(2){
    background-image:url("../images/hero2.jpg");
}

.slide:nth-child(3){
    background-image:url("../images/hero3.jpg");
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,15,60,.75);
}

.hero-content{
    position:relative;
    z-index:10;
}

.hero-wrapper{
    max-width:1400px;
    margin:0 auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 100px;
}

.hero-logo-card{
    width:400px;
    height:400px;
    transform:translateX(400px);
    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.18),
        rgba(255,255,255,.08)
    );

    backdrop-filter:blur(18px);

    border-radius:32px;

    border:1px solid rgba(255,255,255,.2);

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:
    0 20px 60px rgba(0,0,0,.35);
}

.hero-logo-card img{
    width:400px;
}

.hero-text h1{
    font-size:64px;
}

.hero-text p{
    font-size:20px;
    color:white;
}


/* ==========================================
   SECTIONS (Global)
   ========================================== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--white);
}

.section-dark {
    background: var(--primary);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59,130,246,0.1);
    color: var(--accent);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-dark .section-badge {
    background: rgba(59,130,246,0.2);
    color: var(--accent-light);
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 16px;
}

.section-dark .section-header p {
    color: var(--gray-400);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* ==========================================
   QUICK INFO
   ========================================== */
.quick-info {
    padding: 60px 0;
    background: var(--gray-50);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.info-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--white);
    font-size: 22px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.info-card p {
    color: var(--gray-500);
    font-size: 14px;
}

/* ==========================================
   PROGRAM CARDS
   ========================================== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.program-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--primary-light);
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card-placeholder,
.program-list-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--accent);
    font-size: 40px;
}

.program-category {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.program-card-body {
    padding: 20px;
}

.program-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.program-card-body p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 12px;
}

.program-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-400);
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.favorite-program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 52px;
}

.home-favorite-grid {
    margin-bottom: 64px;
}

.favorite-program-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(160px, 42%) 1fr;
    min-height: 230px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    transition: var(--transition);
}

.favorite-program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.favorite-program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-top: 4px solid var(--warning);
}

.favorite-program-image {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--accent-dark));
}

.favorite-program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--warning);
    color: var(--white);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.favorite-program-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.favorite-program-body h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 22px;
    line-height: 1.3;
}

.favorite-program-body p {
    margin-bottom: 16px;
    color: var(--gray-600);
    font-size: 14px;
}

/* ==========================================
   NEWS CARDS
   ========================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    height: 200px;
    overflow: hidden;
    background: var(--gray-200);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--accent);
    font-size: 40px;
}

.news-card-body {
    padding: 20px;
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 13px;
    margin-bottom: 10px;
}

.news-author {
    margin-left: 12px;
}

.news-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-body h3 a {
    color: var(--primary);
    transition: var(--transition);
}

.news-card-body h3 a:hover {
    color: var(--accent);
}

.news-card-body p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-read-more {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.news-read-more:hover {
    gap: 10px;
}

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--gray-300);
    font-size: 16px;
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-400);
}

.breadcrumb a {
    color: var(--accent-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 10px;
}

/* ==========================================
   ABOUT PAGE - HERO SECTION
   ========================================== */
.about-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-dark) 100%);
    overflow: hidden;
    padding: 100px 0 80px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(59,130,246,0.2) 0%, transparent 50%);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59,130,246,0.2);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 20px;
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.about-hero-content h1 {
    font-size: 48px;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.about-hero-content > p {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.7;
}

.about-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-stat-item {
    text-align: center;
}

.about-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

.about-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

/* ==========================================
   ABOUT PAGE - DESCRIPTION SECTION
   ========================================== */
.about-desc-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.about-desc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-desc-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-desc-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-desc-image:hover img {
    transform: scale(1.05);
}

.about-desc-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(59,130,246,0.3);
}

.about-desc-image-badge i {
    font-size: 18px;
    animation: pulse 2s infinite;
}

.about-desc-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-desc-text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.about-feature-item p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* ==========================================
   ABOUT PAGE - MAKSUD & TUJUAN (Dark Blue)
   ========================================== */
.about-maksud-tujuan-section {
    background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #0a1628 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background pattern decoration */
.about-maksud-tujuan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mt-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.mt-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mt-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
}

/* Cards Grid */
.mt-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* Card */
.mt-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 48px 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mt-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Number Circle */
.mt-card-number {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Card Title */
.mt-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

/* Card Description */
.mt-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
}

/* ==========================================
   RESPONSIVE - MAKSUD & TUJUAN
   ========================================== */
@media (max-width: 992px) {
    .mt-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mt-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .about-maksud-tujuan-section {
        padding: 70px 0;
    }

    .mt-header h2 {
        font-size: 26px;
    }

    .mt-card {
        padding: 32px 24px;
    }

    .mt-card h3 {
        font-size: 22px;
    }

    .mt-card p {
        font-size: 15px;
    }

    .mt-card-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .about-maksud-tujuan-section {
        padding: 50px 0;
    }

    .mt-header h2 {
        font-size: 22px;
    }

    .mt-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .mt-card {
        padding: 28px 20px;
    }

    .mt-card h3 {
        font-size: 20px;
    }

    .mt-card p {
        font-size: 14px;
    }
}

/* ==========================================
   ABOUT PAGE - VISI MISI (Updated)
   ========================================== */
.about-visi-misi-section {
    background: var(--white);
    padding: 100px 0;
    position: relative;
}

.visi-misi-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.visi-misi-label-top {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.visi-misi-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 48px;
    line-height: 1.3;
}

.visi-misi-sublabel {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    margin-top: 40px;
}

.visi-block .visi-misi-sublabel {
    margin-top: 0;
}

.visi-text {
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    color: var(--primary);
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
    padding: 20px 0;
}

.misi-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: left;
}

.misi-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: misi-counter;
}

.misi-content ul li {
    counter-increment: misi-counter;
    padding: 16px 0 16px 50px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.7;
    border-bottom: 1px solid var(--gray-100);
}

.misi-content ul li:last-child {
    border-bottom: none;
}

.misi-content ul li::before {
    content: counter(misi-counter) ".";
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    min-width: 40px;
}

@media (max-width: 768px) {
    .about-visi-misi-section {
        padding: 70px 0;
    }

    .visi-misi-title {
        font-size: 28px;
    }

    .visi-text {
        font-size: 20px;
    }
}

/* ==========================================
   RESPONSIVE - VISI MISI
   ========================================== */
@media (max-width: 768px) {
    .about-visi-misi-section {
        padding: 60px 0;
    }

    .visi-misi-title {
        font-size: 24px;
    }

    .visi-misi-label {
        font-size: 18px;
    }

    .visi-text {
        font-size: 20px;
        padding: 16px 0;
    }

    .misi-content ul li {
        font-size: 14px;
        padding: 12px 0 12px 40px;
    }

    .misi-content ul li::before {
        font-size: 14px;
        min-width: 32px;
    }
}

@media (max-width: 480px) {
    .visi-misi-title {
        font-size: 20px;
    }

    .visi-text {
        font-size: 18px;
    }

    .misi-content ul li {
        font-size: 13px;
        padding: 10px 0 10px 36px;
    }
}

/* ==========================================
   ABOUT PAGE - SEJARAH (TIMELINE)
   ========================================== */
.about-sejarah-section {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.about-sejarah-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10zm-20 0c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Sejarah Intro */
.sejarah-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sejarah-intro-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.sejarah-intro p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.9;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    z-index: 2;
}

/* Timeline Vertical Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark), var(--primary));
    transform: translateX(-50%);
    border-radius: 3px;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Left */
.timeline-left {
    justify-content: flex-start;
    padding-right: calc(50% + 40px);
}

.timeline-left .timeline-content {
    margin-right: 0;
}

.timeline-left .timeline-dot {
    right: calc(50% - 24px);
    left: auto;
}

/* Timeline Right */
.timeline-right {
    justify-content: flex-end;
    padding-left: calc(50% + 40px);
}

.timeline-right .timeline-content {
    margin-left: 0;
}

.timeline-right .timeline-dot {
    left: calc(50% - 24px);
    right: auto;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: 4px solid var(--gray-50);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

/* Timeline Dot Active (Current) */
.timeline-dot-active {
    background: linear-gradient(135deg, var(--success), #059669);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
}

/* Timeline Content Card */
.timeline-content {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    width: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

/* Timeline Content Arrow */
.timeline-left .timeline-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--white);
}

.timeline-left .timeline-content:hover::after {
    border-left-color: var(--accent);
}

.timeline-right .timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--white);
}

.timeline-right .timeline-content:hover::before {
    border-right-color: var(--accent);
}

/* Timeline Year Badge */
.timeline-year {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.timeline-current .timeline-year {
    background: linear-gradient(135deg, var(--success), #059669);
}

/* Timeline Content Text */
.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Timeline Image */
.timeline-image {
    margin-top: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.timeline-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.05);
}

/* Timeline Current Item */
.timeline-current .timeline-content {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--accent);
}

.timeline-current .timeline-content::before {
    border-right-color: var(--primary);
}

.timeline-current .timeline-content h3 {
    color: var(--white);
}

.timeline-current .timeline-content p {
    color: var(--gray-300);
}

/* ==========================================
   RESPONSIVE - TIMELINE
   ========================================== */
@media (max-width: 768px) {
    .timeline::before {
        left: 24px;
    }

    .timeline-item {
        flex-direction: row;
        padding-left: 70px !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
    }

    .timeline-dot {
        left: 0 !important;
        right: auto !important;
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .timeline-left .timeline-content::after,
    .timeline-right .timeline-content::before {
        display: none;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-image img {
        height: 150px;
    }

    .timeline-current .timeline-content::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 55px !important;
    }

    .timeline-dot {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .timeline-content {
        padding: 16px;
    }

    .timeline-year {
        font-size: 12px;
        padding: 4px 12px;
    }

    .timeline-content h3 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    .timeline-image img {
        height: 120px;
    }
}

/* ==========================================
   ABOUT PAGE - TRANSFORMASI DIGITAL
   ========================================== */
.about-transformasi-section {
    background: var(--white);
}

.transformasi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.transformasi-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.transformasi-content > p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.transformasi-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.transformasi-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.transformasi-feature:hover {
    background: rgba(59,130,246,0.1);
    transform: translateX(5px);
}

.transformasi-feature i {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.transformasi-feature span {
    font-weight: 600;
    color: var(--primary);
}

.transformasi-image {
    position: relative;
}

.transformasi-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.transformasi-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* ==========================================
   ABOUT PAGE - JANGKAUAN SINYAL
   ========================================== */
.about-jangkauan-section {
    background: var(--gray-50);
}

.jangkauan-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.jangkauan-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    padding: 20px;
}

.jangkauan-map img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.jangkauan-info > p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.jangkauan-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jangkauan-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.jangkauan-stat:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.jangkauan-stat-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.jangkauan-stat-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.jangkauan-stat-info p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* ==========================================
   ABOUT PAGE - KRU CARDS (Enhanced)
   ========================================== */
.about-kru-section {
    background: var(--primary);
}

.kru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.kru-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.kru-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.kru-card-photo {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.kru-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kru-card:hover .kru-card-photo img {
    transform: scale(1.1);
}

.kru-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10,22,40,0.9) 100%);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kru-card:hover .kru-card-overlay {
    opacity: 1;
}

.kru-card-overlay a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.kru-card-overlay a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.kru-card-info {
    padding: 24px;
    text-align: center;
}

.kru-card-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.kru-jabatan {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.kru-bio {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.6;
}

.kru-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--accent);
}

/* ==========================================
   ABOUT PAGE - CTA SECTION
   ========================================== */
.about-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.about-cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.about-cta-content p {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 32px;
}

.about-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   GALLERY
   ========================================== */
.gallery-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 8px;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 15px;
}

.gallery-overlay p {
    color: var(--gray-400);
    font-size: 12px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2,
.contact-map h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(59,130,246,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray-500);
    font-size: 14px;
}

.contact-social {
    margin-top: 32px;
}

.contact-social h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-social-links {
    display: flex;
    gap: 10px;
}

.contact-social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-social-links a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ==========================================
   ARTICLE DETAIL
   ========================================== */
.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.article-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-image {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-image img {
    width: 100%;
    border-radius: var(--radius);
}

.article-content {
    color: var(--gray-700);
    line-height: 1.9;
    font-size: 15px;
    white-space: pre-line;
    word-break: break-word;
}

.article-content p {
    margin-bottom: 16px;
}

.article-share {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-share span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}

.article-share a {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.article-share a:hover {
    background: var(--accent);
    color: var(--white);
}

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-news-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.sidebar-news-item h4 a {
    color: var(--primary);
    transition: var(--transition);
}

.sidebar-news-item h4 a:hover {
    color: var(--accent);
}

.sidebar-news-item span {
    font-size: 12px;
    color: var(--gray-400);
}

/* ==========================================
   PROGRAM LIST
   ========================================== */
.program-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.program-list-heading {
    margin-top: 12px;
}

.program-list-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-list-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(4px);
}

.program-list-image {
    width: 200px;
    min-height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--primary);
}

.program-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-list-body {
    padding: 24px;
    flex: 1;
}

.program-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59,130,246,0.1);
    color: var(--accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.program-list-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.program-list-body p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 12px;
}

.program-list-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--gray-400);
}

.program-list-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    padding: 8px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    color: var(--gray-600);
    font-size: 14px;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ==========================================
   CTA SECTION (Homepage)
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--gray-300);
    font-size: 16px;
    margin-bottom: 32px;
}

/* ==========================================
   AUDIO PLAYER
   ========================================== */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 12px 0;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(59,130,246,0.2);
}

.player-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(239,68,68,0.2);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 20px;
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.player-text h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.player-text p {
    color: var(--gray-400);
    font-size: 12px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.player-btn:hover {
    background: rgba(255,255,255,0.2);
}

.player-btn-main {
    width: 48px;
    height: 48px;
    background: var(--accent);
    font-size: 18px;
}

.player-btn-main:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
}

.player-volume input[type="range"] {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
}

.player-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

.player-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
}

.visualizer-bar {
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: visualize 0.8s ease-in-out infinite;
}

.visualizer-bar:nth-child(1) { height: 60%; animation-delay: 0s; }
.visualizer-bar:nth-child(2) { height: 100%; animation-delay: 0.1s; }
.visualizer-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.visualizer-bar:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.visualizer-bar:nth-child(5) { height: 50%; animation-delay: 0.4s; }
.visualizer-bar:nth-child(6) { height: 90%; animation-delay: 0.5s; }
.visualizer-bar:nth-child(7) { height: 30%; animation-delay: 0.6s; }

@keyframes visualize {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

.audio-player.paused .visualizer-bar {
    animation: none;
    height: 4px !important;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--primary-dark);
    padding: 60px 0 0;
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand i {
    font-size: 24px;
    color: var(--accent);
}

.footer-brand h3 {
    color: var(--white);
    font-size: 18px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 3px;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: var(--gray-500);
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
}

/* ==========================================
   FLASH MESSAGES
   ========================================== */
.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
}

.flash-message {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

.flash-message.success { border-left: 4px solid var(--success); color: var(--success); }
.flash-message.error { border-left: 4px solid var(--danger); color: var(--danger); }

.flash-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    margin-left: 10px;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ==========================================
   RESPONSIVE - GLOBAL
   ========================================== */
@media (max-width: 992px) {
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    /* About Page Responsive */
    .about-desc-grid,
    .about-visi-misi-content,
    .about-sejarah-content,
    .transformasi-grid,
    .jangkauan-grid,
    .mt-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-hero-content h1 {
        font-size: 36px;
    }

    .about-hero-stats {
        gap: 30px;
    }

    .about-stat-number {
        font-size: 32px;
    }

    .transformasi-image-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .nav-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateY(-120%);
        transition: var(--transition);
        z-index: 998;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hero-text h1 { font-size: 28px; }
    .info-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .program-grid { grid-template-columns: 1fr; }
    .favorite-program-grid { grid-template-columns: 1fr; }
    .favorite-program-card { grid-template-columns: 1fr; }
    .favorite-program-image { min-height: 190px; }
    .kru-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }

    .player-wrapper { flex-wrap: wrap; justify-content: center; }
    .player-info { width: 100%; justify-content: center; }
    .player-visualizer { display: none; }

    .program-list-card { flex-direction: column; }
    .program-list-image { width: 100%; height: 180px; }

    /* About Page Mobile */
    .about-hero {
        min-height: 400px;
        padding: 80px 0 60px;
    }

    .about-hero-content h1 {
        font-size: 28px;
    }

    .about-hero-content > p {
        font-size: 15px;
    }

    .about-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .about-stat-divider {
        width: 50px;
        height: 1px;
    }

    .about-desc-image img,
    .sejarah-image img {
        height: 300px;
    }

    .about-desc-content h2,
    .transformasi-content h2 {
        font-size: 28px;
    }

    .transformasi-features {
        grid-template-columns: 1fr;
    }

    .kru-card-photo {
        height: 240px;
    }

    .mt-card,
    .vm-card {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .info-grid { grid-template-columns: 1fr; }
    .kru-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .hero { min-height: 400px; }
    .hero-text h1 { font-size: 24px; }

    /* About Page Small Mobile */
    .about-hero-content h1 {
        font-size: 24px;
    }

    .about-stat-number {
        font-size: 28px;
    }

    .mt-card-number {
        font-size: 36px;
    }
}
/* ==========================================
   ADMIN LOGIN BUTTON (Added)
   ========================================== */
.btn-admin-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white) !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn-admin-login:hover {
    background: linear-gradient(135deg, var(--accent-dark), #1337a0);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59,130,246,0.35);
}

.btn-admin-login i {
    font-size: 12px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .nav-actions {
        margin-left: 0;
        width: 100%;
        padding: 8px 16px;
        justify-content: center;
    }
    
    .btn-admin-login {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ==========================================
   ADDITIONAL ENHANCEMENTS
   ========================================== */
.berita_detail .article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.artikel-sidebar {
    position: sticky;
    top: 80px;
}

.related-card {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.related-card:last-child {
    border-bottom: none;
}

.related-card-img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-body h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
    line-height: 1.4;
}

.related-card-body p {
    font-size: 12px;
    color: var(--gray-400);
}

.related-card-body h4 a:hover {
    color: var(--accent);
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
