.period-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background-color: rgba(30, 30, 30, 0.8);
    border-bottom: 3px solid #009736;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.period-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(206, 17, 38, 0.1), rgba(0, 151, 54, 0.1), rgba(255, 255, 255, 0.1));
    transition: all 0.6s ease;
    z-index: -1;
}

.period-header:hover::before {
    width: 100%;
}

.period-header h1 {
    color: #009736;
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.period-header h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ce1126, #009736, #ffffff);
    transition: all 0.4s ease;
}

.period-header:hover h1::after {
    width: 100%;
}

.period-header p {
    color: #ddd;
    font-size: 1.2em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

.period-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.period-content h2 {
    color: #009736;
    font-size: 2.2em;
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid #009736;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.period-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ce1126, #009736, #ffffff);
    transition: all 0.4s ease;
}

.period-content:hover h2::after {
    width: 100%;
}

.period-content h3 {
    color: #009736;
    font-size: 1.8em;
    margin-top: 35px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.period-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ce1126, #009736, #ffffff);
    transition: all 0.4s ease;
}

.period-content:hover h3::after {
    width: 100%;
}

.period-content p {
    color: #ddd;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.period-content p:hover {
    color: #fff;
}

.period-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.period-content ul li {
    color: #ddd;
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.period-content ul li:hover {
    color: #fff;
}

.period-content ul li strong {
    color: #ce1126;
}

/* Specific styles for quotes, testimonies, etc. */
.quote, .survivor-testimony, .historical-document, .military-order, .statistic, .un-report, .evidence {
    background-color: rgba(0, 151, 54, 0.1);
    border-left: 5px solid #009736;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 5px;
    font-style: italic;
    color: #ddd;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.quote::before, .survivor-testimony::before, .historical-document::before, 
.military-order::before, .statistic::before, .un-report::before, .evidence::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(206, 17, 38, 0.1), rgba(0, 151, 54, 0.1), rgba(255, 255, 255, 0.1));
    transition: all 0.6s ease;
    z-index: -1;
}

.quote:hover::before, .survivor-testimony:hover::before, .historical-document:hover::before, 
.military-order:hover::before, .statistic:hover::before, .un-report:hover::before, .evidence:hover::before {
    width: 100%;
}

.quote:hover, .survivor-testimony:hover, .historical-document:hover, 
.military-order:hover, .statistic:hover, .un-report:hover, .evidence:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.quote footer, .survivor-testimony footer {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    color: #fff;
}

.survivor-testimony .testimony-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.survivor-testimony .testimony {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(30, 30, 30, 0.7);
    padding: 20px;
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.survivor-testimony .testimony::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(206, 17, 38, 0.1), rgba(0, 151, 54, 0.1), rgba(255, 255, 255, 0.1));
    transition: all 0.6s ease;
    z-index: -1;
}

.survivor-testimony .testimony:hover::before {
    width: 100%;
}

.survivor-testimony .testimony:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.survivor-testimony .testimony img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #009736;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.survivor-testimony .testimony:hover img {
    transform: scale(1.1);
}

.survivor-testimony blockquote {
    margin: 0;
    padding: 0;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .period-header h1 {
        font-size: 2.5em;
    }

    .period-header p {
        font-size: 1.1em;
    }

    .period-content h2 {
        font-size: 1.8em;
    }

    .period-content h3 {
        font-size: 1.5em;
    }

    .period-content p, .period-content ul li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .period-header h1 {
        font-size: 2em;
    }

    .period-header p {
        font-size: 1em;
    }

    .period-content h2 {
        font-size: 1.6em;
    }

    .period-content h3 {
        font-size: 1.3em;
    }

    .survivor-testimony .testimony {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .survivor-testimony .testimony img {
        margin-bottom: 10px;
    }
}