html, body {
      margin: 0;
      height: 100%;
      overflow: hidden;
      font-family: "Poppins", sans-serif;
    }
    html {
      scroll-behavior: smooth;
    }
    canvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: block;
      z-index: -1;
    }
    body {
      color: white; /* Default: dark mode text and currentColor */
      transition:background-color 0.6s ease-in-out, color 0.6s ease-in-out, filter 0.3s ease;
      filter: brightness(1.02);
    }
    body {
      font-size: 16px;
      line-height: 1.5;
      letter-spacing: 0.02em;
    }

    h1 {
      font-size: 2.45rem; /* ~39.1px */
      line-height: 1.2;
      letter-spacing: -0.02em;
    }
    h1 {
      font-size: clamp(2.2rem, 5vw, 2.45rem);
    }
    h2 {
      font-size: 1.95rem; /* ~31.25px */
      line-height: 1.3;
    }

    h3 {
      font-size: 1.5625rem; /* 25px */
      line-height: 1.3;
    }

    h4 {
      font-size: 1.25rem; /* 20px */
      line-height: 1.4;
    }

    p, a {
      font-size: 1rem;
      line-height: 1.7;
      letter-spacing: 0.03em;
    }

    small {
      font-size: 0.8125rem; /* ~13px */
      line-height: 1.4;
      letter-spacing: 0.03em;
    }
    body.light-mode {
      background-color: #f5f5f5;
      color: #222; /* Light mode color override */
      transition: background-color 0.5s ease, color 0.5s ease;
    }

    body.light-mode {
      background-color: #f5f5f5;
      transition: background-color 0.5s ease, color 0.5s ease;
    }

    body.light-mode .content {
      color: #222;
      transition: background-color 0.5s ease, color 0.5s ease, all 0.5s ease;
    }
    body.light-mode .content p{
      color: #222222eb;
      transition: background-color 0.5s ease, color 0.5s ease, all 0.5s ease;
    }

    .layout {
      display: flex;
      position: relative;
      z-index: 1;
      height: 100vh;
    }

    #nav-container {
      background: linear-gradient(rgba(237, 233, 247, 0) 0%, rgba(237, 233, 247, 0.3) 100%);
      width: 260px;
      height: fit-content;
      border: 1px solid rgba(91, 60, 196, 0.4);
      padding: 30px;
      border-radius: 26px;
      box-shadow: 0px 1px 10px 1px rgba(91, 60, 196, 0.26);
      margin: 20px;
      transition: width 0.4s ease-in-out;
      backdrop-filter: blur(3px);
      min-width:250px;
    }

    #photo {
      width: 100px;
      height: 100px;
      overflow: hidden;
      border: 3px solid rgba(181, 170, 255, 0.4);
      border-radius: 50%;
      margin: 0 auto;
    }

    #photo img {
      width: 100%;
      object-fit: cover;
    }
    a:active{
      color: rgba(181, 170, 255, 0.4);;
    }
    #name {
      font-family: "Fuzzy Bubbles", sans-serif;
      font-weight: bold;
      text-align: center;
    }

    .subheading {
      font-weight: 300;
      margin: 10px;
      text-align: center;
      opacity: 0.5;
    }

    #divider {
      width: auto;
      height: 1px;
      background-color: rgba(203, 177, 251, 0.9);
      margin: 20px 0;
    }

    #hamburger {
      display: none;
      cursor: pointer;
      font-size: 24px;
      text-align: left;
    }

    #nav-container.collapsed {
      width: fit-content;
      height:fit-content;
      overflow: hidden;
      padding: 9px 9px 0px 9px;
      border-radius: 10px;
      min-width:23px;
      transition:ease-in-out 0.3s;
    }

    #nav-container.collapsed #nav,
    #nav-container.collapsed .subheading,
    #nav-container.collapsed #name,
    #nav-container.collapsed #photo,
    #nav-container.collapsed #divider,
    #nav-container.collapsed #social,
    #nav-container.collapsed .profile-wrapper {
      display: none;
    }
    
    @media (min-width: 768px) {
      #hamburger {
        display: block;
      }
    }
    #small-nav{
      display:none;
      position:absolute;
      top:1rem;
      right:0;
      left:0;
      z-index: 5;
      margin-inline:auto;
      background: linear-gradient(rgba(237, 233, 247, 0) 0%, rgba(237, 233, 247, 0.3) 100%);
      border: 1px solid rgba(91, 60, 196, 0.4);
      padding: 0.9rem 0.5rem;
      border-radius: 1rem;
      box-shadow: 0px 1px 10px 1px rgba(91, 60, 196, 0.26);
      transition: width 0.4s ease-in-out;
      backdrop-filter: blur(3px);
      width:fit-content;
    }
    #nav-container {
      transform: translateX(-100%);
      animation: slideIn 0.6s ease-out forwards;
    }

    @keyframes slideIn {
      to {
        transform: translateX(0);
      }
    }

    .custom-nav-closed {
      width:auto;
    }

    .toggle-wrapper {
      position: absolute;
      top: 23px;
      right: 23px;
      z-index: 2;
    }

    .toggle {
      width: 60px;
      height: fit-content;
      background: linear-gradient(rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.5) 100%);
      border-radius: 25px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 15px 3px 15px;
      position: relative;
      cursor: pointer;
      box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
      transition: background 0.3s;
      border: 1px solid rgba(100, 100, 255, 0.4);
      backdrop-filter: blur(3px);
    }

    .toggle-icon {
      font-size: 15px;
      z-index: 2;
      pointer-events: none;
    }

    .toggle-ball {
      position: absolute;
      width: 36px;
      height: 36px;
      background: rgba(181, 170, 255, 0.4);
      /* backdrop-filter: blur(1px); */
      border-radius: 50%;
      top: 2px;
      left: 2px;
      transition: transform 0.3s;
      z-index: 1;
      margin: 3px 5px 0px 5px;
    }

    #toggleMode {
      display: none;
    }

    #toggleMode:checked + .toggle .toggle-ball {
      transform: translateX(40px);
      transition: ease 0.5s;
    }

    .content {
      flex-grow: 1;
      padding: 50px;
      overflow-y: auto;
      word-wrap: break-word;
      text-align: justify;
      scroll-behavior: smooth;
    }
    .content{
      transition:background-color 0.6s ease-in-out, color 0.6s ease-in-out, filter 0.3s ease;
      filter: brightness(1.02);
      color:white;
    }
    .content p{
      color:rgba(255, 255, 255, 0.8);
    }
    #social{
      display:flex;
      justify-content: space-evenly;
      padding-top:20px;
    }
    #social a{
      width:1.5rem;
      width:1.5rem;
      color:inherit;
      opacity:0.7;
    }
    .social-icon:hover{
      perspective: 800px;
      transform: rotate3d(3, 9, 3, 360deg);
      transition:ease 1s;
      scale:1.2;
      color: rgba(111, 0, 255, 0.902);
    }
    .profile-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin:0 auto;
}

