                        *{
                            margin: 0;
                            padding: 0;
                            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
                            box-sizing: border-box;
                        }
                        body{
                            background: #941515;
                            color: #000000;
                        }
                        .logo{
                            width: 30%;
                            height: 10vh;
                            align-content: flex-start;
                            cursor: default;
                        }
                        .container{
                            padding: 10px 10%;
                            /* position: sticky; */
                        }
                    
                        #headertext{
                            margin-top: 10%;
                            font-size:40px;
                        }
                        #headertext h2{
                            margin-top: 15%;
                            font-size: 30px;
                            color: rgb(255, 255, 255);
                        }
                        #headertext h3{
                            font-size: 25px;
                            font-style: oblique;
                            color: rgb(235, 246, 246);
                            padding: 1.5%;
                            justify-content: baseline;
                            
                        }
                        #headertext h2 span{
                            font-size: 50px;
                            color: hsl(0, 89%, 36%);
                        }
                        #headertext h4{
                            font-size: 30px;
                        }
                        #headertext h4 span{
                            font-size: 30px;
                            color: hsl(0, 89%, 36%);
                        }

                        --------------about---------------

                        #about{
                            padding: 80px 0;
                            color: #fff;
                        }
                        .title1{
                            font-size: 60px;
                            font-weight: 600;
                            color: #fff;
                        }
                        #home-sci a{
                            display: inline-flex;
                            justify-content: center;
                            align-items: center;
                            width: 40px;
                            height: 40px;
                            background: transparent;
                            border: 2px solid aqua;
                            border-radius: 50%;
                            font-size: 20px;
                            color: aqua;
                            text-decoration: none;
                            margin: 30px 15px 30px 0;
                        }
                        #home-sci a:hover{
                            background: aqua;
                            color: #081b29;
                            box-shadow: 0 0 20px aqua;
                        }
                        .btn-box{
                            display: inline-block;
                            padding: 12px 20px;
                            background: aqua;
                            border-radius: 40px;
                            font-size: 16px;
                            color: #081b29;
                            letter-spacing: 1px;
                            text-decoration: none;
                            font-weight: 600;
                            
                        }
                        .btn-box:hover{
                            box-shadow: 0 0 5px cyan,0 0 25px cyan,0 0 50px cyan,0 0 100px cyan,0 0 200px cyan;
                        }



                        #About{
                            margin-top: 30%;
                        }
                        
                        .title1{
                            font-style: oblique;
                            font-size: 40px;
                        }
                        .title1 span{
                            font-size: 40px;
                            color: #ff0000;
                        }
                        .row h3{
                            font-size: 25px;
                            font-style: oblique;
                            justify-content: baseline;
                            padding: 2%;
                        }
                        .btn-box1{
                            display: inline-block;
                            padding: 12px 50px;
                            background: aqua;
                            border-radius: 40px;
                            font-size: 16px;
                            color: #081b29;
                            letter-spacing: 1px;
                            text-decoration: none;
                            font-weight: 600;
                            margin-left: 20px;
                            
                        }
                        .btn-box1:hover{
                            box-shadow: 0 0 5px cyan,0 0 25px cyan,0 0 50px cyan,0 0 100px cyan,0 0 200px cyan;
                        }

                        #skills{
                            margin-top: 70%;
                        }
                        .title3{
                            font-style: oblique;
                            text-align: center;
                            color:white;
                            padding: 1rem;
                            position: relative;

                        }
                        .title3::after{
                            content: '';
                            position: absolute;
                            bottom: 0;
                            left: 50%;
                            transform: translate(-50%);
                            height: 4px;
                            width: 100px;
                            background-color: rgb(255, 255, 255);
                        }
                        .title3 span{
                            font-style: oblique;
                            color: #ff0000;
                        }
                        .container1{
                            display: grid;
                            grid-template-columns: repeat(3,1fr);
                            justify-content: center;
                            align-items: center;
                            text-align: center;
                            grid-gap:2rem;
                            padding: 1rem 80px;
                            font-size: 1.2rem;
                        }
                        .skill-box{
                        
                            color:darkgoldenrod;
                            cursor: pointer;
                        }
                        .skill-title{
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            
                            
                        }
                        .img{
                            width: -10000rem;
                            height: -10000rem;
                            transition: transform 300ms;
                        }
                        .img:hover{
                            transform: translateY(-20px);
                            
                        }
                        .skill-title{
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            padding: 0.5rem;
                            margin-bottom: 0.5rem;
                            position: relative;
                            
                        }
                        .skill-title h3:after{
                            background: none repeat scroll 0 0 transparent;
                            bottom: 0;
                            content: "";
                            display: block;
                            height: 2px;
                            left: 50%;
                            position: absolute;
                            background: #fff;
                            transition: width 0.3s ease 0s, left 0.3s ease 0s;
                            width: 0;
                        }
                       
                        .skill-title h3:hover:after{
                            width: 20%; 
                            left: 40%;
                        }






                        #work{
                            margin-top: 50%;
                        }
                        .title4{
                            font-size:30px;
                            text-align:center;
                        }
                        .img1{
                            margin-left: 30%;
                            transition: transform 300ms;
                        }
                        .img1:hover{
                            transform: translateY(-30px);
                        }
                        .container2{
                            display: grid;
                            grid-template-columns: repeat(3,1fr);
                            justify-content: center;
                            align-items: center;
                            text-align: center;
                            grid-gap:1rem;
                            padding: 2rem 100px;
                            font-size: 1.2rem;
                        }
                        


