/* accessibility.css - Styles specific to the Accessibility page */
/* ----- Hero Section ----- */
/* ----- Hero Section ----- */
.hero-section {
    position: relative;
    min-height: 30vh;

    /* Reduced from 40vh */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-4) 0 var(--space-4);

    /* Reduced from space-16 and space-10 */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.neural-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(85, 85, 155, 0.1) 1px, transparent 1px),
                     linear-gradient(to bottom, rgba(85, 85, 155, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out forwards;
    padding-top: var(--space-10);

    /* Added padding to maintain some space from header */
}

/* Rest of the hero styles remain the same */
.hero-title {
    font-size: var(--text-5xl);
    line-height: 1.1;
    margin-bottom: var(--space-4);
    background: linear-gradient(to right, var(--text-white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--text-light);
    margin-bottom: var(--space-6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* You may also need to reduce the spacing for the first content section */
.content-section:first-of-type {
    padding-top: var(--space-6);

    /* Reduced padding for first section */
}

/* ^You may also need to reduce the spacing for the first content section */
/* Reduce space between hero and first content section */
#introduction {
    padding-top: var(--space-4);

    /* Significantly reduced top padding */
}

/* Or target the first content section generally */
.content-section:first-of-type {
    padding-top: var(--space-4);

    /* Reduced padding for first content section */
}

/* You can also reduce bottom padding of hero section if needed */
.hero-section {
    padding-bottom: var(--space-4);
}

/* ----- Content Sections ----- */
.content-section {
    position: relative;
    padding: var(--space-12) 0;
    overflow: hidden;
}

.content-section.alternate-bg {
    background-color: var(--surface);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
    color: var(--text-white);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width var(--transition-base);
}

.section-title:hover::after {
    width: 100px;
}

.content-wrapper p {
    color: var(--text-light);
    font-size: var(--text-lg);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.content-wrapper a {
    color: var(--secondary);
    transition: color var(--transition-base);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-wrapper a:hover {
    color: var(--secondary-light);
}

.content-wrapper ul {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.content-wrapper li {
    color: var(--text-light);
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

/* ----- Standards Section ----- */
.standards-list {
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

.list-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
    color: var(--text-white);
}

.standards-list ul {
    margin-bottom: 0;
}

.standards-list li strong {
    color: var(--secondary);
}

/* ----- Features Section ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.feature-card {
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    transition: all var(--transition-base);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(98, 0, 238, 0.1);
    border-radius: 50%;
    margin-bottom: var(--space-4);
    color: var(--secondary);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--text-white);
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--text-white);
}

.feature-description {
    color: var(--text-light);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* ----- Feedback Section ----- */
.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.contact-option {
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    transition: all var(--transition-base);
    text-align: center;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary);
}

.option-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
    color: var(--text-white);
}

.contact-option p {
    margin-bottom: 0;
    font-size: var(--text-base);
}

/* ----- Improvement Section ----- */
.improvement-process {
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin: var(--space-6) 0;
}

.process-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
    color: var(--text-white);
}

.process-list {
    margin-bottom: 0;
}

.process-list li {
    position: relative;
    padding-left: var(--space-2);
}

.process-list li::before {
    content: '→';
    position: absolute;
    left: calc(var(--space-6) * -1);
    color: var(--secondary);
}

/* ----- Resources Section ----- */
.resources-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.resources-list li {
    background-color: rgba(18, 18, 40, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    transition: all var(--transition-base);
    list-style-type: none;
}

.resources-list li:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.resources-list a {
    display: block;
    text-decoration: none;
    font-weight: 500;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ----- Responsive Styles ----- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: var(--text-4xl);
    }

    .section-title {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 992px) {
    .features-grid,
        .contact-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .resources-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .content-wrapper p {
        font-size: var(--text-base);
    }

    .features-grid,
        .contact-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: var(--text-2xl);
    }

    .section-title {
        font-size: var(--text-xl);
    }

    .standards-list,
        .improvement-process {
        padding: var(--space-4);
    }

    .process-list li::before {
        left: calc(var(--space-4) * -1);
    }
}