/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #334155;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
}

.header-content {
    display: flex;
    align-items: center;
    height: 60px;
    gap: 32px;
    padding: 0 16px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    display: flex;
    gap: 8px;
}

.search-bar input {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.search-bar input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.search-bar button,
.hero-search button {
    padding: 8px 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-bar button:hover,
.hero-search button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px -3px rgba(29, 78, 216, 0.4);
}

.nav {
    position: relative;
}

.nav-toggle {
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    z-index: 1001;
}

.nav-dropdown a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.nav-dropdown a:last-child {
    border-bottom: none;
}

.nav-dropdown a:hover {
    background: #f8fafc;
}

.nav:hover .nav-dropdown {
    display: block;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Enhanced Color Palette */
.hero h2 {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Enhanced Button Styles */
.search-bar button,
.hero-search button {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    transition: all 0.3s ease;
}

.search-bar button:hover,
.hero-search button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px rgba(37, 99, 235, 0.4);
}

/* Enhanced Category Icons */
.category-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* New Navigation Styles */
.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    background-color: #f1f5f9;
    color: #2563eb;
}

.nav-link.active {
    background-color: #2563eb;
    color: white;
}

/* Homepage New Sections */
.trending-topics {
    padding: 40px 0;
    background: #f8fafc;
}

.trending-topics h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

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

.trending-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trending-card.featured {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef7ed 0%, #fff 100%);
}

.trending-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.trending-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    background: #dc2626;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.trending-badge.hot {
    background: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%);
    animation: pulse 2s infinite;
}

.trending-status {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin: 8px 0;
}

.trending-status.active {
    background: #dcfce7;
    color: #16a34a;
}

.trending-status.coming {
    background: #fef3c7;
    color: #d97706;
}

.trending-more, .guides-more {
    text-align: center;
    margin-top: 24px;
}

.view-all-btn {
    background: #eb9225;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #d8551d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Urgent Help Section */
.urgent-help {
    padding: 40px 0;
    background: linear-gradient(135deg, #fef2f2 0%, #fef7ed 100%);
}

.urgent-help-card {
    background: white;
    border: 2px solid #f87171;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(248, 113, 113, 0.2);
}

.urgent-help-btn {
    background: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 16px;
}

.urgent-help-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(220, 38, 38, 0.4);
}

/* Trust Indicators */
.trust-indicators {
    padding: 30px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    align-items: center;
}

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

.trust-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
}

.trust-stat span {
    color: #64748b;
    font-size: 14px;
}

/* Help Centre Styles */
.emergency-alert {
    background: #fef2f2;
    border: 2px solid #f87171;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    text-align: center;
}

.emergency-alert h3 {
    color: #dc2626;
    margin-bottom: 8px;
}

.help-section {
    margin: 48px 0;
}

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

.help-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.help-card.urgent {
    border-color: #f87171;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
}

.help-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.help-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.help-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.help-details p, .help-alternatives ul, .help-services ul {
    margin-bottom: 8px;
    font-size: 14px;
}

.help-steps ol, .help-immediate ol {
    font-size: 14px;
    margin: 12px 0;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.emergency-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: white;
    border: 2px solid #fecaca;
    border-radius: 12px;
    text-decoration: none;
    color: #dc2626;
    transition: all 0.3s ease;
    text-align: center;
}

.emergency-contact:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

