* {margin:0; padding:0; box-sizing:border-box;}
html {scroll-behavior: smooth;}
body {
    background-color:#0a0a23;
    color:white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height:1.6;
}

/* Navbar */
nav {display:flex; justify-content:space-between; align-items:center; height:70px; padding:0 40px;
     background: linear-gradient(90deg,#12123e,#1f1f5f); position:fixed; top:0; left:0; width:100%; z-index:1000; box-shadow:0px 4px 8px rgba(0,0,0,0.3);}
nav .left {font-size:1.5rem; font-weight:bold; color:#aa6be4;}
nav ul {display:flex; list-style:none;}
nav ul li {margin:0 15px;}
nav ul li a {color:white; text-decoration:none; font-weight:500; transition:color 0.3s;}
nav ul li a:hover {color:#00f7ff;}

/* Sections */
section {padding:100px 50px; max-width:1100px; margin:auto;}
section h1 {font-size:2.2rem; margin-bottom:20px; color:#aa6be4; text-align:center;}
section p {font-size:1rem; color:#ddd; text-align:center;}

/* Home Section */
.firstSection {display:flex; justify-content:space-around; align-items:center; flex-wrap:wrap; margin-top:80px;}
.leftSection {max-width:500px; text-align:center;}
.leftSection img.myPhoto {width:140px; height:140px; border-radius:50%; border:3px solid #aa6be4; margin-bottom:15px;}
.leftSection .Purple {color:#aa6be4;}
.leftSection .buttons {margin-top:20px;}
.btn {padding:12px 20px; margin:5px; background:#aa6be4; color:white; border-radius:6px; font-size:0.95rem; text-decoration:none; display:inline-block; transition:all 0.3s ease-in-out;}
.btn:hover {background:#9336e0; transform:scale(1.05);}
.rightSection img {width:300px;}

/* Work Experience */
#work div {background-color:#1a1a40; padding:15px; margin:15px 0; border-radius:8px; border-left:4px solid #aa6be4; display:flex; align-items:center; gap:15px; flex-wrap:wrap;}
#work h3 {margin-bottom:5px; color:#00f7ff; width:100%;}
#work p {color:#ccc; text-align:left; flex:1;}
.work-cert {width:80px; height:auto; border-radius:6px; border:2px solid #aa6be4;}

/* Tech Stack Section */
.tech-stack {background:#1a1a40; border-radius:10px; padding:20px; margin:30px auto; max-width:800px;}
.tech-stack h2 {color:#aa6be4; text-align:center; margin-bottom:15px;}
.tech-stack p {color:#ddd; text-align:center; margin:5px 0;}
.tech-stack span {display:inline-block; margin:5px 10px; background:#9336e0; padding:5px 10px; border-radius:5px; font-size:0.9rem;}

/* Certifications */
.certificates-grid {display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:20px;}
.certificate-card {background-color:#1a1a40; border-radius:10px; padding:10px; text-align:center; transition:transform 0.3s ease;}
.certificate-card img {max-width:100%; border-radius:6px; margin-bottom:10px;}
.certificate-card:hover {transform:translateY(-5px);}

/* Footer */
footer {background:#0e0e1a; padding-top:20px; margin-top:40px;}
.footer {display:flex; justify-content:space-between; flex-wrap:wrap; max-width:1100px; margin:auto; padding:20px;}
.footer h3, .footer h4 {color:#aa6be4;}
.footer ul {list-style:none; padding:0;}
.footer ul li {margin:5px 0;}
.footer ul li a {color:white; text-decoration:none; transition:color 0.3s;}
.footer ul li a:hover {color:#00f7ff;}
.footer-rights {text-align:center; color:gray; padding:10px 0; font-size:0.85rem; border-top:1px solid #222;}
a {word-break:break-word;}