#work{
    margin-top: 5%;
}
.title4{
    margin-top: 40%;
}
 @import url(https://fonts.googleapis.com/css?family=Raleway:400,800);
figure.snip1107 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 30%;
  min-width: 220px;
  max-width: 310px;
  max-height: 220px;
  width: 100%;
  background: #000000;
  text-align: center;
}
figure.snip1107 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
figure.snip1107 img {
  opacity: 1;
  width: 100%;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}
figure.snip1107 figcaption {
  position: absolute;
  bottom: 0;
  left: 18%;
  right: 18%;
  height: 100%;
}
figure.snip1107 figcaption > div {
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 50%;
}
figure.snip1107 h3,
figure.snip1107 span {
  margin: 0;
  padding: 10px 15px;
  display: inline-block;
  width: 100%;
  font-weight: 800;
  text-transform: uppercase;
}
figure.snip1107 span {
  background: #ffffff;
  color: #4d4d4d;
  position: relative;
  bottom: 0;
  left: 0;
  position: absolute;
  -webkit-transform: translate3d(0%, 100%, 0);
  transform: translate3d(0%, 100%, 0);
}
figure.snip1107 h3 {
  background: #333333;
  -webkit-transform: translate3d(0%, 0%, 0);
  transform: translate3d(0%, 0%, 0);
}
figure.snip1107 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  color: #ffffff;
}
figure.snip1107.blue {
  background: #0a212f;
}
figure.snip1107.blue h3 {
  background: #2980b9;
}
figure.snip1107.red {
  background: #36100c;
}
figure.snip1107.red h3 {
  background: #c0392b;
}
figure.snip1107.yellow {
  background: #583804;
}
figure.snip1107.yellow h3 {
  background: #f39c12;
}
figure.snip1107.navy {
  background: #000000;
}
figure.snip1107.navy h3 {
  background: #34495e;
}
figure.snip1107:hover img,
figure.snip1107.hover img {
  opacity: 0.35;
  -webkit-filter: blur(5px);
  filter: blur(5px);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
figure.snip1107:hover figcaption span,
figure.snip1107.hover figcaption span {
  -webkit-transform: translate3d(0%, 0%, 0);
  transform: translate3d(0%, 0%, 0);
}
figure.snip1107:hover figcaption h3,
figure.snip1107.hover figcaption h3 {
  -webkit-transform: translate3d(0%, -100%, 0);
  transform: translate3d(0%, -100%, 0);
}


#contact{
    text-align: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.contact-left{
    margin-left: 0%;
    display: flex;
    margin-top: 10%;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}
.contact-inputs1{
    width: 300px;
    height: 150px;
}
.contact-left-title h2{
    font-size: 40px;
    font-style: oblique;
    gap: 40px;
}
.contact-left-title h2 span{
   font-style: oblique;
   color: red;
}
.contact-inputs{
    width: 300px;
    border-radius: 5px;
}
.submitbtn{
    width: 80px;
    height: 40px;
    margin-left: 40%;
    font-size: 15px;
    color: #000000;
    border-radius: 10px;
    background-color: rgb(255, 0, 0);
}
.submitbtn:hover{
    box-shadow: 0 0 5px rgb(255, 0, 0),0 0 25px rgb(255, 0, 0),0 0 50px rgb(255, 0, 0),0 0 50px rgb(255, 0, 0),0 0 100px rgb(255, 0, 0);
}
.title4 h3 span{
    font-style: oblique;
    color: red;
}
.title4 h3{
    font-style: oblique;
    text-align: center;
    color:white;
    padding: 1rem;
    text-decoration: underline;
    position: relative;
}
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    box-sizing: border-box;
}

