/* styles/about.css */

/* --- Main Container for About Page --- */
.about-container {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
    padding: 2rem 3rem;
    border: 1px solid var(--border-color);
    animation: fadeIn 0.8s ease-in-out;
}

/* --- Header Section of the About Page --- */
.about-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.about-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.dark-mode .about-header h1 {
    color: var(--accent-color);
}

.about-header .subtitle {
    font-size: 1.2rem;
    color: #555;
    font-weight: 400;
}

.dark-mode .about-header .subtitle {
    color: #aaa;
}

/* --- General Section Styling --- */
.about-section {
    margin-bottom: 2.5rem;
}

.about-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.dark-mode .about-section h2 {
    color: #a5d6a7;
}

.about-section p {
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.about-section a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted var(--accent-color);
    transition: all 0.3s ease;
}

.about-section a:hover {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.dark-mode .about-section a:hover {
    color: #fff;
    border-bottom-color: #fff;
}


/* --- Feature List Styling --- */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.feature-list .fa-check-circle {
    color: var(--accent-color);
    margin-right: 12px;
    margin-top: 5px;
    font-size: 1.2rem;
}

/* --- Mission Section Styling --- */
.mission-section {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 8px;
    border-left: 5px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.mission-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* --- Author Section Styling --- */
.author-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: rgba(44, 107, 47, 0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.dark-mode .author-section {
    background-color: rgba(165, 214, 167, 0.05);
}

.author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.author-details {
    flex: 1;
}

/* --- Contact & Signature Styling --- */
.contact-section .signature {
    margin-top: 2rem;
    font-style: italic;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .about-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2.2rem;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }

    .author-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .about-header .subtitle {
        font-size: 1rem;
    }
}
