/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    direction: rtl;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Accessibility Button */
.accessibility-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.accessibility-btn:hover {
    background-color: #333333;
    transform: scale(1.1);
}

/* Accessibility Panel */
.accessibility-panel {
    position: fixed;
    top: 80px;
    left: 20px;
    background-color: #ffffff;
    border: 2px solid #000000;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
    min-width: 250px;
}

.accessibility-panel.active {
    display: block;
}

.accessibility-panel h3 {
    margin-bottom: 15px;
    color: #000000;
}

.accessibility-controls {
    margin-bottom: 15px;
}

.accessibility-controls label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.accessibility-controls label:hover {
    background-color: #f0f0f0;
}

.accessibility-controls label i {
    margin-left: 10px;
    width: 20px;
    text-align: center;
    color: #000000;
}

.accessibility-controls input[type="checkbox"] {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.accessibility-panel button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.accessibility-panel button:hover {
    background-color: #333333;
}

/* High Contrast Mode */
body.high-contrast {
    background-color: #000000;
    color: #ffffff;
}

body.high-contrast .section {
    background-color: #000000;
    border-color: #ffffff;
}

body.high-contrast .flow-box {
    background-color: #ffffff;
    color: #000000;
    border-color: #000000;
}

/* Large Text Mode */
body.large-text {
    font-size: 1.25em;
}

body.large-text h1 {
    font-size: 2.5em;
}

body.large-text h2 {
    font-size: 2em;
}

body.large-text h3 {
    font-size: 1.75em;
}

/* Header */
.header {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.section {
    margin-bottom: 60px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #000000;
    border-bottom: 3px solid #000000;
    padding-bottom: 10px;
}

.section h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    margin-top: 20px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section h3 i {
    font-size: 0.9em;
    color: #000000;
}

.section p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Use Case Section */
.use-case {
    background-color: #fff9e6;
    border: 2px solid #000000;
}

.use-case-content {
    margin-top: 20px;
}

.feature-list {
    list-style: none;
    padding-right: 0;
    margin-top: 20px;
}

.feature-list li {
    padding: 15px;
    margin-bottom: 10px;
    background-color: #ffffff;
    border-right: 4px solid #000000;
    border-radius: 4px;
}

.feature-list li strong {
    color: #000000;
    display: block;
    margin-bottom: 5px;
}

/* Flowchart */
.flowchart-section {
    background-color: #f0f0f0;
}

.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
}

.flow-box {
    background-color: #ffffff;
    border: 3px solid #000000;
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-box i {
    font-size: 1.5em;
    margin-bottom: 5px;
    color: #000000;
}

.flow-box strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #000000;
}

.flow-box small {
    display: block;
    font-size: 0.85em;
    font-weight: normal;
    line-height: 1.4;
    color: #333333;
    margin-top: 3px;
}

.flow-box:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.flow-box.start {
    background-color: #90EE90;
    color: #000000;
}

.flow-box.end {
    background-color: #FFB6C1;
    color: #000000;
}

.flow-box.process {
    background-color: #87CEEB;
    color: #000000;
}

.flow-box.decision {
    background-color: #FFD700;
    color: #000000;
    border-radius: 50px;
}

.flow-arrow {
    font-size: 1.5em;
    color: #000000;
    margin: 15px 0;
    font-weight: bold;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background-color: #ffffff;
    border: 2px solid #000000;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #000000;
    font-size: 1.3em;
}

.feature-card p {
    color: #333333;
    font-size: 1em;
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CTA Section */
.cta-section {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #ffffff;
    color: #000000;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    border: 3px solid #000000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-button i {
    font-size: 1.1em;
}

.cta-button:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Disclaimer */
.disclaimer {
    background-color: #fff9e6;
    border: 2px solid #000000;
}

.disclaimer-content {
    margin-top: 20px;
}

.disclaimer-content p {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffffff;
    border-right: 4px solid #000000;
    border-radius: 4px;
}

.disclaimer-content strong {
    color: #000000;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1em;
}

.footer p i {
    font-size: 1.1em;
}

.footer strong {
    font-size: 1.3em;
    font-weight: bold;
}

.copyright {
    font-size: 0.95em;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copyright i {
    font-size: 0.9em;
}

/* Responsive Design */

/* Tablet and smaller desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .section {
        padding: 25px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .header {
        padding: 30px 0;
    }
    
    .header h1 {
        font-size: 1.8em;
        padding: 0 15px;
    }
    
    .subtitle {
        font-size: 1em;
        padding: 0 15px;
    }
    
    .main-content {
        padding: 30px 0;
    }
    
    .section {
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .section h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    
    .section h3 {
        font-size: 1.3em;
    }
    
    .section p {
        font-size: 1em;
    }
    
    .flow-box {
        min-width: 200px;
        max-width: 100%;
        padding: 15px 12px;
        font-size: 0.9em;
        width: 100%;
    }
    
    .flow-box i {
        font-size: 1.3em;
    }
    
    .flow-box strong {
        font-size: 1em;
    }
    
    .flow-box small {
        font-size: 0.8em;
    }
    
    .flow-step {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-list li {
        padding: 12px;
        font-size: 0.95em;
    }
    
    .accessibility-btn {
        width: 45px;
        height: 45px;
        top: 15px;
        left: 15px;
        font-size: 0.9em;
    }
    
    .accessibility-panel {
        top: 70px;
        left: 15px;
        right: 15px;
        min-width: auto;
        max-width: calc(100% - 30px);
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
        width: 100%;
        max-width: 300px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer p {
        font-size: 1em;
        flex-wrap: wrap;
        text-align: center;
    }
    
    .footer-partners {
        padding: 0 15px;
    }
    
    .footer-partners p {
        font-size: 0.85em;
        line-height: 1.6;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 25px 0;
    }
    
    .header h1 {
        font-size: 1.5em;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .subtitle {
        font-size: 0.9em;
        padding: 0 10px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .section {
        padding: 15px;
        margin-bottom: 30px;
        border-radius: 6px;
    }
    
    .section h2 {
        font-size: 1.3em;
        margin-bottom: 12px;
        padding-bottom: 8px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    
    .section h2 i {
        font-size: 0.9em;
    }
    
    .section h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    .section p {
        font-size: 0.95em;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .flow-box {
        min-width: auto;
        width: 100%;
        padding: 12px 10px;
        font-size: 0.85em;
        border-width: 2px;
    }
    
    .flow-box i {
        font-size: 1.2em;
    }
    
    .flow-box strong {
        font-size: 0.95em;
    }
    
    .flow-box small {
        font-size: 0.75em;
        line-height: 1.3;
    }
    
    .flow-arrow {
        font-size: 1.2em;
        margin: 10px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 18px;
    }
    
    .feature-card h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.9em;
    }
    
    .feature-icon {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .feature-list li {
        padding: 10px;
        margin-bottom: 8px;
        font-size: 0.9em;
    }
    
    .feature-list li i {
        font-size: 1em;
    }
    
    .cta-section {
        padding: 20px 15px;
    }
    
    .cta-section h2 {
        font-size: 1.3em;
    }
    
    .cta-section p {
        font-size: 1em;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .disclaimer-content p {
        padding: 12px;
        margin-bottom: 15px;
        font-size: 0.9em;
    }
    
    .disclaimer-content strong {
        font-size: 1em;
    }
    
    .accessibility-btn {
        width: 40px;
        height: 40px;
        top: 10px;
        left: 10px;
        font-size: 0.85em;
    }
    
    .accessibility-panel {
        top: 60px;
        left: 10px;
        right: 10px;
        padding: 15px;
        max-width: calc(100% - 20px);
    }
    
    .footer {
        padding: 25px 0;
    }
    
    .footer p {
        font-size: 0.9em;
        margin-bottom: 10px;
        padding: 0 10px;
    }
    
    .footer strong {
        font-size: 1.1em;
    }
    
    .copyright {
        font-size: 0.85em;
    }
    
    .footer-partners {
        margin-top: 15px;
        padding-top: 15px;
        padding: 15px 10px 0;
    }
    
    .footer-partners p {
        font-size: 0.8em;
        line-height: 1.5;
    }
}

/* Very small mobile */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .header h1 {
        font-size: 1.3em;
    }
    
    .section {
        padding: 12px;
    }
    
    .section h2 {
        font-size: 1.2em;
    }
    
    .flow-box {
        padding: 10px 8px;
        font-size: 0.8em;
    }
    
    .flow-box i {
        font-size: 1.1em;
    }
    
    .flow-box strong {
        font-size: 0.9em;
    }
    
    .flow-box small {
        font-size: 0.7em;
        line-height: 1.2;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 20px 0;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .section {
        padding: 18px;
        margin-bottom: 25px;
    }
}

/* Print styles */
@media print {
    .accessibility-btn,
    .accessibility-panel,
    .cta-section {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Screen Reader Support */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

