/* ============================================
   PENGADILAN NEGERI SUMENEP - MAIN STYLESHEET
   ============================================ */

:root {
    /* Primary Colors - Mahkamah Agung Identity */
    --primary: #9A2109;
    --primary-dark: #7A1A07;
    --primary-darker: #4E140B;
    --secondary: #C0392B;
    --secondary-light: #E74C3C;
    
    /* Accent */
    --accent: #D4A843;
    --accent-light: #F0D78C;
    --accent-dark: #B8912E;
    
    /* Neutral */
    --white: #FFFFFF;
    --light: #F8F9FA;
    --light-gray: #E9ECEF;
    --gray: #6C757D;
    --dark: #212529;
    --dark-custom: #1A1A2E;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glass-blur: blur(10px);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-round: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== LOADING SCREEN ==================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-darker), var(--primary));
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-logo {
    font-size: 3rem;
    color: var(--accent);
    animation: pulse 2s infinite;
    margin-bottom: 1rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: var(--primary-darker);
    color: var(--white);
    font-size: 0.8rem;
    padding: 6px 0;
    border-bottom: 2px solid var(--accent);
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-item i {
    color: var(--accent);
    font-size: 0.9rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.language-switcher {
    display: flex;
    gap: 2px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary-darker);
    font-weight: 600;
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--accent);
    transform: rotate(30deg);
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    color: var(--white);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.search-toggle {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.search-toggle:hover {
    color: var(--accent);
}

/* ==================== SEARCH OVERLAY ==================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 90%;
    max-width: 600px;
    text-align: center;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.2rem;
}

.search-input {
    width: 100%;
    padding: 18px 60px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.15);
}

.search-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.search-suggestions {
    color: var(--white);
}

.search-suggestions span {
    opacity: 0.7;
    margin-right: 1rem;
}

.search-suggestions a {
    color: var(--accent);
    margin: 0 8px;
    font-size: 0.9rem;
}

.search-suggestions a:hover {
    text-decoration: underline;
}

/* ==================== HEADER ==================== */
.header {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--secondary), var(--primary));
}

.header-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-ma {
    width: 65px;
    height: auto;
}

.logo-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.logo-pn {
    width: 100px;
    height: auto;
}

.header-text {
    flex: 1;
}

.header-subtitle {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
    letter-spacing: 1px;
}

.header-class {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.header-address {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0;
}

.header-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

.badge-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.badge-img:hover {
    transform: translateY(-3px);
}

/* ==================== NAVIGATION ==================== */
#mainNav {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    padding: 0;
    box-shadow: var(--shadow-md);
    z-index: 1000;
}

#mainNav .navbar-nav {
    gap: 0;
}

#mainNav .nav-link {
    color: var(--white) !important;
    padding: 14px 18px !important;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition-normal);
    position: relative;
    white-space: nowrap;
}

#mainNav .nav-link i {
    margin-right: 5px;
    font-size: 0.9rem;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: var(--transition-normal);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    background: rgba(255,255,255,0.1);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    width: 80%;
}

/* Dropdown */
.dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    margin-top: 10px;
    min-width: 220px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: #FFF5F0;
    color: var(--primary);
    padding-left: 25px;
}

/* Mega Menu */
.mega-menu {
    min-width: 700px;
    padding: 1.5rem;
}

.mega-menu h6 {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.mega-menu .dropdown-item {
    padding: 6px 10px;
    font-size: 0.8rem;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide-2 {
    background: linear-gradient(135deg, var(--primary-darker), var(--primary));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(78, 20, 11, 0.9) 0%, 
        rgba(154, 33, 9, 0.7) 50%,
        rgba(192, 57, 43, 0.5) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 6s infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { top: 30%; left: 50%; animation-delay: 2s; }
.particle:nth-child(4) { top: 70%; left: 30%; animation-delay: 3s; }
.particle:nth-child(5) { top: 40%; left: 70%; animation-delay: 4s; }

@keyframes float-particle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    50% { transform: translateY(-30px) translateX(20px); opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-darker);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.text-gold {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero {
    background: var(--accent);
    color: var(--primary-darker);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--accent);
    transition: var(--transition-normal);
}

.btn-hero:hover {
    background: transparent;
    color: var(--accent);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition-normal);
}

.btn-hero-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255,255,255,0.05);
}

/* Glass Card in Hero */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: var(--white);
}

