/* About page modern styling */
.about-fieldset {
    border: none;
    padding: 0;
    margin: 2rem 0;
}

.about-fieldset legend {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-paragraph {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

/* Add a slight staggered animation using delay with nth-child */
.about-paragraph:nth-child(1) { animation-delay: 0.1s; }
.about-paragraph:nth-child(2) { animation-delay: 0.2s; }
.about-paragraph:nth-child(3) { animation-delay: 0.3s; }
.about-paragraph:nth-child(4) { animation-delay: 0.4s; }
.about-paragraph:nth-child(5) { animation-delay: 0.5s; }
.about-paragraph:nth-child(6) { animation-delay: 0.6s; }
.about-paragraph:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.about-download {
    text-align: center;
    margin-top: 2rem;
}

.about-download .cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-download .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.about-download .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* space between icon and text */
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-download .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.moodle-link {
    color: inherit;
/*     text-decoration: none; */
    transition: color 0.3s;
}

.moodle-link:hover {
    color: #007BFF;
    text-decoration: underline;
}
