body{
    background: rgb(29,40,41);
    background: -moz-linear-gradient(90deg, rgba(29,40,41,1) 0%, rgba(24,30,31,1) 11%, rgba(19,19,20,1) 41%, rgba(19,19,20,1) 58%, rgba(24,30,31,1) 85%, rgba(29,40,41,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(29,40,41,1) 0%, rgba(24,30,31,1) 11%, rgba(19,19,20,1) 41%, rgba(19,19,20,1) 58%, rgba(24,30,31,1) 85%, rgba(29,40,41,1) 100%);
    background: linear-gradient(90deg, rgba(29,40,41,1) 0%, rgba(24,30,31,1) 11%, rgba(19,19,20,1) 41%, rgba(19,19,20,1) 58%, rgba(24,30,31,1) 85%, rgba(29,40,41,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#1d2829",endColorstr="#1d2829",GradientType=1);
    color: white;
    position: relative;
}
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}


header {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.037);
    border-radius: 30px;
    margin-top: 2rem;
    height: 3.5rem;
    width: 47rem; 
    max-width: 95%; 
    border: rgba(255, 255, 255, 0.5) solid 0.1px;
    position: fixed;
    backdrop-filter: blur(10px);
    overflow: hidden; 
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    gap: 2rem;
    padding: 0 2rem;
    flex-wrap: nowrap;     
    white-space: nowrap;
}

.navbar ul li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar ul li a {
    text-decoration: none;
    display: flex;
    color: white;
    align-items: center;
    gap: 0.3rem;
    font-weight: bold;
    transition: color 0.3s;
    justify-content: center;
    font-size: 1rem;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(251, 250, 248);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.navbar ul li a:hover::after {
    width: 100%;
    left: 0;
}

.navbar ul li a.active::after {
    width: 100%;
    background-color: rgb(248, 247, 245);
}

@media (max-width: 768px) {
    .navbar {
        transform: scale(0.9);
    }
    .navbar ul {
        gap: 1rem;
    }
    .navbar ul li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        transform: scale(0.8);
    }
    .navbar ul {
        gap: 2rem;
    }
    .navbar ul li a {
        font-size: 1.4rem;
    }
    .navbar ul li a span{
        display: none;
    }
}

@media (max-width: 480px) {
    .navbar {
        transform: scale(0.7);
    }
    .navbar ul {
        gap: 2rem;
    }
    .navbar ul li a {
        font-size: 1.4rem;
    }
    .navbar ul li a span{
        display: none;
    }
}


.title-sec {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  margin-top: 4rem;
  overflow: hidden;
}

.h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(2.6rem, 11vw, 13rem);
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 1;
  text-align: center;
  background-image: linear-gradient(rgb(133, 133, 133), rgb(255, 255, 255));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.3), rgba(0, 255, 255, 0.1), transparent 80%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: float-glow 5s ease-in-out infinite;
  z-index: 1;
  filter: blur(60px);
}

@keyframes float-glow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -48%) scale(1.15);
  }
}



.tech-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 23px 0;
  margin-top: 1rem;
}

.tech-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.tech-icon {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 40px;
  color: white;
  transition: transform 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.1);
  color: #00ffff;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}