.profile-pic {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 1px;
  left: 1px;
  z-index: 1;
  transition: transform 0.3s ease;
}

.ring {
  position: absolute;
  top: -4px;
  left: -4px;
  transform: rotate(-90deg); /* Start animation from top */
  z-index: 2;
}

.ring .bg {
  fill: none;
  stroke:  rgba(181, 170, 255, 0.4);
  stroke-width: 5;
}

.ring .progress {
  fill: none;
  stroke:  rgba(111, 0, 255, 0.9); /* Customize */
  opacity:0.9;
  stroke-width: 5;
  stroke-dasharray: 471; /* 2 * π * r => 2 * π * 75 */
  stroke-dashoffset: 471;
  transition: stroke-dashoffset 1.5s ease;
}

/* Animate ring on hover */
.profile-wrapper:hover .progress {
  stroke-dashoffset: 0;
}
.nav-animate:hover{
  animation: navone ease 0.3s 1;
}
@keyframes navone {
  0%{transform: scale(1);}
  100%{transform: scale(0.7);}
}
.nav-animate-new:hover{
  animation: navtwo ease 0.3s 1;
}
@keyframes navtwo {
  0%{transform: scale(1);}
  100%{transform: scale(1.2);}
}
/* For entire page or specific container */
::-webkit-scrollbar {
  width: 8px; /* vertical */
  height: 8px; /* horizontal */
}

/* Track (background of scrollbar) */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle (the draggable part) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.655) 100%);
  border-radius: 20px;
}

/* On hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(181, 170, 255, 0.4);
}
body.light-mode ::-webkit-scrollbar-thumb {
  background: rgba(100, 100, 255, 0.5);
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 100, 255, 0.8);
}
::selection {
  background-color: rgba(181, 170, 255, 0.4); /* Light blue or themed background */
  color: white;
  mix-blend-mode: normal; /* Text color when selected */
}
body.light-mode ::selection {
  background-color: rgba(100, 100, 255, 0.3); /* Branded light overlay */
  color: black;
}

  #nav a {
  display: block;
  padding: 8px 12px;
  margin: 6px 0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

#nav a.active {
  background-color: rgba(181, 170, 255, 0.4);
  color: rgb(255, 255, 255);
  font-weight: 600;
  transform: scale(1.05);
}
body.light-mode #nav a.active {
  background-color: rgba(91, 60, 196, 0.1);
  color: rgb(91, 60, 196);
  font-weight: 600;
  transform: scale(1.05);
}
body.light-mode #nav a:hover{
  background-color: rgba(91, 60, 196, 0.05);
}
#nav a:hover {
  background-color: rgba(91, 60, 196, 0.26);
}
h2{
  font-family:'Fuzzy Bubbles', sans-serif;
}
#about {
  padding: 1rem 5rem 2rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}
#uiux-projects{
  padding: 1rem 5rem 2rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}
.about-buttons {
  margin-top: 3rem;
  display:flex;
  justify-content: center;
}

.about-buttons .btn {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.3) 100%);
  color:currentColor;
  text-decoration: none;
  transition: 0.3s;
  border:1px solid rgba(91, 60, 196, 0.4);
  box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
  backdrop-filter: blur(3px);
}

.about-buttons .btn:hover {
  background: linear-gradient(to left,rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.3) 100%);
  transition: linear 1s;
}
.tech-stack {
  margin-top: 3rem;
  text-align: center;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.tech-card {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(91, 60, 196, 0.4);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.tech-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 0.5rem;
}

.tech-card span {
  font-size: 0.9rem;
  color: var(--text-color);
}

.tech-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 15px var(--accent-color);
}
#download-cv{
  background: rgb(240, 240, 240);
  color:black;
  border-radius: 8px;
}
#download-cv:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
#contact-btn{
  border-radius:2rem;
}
body.light-mode #download-cv{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #download-cv:hover{
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #contact-btn:hover{
  background: linear-gradient(to left,rgba(237, 233, 247, 0.1) 0%, rgba(72, 0, 255, 0.3) 100%);
  transition: linear 0.1s;
}
#location{
  font-family:'fuzzy Bubbles', sans-serif;
}

/* .iphone-container {
  position: relative;
  width: 300px;
  height: auto;
  transform: translateX(-150%);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  display: block;
}

.iphone-container.visible {
  transform: translateX(0);
  opacity: 1;
}

.iphone-container.hidden {
  transform: translateX(-150%);
  opacity: 0;
}
 
.iphone-container {
  position: relative;
  width: 222px;
  margin: 30px auto;
  transform: translateX(150%);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}


.iphone-container.visible {
  transform: translateX(0);
  opacity: 1;
}


.iphone-container.hidden {
  transform: translateX(150%);
  opacity: 0;
  pointer-events: none;
}


.iphone-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  border-radius:30px;
}


.screen-mask {
  position: absolute;
  top: 5px;       
  left: 8.5px;
  width: 206px;
  height: 438px;
  border-radius: 35px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}


.iphone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */
#bookmymeal{
  display:flex;
  justify-content: space-between;
  align-items:flex-end;
}
#logo1{
  position: relative;
  margin:0px 30px 0px 30px;
}
#logo1:hover{
  scale:1.1;
  transition:ease 0.3s;
}
#logo1:hover::before,
#logo1:hover::after{
    opacity:1;
}
#logo1::before{
    content: "figma.com";
    position: absolute;
    bottom: 111%; /* Position above */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(181, 170, 255, 0.4);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#logo1::after{
    content: "";
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(181, 170, 255, 0.4) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.uiux-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap; /* Optional: makes it responsive on small screens */
}

.uiux-description {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  text-wrap: pretty;
  word-break:normal;
}

