/* ================== */
/*   Глобальные стили */
/* ================== */
:root {
    --primary-color: #ff7f50; /* Мягкий оранжевый */
    --primary-color-dark: #e56a3f;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #555;
    --white-color: #ffffff;
    --border-radius: 12px;
    --transition-speed: 0.3s ease;
}
/* === ДОБАВЛЕНО: Стиль для выделения текста оранжевым цветом === */
.highlight-text {
    color: var(--primary-color);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* === ИЗМЕНЕНО: Добавлена компенсация высоты хедера при прокрутке по якорям === */
html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
    scroll-padding-top: 120px; 
}
body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--white-color); }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1140px; margin: 0 auto; }
section { padding: 80px 0; overflow: hidden; }
h2 { font-size: 2.25rem; color: var(--dark-color); margin-bottom: 20px; }
h3 { font-size: 1.5rem; color: var(--dark-color); margin-bottom: 15px; }
h4 { font-size: 1.2rem; color: var(--dark-color); margin-top: 20px; margin-bottom: 10px; }
.section-subtitle { max-width: 600px; margin: 0 auto 40px; }
.text-center { text-align: center; }
.btn { 
    display: inline-block; 
    padding: 12px 28px; 
    border-radius: 50px; 
    font-weight: 600; 
    text-transform: uppercase; 
    text-decoration: none;
    font-family: 'Montserrat', sans-serif; 
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed); 
    cursor: pointer; 
    border: none; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}
.btn-lg { padding: 15px 35px; font-size: 1.1rem; }
.btn-primary { background-color: var(--primary-color); color: var(--white-color); }
.btn-primary:hover { background-color: var(--primary-color-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4); }
.btn-secondary { background-color: var(--white-color); color: var(--dark-color); border: 2px solid var(--dark-color); }
.btn-secondary:hover { background-color: var(--dark-color); color: var(--white-color); }
.large-cta-button { padding: 18px 40px; font-size: 1.2rem; }

/* === Анимация для кнопок помощи === */
@keyframes pulse-orange { 0% { box-shadow: 0 0 0 0 rgba(255, 127, 80, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(255, 127, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 127, 80, 0); } }

/* === Анимация для пульсации текста === */
@keyframes pulse-text-orange {
  0% { text-shadow: 0 0 0 rgba(255, 127, 80, 0.7); }
  70% { text-shadow: 0 0 10px rgba(255, 127, 80, 0); }
  100% { text-shadow: 0 0 0 rgba(255, 127, 80, 0); }
}

.pulsing-text { animation-name: pulse-text-orange; animation-duration: 2s; animation-iteration-count: infinite; animation-timing-function: ease-out; }
.cta-button { animation: pulse-orange 2s infinite; }

/* === ДОБАВЛЕНО: Стиль для неактивных/завершенных кнопок === */
.btn.disabled {
    background-color: #b0bec5; /* Спокойный серый цвет */
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none; /* Полностью отключает клики */
    animation: none !important; /* Отключаем пульсацию, если она есть */
}
.btn.disabled:hover {
    background-color: #b0bec5;
    transform: none;
    box-shadow: none;
}

/* ================== */
/*        Хедер       */
/* ================== */
.header { background: var(--white-color); padding: 10px 0; position: fixed; width: 100%; top: 0; left: 0; z-index: 1000; transition: box-shadow var(--transition-speed), background-color var(--transition-speed); }
.header.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,0.1); background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px); }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { max-height: 100px; }
.nav-menu { display: none; }
.nav-menu ul { list-style: none; display: flex; align-items: center; }
.nav-menu li { margin-left: 30px; }
.nav-menu a { color: var(--dark-color); font-weight: 600; position: relative; padding-bottom: 5px; text-decoration: none; }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: var(--primary-color); transition: width var(--transition-speed); }
.nav-menu a:hover::after { width: 100%; }
.header-donate-btn { margin-left: 30px; }
.mobile-menu-toggle { display: none; width: 30px; height: 22px; position: relative; cursor: pointer; background: none; border: none; z-index: 1001; }
.mobile-menu-toggle span { display: block; position: absolute; height: 3px; width: 100%; background: var(--dark-color); border-radius: 3px; left: 0; transition: transform 0.3s, opacity 0.3s; }
.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:nth-child(3) { top: 18px; }
.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ================== */
/*    Первый экран    */
/* ================== */
.hero { position: relative; color: var(--white-color); height: 90vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; background: url('../img/main-background.jpg') no-repeat center center/cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); }
.hero-content { position: relative; }
.hero h1 { font-size: 3.5rem; }
.hero p { font-size: 1.25rem; margin-bottom: 40px; }