@keyframes neonGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  body {
    background: linear-gradient(270deg, #00f260, #0575e6, #ff6ec4, #f7971e);
    background-size: 600% 600%;
    animation: neonGlow 5s ease infinite;
    color: rgb(0, 0, 0);
  }
  
  

/* Mobile Styles (0px to 600px) */
@media (max-width: 600px) {
    nav ul li {
        font-size: 18px;
        margin: 10px 5px;
    }

    #headertext {
        margin-top: 20%;
        font-size: 24px;
    }

    #headertext h2 {
        font-size: 20px;
    }

    #headertext h3 {
        font-size: 16px;
    }

    #headertext h4 {
        font-size: 18px;
    }

    .container1 {
        grid-template-columns: repeat(1, 1fr);
        padding: 1rem 20px;
    }

    .container2 {
        grid-template-columns: repeat(1, 1fr);
        padding: 1rem 20px;
    }

    .contact-inputs, .contact-inputs1 {
        width: 90%;
    }

    .submitbtn {
        margin-left: 0;
    }
}

/* Tablet Styles (600px to 1024px) */
@media (min-width: 600px) and (max-width: 1024px) {
    nav ul li {
        font-size: 24px;
        margin: 20px 10px;
    }

    #headertext {
        margin-top: 15%;
        font-size: 32px;
    }

    #headertext h2 {
        font-size: 28px;
    }

    #headertext h3 {
        font-size: 20px;
    }

    #headertext h4 {
        font-size: 24px;
    }

    .container1 {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem 40px;
    }

    .container2 {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem 40px;
    }

    .contact-inputs, .contact-inputs1 {
        width: 80%;
    }

    .submitbtn {
        margin-left: 20%;
    }
}

/* Desktop Styles (1024px and above) */
@media (min-width: 1024px) {
    nav ul li {
        font-size: 30px;
        margin: 40px 20px;
    }

    #headertext {
        margin-top: 10%;
        font-size: 40px;
    }

    #headertext h2 {
        font-size: 30px;
    }

    #headertext h3 {
        font-size: 25px;
    }

    #headertext h4 {
        font-size: 30px;
    }

    .container1 {
        grid-template-columns: repeat(3, 1fr);
        padding: 1rem 80px;
    }

    .container2 {
        grid-template-columns: repeat(3, 1fr);
        padding: 2rem 100px;
    }

    .contact-inputs, .contact-inputs1 {
        width: 300px;
    }

    .submitbtn {
        margin-left: 40%;
    }
}
/* Base Styles for Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: linear-gradient(-60deg, #3a7bd5, #3f51b5, #2193b0);;
    padding: 10px 12%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 20px 20px;
}

nav ul li a {
    text-decoration: none;
    font-size: 20px;
    color: #efeff0;
    letter-spacing: 2px;
    padding: 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff0000;
    box-shadow: 0 0 10px #ff0000;
}

/* Menu Icon for Mobile */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #ff0000;
}

/* Mobile Styles */
@media (max-width: 768px) {
    nav {
        padding: 10px 5%;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
    }

    nav ul li {
        text-align: center;
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 24px;
        padding: 10px 0;
    }

    .menu-icon {
        display: block;
    }

    /* Show the menu when open */
    nav ul.open {
        display: flex;
    }
}






#bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    display: block;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  text-shadow: 0 0 5px #000000, 0 0 10px #0c1313;
}
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  text-shadow: 0 0 10px #000000, 0 0 20px rgb(0, 0, 0);
}

span {
  color: #ff4081;
  text-shadow: 0 0 5px #000000, 0 0 10px #000000;
}

a, p {
  color: #f0f0f0;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7); /* translucent background */
  z-index: 1000;
  padding: 10px 12%;
  backdrop-filter: blur(10px); /* optional blur effect */
}

.maincontent {
  margin-top: 80px; /* adjust based on nav height */
}