/* .iphone-container {
  flex-shrink: 0;
  position: relative;
  opacity: 0;
  transition: all 1s ease;
}

.iphone-container.show {
  transform: translateX(0); 
} */
#tool-list{
  list-style-type: none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap: wrap;
  gap:0.8rem;
  font-size:0.9rem;
  margin:2rem 0rem;
}
#tool-list li{
  margin-top:0.3rem;
  padding:0.3rem 1rem 0.3rem 1rem;
  border:1px solid currentColor;
  opacity:0.9;
  border-radius:2rem;
}
#tool-list li:hover{
  background-color:rgba(181, 170, 255, 0.4);
  opacity:1;
  transition:ease 0.3s;
}

.read-more-intro {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.read-more-btn {
  display: block;
  margin-right: 1rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.3) 100%);
  color:currentColor;
  text-decoration: none;
  transition: 0.3s;
  border:1px solid rgba(91, 60, 196, 0.4);
  box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
  backdrop-filter: blur(3px);
  border-radius:2rem;
  margin-top:1.5rem;
  cursor: pointer;
}

.read-more-btn:hover {
  background: linear-gradient(to left,rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.3) 100%);
  transition: linear 1s;
}
body.light-mode .read-more-btn:hover{
  background: linear-gradient(to left,rgba(237, 233, 247, 0.1) 0%, rgba(72, 0, 255, 0.3) 100%);
  transition: linear 0.1s;
}

.case-study h3 {
  margin-bottom: 2rem;
  font-family:'Fuzzy Bubbles', sans-serif;
  font-weight:400;
  margin-top:2rem;
}

.case-study h4 {
  margin-top: 15px;
  font-weight: bold;
  margin-top:2rem;
}

.case-study p {
 line-height: 1.7;
 letter-spacing:0.03em;
}

.hidden {
  display: none;
}
.case-study{
  position: relative;
}
.colors{
  width:200px;
  height:200px;
  background:white;
  border:1px solid #333;
  border-radius:2rem;
  overflow:hidden;
}
#color1{
  background: linear-gradient(#A619FE 0%,#640F99 100%);
  width:100%;
  height:16%;
}
#color1:hover{
  height:23%;
  &::after{
    content: "#A619FE 0%-#640F99 100%";
    font-size:12px;
    color:white;
    margin-left:10px;
  }
}
#color2{
  background:#A719FF;
  width:100%;
  height:14.2%;
}
#color2:hover{
  height:23%;
  &::after{
    content: "#A719FF";
    font-size:12px;
    color:white;
    margin-left:10px;
  }
}
#color3{
  background: linear-gradient(#A619FE 0%,#640F99 100%);
  opacity:55%;
  width:100%;
  height:14.2%;
}
#color3:hover{
  height:23%;
  &::after{
    content: "#A619FE-#640F99 0.55";
    font-size:12px;
    color:white;
    margin-left:10px;
  }
}
#color4{
  background: linear-gradient(#A619FE 0%,#640F99 100%);
  opacity:26%;
  width:100%;
  height:14.2%;
}
#color4:hover{
  height:23%;
  &::after{
    content: "#A619FE-#640F99 0.26";
    font-size:12px;
    color:white;
    margin-left:10px;
  }
}
#color5{
  background:#A719FF;
  opacity:26%;
  width:100%;
  height:14.2%;
}
#color5:hover{
  height:23%;
  &::after{
    content: "#A719FF 0.26";
    font-size:12px;
    color:white;
    margin-left:10px;
  }
}
#color6{
  background: linear-gradient(#FF19CD 0%,#990F7B 100%);
  width:100%;
  height:14.2%;
}
#color6:hover{
  height:23%;
  &::after{
    content: "#FF19CD 0%-#990F7B 100%";
    font-size:12px;
    color:white;
    margin-left:10px;
  }
}
#color7{
  background:#F3EEF6;
  width:100%;
  height:14.2%;
}
#color7:hover{
  height:23%;
  &::after{
    content: "#F3EEF6";
    font-size:12px;
    color:black;
    margin-left:10px;
  }
}
.color-typography{
  display:flex;
  justify-content: space-around;
  align-items:flex-start;
}
#color-container{
  margin:0;
  padding:0;
  text-align:center;
}
.color-typography#color-container strong p{
  margin:5px 0px 23px 0px;
  padding:0;
}
#color-text{
  font-family: 'Fuzzy Bubbles';
  font-size:0.9rem;
}
.table-container {
  overflow-x: auto;
  box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
  border-radius: 12px;
  margin-top:0.9rem;
  margin-bottom:2.5rem;
}
.typography{
  margin-top:0.9rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
}

thead {
  background-color: transparent;
}

thead th {
  padding: 14px 12px;
  font-weight: 600;
  text-align: left;
  font-size: 14px;
}

tbody td {
  padding: 12px;
  font-size: 14px;
  border-top: 1px solid #e0e0e0;
  color:rgba(255, 255, 255, 0.7);
}
body.light-mode tbody td{
  color:rgba(0, 0, 0, 0.7);
}
tbody tr:hover {
  background-color: rgba(92, 60, 196, 0.3);
}
body.light-mode tbody tr:hover{
  background-color: rgba(91, 60, 196, 0.05);
}
strong {
  font-weight: 600;
}
#wireframe{
  width:100%;
  height:auto;
  margin:1rem 0rem;
}
img{
  -webkit-user-drag: none;
}
#userflow{
  width:100%;
  overflow:hidden;
  border: 1px solid rgba(91, 60, 196, 0.4);
  border-radius:1rem;
  margin-top:2rem;
}
#userflow-img{
  width:100%;
  object-fit:cover;
  margin-bottom:-1rem;
}

#userflow-img:hover{
  scale:1.01;
  transition:ease 0.1s;
}
#note2{
  text-align:center;
  font-family:'Fuzzy Bubbles';
  margin-bottom:2rem;
}

.iphone-container {
  position: relative;
  width: 222px;
  margin: 30px auto;
  transform: translateX(150%);
  opacity: 0;
  pointer-events: none;
  animation: phonemove1 1s ease 1;
}
@keyframes phonemove1 {
  0%{
      transform: translateX(0);
      opacity: 1;
    }
  100%{
      transform: translateX(150%);
      opacity: 0;
    }
}

.iphone-container.visible {
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
  animation: phonemove2 1s ease 1;
}
@keyframes phonemove2 {
  0%{
      transform: translateX(150%);
      opacity: 0;
    }
  100%{
      transform: translateX(0);
      opacity: 1;
    }
}
.iphone-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 30px;
}

