body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
}

.banner {
    background: #333;
    color: white;
    padding: 15px 20px;
	display:flex;
	justify-content: space-between;
	align-items: center;
}

.banner-left h1 {
    margin: 0;
    padding: 0;
}

.nav-links {
    display: flex;
	gap: 25px;
    margin-top: 8px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}
/* profile image*/
.banner-right img{
	height: 100px;
	width: 100px;
	object-fit:cover;
	
}
footer {
    text-align: center;
    margin: 20px 0;
    color: #555;
}

/* Resume Page */
.resume-container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 25px 35px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.resume-header {
    text-align: center;
    margin-bottom: 20px;
}

.resume-header h1 {
    margin-bottom: 8px;
}

.contact a {
    color: #333;
}

.download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #0a84ff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.download-btn:hover {
    background: #006ad4;
}

.date {
    font-size: 14px;
    color: #555;
    display: block;
}

/*Home-container*/
.home-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.home-intro {
    max-width: 700px;
    margin: 30px auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
}

.projects-container {
    max-width: 900px;
    margin: 40px auto 20px;
    padding: 20px 25px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.10);
}

.projects-container h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.projects-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.projects-list > li {
    margin-bottom: 15px;
}

.projects-list p {
    margin: 0;
    line-height: 1.6;
}

.projects-list a {
    font-weight: bold;
    text-decoration: none;
    color: #0a84ff;
    margin-right: 6px;
}

.projects-list a:hover {
    text-decoration: underline;
}

.projects-sublist {
    margin-top: 6px;
    margin-left: 20px;
    list-style: disc;
}

/* detailed project section */

.projects-body {
    max-width: 900px;
    margin: 10px auto 40px;
    padding: 20px 25px 30px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.10);
    line-height: 1.7;
}

.projects-body h3,
.projects-body h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.projects-body p {
    margin-bottom: 12px;
}

/* images grid */

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 15px 0 20px;
}

.project-images figure {
    margin: 0;
    background: #fafafa;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.project-images img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.project-images figcaption {
    font-size: 14px;
    margin-top: 8px;
}

/* Code blocks */
pre {
    position: relative;          /* for positioning the language label */
    background: #1e1e1e;        /* dark VSCode-style background */
    color: #e8e8e8;             /* light text */
    padding: 15px 20px;
    border-radius: 6px;
    border: 1px solid #444;
    overflow-x: auto;           /* allows horizontal scroll if needed */
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.5;
}

pre code {
    font-family: "Courier New", Consolas, monospace;
}

pre::before {
    content: attr(data-lang);   /* pulls language label */
    position: absolute;
    top: 0;
    left: 0;
    padding: 4px 10px;
    background: #0a84ff;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0px 0 0px 0;
}