/* IMPORT MODERN FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

/* RESET & CORE TYPOGRAPHY */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.8; 
    color: #2d3748; 
    background-color: #f7fafc;
}
h1, h2, h3 { color: #1a202c; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* UTILITIES */
.container { max-width: 1000px; margin: 0 auto; padding: 6rem 2rem; }
.bg-light { background-color: #ffffff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }

/* MODERN BUTTONS */
.btn { 
    display: inline-block; 
    background: #2b6cb0; 
    color: #fff; 
    padding: 0.8rem 2rem; 
    border-radius: 5px; 
    font-weight: 600; 
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.btn:hover { background: #2c5282; transform: translateY(-1px); }
.btn-outline { 
    background: transparent; 
    border: 2px solid #2b6cb0; 
    color: #2b6cb0; 
    margin-left: 10px;
}
.btn-outline:hover { background: #2b6cb0; color: #fff; }

/* HIGH CONTRAST NAVIGATION */
nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background-color: #000000; /* Pure Black for max contrast */
    padding: 1rem 5%; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    border-bottom: 3px solid #007bff; /* a pop of color to separate nav from page */
}
.logo { 
    color: #ffffff; 
    font-weight: 900; 
    font-size: 1.4rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
}
.nav-links { display: flex; gap: 30px; }

/* FORCE LINKS TO BE WHITE (Not Blue) */
.nav-links a { 
    color: #ffffff !important; /* Force White */
    font-size: 1rem; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-links a:hover { 
    color: #007bff !important; /* Bright Blue only on hover */
    text-decoration: underline;
}

/* HIGH CONTRAST HERO SECTION */
.hero-section { 
    height: 70vh; 
    /* Dark Slate Background - No Image needed, cleaner look */
    background-color: #1a202c; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 0 20px;
}

.hero-content h1 { 
    color: #ffffff; /* Pure White */
    font-size: 3.5rem; 
    margin-bottom: 1.5rem; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Drop shadow makes text pop */
}

.hero-content p { 
    color: #e2e8f0; /* Very light grey/white */
    font-size: 1.5rem; 
    margin-bottom: 2.5rem; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    font-weight: 400;
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero-content p { font-size: 1.25rem; margin-bottom: 2.5rem; color: #cbd5e0; max-width: 600px; margin-left: auto; margin-right: auto; }

/* BIO SECTION - FIXED THE GIANT IMAGE */
.bio-grid { 
    display: grid; 
    grid-template-columns: 3fr 2fr; 
    gap: 4rem; 
    align-items: center; 
}
.bio-text p { font-size: 1.1rem; color: #4a5568; margin-bottom: 2rem; }

/* THE FIX: Constraints the image size */
.bio-image { display: flex; justify-content: center; }
.bio-image img { 
    max-width: 280px; /* Forces it to be small */
    width: 100%; 
    border-radius: 8px; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.skills-list li { 
    display: inline-block; 
    background: #edf2f7; 
    color: #2d3748; 
    padding: 0.5rem 1rem; 
    border-radius: 50px; 
    margin: 0.5rem 0.5rem 0 0; 
    font-size: 0.85rem; 
    font-weight: 600; 
}

/* PORTFOLIO CARDS (Modern Card Design) */
.section-intro { margin-bottom: 3rem; font-size: 1.1rem; color: #4a5568; }
.portfolio-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}
.card { 
    background: #fff; 
    padding: 2.5rem; 
    border-radius: 12px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
    transition: 0.3s; 
    border: 1px solid #e2e8f0;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); border-color: #2b6cb0; }
.card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: #2b6cb0; }
.text-link { color: #2b6cb0; font-weight: 700; margin-top: 1.5rem; display: inline-block; border-bottom: 2px solid transparent; }
.text-link:hover { border-bottom: 2px solid #2b6cb0; }

/* BLOG POSTS (Clean Typography) */
.blog-post { 
    background: #fff;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-left: 5px solid #2b6cb0;
}
.blog-post h3 { margin-bottom: 1rem; }
.blog-post p { margin-bottom: