/* Error Page Styles */
.error-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--green) 0%, var(--gold) 100%);
    color: var(--white);
    text-align: center;
    margin-top: 80px;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
}

.error-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    perspective: 1000px;
}

.error-number {
    font-size: 8rem;
    font-weight: bold;
    color: var(--white);
    text-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    animation: bounce 2s infinite;
}

.error-number:first-child {
    animation-delay: 0.1s;
}

.error-number:last-child {
    animation-delay: 0.2s;
}

.sankofa-error {
    margin: 0 30px;
    animation: float 3s ease-in-out infinite;
}

.sankofa-error img {
    width: 120px;
    height: 120px;
    filter: brightness(0) invert(1);
}

.error-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: var(--cultural-font);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.error-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--green);
}

.error-search {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.error-search p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.search-form button {
    padding: 15px 25px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #b30e23;
}

/* Suggested Pages */
.suggested-pages {
    padding: 80px 0;
    background: #f9f9f9;
}

.suggested-pages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--green);
    font-family: var(--cultural-font);
}

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

.page-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--black);
}

.page-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--green);
}

.page-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-link {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-link:hover {
    color: var(--green);
}

/* Help Section */
.help-section {
    padding: 80px 0;
    background: var(--green);
    color: var(--white);
}

.help-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.help-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--cultural-font);
}

.help-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s ease;
}

.contact-option:hover {
    background: rgba(255,255,255,0.2);
}

.contact-option i {
    font-size: 1.2rem;
    width: 20px;
}

.help-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.help-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sitemap Links */
.sitemap-links {
    padding: 80px 0;
    background: var(--white);
}

.sitemap-links h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--green);
    font-family: var(--cultural-font);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.sitemap-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--red);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.sitemap-column ul {
    list-style: none;
}

.sitemap-column li {
    margin-bottom: 12px;
}

.sitemap-column a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.sitemap-column a:hover {
    color: var(--red);
    padding-left: 10px;
}

/* Error Reporting */
.error-reporting {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.report-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.report-content i {
    font-size: 3rem;
    color: var(--gold);
    flex-shrink: 0;
}

.report-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--green);
}

.report-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .error-number {
        font-size: 6rem;
    }
    
    .sankofa-error img {
        width: 100px;
        height: 100px;
    }
    
    .error-hero h1 {
        font-size: 2.5rem;
    }
    
    .help-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .help-text {
        text-align: center;
    }
    
    .contact-options {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .error-hero {
        padding: 80px 0 40px;
        margin-top: 70px;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .sankofa-error {
        margin: 0 15px;
    }
    
    .sankofa-error img {
        width: 80px;
        height: 80px;
    }
    
    .error-hero h1 {
        font-size: 2rem;
    }
    
    .error-hero p {
        font-size: 1.1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form input {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .search-form button {
        border-radius: 8px;
    }
    
    .suggested-pages h2,
    .sitemap-links h2 {
        font-size: 2rem;
    }
    
    .report-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 3rem;
    }
    
    .sankofa-error img {
        width: 60px;
        height: 60px;
    }
    
    .error-hero h1 {
        font-size: 1.8rem;
    }
    
    .pages-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .error-search {
        padding: 20px;
    }
}

/* Add to existing style.css */
.cultural-pattern {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23FCD11633" stroke-width="1"/></svg>');
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--red);
}

.btn-secondary {
    background-color: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--black);
}

.help-image-text {
    background: #f8f6f2;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 32px 24px;
    text-align: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.help-image-text .team-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2d3436;
}
.help-image-text .team-description {
    font-size: 1rem;
    color: #636e72;
    margin-bottom: 18px;
}
.team-avatars {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}
.avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 2px solid #fff;
}