/* ColorHunt Palette Variables */
:root {
    --dark-navy: #19183b;        /* Dark Navy - headers, footers, navigation */
    --mid-tone-blue: #708993;    /* Mid-Tone Blue - accents, buttons, headings */
    --light-pastel-blue: #a1c2bd; /* Light Pastel Blue - secondary backgrounds */
    --very-light-blue: #e7f2ef;  /* Very Light Blue - page background, cards */
    --text-dark: #000000;        /* Black text for light backgrounds */
    --text-light: #ffffff;       /* White text for dark backgrounds */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--very-light-blue);
}

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

/* Header Styles */
.header {
    background: var(--dark-navy);
    box-shadow: 0 2px 10px rgba(25, 24, 59, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--light-pastel-blue);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--mid-tone-blue);
    color: var(--text-light);
    border-color: var(--mid-tone-blue);
}

.btn-primary:hover {
    background: var(--light-pastel-blue);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(112, 137, 147, 0.3);
}

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

.btn-outline:hover {
    background: var(--text-light);
    color: var(--dark-navy);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: var(--light-pastel-blue);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--mid-tone-blue);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: var(--text-dark);
}

.breadcrumb-item a {
    color: var(--dark-navy);
    text-decoration: none;
}

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

/* Main Content Styles */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--mid-tone-blue) 0%, var(--dark-navy) 100%);
    color: var(--text-light);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(161, 194, 189, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(231, 242, 239, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(112, 137, 147, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--light-pastel-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-pastel-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    text-align: center;
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--light-pastel-blue), var(--very-light-blue));
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px) scale(1.02);
}

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

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

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-navy);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--mid-tone-blue);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--very-light-blue);
}

.about-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--light-pastel-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--very-light-blue);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(25, 24, 59, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(25, 24, 59, 0.15);
}

.feature-card img {
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Registration Section */
.register-section {
    padding: 4rem 0;
    background: var(--very-light-blue);
}

.register-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.register-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-navy);
}

.register-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem 0;
    color: var(--dark-navy);
}

.register-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.steps-container {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(25, 24, 59, 0.1);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-2px);
}

.step-icon {
    margin-right: 1rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-pastel-blue);
    border-radius: 50%;
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-navy);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-dark);
}

.register-actions {
    text-align: center;
    margin-top: 2rem;
}

.register-note {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.register-note a {
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 600;
}

.register-note a:hover {
    text-decoration: underline;
}

.register-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.register-images img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(25, 24, 59, 0.2);
    transition: transform 0.3s ease;
}

.register-images img:hover {
    transform: scale(1.02);
}

/* Login Section */
.login-section {
    padding: 4rem 0;
    background: var(--text-light);
}

.login-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.login-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-navy);
}

.login-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem 0;
    color: var(--dark-navy);
}

.login-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mid-tone-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.login-actions {
    text-align: center;
    margin-top: 2rem;
}

.login-note {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.login-note a {
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 600;
}

.login-note a:hover {
    text-decoration: underline;
}

.login-image {
    text-align: center;
}

.login-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(25, 24, 59, 0.2);
    transition: transform 0.3s ease;
}

.login-image img:hover {
    transform: scale(1.02);
}

/* Security Section */
.security-section {
    padding: 4rem 0;
    background: var(--light-pastel-blue);
}

.security-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--dark-navy);
}

.security-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
    color: var(--text-dark);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--very-light-blue);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-pastel-blue);
    border-radius: 10px;
    border-left: 4px solid var(--mid-tone-blue);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.faq-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--mid-tone-blue);
    color: var(--text-light);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Styles */
.footer {
    background: var(--dark-navy);
    color: var(--text-light);
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--light-pastel-blue);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--very-light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--light-pastel-blue);
}

.footer-section p {
    color: var(--very-light-blue);
    line-height: 1.6;
}

.footer-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--mid-tone-blue);
    padding-top: 1rem;
    text-align: center;
    color: var(--very-light-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-navy);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: block;
        text-align: center;
        min-width: 200px;
    }
    
    .nav-link:hover {
        background: rgba(161, 194, 189, 0.1);
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
    }
    
    .nav-menu {
        gap: 2.5rem;
        padding: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        min-width: 180px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero {
        padding: 4rem 0;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Registration and Login sections responsive */
    .register-section .container,
    .login-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .register-content h2,
    .login-content h2 {
        font-size: 1.8rem;
    }
    
    .register-content h3,
    .login-content h3 {
        font-size: 1.5rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: center;
    }
    
    .register-images {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .register-images img {
        max-width: 250px;
    }
    
    .login-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .login-image img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 0.6rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--light-pastel-blue);
    outline-offset: 2px;
}

/* Page-specific styles */
.page-hero {
    background: var(--mid-tone-blue);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.content-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--dark-navy);
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-wrapper ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Values grid for About page */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-item {
    background: var(--light-pastel-blue);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--mid-tone-blue);
}

.value-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.value-item p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Contact methods for Support page */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    background: var(--very-light-blue);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(25, 24, 59, 0.1);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-icon {
    margin-bottom: 1rem;
}

.contact-method h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.contact-method p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Support categories */
.support-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.category-item {
    background: var(--light-pastel-blue);
    padding: 1.5rem;
    border-radius: 10px;
}

.category-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.category-item ul {
    list-style: none;
    padding: 0;
}

.category-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--mid-tone-blue);
    color: var(--text-dark);
}

.category-item li:last-child {
    border-bottom: none;
}

/* Response times */
.response-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.response-item {
    background: var(--very-light-blue);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--light-pastel-blue);
}

.response-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-navy);
}

.response-item p {
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* 404 Error page styles */
.error-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--light-pastel-blue);
}

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

.error-image {
    margin-bottom: 2rem;
}

.error-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.helpful-links {
    margin: 3rem 0;
}

.helpful-links h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark-navy);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.help-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--very-light-blue);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-navy);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(25, 24, 59, 0.1);
}

.help-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(25, 24, 59, 0.15);
    color: var(--mid-tone-blue);
}

.help-link img {
    margin-bottom: 0.5rem;
}

.help-link span {
    font-weight: 500;
}

.search-suggestion {
    background: var(--very-light-blue);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(25, 24, 59, 0.1);
}

.search-suggestion h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.search-suggestion p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.search-suggestion ul {
    list-style: none;
    padding: 0;
}

.search-suggestion li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-pastel-blue);
}

.search-suggestion li:last-child {
    border-bottom: none;
}

.search-suggestion a {
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 500;
}

.search-suggestion a:hover {
    text-decoration: underline;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