.about-section {
    width: 100%;
    margin-top: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5%;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-title {
    margin-bottom: 5rem;
    font-size: 2.5rem;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    text-align: center;
}

.about-title:after {
    content: '';
    display: block;
    width: 150px;
    height: 4px;
    background: linear-gradient(to right, transparent, #f7f8f9, transparent);
    margin: 1.5rem auto 0;
}

.bento-grid {
    display: grid;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
        "intro intro"
        "what-i-do vision";
    gap: 2rem;
    padding-bottom: 5rem;
}

.card {
    background: rgba(255, 255, 255, 0.037);
    border: 1px solid rgba(227, 219, 219, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.intro { 
    grid-area: intro; 
    min-height: 500px;
    background: linear-gradient(rgba(255, 255, 255, 0.037));
}

.what-i-do { 
    grid-area: what-i-do; 
    min-height: 350px;
    background: linear-gradient(rgba(255, 255, 255, 0.037));
}

.vision { 
    grid-area: vision; 
    min-height: 350px;
    background: linear-gradient(rgba(255, 255, 255, 0.037));
}

.first {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    height: 100%;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}

.text-content {
    max-width: 600px;
}

.hi {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    color: #6e93e2;
    display: block;
    margin-bottom: 0.5rem;
}

.name-highlight {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #f1efef, #9f9e99);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    display: inline-block;
    margin-bottom: 1.5rem;
    position: relative;
}


.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.highlight {
    color: #6e8efb;
    font-weight: 600;
}

.current-focus {
    background: rgba(249, 203, 40, 0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(249, 203, 40, 0.3);
    backdrop-filter: blur(5px);
}

.current-focus i {
    color: #f9cb28;
}

.what-i-do .card-title {
    color: #6e8efb;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.expertise-item {
    margin-bottom: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.expertise-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.expertise-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
}

.expertise-item p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-left: 2.6rem;
}

.blue-icon { color: #6e8efb; }
.pink-icon { color: #ff6b9e; }
.green-icon { color: #4dffb8; }

.vision .card-title {
    color: #6e8efb;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vision-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.milestones {
    margin-top: 1.5rem;
    border-left: 2px solid #f5f3f8;
    padding-left: 1.5rem;
}

.milestone {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.year {
    font-weight: bold;
    color: #f1eff4;
    min-width: 50px;
}

.goal {
    color: #e0e0e0;
    font-size: 0.95rem;
}

.background-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    opacity: 0.3;
    z-index: -1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.card:hover .profile-img {
    transform: scale(1.03);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(110, 142, 251, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-areas:
            "intro intro"
            "what-i-do what-i-do"
            "vision vision";
    }
    
    .first {
        flex-direction: column;
    }
    
    .profile-img {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 3.5rem;
    }
    
    .name-highlight {
        font-size: 2.5rem;
    }
    
    .card {
        padding: 1.8rem;
    }
    
    .profile-img {
        width: 220px;
        height: 220px;
    }
}




.second{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.tech-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8rem;
    font-size: 2.5rem;
    position: relative;
    flex-direction: column;
}

.tech-title:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background:white;
    margin: 15px auto;
    margin-top: 1.8rem;
}

.skills {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;        
    justify-content: center;
}

.skill-button {
    height: 4rem;
    width: 7.5rem;
    margin-top: 5rem;
background-color: rgba(104, 113, 130, 0.2);
    border-radius: 15px;
    border: 1px solid white;
    color: #fcfdfd;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.skill-button:hover {
    transform: scale(1.05);
    background-color: rgba(104, 113, 130, 0.2);
}

@media (max-width: 1024px) {
    .skill-button {
        width: 7rem;
        height: 3.8rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .tech-title {
        font-size: 2rem;
    }
    .skill-button {
        width: 6.5rem;
        height: 3.5rem;
        font-size: 1rem;
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .tech-title {
        font-size: 1.7rem;
    }
    .skills {
        gap: 1rem;
    }
    .skill-button {
        width: 6rem;
        height: 3.2rem;
        font-size: 0.9rem;
    }
}


.skill-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 4rem;
}

.skill-box {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.07));
  padding: 1.5rem;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  text-align: center;
  color: white;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.skill-box:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.2);
}

.skill-box i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.projects {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: white;
    margin: 15px auto 0;
}

.project-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 7rem;
}

.project-card {
    display: flex;
    background: rgb(20, 20, 20);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(148, 146, 146, 0.1);
    transition: transform 0.3s ease;
    border: 0.1px solid white;
    border-radius: 15px;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    flex: 1;
    position: relative;
    overflow: hidden; 
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 20px;
    position: absolute; 
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
    border-radius: 3px;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-content {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #f6f7f9;
}

.project-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #9996c8;
    font-weight: 500;
}

.project-content p {
    margin-bottom: 1.5rem;
    color: #fcfcfd;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tech-stack span {
    background: #e2e8f0;
    color: #2d3748;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
        border: 1px solid rgb(142, 140, 210);

}

.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .project-card, .reverse {
        flex-direction: column;
    }
    
    .project-image {
        min-height: 250px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 2rem;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
    
    .project-content h4 {
        font-size: 1.1rem;
    }
}

.experience-section {
  padding: 4rem 2rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: white;
  letter-spacing: 2px;
  margin-top: 7rem;
  flex-direction: column;
}

.section-title:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: white;
    margin: 15px auto;
    margin-top: 1.8rem;
}

.experience-card {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.07));
  border-radius: 20px;
  border: 1px solid white;
  padding: 2rem;
  text-align: left;
  max-width: 1000px;
  margin: auto;
  color: #f0f0f0;
  margin-top: 5rem;
}

.company-info {
  flex: 1;
  min-width: 250px;
  text-align: center;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  padding-right: 2rem;
}

.company-logo {
  width: 120px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1); 
}

.company-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.location {
  font-weight: bold;
  color: #ddd;
}

.address {
  font-size: 0.9rem;
  color: #ccc;
}

.role-details {
  flex: 2;
  min-width: 300px;
  padding-left: 2rem;
}

.role-details h3 {
  font-size: 1.6rem;
  color: #ffffff;
}

.role-details ul {
  padding-left: 1.2rem;
  margin-top: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.contact-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: white;
    position: relative;
    margin-top: 5rem;
}

.contact-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: white;
    margin: 15px auto;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 5rem;
}

.contact-method {
    width: 180px;  
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.037);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex: 1 0 auto;
    min-width: 160px;
    border: 0.2px solid white;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.contact-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-name {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fefefe;
    letter-spacing: 1px;
    font-size: 1rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    background: #b9bec4;
    color: #2c3e50;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.contact-btn:hover {
    background: #3498db;
    color: white;
    transform: scale(1.03);
}

.btn-icon {
    margin-left: 6px;
    font-size: 0.8rem;
}

.fa-envelope { color: #D44638; }
.fa-github { color: #fdfcfc; }
.fa-discord { color: #7289DA; }
.fa-linkedin-in { color: #0077B5; }

@media (max-width: 768px) {
    .contact-methods {
        gap: 15px;
    }
    .contact-method {
        width: 140px;
        padding: 20px 10px;
    }
    .contact-title {
        font-size: 2.5rem;
    }
}