:root {
    --step-h1: 2.5rem;
    --step-h2: 1.8rem;
    --step-p: 1.1rem;
    
    --space-md: 1.5rem;
    --space-lg: 3rem;
    
    --bg-light-blue: #e3f2fd;
    --border-blue: #add8e6;
    --brand-blue: #0984e3;
}

html { scroll-behavior: smooth; } /* Makes the Education button scroll smoothly */

body {
    border-top: 10px solid var(--border-blue); /* Light blue top border */
    background-color: var(--bg-light-blue);    /* Light blue page background */
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}


.brand {
    font-weight: 800;       /* Bold Requirement */
    color: var(--brand-blue); /* Blue Requirement */
    font-size: 1.5rem;
}


.navbar {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.nav-links a {
    text-decoration: none;
    color: #333; /* Dark grey color when not hovering */
    font-weight: 600;
    transition: color 0.3s ease; /* Makes the color change smooth */
}
.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links a:hover {
    color: #0984e3; 
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a { text-decoration: none; color: #333; font-weight: 600; }


.btn-primary, .btn-secondary, .btn-cta {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid var(--brand-blue);
}

.btn-primary { background: var(--brand-blue); color: white; }
.btn-secondary { background: white; color: var(--brand-blue); }
.btn-cta { background: #ff7675; border-color: #ff7675; color: white; }

.btn-primary:hover, .btn-secondary:hover, .btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.hero { padding: var(--space-lg) 0; display: flex; flex-direction: column; gap: 2rem; align-items: center; }
.hero-content h1 { font-size: var(--step-h1); margin-bottom: 1rem; }
.hero-image img { width: 100%; max-width: 350px; border-radius: 50%; border: 5px solid white; }


.projects-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile First */
    gap: 1.5rem;
    margin: 2rem 0;
}

.card { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }


@media (min-width: 768px) {
    .hero { flex-direction: row; text-align: left; }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
    .skills-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
}

footer { text-align: center; padding: 2rem 0; font-size: 0.9rem; color: #666; }
