/* --- VARIABLES FALLBACK --- */
/* Ensure these exist in your main style.css or uncomment here */
/* :root {
    --accent: #0071e3; 
    --padding-x: 5%;
} */

/* --- PAGE SETUP --- */
body.about-page {
    background-color: #0b0b0b;
    color: #f0f0f0;
}

/* Nav Override: Transparent Gradient */
body.about-page .nav {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%) !important;
    box-shadow: none !important;
}

/* --- MAIN LAYOUT --- */
.about-section {
    padding: 140px var(--padding-x, 5%) 80px;
    max-width: 1600px;
    margin: 0 auto;
}

/* --- HERO / BIO SECTION --- */
.bio-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-top: 20px;
}

/* Bio Image */
.bio-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6); 
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.9);
    display: block; /* Removes bottom space */
}

.bio-image img:hover {
    transform: scale(1.01);
    filter: brightness(1);
}

/* Bio Text */
.bio-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
}

.bio-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent, #0071e3);
    margin-bottom: 30px;
}

.bio-text p {
    font-size: 1.1rem;
    color: #bbbbbb;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.8;
}

/* --- ADDED THIS BLOCK FOR EMPHASIS --- */
.bio-text p strong {
    font-weight: 600;    /* SemiBold to contrast with Light (300) */
}

/* Resume Link */
.resume-link-container {
    margin-top: 30px;
}

.resume-link {
    display: inline-block;       
    text-decoration: none;
    font-weight: 600;
    color: white;
    border-bottom: 1px solid var(--accent, #0071e3);
    padding-bottom: 2px;
    transition: transform 0.3s ease;
}

.resume-link:hover {
    transform: translateX(5px); 
}

/* --- EXPERTISE SECTION --- */
.expertise-section {
    background-color: #111111; 
    margin-top: 50px;
    padding-top: 100px;
    padding-bottom: 150px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    color: white;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Skill Cards */
.skill-card {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent, #0071e3);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.1);
}

.skill-card h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.skill-card h4 i { 
    color: var(--accent, #0071e3); 
}

/* Lists */
.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    margin-bottom: 12px;
    color: #cccccc;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent, #0071e3);
    border-radius: 50%;
    opacity: 0.7;
    flex-shrink: 0;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .about-section {
        padding-top: 120px;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .bio-image { 
        order: -1; 
    }
    
    .bio-text h1 { 
        font-size: 2.5rem; 
    }
}