/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* CSS Variables & Theme Setup */
:root {
    --primary: #0d9488;          /* Emerald/Teal */
    --primary-hover: #0f766e;
    --primary-light: #ccfbf1;
    --primary-dark: #115e59;
    --secondary: #d97706;        /* Warm Gold/Amber */
    --secondary-hover: #b45309;
    --accent: #3b82f6;           /* Blue Accent */
    
    /* Light Theme (Default) */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-navbar: rgba(255, 255, 255, 0.85);
    --text-main: #0f172a;
    --text-muted: #334155;        /* Improved Contrast (Darker) */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Inner Page Header */
    --header-inner-bg: #ccfbf1;
    --header-inner-text: #115e59;
    --header-inner-subtitle: #0f766e;
}

[data-theme="dark"] {
    --bg-body: #0b0f19;
    --bg-card: #151f32;
    --bg-navbar: rgba(11, 15, 25, 0.85);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;        /* Improved Contrast (Brighter) */
    --border-color: #1e293b;
    --primary-light: #115e59;
    --primary-dark: #2dd4bf;      /* Contrast fix for dark theme text */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(21, 31, 50, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Inner Page Header */
    --header-inner-bg: #115e59;
    --header-inner-text: #f8fafc;
    --header-inner-subtitle: #f59e0b; /* Warm gold accent for contrast */
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.75;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

button, input, textarea, select {
    font-family: inherit;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.6);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.6);
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--border-color);
    transform: translateY(-1px);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-success { background-color: rgba(16, 185, 129, 0.15); color: var(--success); }
.badge-warning { background-color: rgba(245, 158, 11, 0.15); color: var(--warning); }
.badge-danger { background-color: rgba(239, 68, 68, 0.15); color: var(--danger); }
.badge-primary { background-color: rgba(13, 148, 136, 0.15); color: var(--primary); }

/* Navigation Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-navbar);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header.scrolled .navbar {
    padding: 0.4rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    transition: padding 0.3s ease;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.95rem, 2.2vw, 1.4rem); /* Auto font-size based on viewport */
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    max-width: 100%;
}

.logo span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: clamp(130px, 35vw, 380px); /* Auto-limit width on small screens to prevent layout breaking */
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: rgba(13, 148, 136, 0.08);
}

/* Nav Link Underline animation */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.75rem;
    right: 0.75rem;
    height: 3px;
    background-color: var(--primary);
    border-radius: 9999px;
}

/* Actions in Nav */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle button */
.theme-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    color: var(--primary);
    background-color: rgba(13, 148, 136, 0.08);
    border-color: var(--primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: block; }

/* Mobile Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    background-image: radial-gradient(var(--primary) 1.5px, transparent 1.5px), radial-gradient(var(--primary) 1.5px, var(--bg-body) 1.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 60%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.2s both;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--bg-card);
    background-color: var(--primary-light);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-decoration {
    position: absolute;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    filter: blur(10px);
}

.deco-1 {
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    opacity: 0.3;
}

.deco-2 {
    width: 100px;
    height: 100px;
    bottom: -20px;
    left: -20px;
    background: var(--secondary);
    opacity: 0.5;
    border-radius: 50%;
}

/* Quick Stats Section */
.stats {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Features/Visi-Misi Summary */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* Section Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

/* Aspiration Preview / Citizen Corner */
.aspiration-cta {
    background: linear-gradient(135deg, var(--primary-dark), #042f2e);
    color: #ffffff;
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.aspiration-cta-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.aspiration-cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.aspiration-cta-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.aspiration-cta-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.aspiration-cta-action {
    display: flex;
    justify-content: flex-end;
}

/* Profiles Tabs and Details Page */
.profile-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4rem;
}

.profile-sidebar, .profile-main {
    min-width: 0;
}

.profile-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-md);
}

.profile-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.profile-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Profile Detail Tabs */
.tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2.5rem;
    overflow-x: auto;
    padding-bottom: 2px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 9999px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

/* Visi Misi Section inside tab */
.vision-mision {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.vision-box {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(217, 119, 6, 0.05));
    border-left: 5px solid var(--primary);
    border-radius: 0 16px 16px 0;
    padding: 2rem;
}

.mision-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
}

.mision-item {
    display: flex;
    gap: 1.25rem;
}

.mision-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.mision-text h4 {
    margin-bottom: 0.25rem;
}

/* Timeline Components (Pendidikan, Organisasi, Karir) */
.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-body);
    border: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.2);
}

.timeline-year {
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: block;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.timeline-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

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

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.news-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--primary-light);
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

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

.news-link svg {
    transition: transform 0.2s ease;
}

.news-link:hover svg {
    transform: translateX(3px);
}

/* Aspirasi / Citizen Feedback Area */
.aspiration-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.aspiration-form-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

textarea.form-control {
    resize: vertical;
}

.aspiration-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.aspiration-list-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aspiration-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom scrollbar for aspiration feed */
.aspiration-feed::-webkit-scrollbar {
    width: 6px;
}
.aspiration-feed::-webkit-scrollbar-track {
    background: var(--bg-body);
}
.aspiration-feed::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
.aspiration-feed::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.aspiration-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    animation: slideInUp 0.4s ease;
}

.aspiration-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.aspiration-author {
    font-weight: 700;
    font-size: 1rem;
}

.aspiration-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.aspiration-text {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    word-break: break-word;
}

.aspiration-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    font-size: 0.85rem;
}

