/* About Section */
.about-container {
    padding: 3rem 5%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--accent-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.about-card h3 {
    font-size: 1.8rem;
    color: var(--text-cream);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #2a3245;
    padding-bottom: 0.5rem;
}

.about-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* Profile Section Layout */
.profile-wrapper {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-direction: row-reverse; /* Put image on the right */
}

.profile-pic-container {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.profile-text {
    flex-grow: 1;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-item {
    background-color: var(--bg-dark);
    padding: 1rem;
    border-radius: 4px;
    border-left: 3px solid var(--accent-blue);
    color: var(--text-cream);
    font-weight: bold;
}

/* Education and Credentials */
.credentials-section {
    background-color: var(--bg-card);
    padding: 2rem 2.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--accent-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.credentials-section h3 {
    font-size: 1.8rem;
    color: var(--text-cream);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2a3245;
}

/* Holds the individual credential boxes */
.credentials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Two credential boxes per row */
.credential-box {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 260px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;

    padding: 1rem 1.25rem;
    min-height: 60px;

    background-color: var(--bg-dark);
    border: 1px solid #2a3245;
    border-radius: 8px;

    color: var(--text-cream);
    font-weight: 600;
}

.credential-box i {
    color: var(--accent-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Stack on small screens */
@media (max-width: 650px) {
    .credential-box {
        flex-basis: 100%;
        min-width: 100%;
    }
}