/* ==========================================================================
   Semnas Platform - Premium Academic Amber & Light Design System
   ========================================================================== */

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

:root {
    /* Colors (Inspired by Academic Journals & Islamic Research Ochre Theme) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc; /* Slate 50 */
    --bg-tertiary: #f1f5f9;  /* Slate 100 */
    
    /* Institutional Amber/Bronze Accent Colors */
    --primary: #b45309;       /* Deep Amber/Ochre */
    --primary-hover: #92400e; /* Darker Amber */
    --primary-light: #fef3c7; /* Light Amber/Yellow 100 */
    --primary-glow: rgba(180, 83, 9, 0.15);
    
    --accent: #0f172a;        /* Deep Slate Navy for contrast */
    --accent-hover: #1e293b;
    
    --text-main: #1e293b;     /* Slate 800 for body text */
    --text-dark: #0f172a;     /* Slate 900 for headings */
    --text-muted: #64748b;    /* Slate 500 for captions/metadata */
    
    --border-color: #cbd5e1;  /* Slate 300 */
    --border-light: #e2e8f0;  /* Slate 200 */
    
    --success: #059669;       /* Emerald Green */
    --success-bg: #ecfdf5;
    --warning: #d97706;       /* Warm Yellow */
    --warning-bg: #fffbeb;
    --danger: #dc2626;        /* Red */
    --danger-bg: #fef2f2;
    --info: #0284c7;          /* Sky Blue */
    --info-bg: #f0f9ff;

    /* Shadows & Border Radius */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    /* Font Families */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

/* Scroll Offset for Sticky Navbar */
section[id], div[id] {
    scroll-margin-top: 90px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 1.85rem; line-height: 1.3; }
h3 { font-size: 1.35rem; }

p {
    color: var(--text-muted);
}

/* Global Navigation Bar */
.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
    background: transparent;
    border-bottom: 2px solid var(--primary);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

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

.nav-link {
    font-weight: 550;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 2px solid transparent;
    padding: 0.25rem 0;
}

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

.nav-btns {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Academic Card Wrapper (Light Institutional Theme) */
.glass-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: all 0.25s ease;
}

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

.glass-card:hover::before {
    opacity: 1;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 6px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--text-muted);
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
}

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

.btn-danger {
    background: var(--danger);
    color: #ffffff;
}
.btn-danger:hover {
    background: #b91c1c;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    border-radius: 4px;
}

/* Unified Auth Layout & Effects */
.auth-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: var(--bg-secondary);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

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

/* Custom Premium Inputs */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-input {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.95rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Checkbox container */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-main);
    user-select: none;
}

/* Alert Boxes */
.alert {
    padding: 0.85rem 1.15rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.92rem;
    border-left: 4px solid transparent;
}

.alert-success {
    background: var(--success-bg);
    border-color: var(--success);
    color: var(--success);
}

.alert-danger {
    background: var(--danger-bg);
    border-color: var(--danger);
    color: var(--danger);
}

.alert-info {
    background: var(--info-bg);
    border-color: var(--info);
    color: var(--info);
}

/* Hero Section (Institutional Style) */
.hero-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--primary-light);
    border: 1px solid rgba(180, 83, 9, 0.2);
    border-radius: 99px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    color: var(--text-main);
}

/* Grid & Layout System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Conference Cards */
.conf-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.conf-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.conf-badge.seminar {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(180, 83, 9, 0.3);
}

.conf-badge.conference {
    background: var(--info-bg);
    color: var(--info);
    border: 1px solid rgba(2, 132, 199, 0.3);
}

.conf-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.conf-card h3 {
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.conf-desc {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.conf-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 1rem;
    margin-top: auto;
}

.conf-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

/* Keynote Speakers Section */
.speakers-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 5rem 2rem;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2.5rem auto 0;
}

.speaker-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

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