.aspiration-response {
    background-color: rgba(13, 148, 136, 0.05);
    border-left: 3px solid var(--primary);
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.aspiration-response-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

/* Agenda Section (DLL Suggestion 1) */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.agenda-card {
    display: flex;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.agenda-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.agenda-date-box {
    width: 90px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.agenda-day {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.agenda-month {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0.25rem;
}

.agenda-year {
    font-size: 0.75rem;
    opacity: 0.8;
}

.agenda-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.agenda-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.agenda-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.agenda-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Laporan Section (DLL Suggestion 2) */
.report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.report-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

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

.report-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(217, 119, 6, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem auto;
}

.report-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.report-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Footer Section */
.footer {
    background-color: #0b0f19;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    padding: 5rem 0 2rem 0;
    font-size: 0.95rem;
}

.footer h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand .logo {
    margin-bottom: 1.25rem;
}

.footer-brand .logo-icon {
    box-shadow: none;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: #94a3b8;
}

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

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-newsletter-form input {
    background-color: #151f32;
    border: 1px solid #1e293b;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--success);
    color: var(--text-main);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 300px;
}

.toast.error {
    border-left-color: var(--danger);
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-grid, .profile-layout, .aspiration-layout, .aspiration-cta-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-card {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid, .news-grid, .report-grid, .agenda-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .section {
        padding: 3.5rem 0;
    }
    
    /* Hide CTA button in header to prevent crowded menu */
    .nav-actions .btn {
        display: none !important;
    }
    
    /* Reduce giant gaps on mobile inner page headers */
    .section[style*="padding-top"] {
        padding-top: 6.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .section[style*="padding-top"] h1 {
        font-size: 1.85rem !important;
    }
    
    /* Hero Section Mobile Enhancements */
    .hero {
        padding: 6.5rem 0 3rem 0 !important;
    }
    
    .hero-title {
        font-size: 2.15rem !important;
        line-height: 1.25;
    }
    
    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .hero-image-wrapper {
        max-width: 280px;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-body);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        font-size: 1.1rem;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .aspiration-form-container {
        padding: 1.75rem;
    }
    
    /* Aspiration CTA Mobile Enhancements */
    .aspiration-cta {
        padding: 2.5rem 1.5rem !important;
        text-align: center;
        border-radius: 20px;
    }
    
    .aspiration-cta-action {
        justify-content: center !important;
        margin-top: 1rem;
    }
    
    /* Profile Details Page Mobile Contrast & Fit */
    .profile-card {
        padding: 1.5rem !important;
        border-radius: 20px;
    }
    
    .tabs-nav {
        padding-bottom: 8px;
        margin-bottom: 1.75rem;
    }
    
    /* Timeline Mobile Compacting */
    .timeline {
        padding-left: 1.75rem !important;
    }
    
    .timeline::before {
        left: 9px !important;
    }
    
    .timeline-dot {
        left: -1.75rem !important;
        width: 20px !important;
        height: 20px !important;
        top: 8px !important;
        border-width: 3px !important;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.15rem;
    }
    
    /* Prevent logo text wrap on very small screens */
    .logo span {
        font-size: 1.1rem !important;
    }
    
    .logo-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
    }
}

/* ==========================================================================
   CTA Buttons & Aesthetic Pulse / Shimmer Animations
   ========================================================================== */
.btn-cta-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 1.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb, 13, 148, 136), 0.35);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-cta-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.6s ease;
}

.btn-cta-nav:hover::before {
    left: 100%;
}

.btn-cta-nav:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb, 13, 148, 136), 0.55);
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-hover));
}

/* Glowing Pulsation */
@keyframes ctaPulse {
    0% {
        box-shadow: 0 4px 15px rgba(var(--primary-rgb, 13, 148, 136), 0.35);
    }
    50% {
        box-shadow: 0 4px 25px rgba(var(--primary-rgb, 13, 148, 136), 0.65);
    }
    100% {
        box-shadow: 0 4px 15px rgba(var(--primary-rgb, 13, 148, 136), 0.35);
    }
}

/* Assign Pulse Animation on Desktop */
@media (min-width: 1025px) {
    .btn-cta-nav {
        animation: ctaPulse 2.5s infinite;
    }
    .btn-cta-nav:hover {
        animation: none;
    }
}

/* Submit Form CTA Button */
.btn-cta-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb, 13, 148, 136), 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: 0.6s ease;
}

.btn-cta-submit:hover::before {
    left: 100%;
}

.btn-cta-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb, 13, 148, 136), 0.5);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-dark));
}

/* ==========================================================================
   Theme-Colored Header Navigation & High-Contrast Readability
   ========================================================================== */
.header {
    background-color: var(--primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.logo {
    color: #ffffff !important;
}

.logo-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.theme-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.theme-toggle:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
}

.hamburger span {
    background-color: #ffffff !important;
}

/* Desktop Links High Contrast */
@media (min-width: 1025px) {
    .nav-link {
        color: rgba(255, 255, 255, 0.88) !important;
        background-color: transparent !important;
    }
    
    .nav-link:hover, .nav-link.active {
        color: #ffffff !important;
        background-color: rgba(255, 255, 255, 0.18) !important;
    }
    
    .nav-link.active::after {
        background-color: #ffffff !important;
    }
    
    /* White button pop on theme colored background */
    .btn-cta-nav {
        background: #ffffff !important;
        color: var(--primary) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    .btn-cta-nav:hover {
        background: rgba(255, 255, 255, 0.95) !important;
        transform: translateY(-2px) scale(1.03) !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
    }
}

/* Mobile Nav Adjustments */
@media (max-width: 1024px) {
    .nav-actions .btn-cta-nav {
        display: none !important;
    }
    
    .nav-menu {
        top: 72px !important;
        height: calc(100vh - 72px) !important;
        background-color: var(--bg-body) !important;
    }
    
    .nav-link {
        color: var(--text-main) !important;
    }
    
    .nav-link.active {
        color: var(--primary) !important;
        background-color: rgba(var(--primary-rgb), 0.08) !important;
    }
}