.screen-mask {
  position: absolute;
  top: 5px;
  left: 8.5px;
  width: 206px;
  height: 438px;
  border-radius: 35px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.iphone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wcag-list{
  font-size:1rem;
  line-height:2rem;
}
body.light-mode strong{
  color:currentColor;
}
strong{
  color:white;
}
.typography{
  text-align:center;
}
#concept-design{
  width:100%;
  border: 1px solid rgba(91, 60, 196, 0.4);
  border-radius:1rem;
  margin:2rem 0rem;
  overflow:hidden;
}
#concept-design img{
  width:100%;
  object-fit:cover;
  margin-bottom:-1rem;
}
#concept-design img:hover{
  scale:1.01;
  transition:ease 0.1s;
}
#note1{
  font-family: 'Fuzzy Bubbles';
  font-size:0.9rem;
  text-align:justify;
}
#frontend-projects{
  padding: 1rem 5rem 2rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}
#project-heading{
  flex:1;
  font-family:'fuzzy Bubbles', sans-serif;
  font-size:large;
  font-weight: 700;
}
#logo2{
  position: relative;
  margin-right:30px;
}
#logo2:hover{
  scale:1.1;
  transition:ease 0.3s;
}
#logo2:hover::before,
#logo2:hover::after{
    opacity:1;
}
#logo2::before{
    content: "ludopro.site";
    position: absolute;
    bottom: 111%; /* Position above */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(181, 170, 255, 0.4);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#logo2::after{
    content: "";
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(181, 170, 255, 0.4) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.light-mode #logo1::before{
    color:black;
}
body.light-mode #logo2::before{
    color:black;
}
.frontend-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap; 
}

.frontend-description {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  text-wrap: pretty;
  word-break:normal;
}
.macbook {
  position: relative;
  width: 300px;
  margin: 45px 0px 0px 0px;
  transform: translateX(0);
  opacity: 1;
  pointer-events: none;
  animation: phonemove1 1s ease 1;
}
@keyframes phonemove1 {
  0%{
      transform: translateX(0);
      opacity: 1;
    }
  100%{
      transform: translateX(150%);
      opacity: 0;
    }
}
.macbook.visible {
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
  animation: phonemove2 1s ease 1;
}
@keyframes phonemove2 {
  0%{
      transform: translateX(150%);
      opacity: 0;
    }
  100%{
      transform: translateX(0);
      opacity: 1;
    }
}
.macbook-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 30px;
}

.macbook-mask {
  position: absolute;
  top: 5px;
  left: 0px;
  right:0px;
  margin-inline:auto;
  width: 245px;
  height: 170px;
  border-radius: 0px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.iphone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#view-container1{
    display:flex;
    justify-content: center;
    align-items: center;
}
#view1{
    display:block;
    margin:1rem;
    padding:0.5rem 1rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    cursor: pointer;
}
#view1:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #view1{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #view1:hover{
  scale:1.03;
  transition: ease 0.1s;
}
#view-container2{
    display:flex;
    justify-content: center;
    align-items: center;
}
#view2{
    display:none;
    margin:1rem;
    padding:0.5rem 1rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    cursor: pointer;
}
#view2:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #view2{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #view2:hover{
  scale:1.03;
  transition: ease 0.1s;
}
.screen-mask-ludo {
  display:none;
  position: absolute;
  top: 5px;
  left: 5px;
  width: 206px;
  height: 438px;
  border-radius: 35px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.iphone-video2 {
  width: 100%;
  height: 110%;
  object-fit: cover;
}
#ludo-btn-container{    
    width:fit-content;
    margin:0;
}
#ludo-btn{
    text-decoration:none;
    padding:0.5rem 1rem;
    border:1px solid rgba(91, 60, 196, 0.4);
    background: linear-gradient(rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.3) 100%);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    backdrop-filter: blur(3px);
    color:currentColor;
    border-radius:2rem;
    margin:0;
    font-size:15px;
}
#ludo-btn:hover {
  background: linear-gradient(to left,rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.3) 100%);
  transition: linear 1s;
}
body.light-mode #ludo-btn:hover{
  background: linear-gradient(to left,rgba(237, 233, 247, 0.1) 0%, rgba(72, 0, 255, 0.3) 100%);
  transition: linear 0.1s;
}
#note3{
  text-align:justify;
  font-family:'Fuzzy Bubbles';
  margin-bottom:2rem;
  font-weight:900;
  border:1px solid rgba(203, 177, 251, 0.9);
  padding:1rem;
  border-radius:1rem;
  font-size:0.9rem;
}
#grocery{
  display:flex;
  justify-content: space-between;
  align-items:flex-end;
  margin:3rem 0rem 2rem 0rem;
}
#logo3{
  position: relative;
  margin:0px 30px 0px 30px;
}
#logo3:hover{
  scale:1.1;
  transition:ease 0.3s;
}
#logo3:hover::before,
#logo3:hover::after{
    opacity:1;
}
#logo3::before{
    content: "github.com";
    position: absolute;
    bottom: 111%; /* Position above */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(181, 170, 255, 0.4);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#logo3::after{
    content: "";
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(181, 170, 255, 0.4) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.light-mode #logo3::before{
    color:black;
}
.macbook-grocery {
  position: relative;
  width: 300px;
  margin: 45px 0px 0px 0px;
  transform: translateX(0);
  opacity: 1;
  pointer-events: none;
  animation: phonemove1 1s ease 1;
}
@keyframes phonemove1 {
  0%{
      transform: translateX(0);
      opacity: 1;
    }
  100%{
      transform: translateX(150%);
      opacity: 0;
    }
}

.macbook-grocery.visible {
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
  animation: phonemove2 1s ease 1;
}
@keyframes phonemove2 {
  0%{
      transform: translateX(150%);
      opacity: 0;
    }
  100%{
      transform: translateX(0);
      opacity: 1;
    }
}
.macbook-grocery-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 30px;
}

.macbook-grocery-mask {
  position: absolute;
  top: 5px;
  left: 0px;
  right:0px;
  margin-inline:auto;
  width: 245px;
  height: 170px;
  border-radius: 0px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.iphone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#view-container3{
    display:flex;
    justify-content: center;
    align-items: center;
}
#view3{
    display:block;
    margin:1rem;
    padding:0.5rem 1rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    cursor: pointer;
}
#view3:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #view3{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #view3:hover{
  scale:1.03;
  transition: ease 0.1s;
}
#view-container4{
    display:flex;
    justify-content: center;
    align-items: center;
}
#view4{
    display:none;
    margin:1rem;
    padding:0.5rem 1rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    cursor: pointer;
}
#view4:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #view4{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #view4:hover{
  scale:1.03;
  transition: ease 0.1s;
}