.glass-card h5 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.hero-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 3px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.glass-card h5 i {
    color: var(--accent);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.btn-gold {
    background: var(--accent);
    color: var(--primary-darker);
    font-weight: 600;
    border: none;
    transition: var(--transition-normal);
}

.btn-gold:hover {
    background: var(--accent-dark);
    color: var(--white);
}

/* Swiper Custom */
.heroSwiper .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
}

.heroSwiper .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: var(--white);
}

/* ==================== QUICK ACCESS ==================== */
.quick-access-section {
    margin-top: 50px;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}

.quick-access-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    text-align: center;
    text-decoration: none;
    color: var(--dark);
}

.quick-access-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.quick-access-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.quick-access-card span {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ==================== SECTION STYLES ==================== */
.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background: var(--light);
}

.bg-dark-custom {
    background: linear-gradient(135deg, var(--primary-darker), var(--dark-custom));
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    background: rgba(154, 33, 9, 0.1);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto;
    border-radius: 2px;
}

/* ==================== LEADERSHIP CARDS ==================== */
.leader-card {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.leader-photo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-round);
    background: var(--light-gray);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.leader-card h5 {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.leader-card p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.leader-social a {
    color: var(--primary);
    font-size: 0.9rem;
}

/* ==================== WELCOME SECTION ==================== */
.welcome-image {
    position: relative;
}

.welcome-photo {
    width: 100%;
    max-width: 350px;
    height: 400px;
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--gray);
    box-shadow: var(--shadow-lg);
}

.welcome-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    bottom: -20px;
    right: 20px;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

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

.welcome-content .section-title {
    text-align: left;
}

.welcome-content .section-divider {
    margin: 1rem 0;
}

.welcome-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== NEWS CARDS ==================== */
.newsSwiper {
    padding-bottom: 3rem;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.news-content {
    padding: 1.2rem;
}

.news-date {
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    display: block;
}

.news-date i {
    color: var(--accent);
}

.news-card h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.news-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.news-link i {
    transition: var(--transition-fast);
}

.news-link:hover i {
    transform: translateX(5px);
}

/* ==================== NEWS SIDEBAR WIDGETS ==================== */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-card {
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.widget-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.widget-header h5 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin: 0;
}

.widget-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--accent);
    font-size: 1.1rem;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--light-gray);
    font-size: 0.88rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:first-child {
    font-weight: 600;
    color: var(--dark);
}

.hours-list li span:last-child {
    font-weight: 700;
    color: var(--primary);
}

.widget-note {
    margin-top: 0.75rem;
    padding: 0.6rem 0.8rem;
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    background: rgba(154, 33, 9, 0.06);
    color: var(--gray);
    font-size: 0.78rem;
}

.widget-note i {
    margin-right: 0.35rem;
    color: var(--primary);
}

.widget-desc {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.ptsp-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.8rem;
}

.ptsp-list li {
    color: var(--dark);
    font-size: 0.85rem;
    padding: 0.35rem 0;
}

.ptsp-list li i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.ptsp-hours {
    margin-bottom: 1rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    background: var(--light);
    color: var(--gray);
    font-size: 0.78rem;
}

.ptsp-hours i {
    margin-right: 0.4rem;
    color: var(--primary);
}

.widget-btn {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-normal);
}

.widget-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.links-list li:last-child {
    border-bottom: none;
}

.links-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.links-list li a i {
    color: var(--accent);
    font-size: 0.7rem;
    transition: var(--transition-fast);
}

.links-list li a:hover {
    color: var(--primary);
}

.links-list li a:hover i {
    transform: translateX(4px);
}

/* ==================== JADWAL SIDANG ==================== */
.schedule-section .section-title {
    color: var(--white);
}

.schedule-section .section-label {
    background: rgba(212, 168, 67, 0.15);
    color: var(--accent);
}

.section-subtitle {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.schedule-table-wrap {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.schedule-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.schedule-table thead th {
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border: none;
}

.schedule-table thead th:first-child,
.schedule-body td:first-child {
    width: 7%;
}

.schedule-table thead th:nth-child(2),
.schedule-body td:nth-child(2) {
    width: 22%;
}

.schedule-table thead th:nth-child(3),
.schedule-body td:nth-child(3) {
    width: 29%;
}

.schedule-table thead th:nth-child(4),
.schedule-body td:nth-child(4) {
    width: 14%;
}

.schedule-table thead th:nth-child(5),
.schedule-body td:nth-child(5) {
    width: 28%;
}

.schedule-scroll {
    height: 280px;
    overflow: hidden;
}

.schedule-body tr {
    height: 56px;
}

.schedule-body td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--light);
    font-size: 0.85rem;
    text-align: center;
    vertical-align: middle;
}

