/*
 * about.css - about page styles
 * Layout, cards and contact details of the about page
 */

/* about page container */
.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* about cards */
.about-card {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--box-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-lg);
}

.about-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.about-card h3 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.about-card p {
    color: var(--light-text);
    line-height: 1.75;
    font-size: 0.93rem;
    margin-bottom: 1rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card ul {
    list-style: none;
    padding: 0;
}

.about-card ul li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
    color: var(--text-color);
    font-size: 0.93rem;
}

.about-card ul li:last-child {
    margin-bottom: 0;
}

.about-card ul li i {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

/* contact information */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
    color: var(--text-color);
    font-size: 0.93rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info p i {
    color: var(--primary-color);
    font-size: 0.95rem;
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 1px;
    word-break: break-all;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* responsive */
@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 1.25rem;
    }
}
