/* ABOUT PAGE STYLING
   Light, friendly, trustworthy presentation
   Matches approved homepage visual language
   Isolated scope: about.html only */

/* Override dark theme for about page */
body.about-page {
    background-color: #FFFFFF;
    color: #000000;
}

.about-page html {
    background-color: #FFFFFF;
}

/* Navbar coordinate with homepage */
.about-page .navbar-simple {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
}

/* Main container - light background */
.about-page main.container {
    background-color: #FFFFFF;
    color: #000000;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Page heading */
.about-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Section styling */
.about-page .article-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #F9F9F9;
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    line-height: 1.8;
}

.about-page .article-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.about-page .article-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin: 1.5rem 0 1rem 0;
    line-height: 1.3;
}

.about-page .article-section p {
    font-size: 1rem;
    color: #555555;
    margin: 0 0 1rem 0;
    line-height: 1.8;
}

.about-page .article-section p:last-of-type {
    margin-bottom: 0;
}

/* Lists */
.about-page .article-section ul {
    margin: 1rem 0 1rem 1.5rem;
    padding: 0;
    list-style: disc;
}

.about-page .article-section li {
    margin: 0.75rem 0;
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
}

.about-page .article-section strong {
    color: #000000;
    font-weight: 600;
}

/* Links within content */
.about-page .article-section a {
    color: #2B7A78;
    text-decoration: underline;
    font-weight: inherit;
    transition: color 0.3s ease;
}

.about-page .article-section a:hover {
    color: #1a5450;
    text-decoration: underline;
}

.about-page .article-section a:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
}

.about-page .article-section a:visited {
    color: #2B7A78;
}

/* Button styling within article sections */
.about-page .article-section .btn {
    margin-top: 1rem;
}

/* Section alternating accents (subtle) */
.about-page .article-section:nth-child(odd) {
    border-left: 4px solid #4ECDC4;
}

.about-page .article-section:nth-child(even) {
    border-left: 4px solid #FF6B6B;
}

.about-page .article-section:nth-child(3n) {
    border-left: 4px solid #FFB703;
}

/* Footer */
.about-page .footer {
    background-color: #F5F5F5;
    color: #555555;
    padding: 2rem;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-page .footer a {
    color: #4ECDC4;
    text-decoration: none;
}

.about-page .footer a:hover {
    text-decoration: underline;
}

/* Tablet adjustments */
@media (max-width: 1024px) {
    .about-page main.container {
        max-width: 100%;
        padding: 1.5rem;
    }

    .about-page .article-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-page h1 {
        font-size: 2rem;
    }

    .about-page .article-section h2 {
        font-size: 1.4rem;
    }

    .about-page .article-section h3 {
        font-size: 1.1rem;
    }

    .about-page .article-section p,
    .about-page .article-section li {
        font-size: 0.95rem;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .about-page main.container {
        padding: 1rem;
    }

    .about-page .article-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .about-page h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .about-page .article-section h2 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .about-page .article-section h3 {
        font-size: 1rem;
        margin: 1rem 0 0.75rem 0;
    }

    .about-page .article-section p {
        margin-bottom: 0.75rem;
    }

    .about-page .article-section ul {
        margin: 0.75rem 0 0.75rem 1.25rem;
    }

    .about-page .article-section li {
        margin: 0.5rem 0;
        font-size: 0.9rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .about-page main.container {
        padding: 0.75rem;
    }

    .about-page h1 {
        font-size: 1.5rem;
    }

    .about-page .article-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .about-page .article-section h2 {
        font-size: 1.1rem;
    }

    .about-page .article-section p,
    .about-page .article-section li {
        font-size: 0.9rem;
    }
}