#full-screen-btn{
    margin:1rem;
    padding:0rem 0.5rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    font-size:26px;
    cursor: pointer;
}
#full-screen-btn:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #full-screen-btn{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #full-screen-btn:hover{
  scale:1.03;
  transition: ease 0.1s;
}
#ludo-heading{
  display:flex;
  justify-content: space-between;
  align-items:flex-end;
}
#resize-screen-btn{
    display:none;
    margin:1rem;
    padding:0rem 0.7rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    font-size:26px;
    cursor: pointer;
}
#resize-screen-btn:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #resize-screen-btn{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #resize-screen-btn:hover{
  scale:1.03;
  transition: ease 0.1s;
}
#full-screen-btn2{
    margin:1rem;
    padding:0rem 0.5rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    font-size:26px;
    cursor: pointer;
}
#full-screen-btn2:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #full-screen-btn2{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #full-screen-btn2:hover{
  scale:1.03;
  transition: ease 0.1s;
}
#resize-screen-btn2{
    display:none;
    margin:1rem;
    padding:0rem 0.7rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    font-size:26px;
    cursor: pointer;
}
#resize-screen-btn2:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
  cursor: pointer;
}
body.light-mode #resize-screen-btn2{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #resize-screen-btn2:hover{
  scale:1.03;
  transition: ease 0.1s;
}
.frontend-content2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap; 
}

.frontend-description2 {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  text-wrap: pretty;
  word-break:normal;
  
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 120px;
  gap: 10px;
  margin-top: 3rem;
  
}

.item {
  border: 1px solid rgba(91, 60, 196, 0.4);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow:hidden;
  position:relative;
}

/* Shape variations to mimic mosaic */
.item1 { grid-column: span 1; grid-row: span 1; }
.item2 { grid-column: span 2; grid-row: span 1; }
.item3 { grid-column: span 1; grid-row: span 3; }
.item4 { grid-column: span 2; grid-row: span 2; }
.item5 { grid-column: span 1; grid-row: span 2; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
  }
}
#other-project{
  flex:1;
  font-family:'fuzzy Bubbles', sans-serif;
  font-size:larger;
  font-weight: 700;
  margin:5rem 0rem 0rem 0rem;
}
.item1 > img{
  object-fit: contain;
  margin:5rem 0rem 0rem 1rem;
  width:450px;
}

.item4 > img{
  object-fit: contain;
  width:600px;
}
.item2 > img{
  object-fit: contain;
  width:600px;
  margin:1rem 0rem 0rem 0rem;
}
.item3 > img{
  object-fit: contain;
  width:215px;
}
.item > img{
  transition: transform 0.3s ease;
}
.item5 > img{
  object-fit: contain;
  width:500px;
  margin: 2rem 0rem 0rem 0rem;
}
.item > img:hover{
  transform: scale(1.05);
}
#work-experience{
  padding: 1rem 5rem 2rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  
}
#contact-me{
  padding: 1rem 5rem 2rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}
#temp{
  width:100%;
  height:100%;
  position:absolute;
  z-index:5;
  color:white;
  display:flex;
  justify-content: center;
  align-items: center;
}
.item #temp:hover ~img,
.item #temp:hover +img,
.item:hover img{
  transform: scale(1.05);
}

.item #temp:hover,
.item:hover #temp{
  background: radial-gradient(transparent,rgba(0, 0, 0, 0.2));
}

#temp > div{
  display:none;
  margin:0;
  padding:0.5rem 0.5rem 0rem 0.5rem;
  background-color: black;
  border-radius:0.3rem;
  border:1px solid rgba(91, 60, 196, 0.4);
  border-radius:0.5rem;
  box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
}
#temp:hover > div{
  display:block;
}

.item:hover{
  box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
}
  #nav2 a {
  /* display: block; */
  padding: 8px 12px;
  margin: 6px 0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

#nav2 a.active {
  background-color: rgba(181, 170, 255, 0.4);
  color: rgb(255, 255, 255);
  font-weight: 600;
  transform: scale(1.05);
}
body.light-mode #nav2 a.active {
  background-color: rgba(91, 60, 196, 0.1);
  color: rgb(91, 60, 196);
  font-weight: 600;
  transform: scale(1.05);
}
body.light-mode #nav2 a:hover{
  background-color: rgba(91, 60, 196, 0.05);
}
#nav2 a:hover {
  background-color: rgba(91, 60, 196, 0.26);
}
#factPrismAI{
  display:flex;
  justify-content: space-between;
  align-items:flex-end;
  margin:3rem 0rem 2rem 0rem;
}
#logo4{
  position: relative;
  margin:0px 30px 0px 30px;
}
#logo4:hover{
  scale:1.1;
  transition:ease 0.3s;
}
#logo4:hover::before,
#logo4:hover::after{
    opacity:1;
}
#logo4::before{
    content: "factprism.netlify.app";
    position: absolute;
    bottom: 111%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(181, 170, 255, 0.4);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#logo4::after{
    content: "";
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(181, 170, 255, 0.4) transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.light-mode #logo4::before{
    color:black;
}
.macbook-factPrismAI {
  position: relative;
  width: 300px;
  margin: 45px 0px 0px 0px;
  transform: translateX(0);
  opacity: 1;
  pointer-events: none;
  animation: phonemove1 1s ease 1;
}
@keyframes phonemove1 {
  0%{
      transform: translateX(0);
      opacity: 1;
    }
  100%{
      transform: translateX(150%);
      opacity: 0;
    }
}
.macbook-factPrismAI.visible {
  pointer-events: auto;
  transform: translateX(0);
  opacity: 1;
  animation: phonemove2 1s ease 1;
}
@keyframes phonemove2 {
  0%{
      transform: translateX(150%);
      opacity: 0;
    }
  100%{
      transform: translateX(0);
      opacity: 1;
    }
}
.macbook-factPrismAI-img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 30px;
}