.schedule-body tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03);
}

.schedule-body tr:hover td {
    background: rgba(154, 33, 9, 0.35);
}

.schedule-body .td-time {
    display: block;
    font-weight: 700;
    color: var(--accent);
}

.schedule-body .td-agenda {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
}

.schedule-body.animate {
    animation: scheduleScroll 18s linear infinite;
}

.schedule-body.animate:hover {
    animation-play-state: paused;
}

@keyframes scheduleScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 0.3rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 3rem 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 3rem;
    border-radius: var(--radius-xl);
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-card p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary-darker);
    color: var(--white);
}

.footer-top {
    padding: 4rem 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
}

.footer-logo h5 {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 0;
}

.footer p {
    opacity: 0.8;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    border-radius: var(--radius-round);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary-darker);
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    gap: 8px;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.2rem 0;
    font-size: 0.8rem;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-round);
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary-darker);
    transform: translateY(-5px);
}

/* ==================== FLOATING CONTACT ==================== */
.floating-contact {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.float-btn.call {
    background: #2196F3;
}

.float-btn.wa {
    background: #25D366;
}

.float-btn.email {
    background: #EA4335;
}

.float-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* ==================== LISTEN BUTTON (RESPONSIVEVOICE) ==================== */
.listen-btn {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: var(--radius-round);
    background: var(--primary);
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.listen-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

.listen-btn.listening {
    background: var(--accent);
    color: var(--primary-darker);
    animation: pulse-listen 1.5s infinite;
}

@keyframes pulse-listen {
    0% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0.6); }
    100% { box-shadow: 0 0 0 14px rgba(212, 168, 67, 0); }
}
/* ==================== ARTICLE DETAIL PAGE ==================== */
.article-detail {
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}

.article-content {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.9;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: var(--font-display);
    color: var(--primary-dark);
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.article-content p:last-child {
    margin-bottom: 0;
}

/* ==================== HOVER DROPDOWN MENU ==================== */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown > .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        pointer-events: none;
    }

    .navbar-nav .nav-item.dropdown > .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
    }

    .navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
    .navbar-nav .nav-item.dropdown:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar-nav .nav-item.dropdown:hover > .dropdown-toggle,
    .navbar-nav .nav-item.dropdown:focus-within > .dropdown-toggle {
        color: var(--accent) !important;
    }

    .navbar-nav .dropdown-submenu {
        position: relative;
    }

    .navbar-nav .dropdown-submenu > .dropdown-menu {
        display: block;
        top: 0;
        left: 100%;
        margin-top: 0;
        margin-left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(12px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
        pointer-events: none;
    }

    .navbar-nav .dropdown-submenu:hover > .dropdown-menu,
    .navbar-nav .dropdown-submenu:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }

    .navbar-nav .dropdown-submenu:hover > .dropdown-toggle,
    .navbar-nav .dropdown-submenu:focus-within > .dropdown-toggle {
        color: var(--accent);
    }

    .navbar-nav .dropdown-submenu > .dropdown-toggle {
        position: relative;
        padding-right: 24px;
    }

    .navbar-nav .dropdown-submenu > .dropdown-toggle::after {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        margin-left: 0;
        vertical-align: 0;
    }
}

/* On small screens the collapsed navbar has no hover, so submenus are shown
   expanded inside the vertical menu instead of hidden behind a click. */
@media (max-width: 991px) {
    .navbar-nav .nav-item.dropdown > .dropdown-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        padding: 0 0 0 1rem;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .navbar-nav .dropdown-submenu {
        position: static;
    }

    .navbar-nav .dropdown-submenu > .dropdown-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        padding: 0 0 0 1rem;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .navbar-nav .dropdown-submenu > .dropdown-toggle {
        padding-right: 12px;
    }

    .navbar-nav .dropdown-submenu > .dropdown-toggle::after {
        position: static;
        transform: none;
        margin-left: 0.255em;
        vertical-align: 0.255em;
    }

    .navbar-nav .nav-item.dropdown .dropdown-item {
        color: var(--white);
    }

    .navbar-nav .nav-item.dropdown .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent);
        padding-left: 18px;
    }
}
