/* About Page Styles */

.about-section {
    padding-top: 8rem; /* Clear fixed header */
    padding-bottom: 4rem;
    background: linear-gradient(135deg, var(--background-light), var(--section-gradient-end));
}

.about-section h1 {
    font-family: 'MedievalSharp', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(74, 105, 189, 0.12);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(74, 105, 189, 0.12);
}

.about-card h2 {
    font-family: 'MedievalSharp', cursive;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-card h2 i {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 105, 189, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.about-card p {
    margin-bottom: 0;
    line-height: 1.7;
    color: var(--text-dark);
}

.about-card ul {
    list-style-type: none;
    padding-left: 0;
}

.about-card li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.about-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    top: 0.25rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .about-section {
        padding-top: 7rem;
    }

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

    .about-card {
        padding: 1.5rem;
        border-left-width: 3px;
    }

    .about-card h2 {
        font-size: 1.3rem;
    }

    .about-card h2 i {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 6rem 0.75rem 2rem;
    }

    .about-section h1 {
        font-size: 1.6rem;
    }

    .about-card {
        padding: 1.25rem;
    }
}

/* Dark mode styles */
.dark .about-section {
    background: linear-gradient(135deg, var(--background-dark), var(--section-dark-end));
}

.dark .about-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 105, 189, 0.2);
    border-left-color: var(--primary-color);
}

.dark .about-card h2 {
    color: var(--primary-color-light, var(--primary-color));
}

.dark .about-card h2 i {
    background: rgba(74, 105, 189, 0.2);
}

.dark .about-card p,
.dark .about-card li {
    color: var(--text-secondary);
}