.macbook-factPrismAI-mask {
  position: absolute;
  top: 2px;
  left: 0px;
  right:0px;
  margin-inline:auto;
  width: 246px;
  height: 170px;
  border-radius: 0px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.screen-mask-factPrismAI {
  display:none;
  position: absolute;
  top: 5px;
  left: 5px;
  width: 206px;
  height: 438px;
  border-radius: 35px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.iphone-video3 {
  margin: -1rem 0rem 0rem 0rem;
  width: 100%;
  height: 122%;
  object-fit: cover;
}

#codado-logo {
  border: 1px solid #640F99;
  border-radius: 1rem;
}

.experience-container {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem 0rem 0rem 0rem;
}


/* -------------------------------
   Experience Card Styles
--------------------------------- */
.experience-card {
  position: relative;
  border: 2px solid rgba(91, 60, 196, 0.4);
  border-radius: 1rem;
  padding: 26px;
  box-shadow: 0px 1px 10px 1px rgba(91, 60, 196, 0.26);
  transition: transform 0.5s ease-out;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 2rem;
  perspective: 1000px;
  transform-style: preserve-3d;
  backdrop-filter: blur(1px);
  background: rgba(255, 255, 255, 0);
}

.experience-card:hover {
  transform: rotateX(26deg) rotateY(26deg);
}

/* -------------------------------
   Experience Heading
--------------------------------- */
.experience-heading {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(181, 170, 255, 0.4);
  padding: 8px 16px;
  border-radius: 0 0 1rem 0;
  font-size: 18px;
  font-weight: bold;
  font-family:'fuzzy bubbles', sans-serif;
}

.experience-links {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(181, 170, 255, 0.4);
  padding: 8px 16px;
  border-radius: 0rem 1rem 0rem 1rem;
  font-size: 18px;
  font-weight: bold;
  font-family:'fuzzy bubbles', sans-serif;
}

.experience-next {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(181, 170, 255, 0.4);
  padding: 8px 16px;
  border-radius: 1rem 0rem 0rem 0rem;
  font-size: 18px;
  font-weight: bold;
  font-family:'fuzzy bubbles', sans-serif;
}

.experience-links > div > a  {
  color: currentColor;
  text-decoration: none;
}

.experience-next > div {
  padding: 5px 0px 0px 0px;
}

.experience-prev {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(181, 170, 255, 0.4);
  padding: 8px 16px;
  border-radius: 0 0 1rem 0;
  font-size: 18px;
  font-weight: bold;
  font-family:'fuzzy bubbles', sans-serif;
  display: none;
}

.experience-prev > div > svg {
  transform: rotate(180deg);
}

.experience-heading,
.experience-links,
.experience-next,
.experience-prev {
  transition: ease 0.2s;
}

.experience-next:hover > div {
  transform: translate(10%);
}

.experience-prev:hover > div {
  transform: translate(-10%);
}
/* -------------------------------
   Experience Details (Role & Duration)
--------------------------------- */
.experience-details {
  margin-top: 50px; /* space for the heading */
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #999;
}

.experience-hidden {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin-inline: auto;
  text-align: center;
  margin: 15% auto;
  font-family:'fuzzy bubbles', sans-serif;
}

.experience-hidden > p {
  font-size: 1.2rem;
}
/* -------------------------------
   Experience Description
--------------------------------- */
.experience-description {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
/* Adjust unordered lists inside the experience cards */
.experience-description {
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
}

.experience-description ul {
  padding-left: 20px; /* Adds indentation */
  list-style-type: disc; /* Ensures bullet points appear */
}

.experience-description ul ul {
  padding-left: 15px; /* Additional indentation for nested lists */
  list-style-type: circle; /* Slightly different styling for sub-points */
}
.experience-card:hover {
  transform: rotateX(6deg) rotateY(6deg); /* Reduced tilt */
}
#experience > .experience-container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr); /* Keep 2 cards centered */
  gap: 3rem !important; /* Increase spacing */
  justify-content: center;
}
.experience-description a {
  color: rgb(181, 170, 255); /* Bright orange to match section theme */
  font-weight: bold;
  text-decoration: none; /* Remove default underline */
}

.experience-description a:hover {
  text-decoration: underline;
  color: rgba(181, 170, 255, 0.4); /* Slightly darker shade on hover */
}
@media (max-width: 768px) {
  #experience > .experience-container {
    grid-template-columns: 1fr; /* One card per row */
    padding: 0 16px;
  }
}
#experience {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  margin: 0rem 0rem 1rem 0rem;
}

