/* Resource Design Hierarchy Colours */
:root {
    --cherry: #7B0B1B;      /* Section headers, Critical warnings, Key actions */
    --teal: #2A9D8F;        /* Explanatory text, Diagrams, Neurodiversity elements */
    --gold: #E9C46A;        /* Solution boxes, Progress trackers, Positive reinforcement */
    --canvas: #F8F5F0;      /* Worksheet backgrounds, Printable resource bases */
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #fafafa;
    min-height: 100vh;
    color: #2c3e50;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--cherry), #5a0814);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.header::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 ease-in-out infinite;
}

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.logo-image {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Brain Progress Indicator */
.progress-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: none;
    text-align: center;
    border: 1px solid #e9ecef;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brain-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.brain-progress svg {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* Brain paths */
.brain-path {
    transition: opacity 0.8s ease, fill 0.5s ease;
    opacity: 0.3;
}

.brain-path.active {
    opacity: 1;
    fill: #2A9D8F;
    filter: drop-shadow(0 0 8px #2A9D8F);
    animation: brainPathGlow 2s ease-in-out infinite alternate;
}

.brain-path.active:nth-child(even) {
    fill: #E9C46A;
    filter: drop-shadow(0 0 8px #E9C46A);
}

@keyframes brainPathGlow {
    0% {
        filter: drop-shadow(0 0 4px currentColor);
    }
    100% {
        filter: drop-shadow(0 0 12px currentColor) drop-shadow(0 0 16px currentColor);
    }
}

/* Completion state */
.brain-progress.completed .brain-path {
    opacity: 1;
    fill: #E9C46A;
    filter: drop-shadow(0 0 8px #E9C46A);
    animation: completionGlow 2s ease-in-out infinite alternate;
}

@keyframes completionGlow {
    0% {
        opacity: 0.8;
        filter: drop-shadow(0 0 4px rgba(233, 196, 106, 0.6));
    }
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(233, 196, 106, 0.8)) drop-shadow(0 0 16px rgba(233, 196, 106, 0.4));
    }
}

.progress-text {
    text-align: center;
    font-weight: 500;
    color: #666;
    position: relative;
    z-index: 3;
}

/* Question Container */
.question-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Welcome Screen */
.welcome-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.welcome-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 30px;
}

/* Barriers Showcase - Orbital Design */
.barriers-showcase {
    margin: 40px 0;
    position: relative;
}

.showcase-title {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.title-accent {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cherry);
    letter-spacing: -0.5px;
}

.title-subtitle {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
}

.barriers-orbit {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-center {
    position: absolute;
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #e9ecef;
    z-index: 10;
}

@keyframes centerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.center-icon {
    font-size: 2.2rem;
    color: var(--cherry);
    margin-bottom: 12px;
}

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

.center-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cherry);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.center-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orbit-ring {
    position: absolute;
    width: 100%;
    height: 100%;
}

.barrier-orbital {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-250px) rotate(calc(-1 * var(--angle)));
    width: 160px;
    height: 160px;
}

.orbital-card {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
}

.orbital-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(123, 11, 27, 0.08);
    border-color: var(--cherry);
}

.orbital-card:hover .orbital-glow {
    opacity: 1;
    transform: scale(1.2);
}

.orbital-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #e9ecef;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.orbital-card:hover .orbital-bg-icon {
    color: var(--cherry);
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.05);
}

.orbital-content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.orbital-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cherry);
    margin-bottom: 6px;
    line-height: 1.2;
}

.orbital-content p {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
}

.orbital-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(233, 196, 106, 0.3) 0%, transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Responsive adjustments for orbital design */
@media (max-width: 768px) {
    .barriers-orbit {
        width: 400px;
        height: 400px;
    }
    
    .orbit-center {
        width: 150px;
        height: 150px;
    }
    
    .center-icon {
        font-size: 2rem;
    }
    
    .center-title {
        font-size: 1rem;
    }
    
    .center-subtitle {
        font-size: 0.8rem;
    }
    
    .barrier-orbital {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-170px) rotate(calc(-1 * var(--angle)));
        width: 140px;
        height: 140px;
    }
    
    .orbital-card {
        padding: 16px 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .orbital-bg-icon {
        font-size: 3rem;
    }
    
    .orbital-content h4 {
        font-size: 0.95rem;
        margin-bottom: 4px;
        text-shadow: 
            -1px -1px 0 var(--canvas),
            -1px 1px 0 var(--canvas),
            1px -1px 0 var(--canvas),
            1px 1px 0 var(--canvas);
    }
    
    .orbital-content p {
        font-size: 0.75rem;
        text-shadow: 
            -1px -1px 0 var(--canvas),
            -1px 1px 0 var(--canvas),
            1px -1px 0 var(--canvas),
            1px 1px 0 var(--canvas);
    }
    
    .title-accent {
        font-size: 1.8rem;
    }
}

.welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.welcome-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.barriers-preview {
    margin-bottom: 40px;
}

.barriers-preview h3 {
    margin-bottom: 20px;
    color: #333;
}



/* Question Screen */
.question-content {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.question-content h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.5;
}

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

.option {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    overflow: hidden;
}

.option:hover {
    border-color: var(--teal);
    background: var(--canvas);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.1);
}

.option.selected {
    border-color: var(--cherry);
    background: linear-gradient(135deg, var(--cherry), var(--teal));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 11, 27, 0.3);
}

.option-number {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.option.selected .option-number {
    background: white;
    color: #667eea;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: var(--cherry);
    color: white;
    box-shadow: 0 2px 8px rgba(123, 11, 27, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 11, 27, 0.3);
    background: #5a0814;
}

.btn-secondary {
    background: white;
    color: var(--cherry);
    border: 2px solid var(--cherry);
}

.btn-secondary:hover {
    background: var(--cherry);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 11, 27, 0.3);
}

/* Certificate-Style Report Screen */
.certificate-container {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.certificate-border {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

/* Subtle background pattern */
.neural-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--cherry) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, var(--teal) 2px, transparent 2px);
    background-size: 50px 50px;
}

/* Hide neural network and brain progress on certificate page */
.report-screen .neural-network {
    display: none;
}

.report-screen .progress-container {
    display: none;
}





.certificate-content {
    background: white;
    border-radius: 16px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.certificate-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cherry), var(--teal));
}

/* Certificate Header */
.certificate-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #f0f0f0;
    position: relative;
}

.certificate-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--cherry), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(123, 11, 27, 0.3);
    overflow: hidden;
}

.certificate-logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.certificate-title {
    text-align: center;
    flex: 1;
    margin: 0 30px;
}

.certificate-title h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.certificate-subtitle {
    font-size: 1.2rem;
    color: var(--cherry);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certificate-seal {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(233, 196, 106, 0.3);
}

/* Certificate Body */
.certificate-body {
    margin-bottom: 40px;
}

.certificate-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--canvas);
    border-radius: 10px;
    border-left: 5px solid var(--teal);
}

.certificate-intro p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Assessment Results */
.assessment-results {
    margin-bottom: 40px;
}

.assessment-results h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--cherry);
    padding-bottom: 10px;
}

.primary-barrier-certificate {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--canvas), #e8f2ff);
    border-radius: 15px;
    border: 2px solid var(--cherry);
    position: relative;
}

.barrier-seal {
    flex-shrink: 0;
}

.barrier-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--cherry), var(--teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 15px 30px rgba(123, 11, 27, 0.3);
}

.barrier-details h3 {
    font-size: 1.2rem;
    color: var(--cherry);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.barrier-details h4 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.barrier-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-style: italic;
    padding: 10px;
    background: rgba(123, 11, 27, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--cherry);
}

.score-certificate {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.95rem;
}

.score-value {
    font-weight: 700;
    color: var(--cherry);
    font-size: 1.2rem;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--cherry);
    box-shadow: 0 2px 4px rgba(123, 11, 27, 0.1);
}

/* All Barriers Breakdown */
.all-barriers-breakdown {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.all-barriers-breakdown h3 {
    font-size: 1.6rem;
    color: var(--cherry);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.radar-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid #e9ecef;
}

.radar-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cherry), var(--teal));
    border-radius: 16px 16px 0 0;
}