#home-sci a {
  position: relative;
}

#home-sci a::before {
  content: attr(data-label);
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #05cdfacc;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 18px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1000;
}

#home-sci a:hover::before {
  opacity: 1;
  top: -45px;
}

















.container, .container1, .container2 {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .container1, .container2 {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
  }

  #headertext {
    font-size: 20px;
  }

  .maincontent {
    margin-top: 100px;
  }

  .contact-inputs, .contact-inputs1 {
    width: 100%;
  }
}
html, body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}












.sidebar-profile {
  position: fixed;
  top: 20%;
  left: 0;
  width: 250px;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  color: white;
  z-index: 999;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  font-family: 'Poppins', sans-serif;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: auto;
  display: block;
  border: 3px solid aqua;
}

.profile-info {
  margin-top: 10px;
  font-size: 14px;
}

.profile-links {
  margin-top: 10px;
  display: flex;
  justify-content: space-around;
}

.profile-links a {
  color: aqua;
  font-size: 20px;
  transition: 0.3s;
}

.profile-links a:hover {
  color: red;
}

.leetcode-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}



.sidebar-profile {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 20px 15px;
  z-index: 999;
  overflow-y: auto;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.5);
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid aqua;
  display: block;
  margin: 0 auto 15px;
}

.profile-info {
  font-size: 14px;
  line-height: 1.6;
}

.profile-links {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
}

.profile-links a {
  color: aqua;
  font-size: 20px;
  transition: 0.3s;
}

.profile-links a:hover {
  color: red;
}

.leetcode-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Shift main body to right of sidebar */
body {
  margin-left: 250px;
}

nav {
  position: fixed;
  top: 0;
  left: 250px; /* move it to the right of sidebar */
  width: calc(100% - 250px);
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  padding: 10px 5%;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.maincontent {
  margin-left: 250px; /* ensure full shift from sidebar */
  padding-top: 80px; /* offset navbar */
}
body {
  margin-left: 250px;
}
.sidebar-profile {
  position: fixed;
  top: 0;
  left: 0;
  width: 450px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 2% 15px 20px 15px; /* ✅ added 20% top padding */
  z-index: 999;
  overflow-y: auto;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.5);
}

nav {
  background: #111111;
  backdrop-filter: blur(6px);
    border-bottom: 2px solid #00ffff;

  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
}

.sidebar-profile {
  background: #0a0a0a;
  border-right: 2px solid #00ffff;
  box-shadow: 2px 0 15px rgba(0, 255, 255, 0.2);
  padding-top: 2%;
}






nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #111;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.sidebar-profile {
  position: fixed;
  top: 60px; /* Push below navbar */
  left: 0;
  width: 350px;
  height: calc(100vh - 60px); /* Remaining screen */
  background: #0a0a0a;
  z-index: 999;
  overflow-y: auto;
}


.maincontent {
  margin-top: 60px;     /* navbar height */
  margin-left: 250px;   /* sidebar width */
  padding: 20px;
  min-height: calc(100vh - 60px);
}

.container{
    margin-top: 60px;     /* navbar height */
  margin-left: auto;   /* sidebar width */
  padding: 20px;
  min-height: calc(100vh - 60px);
}
.maincontent2 {
  margin-top: 60px;     /* navbar height */
  margin-left: 250px;   /* sidebar width */
  padding: 20px;
  min-height: calc(100vh - 60px);
}

.sidebar-profile {
  font-size: 25px; /* Change to 18px or 20px as needed */
  line-height: 1.6;
  color: #ffffff;
}
.sidebar-profile h3 {
  font-size: 18px;
  color: #00ffff;
  margin-bottom: 10px;
}




.sidebar-links {
  display: flex;
  align-items: left;
  margin-left: 50px;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.sidebar-links a {
  position: relative;
  color: rgb(0, 226, 242);
  font-size: 24px;
  text-decoration: none;
  padding: 10px;
  border: 2px solid #00ffff;
  border-radius: 8px;
  width: 50px;
  text-align: center;
  transition: 0.3s ease;
}

.sidebar-links a::before {
  content: attr(data-label);
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  background: #00ffff;
  color: #000000;
  padding: 5px 10px;
  font-size: 20px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transition: 0.3s ease;
}

.sidebar-links a:hover::before {
  opacity: 1;
  left: 70px;
}



.sidee{
    font-size: large;
}