/* --- MODERN CONTACT FORM STYLES --- */
        .contact-container {
            display: flex;
            flex-direction: column;
            gap: 60px; /* Space between form and social dock */
            margin: 5rem 0rem 0rem 0rem;
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr; /* Two equal columns */
            align-items: center;
            gap: 50px;
            background: linear-gradient(rgba(237, 233, 247, 0) 0%, rgba(237, 233, 247, 0.3) 100%);
            padding: 40px;
            border-radius: 20px;
            border: 1px solid rgba(91, 60, 196, 0.4);
            box-shadow: 0px 1px 10px 1px rgba(91, 60, 196, 0.26);
        }

         .contact-svg {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
            opacity: 0;
            /* UPDATED: Initial state is now shifted left AND down for a diagonal effect */
            transform: translate(-50px, 50px); 
            transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        .contact-svg.is-visible {
            opacity: 1;
            /* UPDATED: Final state is now explicitly translate(0, 0) */
            transform: translate(0, 0); 
        }



        .contact-form h2 {
            font-size: 2.2rem;
            margin-bottom: 30px;
            font-weight: 700;
        }

        .form-group {
            position: relative;
            margin-bottom: 30px;
        }

        .form-input {
            width: 100%;
            padding: 15px 0;
            font-size: 1rem;
            background-color: transparent;
            border: none;
            border-bottom: 2px solid rgba(181, 170, 255, 0.745);
            outline: none;
            transition: border-color 0.3s;
            text-align: left;
            color: currentColor;
        }

        .form-label {
            position: absolute;
            top: 15px;
            left: 0;
            font-size: 1rem;
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .form-input:focus + .form-label,
        .form-input:not(:placeholder-shown) + .form-label {
            top: -20px;
            font-size: 0.875rem;
            color: rgba(181, 170, 255, 0.745);
        }

        .form-input:focus {
            border-bottom-color: rgba(181, 170, 255, 0.4);
            color: currentColor;
        }

        textarea.form-input {
            resize: vertical;
            min-height: 80px;
            color: currentColor;
        }

        .submit-btn {
            display: block;
            width: 100%;
            padding: 15px;
            font-size: 1.1rem;
            background: linear-gradient(45deg, rgba(181, 170, 255, 0.4), rgba(181, 170, 255, 0.745));
            border: none;
            border-radius: 26px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            color: currentColor;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(91, 60, 196, 0.2);
        }

        /* --- SOCIAL DOCK STYLES (REDESIGNED) --- */
        .social-dock {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .social-dock ul {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
            gap: 20px; /* Increased gap for the new design */
        }

        .social-dock li a {
            display: flex; /* Changed to flex to center the icon */
            justify-content: center;
            align-items: center;
            width: 70px; /* Container width */
            height: 70px; /* Container height */
            font-size: 2.2rem;
            background: linear-gradient(rgba(237, 233, 247, 0) 0%, rgba(237, 233, 247, 0.3) 100%);
            border: 1px solid rgba(91, 60, 196, 0.4);
            border-radius: 50%; /* Rounded square shape */
            transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s, background-color 0.3s;
            text-decoration: none;
            color: currentColor;
        }
        
        .social-dock li a:hover {
            background-color: rgba(181, 170, 255, 0.745);
        }

        .social-dock ul:hover li a {
            transform: scale(0.9);
            opacity: 0.7;
        }

        .social-dock ul li a:hover {
            transform: scale(1.3);
            opacity: 1;
        }
        
        /* --- RESPONSIVE STYLES --- */
        @media (max-width: 768px) {
            .contact-content {
                grid-template-columns: 1fr; /* Stack on smaller screens */
            }
            .contact-svg {
                max-width: 100px;
                margin-bottom: -20px;
            }
            .social-dock li a {
                width: 60px;
                height: 60px;
                font-size: 2rem;
            }
        }

        .form-heading {
          font-family: 'fuzzy bubbles', sans-serif;
        }

        .footer {
          font-family: 'fuzzy bubbles', sans-serif;
          text-align: center;
        }

#view-container5{
    display:flex;
    justify-content: center;
    align-items: center;
}
#view5{
    display:block;
    margin:1rem;
    padding:0.5rem 1rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    cursor: pointer;
}
#view5:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #view5{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #view5:hover{
  scale:1.03;
  transition: ease 0.1s;
}
#view-container6{
    display:flex;
    justify-content: center;
    align-items: center;
}
#view6{
    display:none;
    margin:1rem;
    padding:0.5rem 1rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    cursor: pointer;
}
#view6:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #view6{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #view6:hover{
  scale:1.03;
  transition: ease 0.1s;
}

#full-screen-btn3{
    margin:1rem;
    padding:0rem 0.5rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    font-size:26px;
    cursor: pointer;
}
#full-screen-btn3:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #full-screen-btn3{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #full-screen-btn3:hover{
  scale:1.03;
  transition: ease 0.1s;
}
#resize-screen-btn3{
    display:none;
    margin:1rem;
    padding:0rem 0.7rem;
    outline:none;
    border-radius:12px;
    font-family:'Poppins';
    background: rgb(240, 240, 240);
    color:black;
    border-radius: 8px;
    border:1px solid rgba(91, 60, 196, 0.4);
    box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
    font-size:26px;
    cursor: pointer;
}
#resize-screen-btn3:hover{
  background: rgb(0, 0, 0);
  color:white;
  border-radius: 8px;
  scale:1.03;
  transition: ease 0.1s;
}
body.light-mode #resize-screen-btn3{
  background: black;
  color:white;
  border-radius: 8px;
}
body.light-mode #resize-screen-btn3:hover{
  scale:1.03;
  transition: ease 0.1s;
}
.frontend-content3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap; 
}

.frontend-description3 {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  text-wrap: pretty;
  word-break:normal;
}

#small-nav3{
      display:none;
      position:absolute;
      top: 1rem;
      left: 1rem;
      z-index: 5;
      background: linear-gradient(rgba(237, 233, 247, 0) 0%, rgba(237, 233, 247, 0.3) 100%);
      border: 1px solid rgba(91, 60, 196, 0.4);
      padding: 0.9rem 0.5rem;
      border-radius: 1rem;
      box-shadow: 0px 1px 10px 1px rgba(91, 60, 196, 0.26);
      transition: width 0.4s ease-in-out;
      backdrop-filter: blur(3px);
      width:fit-content;
    }
  #nav3 a {
  /* display: block; */
  padding: 1rem 1rem 0.2rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.navsvg {
  margin: 1px 0px 0px 0px;
}

#nav3 a.active {
  background-color: rgba(181, 170, 255, 0.4);
  color: rgb(255, 255, 255);
  transform: scale(1.05);
}
body.light-mode #nav3 a.active {
  background-color: rgba(91, 60, 196, 0.1);
  color: rgb(91, 60, 196);
  transform: scale(1.05);
}
body.light-mode #nav3 a:hover{
  background-color: rgba(91, 60, 196, 0.05);
}
#nav3 a:hover {
  background-color: rgba(91, 60, 196, 0.26);
}

@media (max-width: 650px) {
  #nav-container {
    display: none;
  }
  .content {
    padding: 90px 26px 0px 26px;
  }
  #about {
    margin: 0;
    padding: 0;
  }
  #small-nav3 {
    display: block;
  }
  #download-cv {
    font-size: 0.9rem;
  }
  #contact-btn {
    font-size: 0.9rem;
  }
  #uiux-projects {
    margin: 0;
    padding: 5rem 0rem 0rem 0rem;
  }
  #logo1 {
    margin: 0rem 0rem 0rem 2rem;
  }
  .uiux-content {
    flex-direction: column-reverse;
  }
  #frontend-projects {
    margin: 0;
    padding: 5rem 0rem 0rem 0rem;
  }
  #logo2 {
    margin: 0rem 0rem 0rem 2rem;
  }
  #logo3 {
    margin: 0rem 0rem 0rem 2rem;
  }
  #logo4 {
    margin: 0rem 0rem 0rem 2rem;
  }
  .frontend-content {
    flex-direction: column-reverse;
  }
  .frontend-content2 {
    flex-direction: column-reverse;
  }
  .frontend-content3 {
    flex-direction: column-reverse;
  }
  #project-heading {
    text-align: left;
  }
  .item1 { grid-column: span 1; grid-row: span 1; }
  .item2 { grid-column: span 1; grid-row: span 2; }
  .item3 { grid-column: span 1; grid-row: span 3; }
  .item4 { grid-column: span 1; grid-row: span 2; }
  .item5 { grid-column: span 2; grid-row: span 2; }
  #work-experience {
    margin: 0;
    padding: 5rem 0rem 0rem 0rem;
  }
  .experience-description ul {
  padding-left: 0px; /* Adds indentation */
  }
  #contact-me {
    margin: 0;
    padding: 5rem 0rem 0rem 0rem;
  }
  .contact-svg > svg {
    width: 110%;
  }
  .contact-svg > svg {
    width: 100px !important;
    height: 100px !important;
  }
  .social-dock ul {
      gap: 11px; 
  }
  .social-dock li a {
    width: 50px; 
    height: 50px; 
    font-size: 2.2rem;
    border-radius: 50%; 
  }
  .content {
    overflow-x: hidden;
  }
  .about-buttons {
  margin-top: 3rem;
  display:flex;
}