/* ================== */
/*      Секции      */
/* ================== */
.about-content { display: flex; align-items: center; gap: 50px; }
.about-image img { border-radius: var(--border-radius); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.goals-section { background: var(--light-color); }
.goals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px; }
.goal-item { text-align: center; padding: 20px; }
.goal-icon { color: var(--primary-color); margin-bottom: 15px; }
.goal-icon img { width: 50px; height: 50px; margin: 0 auto; }
.stories-section { background: var(--light-color); }

.stories-slider { perspective: 1500px; }
.stories-slider .swiper-slide { height: auto; cursor: pointer; opacity: 0.5; transition: opacity 0.4s ease; }
.stories-slider .swiper-slide-active { opacity: 1; }
.stories-slider .swiper-slide .story-card { pointer-events: none; }
.stories-slider .swiper-slide-active .story-card { pointer-events: auto; }

.story-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}
.story-card:hover {
    transform: translateZ(30px) rotateY(-3deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.story-card img { width: 100%; height: 200px; object-fit: cover; }
.story-card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.story-card-content h3 { margin-bottom: 10px; }
.story-card-need { font-size: 0.9rem; font-style: italic; color: var(--primary-color); margin-bottom: 15px; flex-grow: 1; }

.story-progress { margin-bottom: 20px; }
.progress-bar-track { background-color: #e9ecef; border-radius: 50px; height: 10px; width: 100%; overflow: hidden; margin-bottom: 8px; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, #ffb88c, var(--primary-color)); border-radius: 50px; transition: width 1.5s ease-out; }
.progress-info { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-color); }
.progress-info strong { color: var(--dark-color); font-weight: 700; }

.story-btn { 
    width: 100%; 
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed);
}
/* ИСПРАВЛЕНО: Эффект применяется только к кнопкам, у которых НЕТ класса .disabled */
.story-card:hover .story-btn:not(.disabled) {
    background-color: var(--primary-color-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.4);
}

.story-timer {
    background-color: rgba(255, 127, 80, 0.1);
    color: var(--primary-color-dark);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-align: center;
}
.timer-icon { display: inline-block; animation: tick-tock 2s infinite; }
@keyframes tick-tock {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

.volunteer-section { background: var(--dark-color); color: var(--white-color); text-align: center; padding: 60px 0; }
.volunteer-section h2 { color: var(--white-color); }
.volunteer-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.gallery-section { background: var(--white-color); }
.gallery-slider { padding: 10px 0; }
.gallery-slider .swiper-slide { opacity: 0.4; transform: scale(0.85); transition: opacity var(--transition-speed), transform var(--transition-speed); }
.gallery-slider .swiper-slide-active, .gallery-slider .swiper-slide-next, .gallery-slider .swiper-slide-prev { opacity: 1; transform: scale(1); }
.gallery-slider .swiper-slide img { width: 950px; height: 500px; object-fit: cover; border-radius: var(--border-radius); }
.share-section { background-color: var(--light-color); }

.share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; perspective: 1000px; }
.share-card { background: var(--white-color); border-radius: var(--border-radius); box-shadow: 0 5px 15px rgba(0,0,0,0.05); padding: 30px; text-align: center; transition: transform 0.4s ease, box-shadow 0.4s ease; transform-style: preserve-3d; }
.share-card:hover { transform: rotateY(var(--rotate-y, 15deg)) rotateX(var(--rotate-x, 10deg)) translateZ(20px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.share-icon { color: var(--primary-color); margin-bottom: 15px; }
.share-icon img { width: 75px; height: 75px; margin: 0 auto; }
.partners-section { background: var(--white-color); padding: 60px 0; }
.partners-slider .swiper-wrapper { align-items: center; }
.partners-slider .swiper-slide { text-align: center; }
.partners-slider img { max-height: 60px; filter: grayscale(100%); transition: filter var(--transition-speed); opacity: 0.7; }
.partners-slider img:hover { filter: grayscale(0%); opacity: 1; }
.contacts-section { background: var(--light-color); }
.team-slider .swiper-slide { cursor: pointer; }
.team-member { text-align: center; padding: 20px; }
.team-member img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform var(--transition-speed); }
.team-member:hover img { transform: scale(1.05); }
.team-member p { color: #777; }
.stories-pagination, .team-pagination { position: static; margin-top: 30px; }
.swiper-pagination-bullet-active { background-color: var(--primary-color); }
.contact-details { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 60px; padding: 40px; border-radius: var(--border-radius); background: var(--white-color); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.contact-info, .legal-info { flex: 1; min-width: 300px; }
.contact-info p, .legal-info p { margin-bottom: 10px; }
.map-container { margin-top: 40px; border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Стили для case.html и anketavolontera.html */
.documents-section, .form-section { padding: 120px 0 80px; }
.accordion { max-width: 800px; margin: 40px auto; }
.accordion-item { border: 1px solid #ddd; border-radius: var(--border-radius); margin-bottom: 10px; overflow: hidden; }
.accordion-header { width: 100%; background: var(--white-color); border: none; padding: 15px 20px; text-align: left; font-size: 1.1rem; font-weight: 600; color: var(--dark-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header::after { content: '+'; font-size: 1.5rem; transition: transform var(--transition-speed); }
.accordion-item.active .accordion-header::after { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; padding: 0 20px; position: relative;}
.accordion-item.active .accordion-content { max-height: 3000px; padding: 20px; }
.accordion-content table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.accordion-content td { padding: 10px; border: 1px solid #eee; }
.accordion-content td:first-child { font-weight: 600; width: 30%; }
.volunteer-form { max-width: 800px; margin: 40px auto; background: var(--white-color); padding: 40px; border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.form-group input[type="text"], .form-group input[type="date"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-family: 'Montserrat', sans-serif; transition: border-color 0.3s, box-shadow 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary-color); box-shadow: 0 0 5px rgba(255, 127, 80, 0.5); outline: none; }
.checkbox-group, .radio-group { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.checkbox-group label, .radio-group label { display: flex; align-items: center; gap: 5px; font-weight: normal; cursor: pointer; }
.consent-group span { font-size: 0.9rem; }
.form-submit { text-align: center; margin-top: 30px; }

/* ================== */
/*        Футер       */
/* ================== */
.footer { background: var(--dark-color); color: #ccc; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr; gap: 40px; }
.footer-logo { max-height: 150px; margin-bottom: 20px; }
.footer-about { font-size: 0.9rem; }
.footer-col h4 { color: var(--white-color); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #ccc; transition: color var(--transition-speed); text-decoration: none; }
.footer-col a:hover { color: var(--white-color); }
.newsletter-form { display: flex; }
.newsletter-form input { width: 100%; padding: 10px; border: 1px solid #555; background: #444; border-radius: 50px 0 0 50px; color: var(--white-color); border-right: none; }
.newsletter-form button { border-radius: 0 50px 50px 0; }
.social-links { display: flex; gap: 15px; margin-top: 15px; }
.social-links a svg { width: 24px; height: 24px; fill: #ccc; transition: fill var(--transition-speed), transform var(--transition-speed); }
.social-links a:hover svg { fill: var(--white-color); transform: scale(1.1); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #555; text-align: center; font-size: 0.9rem; }
.footer-bottom a { color: #ccc; }

/* ================== */
/*    Модальные окна  */
/* ================== */
.modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; padding: 40px; border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 1002; width: 90%; max-width: 700px; max-height: 90vh; overflow-y: auto; transition: transform 0.3s ease-out, opacity 0.3s ease-out; }
.modal.hidden { opacity: 0; transform: translate(-50%, -60%); pointer-events: none; }
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 1001; transition: opacity 0.3s ease-out; backdrop-filter: blur(5px); }
.overlay.hidden { opacity: 0; pointer-events: none; }
.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    line-height: 1;
    color: #aaa;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.close-modal-btn:hover {
    background-color: #f0f0f0;
}
#story-modal-body img { width: 98%; height: auto; max-height: 300px; object-fit: cover; border-radius: var(--border-radius); margin-bottom: 20px; }
#story-modal-body h3 { color: var(--primary-color); }

.modal-cta-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.modal-cta-block .btn-primary {
    margin-top: 0;
    flex-shrink: 0;
}
.timer-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.timer-main-label {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 8px;
    text-align: right;
    font-weight: 600;
}
.modal-countdown-timer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.modal-countdown-timer .time-block {
    background-color: var(--light-color);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #eee;
    min-width: 60px;
}
.modal-countdown-timer .time-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-color);
}
.modal-countdown-timer .time-label {
    font-size: 0.7rem;
    color: var(--text-color);
    text-transform: uppercase;
}

.modal-content-team { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.modal-content-team img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.team-modal-text #team-modal-title { color: #777; font-style: italic; margin-top: -15px; margin-bottom: 15px; }
.share-form, #event-helper-form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.share-form input, .share-form textarea, #event-helper-form input, #event-helper-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-family: 'Montserrat', sans-serif; }
.share-form button, #event-helper-form button { align-self: flex-start; }

/* ================== */
/*      Анимации      */
/* ================== */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ================== */
/*     Адаптивность   */
/* ================== */
@media (min-width: 769px) { .nav-menu { display: flex; } }
@media (max-width: 992px) {
    .share-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header-donate-btn { display: none; }
    .mobile-menu-toggle { display: block; }
    .nav-menu { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); justify-content: center; align-items: center; transform: translateX(100%); transition: transform 0.4s ease-in-out; }
    .menu-open .nav-menu { display: flex; transform: translateX(0); }
    .nav-menu ul { flex-direction: column; }
    .nav-menu li { margin: 20px 0; }
    .nav-menu li a { font-size: 1.5rem; font-weight: bold; text-align: center; }
	    
    .hero { align-items: flex-end; padding-bottom: 60px; }
    .hero h1 { font-size: 2.5rem; line-height: 1.2; }
    .about-content { flex-direction: column; }
    .share-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .contact-info, .legal-info { text-align: center; }
    .contact-item { justify-content: center; }

    .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #eee; border-radius: var(--border-radius); margin: 20px 0; }
    .accordion-content table { width: 100%; border-collapse: collapse; border-spacing: 0; }
    .accordion-content td { white-space: nowrap; padding: 12px; }
	
	h2 { font-size: 1.8rem; line-height: 1.3; }

    .document-actions { width: 100%; }
    .document-actions .btn { flex: 1; min-width: 0; padding: 12px 10px; font-size: 13px; }
	
	#pdf-modal { width: 98%; height: 95vh; padding: 10px; box-sizing: border-box; }
    .pdf-modal-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 10px; margin-right: 45px; }
    .pdf-modal-header h3 { font-size: 1rem; }
    #pdf-modal .btn { padding: 8px 16px; font-size: 0.8rem; }
    #pdf-modal .close-modal-btn { top: 5px; right: 5px; font-size: 2.5rem; }
}

@media (max-width: 620px) {
    .modal-cta-block { flex-direction: column; align-items: stretch; gap: 20px; }
    .timer-main-label { text-align: center; }
    .timer-wrapper { order: 1; }
    .modal-countdown-timer { justify-content: center; }
    .modal-cta-block .btn-primary { width: 100%; text-align: center; order: 2; }
}

@media (min-width: 768px) { .modal-content-team { flex-direction: row; text-align: left; align-items: flex-start; } }

.contact-link { color: #ff6600; text-decoration: none; transition: color 0.3s ease; }
.contact-link:hover { color: #e55c00; text-decoration: underline; }
.contact-item { display: flex; align-items: center; gap: 8px; }
.legal-link { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.legal-link:hover { color: #ff6600; text-decoration: underline; }

.form-group.is-invalid { border: 1px solid #e74c3c; border-radius: var(--border-radius); background-color: #fff5f5; padding: 15px; transition: all 0.3s ease; }
.form-group.is-invalid > label:first-child { color: #c0392b; font-weight: bold; }

.was-validated .form-group input:invalid,
.was-validated .form-group textarea:invalid { border-color: #e74c3c; }
.was-validated .form-group input:invalid:focus,
.was-validated .form-group textarea:invalid:focus { border-color: #c0392b; box-shadow: 0 0 5px rgba(224, 76, 60, 0.5); }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-text-on-scroll { color: var(--primary-color); display: inline-block; }
.reveal-text-on-scroll span { opacity: 0; display: inline-block; }
.is-visible .reveal-text-on-scroll span { animation: reveal-up 0.6s ease-out forwards; }
.is-visible .reveal-text-on-scroll span:nth-child(1) { animation-delay: 0.1s; }
.is-visible .reveal-text-on-scroll  span:nth-child(2) { animation-delay: 0.15s; }
.is-visible .reveal-text-on-scroll  span:nth-child(3) { animation-delay: 0.2s; }
.is-visible .reveal-text-on-scroll  span:nth-child(4) { animation-delay: 0.25s; }
.is-visible .reveal-text-on-scroll  span:nth-child(5) { animation-delay: 0.3s; }
.is-visible .reveal-text-on-scroll  span:nth-child(6) { animation-delay: 0.35s; }
.is-visible .reveal-text-on-scroll  span:nth-child(7) { animation-delay: 0.4s; }
.is-visible .reveal-text-on-scroll  span:nth-child(8) { animation-delay: 0.45s; }
.is-visible .reveal-text-on-scroll  span:nth-child(9) { animation-delay: 0.5s; }
.is-visible .reveal-text-on-scroll  span:nth-child(10) { animation-delay: 0.55s; }

#pdf-modal { max-width: 900px; width: 90%; height: 90vh; padding: 20px; display: flex; flex-direction: column; }
.pdf-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-shrink: 0; margin-right: 45px; }
.pdf-modal-header h3 { margin: 0; font-size: 1.2rem; color: var(--dark-color); }
.pdf-modal-body { flex-grow: 1; overflow: hidden; border: 1px solid #ddd; border-radius: var(--border-radius); }
.pdf-modal-body iframe { width: 100%; height: 100%; border: none; }
.document-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 15px; }
.document-actions .btn { min-width: 190px; text-align: center; font-size: 14px; }