/* ==========================================================================
   PMB Institut Kharisma Nusantara - Main Stylesheet
   Designed with elegant academic aesthetic, subtle glassmorphism, and modern typography.
   Colors: Primary #911a04 (Crimson Maroon) | Secondary #c4890b (Academic Gold)
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary-color: #911a04;      /* Deep Crimson Maroon */
    --primary-hover: #741503;      /* Deep Crimson Hover */
    --primary-light: #fdf4f2;      /* Soft Light Warm Rose background */
    --primary-border: #f8d7d2;     /* Subtle Crimson Border */
    --primary-medium: #ad1f05;     /* Vivid Crimson */
    --secondary-color: #c4890b;    /* Elegant Academic Gold */
    --secondary-hover: #a67307;    /* Rich Dark Gold Hover */
    --secondary-light: #fef9ed;    /* Soft Warm Gold background */
    --secondary-border: #fae8bd;   /* Subtle Gold Border */
    --danger-color: #ef4444;       /* Alert/Error Red */
    --danger-light: #fef2f2;       /* Soft Red */
    --success-color: #10b981;      /* Success Green */
    --success-light: #ecfdf5;      /* Soft Success Green */
    --text-dark: #0f172a;          /* Charcoal Slate (Primary Text) */
    --text-muted: #64748b;         /* Slate Grey (Secondary Text) */
    --bg-light: #fbfbfc;           /* Clean Soft Background */
    --bg-white: #ffffff;           /* Pure White */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 24px -4px rgba(145, 26, 4, 0.07), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(145, 26, 4, 0.05);
    --border-radius-sm: 8px;
    --border-radius-md: 14px;
    --border-radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* --- Base & Reset Rules --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary, .text-green { color: var(--primary-color) !important; }