.about-buttons .btn {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.3) 100%);
  color:currentColor;
  text-decoration: none;
  transition: 0.3s;
  border:1px solid rgba(91, 60, 196, 0.4);
  box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
  backdrop-filter: blur(3px);
}
.experience-hidden {
  margin: 50% auto !important;
}
.macbook {
  margin: 2rem auto;
}
.macbook-grocery {
  margin: 2rem auto;
}
.macbook-factPrismAI {
  margin: 2rem auto;
}
#full-screen-btn {
  display: none !important;
}
#full-screen-btn2 {
  display: none !important;
}
#full-screen-btn3 {
  display: none !important;
}
.item4 > img{
  object-fit: contain;
  width:500px !important;
}
.item2 > img{
  object-fit: contain;
  width:600px;
  margin:1rem 0rem 0rem 0rem;
}
.item3 > img{
  object-fit: contain;
  margin:2rem 0rem 0rem 0rem !important;
  width:200px !important;
}
.item > img{
  transition: transform 0.3s ease;
}
.item5 > img{
  object-fit: contain;
  width:500px !important;
  margin: 5rem 0rem 0rem 0rem !important;
}
.footer {
  margin: 5rem 0rem;
}
}

@media (max-width: 950px) {
  #small-nav {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  #nav-container {
    display: none;
  }
  .content {
    padding: 90px 26px 0px 26px;
  }
  #download-cv {
    font-size: 0.9rem;
  }
  #small-nav {
    display: block !important;
  }
  #contact-btn {
    font-size: 0.9rem;
  }
  .footer {
  margin: 5rem 0rem;
  }
}

@media (max-width: 820px) {
  #nav-container {
    display: none;
  }
  .content {
    padding: 90px 26px 0px 26px;
  }
  #download-cv {
    font-size: 0.9rem;
  }
  #small-nav {
    display: none !important;
  }
  #small-nav3 {
    display: block !important;
  }
  #contact-btn {
    font-size: 0.9rem;
  }
  .footer {
  margin: 5rem 0rem;
  }
}

@media (max-width: 768px) {
    #nav-container {
    display: none;
  }
  .content {
    padding: 90px 26px 0px 26px;
  }
  #about {
    margin: 0;
    padding: 0;
  }
  #small-nav3 {
    display: block;
  }
  #download-cv {
    font-size: 0.9rem;
  }
  #contact-btn {
    font-size: 0.9rem;
  }
  #uiux-projects {
    margin: 0;
    padding: 5rem 0rem 0rem 0rem;
  }
  #logo1 {
    margin: 0rem 0rem 0rem 2rem;
  }
  #frontend-projects {
    margin: 0;
    padding: 5rem 0rem 0rem 0rem;
  }
  #logo2 {
    margin: 0rem 0rem 0rem 2rem;
  }
  #logo3 {
    margin: 0rem 0rem 0rem 2rem;
  }
  #logo4 {
    margin: 0rem 0rem 0rem 2rem;
  }
  #project-heading {
    text-align: left;
  }
  .item1 { grid-column: span 1; grid-row: span 1; }
  .item2 { grid-column: span 1; grid-row: span 2; }
  .item3 { grid-column: span 1; grid-row: span 3; }
  .item4 { grid-column: span 1; grid-row: span 2; }
  .item5 { grid-column: span 2; grid-row: span 2; }
  #work-experience {
    margin: 0;
    padding: 5rem 0rem 0rem 0rem;
  }
  .experience-description ul {
  padding-left: 0px; /* Adds indentation */
  }
  #contact-me {
    margin: 0;
    padding: 5rem 0rem 0rem 0rem;
  }
  .contact-svg > svg {
    width: 100%;
  }
  .contact-svg > svg {
    width: 100px;
    height: 100px;
  }
  .social-dock ul {
      gap: 11px; 
  }
  .social-dock li a {
    width: 50px; 
    height: 50px; 
    font-size: 2.2rem;
    border-radius: 50%; 
  }
  .content {
    overflow-x: hidden;
  }
  .about-buttons {
  margin-top: 3rem;
  display:flex;
}

.about-buttons .btn {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(rgba(237, 233, 247, 0.1) 0%, rgba(237, 233, 247, 0.3) 100%);
  color:currentColor;
  text-decoration: none;
  transition: 0.3s;
  border:1px solid rgba(91, 60, 196, 0.4);
  box-shadow: 0 0 7px 1px rgba(100, 100, 255, 0.4);
  backdrop-filter: blur(3px);
}
.experience-hidden {
  margin: 20% auto;
}
.macbook {
  margin: 2rem auto;
}
.macbook-grocery {
  margin: 2rem auto;
}
.macbook-factPrismAI {
  margin: 2rem auto;
}
.item1 > img{
  object-fit: contain;
  margin:7rem 0rem 0rem 1rem;
  width:490px;
}

.item4 > img{
  object-fit: contain;
  width:600px;
}
.item2 > img{
  object-fit: contain;
  width:600px;
  margin:1rem 0rem 0rem 0rem;
}
.item3 > img{
  object-fit: contain;
  margin:12rem 0rem 0rem 0rem;
  width:350px;
}
.item > img{
  transition: transform 0.3s ease;
}
.item5 > img{
  object-fit: contain;
  width:800px;
  margin: 15rem 0rem 0rem 0rem;
}
.footer {
  margin: 5rem 0rem;
}
}