.speaker-avatar {
    width: 100px;
    height: 100px;
    border-radius: 99px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border: 4px solid var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.speaker-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.speaker-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Timeline / Important Dates Section */
.timeline-section {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
    position: relative;
}

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

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.timeline-dot {
    width: 42px;
    height: 42px;
    border-radius: 99px;
    background: #ffffff;
    border: 3px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.timeline-item.active .timeline-dot {
    background: var(--primary);
    color: #ffffff;
}

.timeline-content {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-md);
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.timeline-event h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

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

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    background: var(--primary-light);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
}

/* Detail Page Layout */
.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.meta-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.meta-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
}

.meta-text h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.meta-text p {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Dashboard Layout (Light Theme Integration) */
.dashboard-container {
    min-height: 100vh;
    display: flex;
    background: var(--bg-secondary);
}

.sidebar {
    width: 270px;
    background: #ffffff;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 10;
}

.sidebar-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    display: none !important;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.sidebar-toggle svg {
    transition: transform 0.3s ease;
}


.sidebar-menu {
    list-style: none;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
    overflow-y: auto;
    min-height: 0;
}

/* Custom Slim Scrollbar for Sidebar Menu */
.sidebar-menu::-webkit-scrollbar {
    width: 5px;
}
.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}
.sidebar-menu::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: var(--radius-sm);
}
.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.92rem;
}

.sidebar-link:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.sidebar-link.active {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(180, 83, 9, 0.2);
}