.radar-chart-container canvas {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* Mobile responsiveness for radar chart */
@media (max-width: 768px) {
    .radar-chart-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .radar-chart-container canvas {
        max-width: 90%;
    }
}

.barriers-grid-certificate {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.barrier-score-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.barrier-score-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(123, 11, 27, 0.08);
    border-color: var(--cherry);
}

.barrier-score-card.primary {
    background: white;
    color: #2c3e50;
    border-color: var(--cherry);
    box-shadow: 0 4px 16px rgba(123, 11, 27, 0.12);
}

.barrier-score-card.primary .barrier-score-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.barrier-score-card.primary .barrier-score-name,
.barrier-score-card.primary .barrier-score-value {
    color: white;
}

.barrier-score-card.primary .barrier-score-description {
    color: rgba(255, 255, 255, 0.9);
}

.barrier-score-icon {
    width: 48px;
    height: 48px;
    background: var(--cherry);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(123, 11, 27, 0.2);
}

.barrier-score-details {
    flex: 1;
    min-width: 0;
}

.barrier-score-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cherry);
    margin-bottom: 6px;
}

.barrier-score-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.4;
}

.barrier-score-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cherry);
    background: rgba(123, 11, 27, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Expert Insight */
.expert-insight {
    margin-bottom: 40px;
}

.expert-insight h2 {
    font-size: 1.6rem;
    color: var(--cherry);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.insight-certificate {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    border-radius: 15px;
    border: 2px solid #ffc107;
}

.insight-icon {
    width: 56px;
    height: 56px;
    background: var(--cherry);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(123, 11, 27, 0.2);
}

.insight-content h3 {
    font-size: 1.2rem;
    color: var(--cherry);
    margin-bottom: 16px;
    font-weight: 600;
}

.insight-content p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Recommendations */
.recommendations {
    margin-bottom: 40px;
}

.recommendations h2 {
    font-size: 1.6rem;
    color: var(--cherry);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.video-recommendation {
    margin-bottom: 30px;
}

.video-recommendation h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.video-certificate {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    background: linear-gradient(135deg, var(--canvas), #e8f2ff);
    border-radius: 15px;
    border: 2px solid var(--teal);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-certificate:hover {
    transform: translateY(-2px);
}

.video-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--teal), #42a5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.video-details h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.video-details p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.action-plan-certificate h3 {
    font-size: 1.3rem;
    color: var(--cherry);
    margin-bottom: 24px;
    font-weight: 600;
}

.action-steps-certificate {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.action-step-certificate {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.step-number-certificate {
    width: 32px;
    height: 32px;
    background: var(--cherry);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(123, 11, 27, 0.2);
}

.step-text-certificate {
    color: #2c3e50;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Certificate Footer */
.certificate-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.certificate-meta {
    flex: 1;
}

.certificate-meta p {
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

.certificate-meta strong {
    color: #2c3e50;
}

.certificate-signature {
    text-align: center;
    flex-shrink: 0;
    margin-left: 40px;
}

.signature-line {
    width: 200px;
    height: 2px;
    background: var(--cherry);
    margin-bottom: 12px;
}

.certificate-signature p {
    margin: 0;
    font-weight: 600;
    color: var(--cherry);
}

.signature-title {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 400;
}

/* Certificate Actions */
.certificate-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .welcome-logo {
        width: 100px;
        height: 100px;
    }
    
    .certificate-logo-image {
        width: 50px;
        height: 50px;
    }
    
    .question-container {
        padding: 25px;
    }
    
    .barriers-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .barrier-card {
        flex-direction: column;
        text-align: center;
    }
    
    .report-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-container > div {
    animation: fadeIn 0.5s ease;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    border-left: 4px solid var(--teal);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: #4caf50;
}

.notification-error {
    border-left-color: #f44336;
}

.notification-info {
    border-left-color: var(--teal);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-content i {
    font-size: 1.2rem;
}

.notification-success .notification-content i {
    color: #4caf50;
}

.notification-error .notification-content i {
    color: #f44336;
}

.notification-info .notification-content i {
    color: var(--teal);
}

.notification-content span {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* CTA Section Styles */
.cta-section-report {
    background: white;
    border-radius: 16px;
    padding: 60px 40px;
    margin: 40px 0;
    color: #2c3e50;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.cta-section-report::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cherry), var(--teal));
}

.cta-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--cherry);
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #6c757d;
    line-height: 1.6;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6c757d;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cherry);
    background: white;
    box-shadow: 0 0 0 3px rgba(123, 11, 27, 0.1);
}

.form-group select option {
    background: var(--cherry);
    color: white;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.form-actions .btn {
    background: var(--cherry);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.form-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 11, 27, 0.3);
    background: #5a0814;
}

/* Responsive design for CTA section */
@media (max-width: 768px) {
    .cta-section-report {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}
