/**
 * Text Visibility Enhancements
 * Improves readability and contrast for text elements
 */

/* Paragraph text improvements */
p {
    line-height: 1.7;
    color: #eee4e4;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
    margin-bottom: 1.2em;
}

/* Additional improvements for text against transparent backgrounds */
section p {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Section text improvements */
.section-header p {
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    color: var(--accent-color);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}
.about-text p {
    color: #333;
  
}

.section-header h2 {
    font-weight: 700;
    color: var(--dark-text);
    position: relative;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
}

/* Course content text improvements */
.course-content p {
    font-size: 1rem;
    color: #333;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.course-features li {
    margin-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

/* Testimonial content improvements */
.testimonial-content {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
    color: #333;
    font-style: italic;
    line-height: 1.7;
    text-shadow: none;
}

/* About section text improvements */
.about-text p {
    background-color: rgba(248, 224, 224, 0.7);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-features li {
    margin-bottom: 0.6rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--primary-color);
    color: #000000; /* Setting text color to black */
    font-weight: 500; /* Adding some weight for better readability */
}

/* Hero text improvements */
.hero-content {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

/* Contact form text improvements */
.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Footer text improvements */
.footer-column ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-column h3 {
    color: var(--primary-color);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