/* Topics Page Styles */
.topics-section {
    margin: 48px 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.topic-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.topic-card.featured {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef7ed 0%, #fff 100%);
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.topic-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.topic-badge.hot {
    background: linear-gradient(135deg, #dc2626 0%, #f59e0b 100%);
}

.topic-badge.new {
    background: #16a34a;
}

.topic-badge.upcoming {
    background: #d97706;
}

.topic-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.topic-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    margin: 8px 0;
}

.topic-status.active {
    background: #dcfce7;
    color: #16a34a;
}

.topic-status.applications {
    background: #dbeafe;
    color: #2563eb;
}

.topic-status.coming {
    background: #fef3c7;
    color: #d97706;
}

.topic-details {
    margin: 12px 0;
    font-size: 14px;
}

.topic-details p {
    margin-bottom: 4px;
}

.topic-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.topic-link {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.topic-link.primary {
    background: #2563eb;
    color: white;
}

.topic-link.external {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.topic-link:hover {
    transform: translateY(-1px);
}

/* Categories Page Styles */
.categories-overview {
    margin: 32px 0;
}

.category-large-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-large-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.category-icon-large {
    font-size: 48px;
    width: 80px;
    text-align: center;
}

.category-info h2 {
    margin-bottom: 8px;
}

.category-info h2 a {
    color: #1e293b;
    text-decoration: none;
}

.category-info h2 a:hover {
    color: #2563eb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.service-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
}

.service-info strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.service-info small {
    color: #64748b;
    font-size: 12px;
}

.category-stats {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.stat {
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Guides Page Styles */
.guides-filter {
    margin: 32px 0;
}

.filter-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.filter-tag {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-tag.active, .filter-tag:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.guides-count {
    margin: 16px 0;
    color: #64748b;
}

.count-number {
    font-weight: 600;
    color: #2563eb;
}

.guides-section {
    margin: 40px 0;
}

.guides-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.guide-simple {
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: all 0.3s ease;
    font-size: 14px;
}

.guide-simple.popular {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.guide-simple.hot {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef7ed 0%, #fff 100%);
}

.guide-simple:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.guide-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.feature-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
    margin-top: 4px;
}

.feature-content h3 {
    margin-bottom: 4px;
    font-size: 16px;
}

.feature-content p {
    color: #64748b;
    font-size: 14px;
}

/* Shared Help Options */
.help-options, .category-help-options, .help-option-buttons, .need-help-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.help-option-btn {
    padding: 16px 24px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.help-option-btn.urgent {
    border-color: #f87171;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
    color: #dc2626;
}

.help-option-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Subscribe and Popular Tags */
.subscribe-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 32px;
    margin: 48px 0;
}

.subscribe-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.subscribe-option {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.search-tag {
    padding: 8px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-tag.hot {
    background: linear-gradient(135deg, #fef7ed 0%, #fff 100%);
    border-color: #f59e0b;
    color: #d97706;
}

.search-tag:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* E-Invoice Page Specific Styles */
.alert-hot {
    background: linear-gradient(135deg, #fef2f2 0%, #fef7ed 100%);
    border: 2px solid #f87171;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    text-align: center;
}

.alert-hot h3 {
    color: #dc2626;
    margin-bottom: 8px;
}

.definition-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.definition-box h3 {
    color: #1e40af;
    margin-bottom: 12px;
}

.key-points {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.key-points ul {
    margin-top: 12px;
}

.key-points li {
    margin-bottom: 8px;
}

.comparison-table, .timeline-table {
    margin: 24px 0;
}

.comparison-table table, .timeline-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th, .timeline-table th {
    background: #1e293b;
    color: white;
    padding: 16px;
    font-weight: 600;
}

.comparison-table td, .timeline-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.timeline-table .completed {
    background: #ecfdf5;
}

.timeline-table .upcoming {
    background: #eff6ff;
}

.timeline-table .critical {
    background: #fef2f2;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.completed {
    background: #dcfce7;
    color: #16a34a;
}

.status-badge.upcoming {
    background: #dbeafe;
    color: #2563eb;
}

.status-badge.critical {
    background: #fee2e2;
    color: #dc2626;
}

.affected-users {
    margin: 24px 0;
}

.user-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.user-type {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.user-type:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.user-info strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.user-info small {
    color: #64748b;
    font-size: 12px;
}

.threshold-check {
    background: #fef7ed;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.threshold-check h3 {
    color: #d97706;
    margin-bottom: 12px;
}

.steps-process {
    margin: 32px 0;
}

.step-card {
    display: flex;
    gap: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 16px;
    color: #1e293b;
}

.step-details ul {
    margin: 8px 0;
}

.step-details li {
    margin-bottom: 4px;
}

.important-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
}

.important-note h3 {
    color: #92400e;
    margin-bottom: 12px;
}

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

.tool-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.tool-card.recommended {
    border-color: #16a34a;
    background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tool-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.tool-header h3 {
    flex: 1;
    margin: 0;
}

.tool-badge {
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.tool-card.recommended .tool-badge {
    background: #16a34a;
}

.tool-details, .tool-requirements, .tool-steps, .software-list {
    margin: 16px 0;
}

.tool-details p, .tool-requirements p {
    margin-bottom: 8px;
    font-size: 14px;
}

.tool-steps ol, .tool-requirements ul, .software-list ul {
    font-size: 14px;
}

.tool-steps li, .tool-requirements li, .software-list li {
    margin-bottom: 4px;
}

.tool-comparison {
    margin: 32px 0;
}

.tool-comparison table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tool-comparison th {
    background: #f8fafc;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #e2e8f0;
}

.tool-comparison td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.example-scenarios {
    margin: 24px 0;
}

.scenario-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.scenario-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.scenario-icon {
    font-size: 32px;
    width: 48px;
    text-align: center;
}

.scenario-header h3 {
    margin: 0;
    color: #1e293b;
}

.scenario-situation, .scenario-solution, .scenario-workflow, .scenario-options, .scenario-challenges, .scenario-note {
    margin-bottom: 16px;
}

.scenario-situation h4, .scenario-solution h4, .scenario-workflow h4, .scenario-options h4, .scenario-challenges h4, .scenario-note h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #374151;
}

.scenario-content ul, .scenario-content ol {
    font-size: 14px;
    margin: 8px 0;
}

.scenario-content li {
    margin-bottom: 4px;
}

.faq-list {
    margin: 24px 0;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f8fafc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h3 {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
}

.faq-answer {
    padding: 20px;
}

.faq-answer ul {
    margin: 8px 0;
}

.faq-answer li {
    margin-bottom: 4px;
}

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

.resource-category {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.resource-category h3 {
    margin-bottom: 16px;
    color: #1e293b;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.resource-link.official {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.resource-link.guide {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
}

.resource-link.provider {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #faf5ff 0%, #f8fafc 100%);
}

.resource-link.support {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef7ed 0%, #f8fafc 100%);
}

.link-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
}

.link-info strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.link-info small {
    color: #64748b;
    font-size: 12px;
}

.preparation-checklist {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.preparation-checklist h3 {
    margin-bottom: 20px;
    color: #1e293b;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.checklist-item:hover {
    background: #f1f5f9;
}

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.action-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin: 48px 0;
}

.action-section h2 {
    margin-bottom: 16px;
    color: #1e293b;
}

.action-section p {
    margin-bottom: 24px;
    color: #64748b;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: #3b82f6;
    color: white;
}

.action-btn.primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.action-btn.secondary {
    background: #f59e0b;
    color: white;
}

.action-btn.secondary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.action-btn:not(.primary):not(.secondary) {
    background: white;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.action-btn:not(.primary):not(.secondary):hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Improved Links */
a {
    transition: all 0.2s ease;
}

.breadcrumb a,
.category-link,
.popular-searches a {
    color: #2563eb;
}

.popular-searches a:hover {
    color: #7c3aed;
    transform: translateY(-1px);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}


/* Special Effects for Cards */
/* Removed animated left borders from funding cards */

/* Enhanced Step Numbers */
.step-number {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    box-shadow: 0 4px 15px -5px rgba(37, 99, 235, 0.4);
}

/* Improved Quick Summary */
.quick-summary {
    border-left: 4px solid #3b82f6;
    position: relative;
    overflow: hidden;
}

.quick-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    animation: shimmerSlow 4s infinite;
}

@keyframes shimmerSlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.category-card:hover {
    border-color: var(--text-accent);
    box-shadow: 0 10px 25px -5px var(--shadow-color);
}

.guide-card:hover {
    border-color: var(--text-accent);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #bbd8ff 0%, #ff97f3 100%);
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 32px;
}

.hero-search {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.hero-search input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    width: 400px;
}

.hero-search input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.hero-search button {
    padding: 12px 24px;
    font-size: 16px;
}

.popular-searches {
    color: #64748b;
    font-size: 14px;
}

.popular-searches span {
    margin-right: 16px;
}

.popular-searches a {
    color: #2563eb;
    text-decoration: none;
    margin-right: 16px;
}

.popular-searches a:hover {
    text-decoration: underline;
}

/* Categories Section */
.categories {
    padding: 40px 0;
}

.categories h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 48px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.category-card:hover::before {
    left: 100%;
}

.category-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: underline;
    margin-bottom: 6px;
}

.category-card p {
    color: #000000;
    font-size: 13px;
    margin-bottom: 12px;
}

.category-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.category-link:hover {
    text-decoration: underline;
}

/* Popular Guides */
.popular-guides {
    background: #f8fafc;
    padding: 40px 0;
}

.popular-guides h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.popular-guides > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 48px;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.guide-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.guide-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
    border-color: #3b82f6;
}

.guide-card h3 {
    margin-bottom: 8px;
}

.guide-card h3 a {
    color: #1e293b;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.guide-card h3 a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.guide-card p {
    color: #64748b;
    margin-bottom: 16px;
}

.guide-time {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
}

/* How It Works */
.how-it-works {
    padding: 60px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 48px;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.step p {
    color: #64748b;
}

/* Official Links */
.official-links {
    background: #f8fafc;
    padding: 60px 0;
}

.official-links h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.official-links > p {
    text-align: center;
    color: #64748b;
    margin-bottom: 48px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.links-grid a {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: #334155;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.links-grid a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #e2e8f0;
    padding: 48px 0 24px;
    margin-top: 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
    align-items: start;
}

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #60a5fa;
    text-decoration: underline;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
    color: #9ca3af;
}

/* Content Pages */
.content-page {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    gap: 32px;
    margin-top: 60px;
}

.sidebar {
    width: 250px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 92px;
}

.sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1e293b;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 8px;
}

.sidebar ul li a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
}

.sidebar ul li a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.content {
    flex: 1;
    max-width: 900px;
    /* padding-right: 40px; */
}

/* Single column content without sidebar */
.content-single {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 60px;
    margin-top: 60px;
}

/* Jump Navigation for single column content */
.jump-navigation {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.jump-navigation h3 {
    margin-bottom: 16px;
    color: #1e293b;
    text-align: center;
}

.jump-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.jump-link {
    display: block;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.jump-link:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.breadcrumb {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
}

.content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 16px;
}

.content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 24px 0 12px;
}

.content p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: #64748b;
}

.content ul,
.content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.content li {
    margin-bottom: 8px;
}

.quick-summary {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 24px;
    margin: 16px 0;
    box-shadow: 0 2px 8px -2px rgba(37, 99, 235, 0.1);
}

.quick-summary h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
}

.important-notes {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.important-notes h3 {
    font-size: 18px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 12px;
}

.official-resources {
    background: #f0f9ff;
    border: 1px solid #7dd3fc;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.official-resources h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 12px;
}

.official-resources ul {
    list-style: none;
    padding-left: 0;
}

.official-resources li {
    margin-bottom: 8px;
}

.official-resources a {
    color: #0284c7;
    text-decoration: none;
}

.official-resources a:hover {
    text-decoration: underline;
}

.related-guides {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.related-guides h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.related-guides ul {
    list-style: none;
    padding-left: 0;
}

.related-guides li {
    margin-bottom: 8px;
}

.related-guides a {
    color: #2563eb;
    text-decoration: none;
}

.related-guides a:hover {
    text-decoration: underline;
}

/* Directory Page Styles */
.directory-search {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}

.directory-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 16px;
}

.directory-search input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #64748b;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.filter-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.directory-section {
    margin-bottom: 48px;
}

.directory-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.directory-section > p {
    color: #64748b;
    margin-bottom: 32px;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.ministry-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s;
}

.ministry-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ministry-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.ministry-role {
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.6;
}

.ministry-examples {
    font-size: 14px;
    color: #059669;
    background: #f0fdfa;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.agency-category {
    margin-bottom: 40px;
}

.agency-category h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.agency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.agency-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s;
    cursor: pointer;
}

.agency-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.agency-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.agency-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
    margin-right: 12px;
}

.agency-full-name {
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.agency-description {
    color: #374151;
    margin-bottom: 12px;
    line-height: 1.6;
}

.agency-examples {
    font-size: 14px;
    color: #7c3aed;
    background: #faf5ff;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #8b5cf6;
}

.agency-card.expanded {
    border-color: #2563eb;
    background: #fefeff;
}

/* Search highlighting */
mark {
    background-color: #fef3c7;
    color: #92400e;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Education Page Styles */
.education-section {
    margin-bottom: 48px;
}

.education-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.education-section > p {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
}

/* Pathway Flow */
.pathway-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    gap: 8px;
    position: relative;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pathway-step {
    text-align: center;
    flex: 0 0 auto;
    width: 140px;
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.pathway-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 24px;
    /* margin-bottom: 8px; */
    display: inline-block;
    /* padding: 8px; */
    /* background: #f0f9ff; */
    border-radius: 8px;
    line-height: 1;
    /* width: 40px;
    height: 40px; */
}

.pathway-step h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    /* margin-bottom: 8px; */
    line-height: 1.2;
    /* height: 34px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
}

.pathway-step p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
    margin: 0;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pathway-arrow {
    font-size: 24px;
    color: #2563eb;
    font-weight: bold;
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 4px;
    height: 40px;
}

@media (max-width: 768px) {
    .pathway-flow {
        padding: 12px;
    }
    
    .pathway-step {
        width: 120px;
        padding: 8px;
    }
    
    .step-icon {
        font-size: 20px;
        width: 36px;
        height: 36px;
    }
}

/* Options Grid */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.option-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.option-card:hover {
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.option-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.option-details p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.option-details strong {
    color: #374151;
    font-weight: 600;
}

.option-pitfall {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    font-size: 14px;
}

.option-pitfall strong {
    color: #92400e;
}

.option-links {
    margin-top: 16px;
}

.option-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.option-links a:hover {
    text-decoration: underline;
}

/* Application Process */
.application-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.process-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.process-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.process-card ol {
    margin-bottom: 16px;
}

.process-card li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.process-tips {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.process-tips strong {
    color: #059669;
}

.process-tips ul {
    margin-top: 8px;
    font-size: 14px;
}

/* Funding Grid */
.funding-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 32px 0;
}

.funding-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Removed left border styles from funding cards */

.funding-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.funding-details p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.funding-process {
    margin: 16px 0;
}

.funding-process h4 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.funding-process ol {
    font-size: 14px;
    line-height: 1.6;
}

.funding-pitfall {
    background: #fef2f2;
    border: 1px solid #f87171;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    font-size: 14px;
}

.funding-pitfall strong {
    color: #dc2626;
}

.funding-links {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.funding-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    margin-right: 16px;
}

.funding-links a:hover {
    text-decoration: underline;
}

.scholarship-types {
    margin: 16px 0;
}

.scholarship-type {
    background: #faf5ff;
    border: 1px solid #c084fc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.scholarship-type h4 {
    font-size: 16px;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 8px;
}

.scholarship-type p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.assistance-programs ul {
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.7;
}

.assistance-programs li {
    margin-bottom: 8px;
}

/* TVET Options */
.tvet-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.tvet-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.tvet-card:hover {
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tvet-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.tvet-details p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.tvet-pitfall {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    font-size: 14px;
}

.tvet-benefits {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    font-size: 14px;
}

.tvet-benefits strong {
    color: #059669;
}

/* Employment Cards */
.employment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.employment-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.employment-card:hover {
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.employment-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.employment-details p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.employment-pitfall {
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 12px;
    margin: 16px 0;
    font-size: 14px;
}

.employment-links {
    margin-top: 16px;
}

.employment-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.employment-links a:hover {
    text-decoration: underline;
}

/* Upskilling Grid */
.upskilling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.upskilling-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.upskilling-card:hover {
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.upskilling-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.upskilling-details p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.upskilling-links {
    margin-top: 16px;
}

.upskilling-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.upskilling-links a:hover {
    text-decoration: underline;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(37, 99, 235, 0.1);
    z-index: 999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    width: 0%;
    transition: width 0.25s ease;
}

/* Floating Navigation for Education Page */
.floating-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.15);
    display: none;
    max-width: 200px;
}

.floating-nav.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.floating-nav h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    text-align: center;
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floating-nav li {
    margin-bottom: 8px;
}

.floating-nav a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #64748b;
    font-size: 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.floating-nav a:hover {
    background: #f8fafc;
    color: #2563eb;
    border-left-color: #2563eb;
}

.floating-nav a.active {
    background: #eff6ff;
    color: #2563eb;
    border-left-color: #2563eb;
    font-weight: 500;
}

/* Section Highlighting */
.education-section {
    scroll-margin-top: 80px;
    transition: all 0.3s ease;
    position: relative;
}

.education-section.highlighted::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px -5px rgba(37, 99, 235, 0.4);
}

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

.back-to-top:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -5px rgba(37, 99, 235, 0.5);
}

/* Need Help Section */
.need-help-section {
    background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
    padding: 60px 0;
    border-top: 3px solid #f59e0b;
}

.need-help-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}

.need-help-section > .container > p {
    text-align: center;
    color: #78716c;
    margin-bottom: 48px;
    font-size: 18px;
}

.help-categories {
    display: grid;
    gap: 40px;
    margin-bottom: 48px;
}

.help-category {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
}

.help-category h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}

.help-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.help-link {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    gap: 12px;
}

.help-link:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -3px rgba(0, 0, 0, 0.1);
}

.help-link.urgent {
    background: linear-gradient(135deg, #fef2f2 0%, #fafafa 100%);
}

.help-link.urgent:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #f3f4f6 100%);
}

.help-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.help-content {
    flex: 1;
}

.help-content strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.help-content small {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

/* Emergency Contacts */
.emergency-contacts {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.emergency-contacts h3 {
    font-size: 24px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.emergency-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: white;
    border: 2px solid #fecaca;
    border-radius: 12px;
    text-decoration: none;
    color: #dc2626;
    transition: all 0.3s ease;
}

.emergency-contact:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px -3px rgba(220, 38, 38, 0.3);
}

.emergency-contact strong {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.emergency-contact span {
    font-size: 14px;
    opacity: 0.8;
}

/* Enhanced Education Page Cards */
.option-card:hover,
.funding-card:hover,
.tvet-card:hover,
.employment-card:hover,
.upskilling-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15);
}

/* Cards - No animations */
.option-card,
.funding-card,
.tvet-card,
.employment-card,
.upskilling-card {
    opacity: 1;
    transform: none;
}

/* Enhanced Pathway Flow */
.pathway-flow {
    position: relative;
}

.pathway-step {
    position: relative;
    z-index: 2;
}

.pathway-step:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.pathway-step:hover .step-icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-content {
        gap: 16px;
        padding: 0 12px;
    }
    
    .floating-nav {
        display: none !important;
    }
    
    .scroll-progress {
        height: 3px;
    }
    
    .help-links {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .help-category {
        padding: 24px 16px;
    }
    
    .emergency-contacts {
        padding: 24px 16px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    
    .content-page {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
    }
    
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .agency-grid {
        grid-template-columns: 1fr;
    }
    
    .search-filters {
        flex-wrap: wrap;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero-search {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-search input {
        width: 100%;
        max-width: 400px;
    }
    
    .category-card,
    .guide-card {
        padding: 16px;
    }
    
    .categories h2,
    .popular-guides h2 {
        font-size: 28px;
    }
    
    .popular-guides {
        padding: 30px 0;
    }
    
    .categories {
        padding: 30px 0;
    }
    
    .nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-link {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .trending-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .help-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .category-large-card {
        padding: 20px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .guides-grid-simple {
        grid-template-columns: 1fr;
    }
    
    .filter-tags {
        justify-content: center;
    }
    
    .guide-features {
        grid-template-columns: 1fr;
    }
    
    .subscribe-options {
        grid-template-columns: 1fr;
    }
    
    .user-examples {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .example-scenarios {
        margin: 20px 0;
    }
    
    .scenario-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .tool-header {
        justify-content: center;
        text-align: center;
    }
    
    .comparison-table table, .timeline-table table, .tool-comparison table {
        font-size: 14px;
    }
    
    .comparison-table th, .timeline-table th, .tool-comparison th,
    .comparison-table td, .timeline-table td, .tool-comparison td {
        padding: 8px 12px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .content-single {
        padding: 20px;
        margin-top: 60px;
    }
    
    .jump-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-search input {
        font-size: 16px;
        padding: 14px 16px;
    }
    
    .hero-search button {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .category-card,
    .guide-card {
        padding: 20px;
    }
    
    .categories h2,
    .popular-guides h2 {
        font-size: 24px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        padding: 0 10px;
    }
}