.text-secondary, .text-gold, .text-amber { color: var(--secondary-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-gray { color: var(--text-muted); }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.m-0 { margin: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.w-full { width: 100% !important; }
.hide { display: none !important; }

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-info {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(145, 26, 4, 0.15);
}

.badge-gold {
    background-color: var(--secondary-light);
    color: var(--secondary-hover);
    border: 1px solid var(--secondary-border);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(145, 26, 4, 0.25);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-amber {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-amber:hover {
    background-color: var(--secondary-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 137, 11, 0.25);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--bg-white);
}

.btn-danger:hover {
    background-color: #dc2626;
    color: var(--bg-white);
}

/* --- Section Titles --- */
.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(145, 26, 4, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    padding: 8px 4px;
    border-bottom: 2.5px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 700;
}

/* --- Language Switcher in Header & Drawer --- */
.nav-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1px solid transparent;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lang-toggle-btn:hover,
.nav-lang:hover .lang-toggle-btn {
    background: #f1f5f9;
    color: var(--primary-color);
}

.lang-toggle-btn i.fa-globe {
    font-size: 1rem;
    color: #64748b;
    transition: color 0.2s;
}

.lang-toggle-btn:hover i.fa-globe,
.nav-lang:hover .lang-toggle-btn i.fa-globe {
    color: var(--primary-color);
}

.lang-chevron {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.lang-dropdown-menu.show ~ .lang-toggle-btn .lang-chevron,
.nav-lang:hover .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 6px;
    min-width: 175px;
    z-index: 1050;
    display: none;
    animation: fadeInDropdown 0.2s ease forwards;
}

.lang-dropdown-menu.show {
    display: block;
}

/* Also show on hover on desktop */
@media (hover: hover) and (pointer: fine) {
    .nav-lang:hover .lang-dropdown-menu {
        display: block;
    }
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s ease;
    cursor: pointer;
}

.lang-item:hover {
    background: #fdf4f2;
    color: var(--primary-color);
}

.lang-item.active {
    background: #fdf4f2;
    color: var(--primary-color);
    font-weight: 700;
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-text {
    flex: 1;
}

.lang-item i.fa-check {
    font-size: 11px;
    color: var(--primary-color);
}

/* Mobile Drawer Language Box */
.drawer-lang-box {
    margin-top: 18px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.drawer-lang-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.drawer-lang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-lang-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    background: white;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-lang-mobile:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-lang-mobile.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-masuk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 6px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-masuk:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(145, 26, 4, 0.2);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    z-index: 1000;
    padding: 30px 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.drawer-link.active, .drawer-link:hover {
    color: var(--primary-color);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 999;
    display: none;
}

.drawer-overlay.open {
    display: block;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #fffdfc 0%, #fef5f4 50%, #fcf6eb 100%);
    position: relative;
    padding-top: 40px;
    padding-bottom: 0;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 30px;
    align-items: center;
    padding-bottom: 30px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.2px;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 2.85rem);
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100%;
    height: 7px;
    background-color: rgba(196, 137, 11, 0.22);
    z-index: -1;
}

.hero-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
    max-width: 530px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    width: 100%;
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   Hero Slideshow Carousel & Dynamic Captions
   ========================================================================== */
.hero-slideshow-card {
    position: relative;
    width: 100%;
    max-width: 470px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 40px -10px rgba(145, 26, 4, 0.2), 0 0 0 1px rgba(145, 26, 4, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.hero-slideshow-card:hover {
    box-shadow: 0 20px 45px -8px rgba(145, 26, 4, 0.28), 0 0 0 1px rgba(145, 26, 4, 0.12);
}

.hero-slideshow-stage {
    position: relative;
    width: 100%;
    height: 330px;
    background: #0f172a;
    overflow: hidden;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
    z-index: 1;
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slideshow Arrows */
.hero-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #911a04;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 13px;
}

.hero-slideshow-card:hover .hero-slide-arrow {
    opacity: 1;
}

.hero-slide-arrow:hover {
    background: #911a04;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(145, 26, 4, 0.35);
}

.arrow-prev {
    left: 12px;
}

.arrow-next {
    right: 12px;
}

/* Slideshow Indicators / Dots */
.hero-slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 7px;
    z-index: 15;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    padding: 4px 9px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-dot:hover {
    background: #ffffff;
}

.slide-dot.active {
    width: 22px;
    border-radius: 10px;
    background: #c4890b;
    box-shadow: 0 0 8px rgba(196, 137, 11, 0.7);
}

/* Caption bar under the image */
.hero-slide-caption-bar {
    padding: 14px 18px 16px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    text-align: left;
    position: relative;
    z-index: 5;
}

.caption-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.caption-badge {
    font-size: 10.5px;
    font-weight: 700;
    color: #c4890b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.caption-counter {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.caption-content-item {
    display: none;
    animation: fadeInCaption 0.45s ease forwards;
}

.caption-content-item.active {
    display: block;
}

.caption-title {
    margin: 0 0 4px 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #911a04;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.35;
}

.caption-text {
    margin: 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

@keyframes fadeInCaption {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustment for Hero slideshow */
@media (max-width: 991px) {
    .hero-slideshow-card {
        max-width: 420px;
        margin: 20px auto 0;
    }
    .hero-slideshow-stage {
        height: 290px;
    }
}

@media (max-width: 576px) {
    .hero-slideshow-card {
        max-width: 100%;
        border-radius: 16px;
    }
    .hero-slideshow-stage {
        height: 240px;
    }
    .hero-slide-caption-bar {
        padding: 12px 14px 14px;
    }
    .caption-title {
        font-size: 13.5px;
    }
    .caption-text {
        font-size: 11.5px;
    }
    .hero-slide-arrow {
        opacity: 0.85;
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    display: inline-block;
}

.hero-image {
    border-radius: 16px;
    box-shadow: 0 16px 36px -10px rgba(145, 26, 4, 0.2);
    object-fit: cover;
    max-height: 380px;
    position: relative;
    z-index: 1;
    display: block;
}

/* Floating badges inside hero */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: floating 4s ease-in-out infinite;
}

.floating-badge i {
    font-size: 1.25rem;
}

.floating-badge h4 {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.floating-badge small {
    font-size: 0.68rem;
    color: #64748b;
}

.badge-1 {
    top: 15%;
    left: -28px;
}

.badge-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* Countdown Card */
.countdown-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(145, 26, 4, 0.05);
    border-left: 4px solid var(--secondary-color);
    width: 100%;
    max-width: 460px;
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.pulse-indicator {
    width: 7px;
    height: 7px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(196, 137, 11, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(196, 137, 11, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(196, 137, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(196, 137, 11, 0); }
}

.countdown-title {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin: 0;
}

.countdown-timer {
    display: flex;
    gap: 10px;
}

.timer-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-light);
    border-radius: 6px;
    width: 50px;
    padding: 4px 0;
}

.timer-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.timer-label {
    font-size: 0.62rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Quick Stats Bar */
.hero-stats {
    background-color: var(--bg-white);
    border-top: 1px solid rgba(145, 26, 4, 0.08);
    border-bottom: 1px solid rgba(145, 26, 4, 0.08);
    padding: 14px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.stat-text h3 {
    font-size: 0.98rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 0 2px 0;
    font-weight: 700;
}

.stat-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   Desktop 100vh Full Viewport Mode (No-Scroll Hero on Desktop)
   ========================================================================== */
@media (min-width: 992px) {
    .hero-section {
        height: calc(100vh - 64px);
        min-height: 560px;
        max-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
    }

    .hero-container {
        flex: 1;
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: clamp(20px, 3vw, 40px);
        align-items: center;
        padding-top: clamp(8px, 1.8vh, 22px);
        padding-bottom: clamp(8px, 1.8vh, 20px);
        min-height: 0;
    }

    .hero-content {
        gap: clamp(6px, 1.3vh, 12px);
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    }

    .hero-title {
        font-size: clamp(1.85rem, 2.7vw, 2.65rem);
        line-height: 1.12;
    }

    .hero-desc {
        font-size: clamp(0.85rem, 0.95vw, 0.92rem);
        line-height: 1.48;
        max-width: 520px;
    }

    .countdown-card {
        padding: 8px 14px;
        margin: 2px 0;
        max-width: 440px;
    }

    .countdown-header {
        margin-bottom: 5px;
    }

    .countdown-title {
        font-size: 0.8rem;
    }

    .countdown-timer {
        gap: 8px;
    }

    .timer-segment {
        width: 46px;
        padding: 3px 0;
    }

    .timer-num {
        font-size: 1.18rem;
    }

    .timer-label {
        font-size: 0.6rem;
    }

    .hero-actions {
        margin-top: 2px;
        gap: 12px;
    }

    .hero-actions .btn {
        padding: 9px 22px;
        font-size: 0.92rem;
    }

    .hero-image {
        max-height: clamp(260px, 45vh, 385px);
    }

    .floating-badge {
        padding: 7px 12px;
        gap: 8px;
    }

    .badge-1 {
        top: 12%;
        left: -22px;
    }

    .badge-2 {
        bottom: 12%;
        right: -16px;
    }

    .hero-stats {
        flex-shrink: 0;
        padding: 9px 0;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .stats-container {
        gap: 16px;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .stat-text h3 {
        font-size: 0.92rem;
    }

    .stat-text p {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   Program Studi (Prodi) Section
   ========================================================================== */
.prodi-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.prodi-tab-btn {
    background-color: var(--bg-white);
    border: 1px solid rgba(145, 26, 4, 0.15);
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.prodi-tab-btn.active, .prodi-tab-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(145, 26, 4, 0.15);
}

.prodi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.prodi-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(145, 26, 4, 0.05);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prodi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(145, 26, 4, 0.15);
}

.prodi-card-s2 {
    max-width: 400px;
    margin: 0 auto;
    grid-column: 2;
}

.prodi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.prodi-badge {
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.prodi-badge.badge-gold {
    background-color: var(--secondary-color);
}

.prodi-acred {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    background-color: rgba(196, 137, 11, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
}

.prodi-name {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.prodi-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.prodi-details {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    padding-top: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prodi-info-item {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    align-items: flex-start;
}

.prodi-info-item i {
    color: var(--primary-color);
    margin-top: 3px;
}

/* ==========================================================================
   Jalur & Syarat Pendaftaran
   ========================================================================== */
.syarat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.syarat-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-normal);
}

.syarat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.syarat-card.highlight-card {
    border-top: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.syarat-card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.syarat-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.syarat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.syarat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.syarat-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.syarat-list li i {
    color: var(--primary-color);
}

/* Documents syarat box */
.dokumen-syarat-box {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(145, 26, 4, 0.08);
}

.dokumen-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.dokumen-title i {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.dokumen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.dokumen-item {
    display: flex;
    gap: 12px;
}

.dokumen-num {
    width: 32px;
    height: 32px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    flex-shrink: 0;
}

.dokumen-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Alur & Jadwal Pendaftaran
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding-left: 30px;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-num {
    position: absolute;
    left: -32px;
    top: 0;
    width: 26px;
    height: 26px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
}

.timeline-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Jadwal Box */
.jadwal-box {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(145, 26, 4, 0.08);
}

.jadwal-box-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.jadwal-table-container {
    overflow-x: auto;
}

.jadwal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.jadwal-table th, .jadwal-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.jadwal-table th {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
}

.jadwal-table tr.active-row {
    background-color: rgba(145, 26, 4, 0.03);
    font-weight: 500;
}

.jadwal-table tr.passed-row {
    opacity: 0.6;
}

.status-label {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-closed {
    background-color: #e2e8f0;
    color: #64748b;
}

.status-active {
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid rgba(145, 26, 4, 0.2);
}

.status-pending {
    background-color: #fffbeb;
    color: #b45309;
}

/* ==========================================================================
   Kalkulator Biaya Kuliah
   ========================================================================== */
.kalkulator-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
    border: 1px solid rgba(145, 26, 4, 0.08);
}

.kalkulator-form {
    padding: 40px;
}

.card-subtitle {
    font-size: 1.3rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(145, 26, 4, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    accent-color: var(--primary-color);
    width: 16px;
    height: 16px;
}

.kalkulator-result {
    background: linear-gradient(135deg, #911a04 0%, #741503 100%);
    color: var(--bg-white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-title {
    color: var(--bg-white);
    font-size: 1.3rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    opacity: 0.9;
}

.result-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 10px 0;
}

.total-item {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 1;
}

.total-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 800;
}

.installment-info-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-top: 24px;
}

.installment-info-box h4 {
    color: var(--bg-white);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.installment-info-box p {
    font-size: 0.85rem;
    opacity: 0.95;
    line-height: 1.4;
}

.kalkulator-actions {
    margin-top: 30px;
}

/* ==========================================================================
   Portal PMB - Formulir & Dashboard Calon Mahasiswa
   ========================================================================== */
.portal-section {
    background: radial-gradient(circle at 10% 20%, rgba(236, 253, 245, 0.5) 0%, rgba(248, 250, 252, 0.5) 90%);
}

.container-portal {
    max-width: 900px;
}

.portal-card-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(145, 26, 4, 0.08);
    overflow: hidden;
}

.portal-card-header {
    background-color: var(--primary-light);
    padding: 30px 40px;
    border-bottom: 1px solid rgba(145, 26, 4, 0.08);
}

.portal-card-header h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.portal-card-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.portal-form {
    padding: 40px;
}

.portal-form-narrow {
    max-width: 450px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-consent {
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    accent-color: var(--primary-color);
    margin-top: 4px;
}

.form-footer-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.switch-form-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.switch-form-text a {
    font-weight: 700;
}

/* Dashboard Calon Mahasiswa */
.portal-dashboard-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(145, 26, 4, 0.08);
    overflow: hidden;
}

.dashboard-navbar {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-greeting {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-greeting i {
    font-size: 2.2rem;
    color: var(--primary-light);
}

.user-greeting h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    line-height: 1.1;
}

.user-greeting p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 2px;
}

.dashboard-grid {
    padding: 30px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.dashboard-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-panel h3 {
    font-size: 1.25rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-prodi-box {
    background-color: var(--primary-light);
    border: 1px solid rgba(145, 26, 4, 0.15);
    padding: 16px;
    border-radius: var(--border-radius-sm);
}

/* Status Tracker on Dashboard */
.status-tracker {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 24px;
}

.status-tracker::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: #cbd5e1;
}

.tracker-step {
    position: relative;
}

.step-bullet {
    position: absolute;
    left: -24px;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #cbd5e1;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    z-index: 5;
}

.tracker-step.active .step-bullet {
    background-color: var(--secondary-color);
}

.tracker-step.completed .step-bullet {
    background-color: var(--success-color);
}

.tracker-step.failed .step-bullet {
    background-color: var(--danger-color);
}

.step-info h4 {
    font-size: 0.95rem;
    line-height: 1.2;
}

.step-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Upload Area Panel */
.upload-area {
    background-color: var(--bg-light);
    border: 2px dashed rgba(145, 26, 4, 0.15);
    padding: 20px;
    border-radius: var(--border-radius-md);
}

.upload-area h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.file-upload-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.upload-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-white);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
}

.upload-status-indicator {
    font-size: 0.8rem;
    font-weight: 700;
}

.upload-status-indicator i {
    margin-right: 4px;
}

.dashboard-actions-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dashboard-actions-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.dashboard-actions-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.action-card {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-top: 10px;
}

.action-card h4 {
    color: #b45309;
    font-size: 1rem;
    margin-bottom: 8px;
}

.action-card p {
    font-size: 0.8rem;
    color: #78350f;
    margin-bottom: 14px;
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition-fast);
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ==========================================================================
   Interactive Exam Modal
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
}

.exam-timer {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.modal-body {
    padding: 30px 24px;
}

.question-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.question-num {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.option-item:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
}

.option-item.selected {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    font-weight: 600;
}

.option-letter {
    width: 28px;
    height: 28px;
    background-color: #e2e8f0;
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.option-item.selected .option-letter {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   WhatsApp Float Button
   ========================================================================== */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--bg-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-normal);
}

.wa-float:hover {
    transform: scale(1.1) rotate(10deg);
    color: var(--bg-white);
}

.wa-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--text-dark);
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
.main-footer {
    background-color: #631203; /* Deep Crimson Maroon */
    color: #fdf4f2;
    padding-top: 60px;
    border-top: 4px solid var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-white {
    margin-bottom: 16px;
}

.logo-white i {
    background-color: var(--secondary-color);
}

.logo-white span {
    color: var(--bg-white);
}

.brand-desc {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 4px;
}

.contact-col p {
    font-size: 0.85rem;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
    opacity: 0.9;
}

.contact-col p i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.footer-bottom {
    padding: 24px 0;
    background-color: #480c01;
    font-size: 0.8rem;
    text-align: center;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 991px) {
    .hero-section {
        height: auto;
        min-height: auto;
        max-height: none;
        padding-top: 35px;
        padding-bottom: 0;
        overflow: visible;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding-bottom: 30px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image {
        max-height: 320px;
    }
    .floating-badge {
        display: none; /* Hide floating elements on smaller screens */
    }
    .prodi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prodi-card-s2 {
        grid-column: span 2;
    }
    .syarat-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 40px auto;
    }
    .dokumen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .kalkulator-card {
        grid-template-columns: 1fr;
    }
    .kalkulator-result {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
    .footer-col:last-child {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
    }
    .header-container {
        height: 70px;
    }
    .nav-menu {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-stats {
        padding: 20px 0;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .prodi-grid {
        grid-template-columns: 1fr;
    }
    .prodi-card-s2 {
        grid-column: 1;
    }
    .dokumen-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .portal-card-header, .portal-form {
        padding: 24px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-col:last-child {
        grid-column: 1;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

/* ==========================================================================
   Print Styles (Optimized for Bukti Ujian/Pendaftaran)
   ========================================================================== */
.print-only {
    display: none !important;
}

@media print {
    /* Hide all main page content wrappers */
    header, footer, main, nav, .mobile-drawer, .drawer-overlay, .sidebar-container, .dashboard-sidebar, .dashboard-content {
        display: none !important;
    }
    
    /* Default hiding for all print layouts */
    #printCardLayout, #printSuratKelulusanLayout {
        display: none !important;
    }
    
    /* Display active print target based on body class */
    body.print-card-mode #printCardLayout {
        display: block !important;
    }
    body.print-surat-mode #printSuratKelulusanLayout {
        display: block !important;
    }
    
    /* A4 Layout positioning */
    #printCardLayout, #printSuratKelulusanLayout {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        background-color: #fff;
        color: #000;
        box-sizing: border-box;
    }
    
    @page {
        size: A4 portrait;
        margin: 10mm 15mm 10mm 15mm;
    }
    
    .print-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .print-logo-box {
        display: flex;
        align-items: center;
    }
    
    .print-table {
        width: 100%;
        margin-top: 15px;
        border-collapse: collapse;
    }
    
    .print-table td {
        padding: 6px 10px;
        vertical-align: top;
        font-size: 12px;
    }
    
    .print-photo-box {
        margin-left: 20px;
    }
    
    .print-card-body {
        display: flex;
        justify-content: space-between;
        margin-top: 15px;
    }
    
    /* Surat Kelulusan A4 Official Layout */
    .print-surat-container {
        font-size: 13px;
        line-height: 1.5;
        color: #000;
        font-family: 'Plus Jakarta Sans', sans-serif;
    }
    
    .print-surat-header {
        display: flex;
        align-items: center;
        border-bottom: 3px double #000;
        padding-bottom: 8px;
        margin-bottom: 20px;
    }
    
    .print-surat-logo {
        width: 70px;
        height: auto;
        margin-right: 15px;
    }
    
    .print-surat-kop-text {
        flex: 1;
        text-align: center;
    }
    
    .print-surat-kop-text h2 {
        font-size: 15px;
        font-weight: 800;
        margin: 0 0 3px 0;
        color: #000;
        line-height: 1.2;
    }
    
    .print-surat-kop-text p {
        font-size: 10px;
        margin: 0;
        line-height: 1.3;
    }
    
    .print-surat-title {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .print-surat-title h3 {
        font-size: 14px;
        font-weight: 700;
        text-decoration: underline;
        margin: 0 0 3px 0;
        text-transform: uppercase;
    }
    
    .print-surat-title p {
        font-size: 11px;
        margin: 0;
    }
    
    .print-surat-body {
        margin-bottom: 25px;
        text-align: justify;
    }
    
    .print-surat-student-info {
        width: 85%;
        margin: 15px auto;
        border-collapse: collapse;
    }
    
    .print-surat-student-info td {
        padding: 4px 8px;
        vertical-align: top;
        font-size: 12.5px;
    }
    
    .print-surat-signature-row {
        display: flex;
        justify-content: flex-end;
        margin-top: 30px;
    }
    
    .print-surat-signature-box {
        text-align: center;
        width: 220px;
        font-size: 12px;
    }
}

/* --- Scholarship Grid & Styles --- */
.beasiswa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.beasiswa-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition-normal);
}

.beasiswa-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.beasiswa-card.highlight {
    border-left-color: var(--secondary-color);
}

.beasiswa-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.beasiswa-card.highlight h3 {
    color: var(--secondary-color);
}

.beasiswa-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.beasiswa-facilities {
    background-color: var(--primary-light);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    font-size: 0.8rem;
    margin-top: 10px;
}

.beasiswa-facilities ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.beasiswa-facilities li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .beasiswa-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Sidebar Dashboard Layout Calon Mahasiswa (Redesign)
   ========================================================================== */

.dashboard-layout {
    display: flex;
    flex-direction: column;
    min-height: 600px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(145, 26, 4, 0.08);
    overflow: hidden;
}

@media(min-width: 992px) {
    .dashboard-layout {
        flex-direction: row;
    }
}

/* Sidebar styling */
.dashboard-sidebar {
    width: 100%;
    background-color: #741503; /* Institut Kharisma Nusantara deep crimson */
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

@media(min-width: 992px) {
    .dashboard-sidebar {
        width: 280px;
        min-height: 650px;
        flex-shrink: 0;
    }
}

.sidebar-user-profile {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-user-profile .user-avatar {
    font-size: 3.5rem;
    color: #f8d7d2;
    margin-bottom: 10px;
}

.sidebar-user-profile h4 {
    color: white;
    font-size: 1.1rem;
    margin: 5px 0;
    font-weight: 700;
}

.sidebar-user-profile .reg-no {
    font-size: 0.8rem;
    color: #fae8bd;
    margin: 0;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #fdf4f2;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
}

.sidebar-menu-item.active {
    background-color: #911a04;
    color: white;
    font-weight: 600;
    border-left-color: #c4890b; /* gold accent */
}

.sidebar-menu-item.menu-logout {
    margin-top: 20px;
    color: #fecaca;
}

.sidebar-menu-item.menu-logout:hover {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Content Area */
.dashboard-content {
    flex: 1;
    padding: 30px;
    background-color: #fafbfd;
}

.content-pane {
    display: none;
}

.content-pane.active {
    display: block;
    animation: dashboardFadeIn 0.3s ease-in-out;
}

@keyframes dashboardFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   Jalur Pendaftaran Page (Listing Cards & Filters - Exact Match to Reference)
   ========================================================================== */
.breadcrumb-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    font-size: 13px;
    font-family: var(--font-body);
}

.breadcrumb-bar a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-bar a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: #cbd5e1;
    margin: 0 8px;
}

.breadcrumb-current {
    color: #0f172a;
    font-weight: 600;
}

.jalur-page-container {
    padding: 30px 0 60px 0;
    background-color: #f8fafc;
    min-height: 80vh;
}

.jalur-header-box {
    margin-bottom: 24px;
}

.jalur-main-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.jalur-main-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Filter Card */
.jalur-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    margin-bottom: 20px;
}

.jalur-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr auto;
    gap: 12px;
    align-items: center;
}

.jalur-filter-grid select {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    font-family: var(--font-body);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    color: #334155;
    outline: none;
    transition: border-color 0.2s;
}

.jalur-filter-grid select:focus {
    border-color: var(--primary-color);
}

.btn-filter-submit {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-filter-submit:hover {
    background: #741503;
    box-shadow: 0 4px 12px rgba(145, 26, 4, 0.25);
}

/* Accordion Box */
.jalur-accordion-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    overflow: hidden;
}

.jalur-accordion-header {
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    transition: background-color 0.2s;
    user-select: none;
}

.jalur-accordion-header:hover {
    background: #f8fafc;
}

.jalur-accordion-body {
    padding: 24px 20px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

/* Card Items */
.jalur-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 24px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}

.jalur-card-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

.jalur-card-left {
    flex: 1;
}

.badge-aktif {
    background: #16a34a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.badge-aktif i {
    font-size: 6px;
}

.jalur-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.jalur-card-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

.tag-separator {
    color: #cbd5e1;
}

.jalur-card-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.jalur-card-dates {
    text-align: right;
}

.date-range {
    font-size: 12.5px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

.date-remaining {
    font-size: 12px;
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    justify-content: flex-end;
}

.btn-daftar-card {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-daftar-card:hover {
    background: #741503;
    border-color: #741503;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(145, 26, 4, 0.25);
}

/* Callout Banner */
.jalur-help-banner {
    background: linear-gradient(135deg, #911a04 0%, #741503 100%);
    border-radius: 12px;
    padding: 30px 40px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    box-shadow: 0 10px 25px rgba(145, 26, 4, 0.15);
}

.jalur-help-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
}

.jalur-help-text {
    font-size: 13.5px;
    opacity: 0.9;
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

.btn-help-wa {
    background: #ffffff;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-help-wa:hover {
    background: #fef5f4;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

@media (max-width: 991px) {
    .jalur-filter-grid {
        grid-template-columns: 1fr;
    }
    .jalur-card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .jalur-card-right {
        width: 100%;
        justify-content: space-between;
    }
    .jalur-card-dates {
        text-align: left;
    }
    .date-range, .date-remaining {
        justify-content: flex-start;
    }
    .jalur-help-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}


/* Creative Enhancements for Jalur Pendaftaran */
.jalur-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.jalur-tab-pill {
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jalur-tab-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.jalur-tab-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(145, 26, 4, 0.2);
}

.jalur-tab-pill .pill-count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
}

.jalur-tab-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Card Pathway Borders */
.jalur-card-item.track-reguler {
    border-left: 5px solid #911a04;
}

.jalur-card-item.track-non-reguler {
    border-left: 5px solid #c4890b;
}

.jalur-card-item.track-beasiswa {
    border-left: 5px solid #0284c7;
}

.badge-tag-jenjang {
    background: #f1f5f9;
    color: #334155;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.badge-tag-jalur {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.badge-tag-jalur.reguler {
    background: #fee2e2;
    color: #991b1b;
}

.badge-tag-jalur.non-reguler {
    background: #fef3c7;
    color: #92400e;
}

.badge-tag-jalur.beasiswa {
    background: #e0f2fe;
    color: #0369a1;
}

.card-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
}

.card-features-row span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.jalur-search-wrapper {
    position: relative;
}

.jalur-search-wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
}

.jalur-search-input {
    width: 100%;
    padding: 10px 14px 10px 34px !important;
    font-size: 13px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.jalur-search-input:focus {
    border-color: var(--primary-color) !important;
}

/* ==========================================================================
   Editorial Online News & Information Feed Styles
   ========================================================================== */
.news-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 14px 20px;
    margin: 24px 0;
    background: #fdf4f2;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #475569;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

.article-content h2, .article-content h3 {
    margin: 28px 0 14px 0;
    color: var(--text-dark);
}

.news-card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(145, 26, 4, 0.08) !important;
    border-color: #f8d7d2 !important;
}

@media (max-width: 960px) {
    .news-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 28px;
    }
    
    .news-layout-grid article {
        padding: 24px 20px !important;
    }
}



/* =========================================================
   MOBILE-FRIENDLY BIODATA FORM (DASHBOARD)
   ========================================================= */

.biodata-card-container {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bio-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bio-col-2 {
    grid-column: span 2;
}

.bio-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.bio-input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #0f172a;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.bio-input:focus {
    border-color: #911a04;
    outline: none;
    box-shadow: 0 0 0 3px rgba(145, 26, 4, 0.12);
}

.bio-prodi-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bio-prodi-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.bio-prodi-chip:hover {
    border-color: #911a04;
    background: #fff8f6;
    color: #911a04;
}

.bio-prodi-chip input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #911a04;
    cursor: pointer;
}

.bio-prodi-chip:has(input[type="radio"]:checked) {
    border-color: #911a04;
    background: #fff5f3;
    color: #911a04;
    box-shadow: 0 2px 6px rgba(145, 26, 4, 0.15);
}

.bio-tab-btn {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 8px;
}

.biodata-actions .btn-bio-save {
    background: #911a04;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    min-height: 46px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.biodata-actions .btn-bio-save:hover {
    background: #741503;
}

.biodata-actions .btn-bio-cancel {
    border: 1.5px solid #cbd5e1;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    min-height: 46px;
    border-radius: 8px;
}

/* Mobile responsive enhancements (< 768px) */
@media (max-width: 768px) {
    .biodata-card-container {
        padding: 16px !important;
        border-radius: 10px !important;
    }

    .bio-form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .bio-col-2 {
        grid-column: span 1 !important;
    }

    .bio-input {
        min-height: 46px !important;
        font-size: 16px !important; /* Prevents auto-zoom in mobile Safari / iOS */
        padding: 10px 14px !important;
    }

    .bio-prodi-chip {
        width: 100% !important;
        padding: 12px 14px !important;
        font-size: 13.5px !important;
    }

    .biodata-tabs {
        gap: 6px !important;
        padding-bottom: 8px !important;
        margin-bottom: 16px !important;
    }

    .bio-tab-btn {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

    .bio-tab-nav {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .bio-tab-nav button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .biodata-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .biodata-actions button {
        width: 100%;
        text-align: center;
        justify-content: center;
        min-height: 48px !important;
    }
}