.sidebar-footer {
    margin-top: auto;
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 99px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

.user-info h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.user-info p {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
}

.main-content {
    flex-grow: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.content-title h1 {
    font-size: 2rem;
    color: var(--text-dark);
}

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

/* Stats Cards Grid */
.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.stat-text h3 {
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--text-dark);
}

.stat-text p {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Premium Tables (Light Mode) */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-top: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.custom-table th {
    background: var(--bg-tertiary);
    padding: 1rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.custom-table td {
    padding: 1rem 1.25rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.custom-table tbody tr:hover {
    background: var(--bg-secondary);
}

.custom-table tbody tr:last-child td {
    border-bottom: none;
}

/* Dynamic Badges */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}

.status-badge.pending {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(217, 119, 6, 0.25);
}

.status-badge.paid, .status-badge.accepted {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.status-badge.rejected {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.status-badge.assigned {
    background: var(--info-bg);
    color: var(--info);
    border: 1px solid rgba(2, 132, 199, 0.25);
}

/* Action Forms */
.action-forms {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-form select {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    outline: none;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
}

/* Footer Section */
.footer-global {
    background: var(--accent);
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
}

.footer-col h3 span {
    color: var(--primary);
}

.footer-col p {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-link {
    color: #ffffff;
    font-size: 0.95rem;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #ffffff;
}

.footer-bottom a {
    color: #ffffff;
}

.footer-heart {
    color: #ef4444 !important; /* Tailwind-like emerald/rose red heart */
    display: inline-block;
    margin: 0 0.15rem;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .navbar { padding: 1rem; }
    .nav-links { display: none; }
    .detail-grid { grid-template-columns: 1fr !important; }
    .dashboard-container { flex-direction: column; }
    .sidebar { width: 100%; height: 60px; position: sticky; top: 0; border-bottom: 1px solid var(--border-light); z-index: 100; background: #ffffff; }
    .sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem; height: 100%; }
    .sidebar-toggle { display: flex !important; }
    
    /* Sliding Drawer Styles */
    .sidebar-menu {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: -280px;
        width: 270px;
        height: calc(100vh - 60px - 150px);
        background: #ffffff;
        z-index: 99;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        border-right: 1px solid var(--border-light);
        margin: 0;
        padding: 1.5rem 1rem;
        overflow-y: auto;
    }
    
    .sidebar-footer {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: -280px;
        width: 270px;
        height: 150px;
        z-index: 99;
        background: var(--bg-secondary);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        border-right: 1px solid var(--border-light);
        margin: 0;
        padding: 1.5rem;
        box-sizing: border-box;
    }
    
    .sidebar.open .sidebar-menu {
        left: 0;
    }
    
    .sidebar.open .sidebar-footer {
        left: 0;
    }

    /* Sidebar Overlay Backdrop */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 60px);
        background: rgba(15, 23, 42, 0.35);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 90;
    }
    
    .sidebar-overlay.active {
        display: block;
    }

    .main-content { padding: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
    .container-hero-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
    .container-hero-grid > div { text-align: center !important; }
    .container-hero-grid .hero-title, .container-hero-grid h2 { text-align: center !important; }
    .container-hero-grid .hero-tag { display: block !important; margin: 0 auto 1.5rem !important; width: fit-content !important; }
    .container-hero-grid div[style*="justify-content: flex-start"] { justify-content: center !important; }
    .container-hero-grid div[style*="text-align: left"] { text-align: center !important; justify-content: center !important; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.25rem; }
    .grid-cards { grid-template-columns: 1fr; }
    .content-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ==========================================================================
   ICIC HILMI Specific Layout Utilities
   ========================================================================== */
.topics-grid-hilmi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.topic-card-hilmi {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.2s ease;
}

.topic-card-hilmi:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.topic-number-hilmi {
    background: var(--primary-light);
    color: var(--primary);
    width: 28px;
    height: 28px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.topic-text-hilmi {
    font-size: 0.92rem;
    font-weight: 550;
    color: var(--text-main);
    line-height: 1.4;
}

.fees-grid-hilmi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.fee-card-hilmi {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    border-top: 4px solid var(--primary);
}

.fee-card-hilmi:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.fee-card-hilmi.highlight {
    border-top-color: var(--primary);
    background: #ffffff;
}

.fee-title-hilmi {
    font-size: 1.2rem;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.fee-amount-hilmi {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.fee-sub-hilmi {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contacts-grid-hilmi {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.contact-box-hilmi {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.contact-box-hilmi:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.contact-icon-hilmi {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-name-hilmi {
    font-weight: 700;
    color: var(--text-dark);
}

.contact-phone-hilmi {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsive Hero Grid & Scroll Prevention
   ========================================================================== */
html, body {
    overflow-x: clip !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

.container-hero-grid {
    display: grid !important;
    grid-template-areas: 
        "text image"
        "buttons image" !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    grid-template-rows: auto auto !important;
    gap: 1rem 4rem !important;
}

@media (max-width: 1200px) {
    .container-hero-grid {
        grid-template-areas: 
            "text"
            "image"
            "buttons" !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 2.5rem !important;
        text-align: center !important;
    }
    
    .container-hero-grid div[style*="justify-content: flex-start"] {
        justify-content: center !important;
    }
    
    .container-hero-grid div[style*="text-align: left"] {
        text-align: center !important;
        justify-content: center !important;
    }
    
    .hero-info-box {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
        padding: 1.25rem !important;
    }
    
    .hero-info-box > div {
        text-align: center !important;
    }
    
    .hero-info-divider {
        display: none !important;
    }
}

/* ==========================================================================
   Hamburger Drawer Toggle & Mobile Menu Styling
   ========================================================================== */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hamburger Animations */
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.nav-overlay.active {
    display: block;
}

/* Drawer Navigation Responsiveness */
@media (max-width: 1200px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        display: flex !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.25rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        border-left: 4px solid var(--primary);
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links .nav-link {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        font-weight: 700;
        color: var(--text-dark);
        font-size: 1rem;
        transition: all 0.2s ease;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-links .nav-link:hover {
        background-color: var(--bg-secondary);
        color: var(--primary);
        padding-left: 1.5rem;
    }
}

/* Desktop and Mobile Header Auth Button Visibility Toggles */
.mobile-only-auth {
    display: none !important;
}

.desktop-only-auth {
    display: flex !important;
}

@media (max-width: 1200px) {
    .mobile-only-auth {
        display: block !important;
    }
    
    .desktop-only-auth {
        display: none !important;
    }
}

/* ==========================================================================
   Interactive FAQ Accordion Section
   ========================================================================== */
.faq-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 5rem 2rem;
}

.faq-container {
    max-width: 850px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-header {
    width: 100%;
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
    gap: 1rem;
}

.faq-question {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
    margin: 0;
    transition: color 0.25s ease;
}

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

.faq-toggle-icon {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 1.75rem 1.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
}



