
    body {
      font-family: 'Fira Mono';
      margin: 0;
      padding: 0;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #eeeeee;
      overflow: hidden;
      font-size: large; 
    }  

    .main-box {
      width: 1220px;
      height: 92vh; 
      max-height: 90vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      background: #fff8ee;
      border: 2px solid #000000;
      border-radius: 6px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 
      font-size: 0.9em; 
      line-height: 1.4;  
    } 

    .tab-wrapper {
      display: flex;
      padding: 10px;
      padding-bottom: 0;
      background: #fc8879;
      border-radius: 6px 6px 0 0;
      position: relative;
      padding-bottom: 0px; 
    }

    .tab {
      padding: 8px 20px;
      background: transparent;
      min-width: 140px;
      text-align: center;
      margin-right: 8px;
      border: 1px solid transparent;
      border-radius: 6px 6px 0 0;
      cursor: pointer;
      transition: background 0.5s ease, transform 0.5s ease;
      position: relative;
      z-index: 1;
      color: #000000;
      margin-bottom: 0px; 
       font-weight: bold;
    }

    .tab:not(.active):hover {
      background: #ffb5ab;
      border-radius: 10px 10px 0 0;
      transform: translateY(-2px);
    } 

    .tab.active {
      background: #fff8ee;
      border: 2px solid black;
      border-bottom: 1px solid transparent;  
      z-index: 3;
      margin-bottom: 0;
    } 

    .connector {
      height: 30px;
      background: #fff8ee;
      border: 2px solid black;
      border-left: none;
      border-right: none;
      border-bottom: none;
      position: relative;
      z-index: 2;
    }

    .connector::before {
  content: '';
  position: absolute;
  height: 2px;
  background: #fff8ee;
  top: -2px;
  z-index: 3;
  left: 0;
  width: 0;
  transition: left 0.3s ease, width 0.3s ease;
}


    .tab-content {
      padding: 14px 16px;
      border: 2px solid #000000;
      border-left: none;
      border-right: none;
      border-bottom: none;
      border-top: none;
      border-radius: 0 0 6px 6px;
      background: #fff8ee;
      min-height: 550px;
      position: relative;
      z-index: 1;
    }

    .content {
      opacity: 0;
      visibility: hidden;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      transition: opacity 0.3s ease;
      display: none;
      height: 100%;
      overflow-y: auto;
    }

    .content.active {
      position: relative;
      opacity: 1;
      visibility: visible;
      display: block; 
    }

  .tab-content {
  height: 550px;
  overflow: hidden;
  scroll-snap-type: y mandatory;
  position: relative;
}  


#about {
  padding: 0 10px; 
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image-wrapper {
  width: 90%;         /* Increase this to widen image: try 95%, 100%, etc */
  height: 100%;
  overflow: hidden; 
  border-radius: 0 0 6px 6px;
}

.about-img {
  width: 98%;
  height: 92%; 
  object-fit: cover;
  display: block;
}


#graphics {
  padding: 20px;
  position: relative;
  overflow: visible; 
  
}

.graphics-images {
  display: flex;
  gap: 80px; 
  position: absolute;
  top: 80px;
  left: 40px;
}


.graphics-images img {
  width: 1000px; /* Adjust as needed */
  height: auto;
  border-radius: 6px;
 }

  .folder-grid {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 90px; 
  position: absolute;   
  left: 4%;
}

.folder-item {
  display: flex;
  flex-direction: column;
  /* align-items: center; or center depending on your alignment  */ 
}   

.folder-item img {
  width: 200px;
  height: auto;
  flex-shrink: 0;
  text-align: center;
}

.folder-item span {
  margin-top: 3px;
  margin-left: 10px;  
  
  display: inline-block;
  font-weight: bold;
  font-family: monospace;
  
}

.image-viewer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 4px solid #fc8c73; 
  z-index: 999;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
} 

.image-viewer img {
  width: 100%;       /* fit container */
  height: auto;
  display: block;
  object-fit: contain;
}


.image-viewer.hidden {
  display: none;
}

.scroll-img-container {
  display: flex;
  flex-direction: column; 
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  width: 100%;
  overflow-y: auto;       /* ✅ scrollable only if needed */
  padding: 12px 16px; 
  box-sizing: border-box;
  border-radius: 8px; 
}  



.scroll-img-container img {
  width: 100%;
  height: auto;
  display: block;
}

#close-viewer {
  position: absolute;
  top: 8px;
  right: 12px;
  background: #F47A5D;
  color: white;
  border: none;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  cursor: pointer;
  width: 32px;
  height: 32px;
  line-height: 30px;
  text-align: center;
}


 .label {
  margin-top: 10px;        /* spacing from image */
  margin-left: -5px;       /* your existing left shift */
  font-family: monospace;
  font-weight: bold;
  font-size: 25px; 
  left: 100%;
      
} 

.first-label {
  margin-top: 11px; 
  margin-left: 0px;
}
        
.folder-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ this centers the label under the image */
  text-align: center;
  width: 200px; /* same as your image width to maintain alignment */
}

.folder-item:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.label {
  margin-top: 10px;
  font-family: monospace;
  font-weight: bold;
  font-size: 25px;
}

#big-image {
  width: 100%;
  min-height: 1034px;        /* ✅ Ensures first image fills view */
  object-fit: contain;
  display: block;
  border-radius: 12px;  
} 

#design-preview {
  height: calc(100% - 65px); /* ya direct: height: 96%; */  
}  

/* #design-preview {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  max-width: 100vw;
  padding: 0;
  margin: 0;
  overflow: hidden;
} */ 


#uiux .folder-grid {
  position: relative;  /* ✅ absolute hata diya */
  top: 0;
  left: 4%;   
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 90px;   
} 


.content#uiux {
  position: relative;
  min-height: 550px;
  z-index: 1;
  overflow: hidden;
  margin-top: 40px;
}


.modal-content-wrapper {
  display: flex;
  align-items: center; 
  justify-content: center;
  padding: 0;   
  overflow: hidden; 
  height: 100%;
  width: 100%; 
  background: whitesmoke;   
  border-radius: 8px; 
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}


  #uiux-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 9999; 
    font-size: 24px; 
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #333; 
    cursor: pointer;
  } 

  #uiux-close:hover {
    color: #000;
  } 

  #uiux-link {
    display: inline-block;
    font-weight: 600;
    color: #ff4f4f;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
  }
  #uiux-link:hover {
    color: #e00000;
    border-bottom: 1px solid #e00000;
  }



 .img-circle-container {
  position: relative;
  display: inline-block;
} 

.circle-button-wrapper {
  position: absolute;
  bottom: 10%; /* Adjust as needed */
  left: 72%;
  transform: translateX(-50%);
  z-index: 999;
}    

.circle-button{
  text-decoration: none;
}

.outer-circle {
  width: 111px;
  height: 111px;
  border: 3px solid black;
  border-radius: 50%;
  position: relative;
  background-color: #d6d7d7; 
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.click-text {
  color: black;
  font-weight: bold;
  font-size: 24px;
  z-index: 2;
  position: relative;
}

.orbit-container {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateOrbit 4s linear infinite;
  top: 0;
  left: 0;
} 

.orbiting-circle {
  width: 12px;
  height: 12px;
  background-color: black;
  border-radius: 50%;
  position: absolute;
  top: -6px; 
  left: 50%;
  /* transform-origin: 45px center;
  animation: rotateOrbit 2s linear infinite; */
  transform: translateX(-50%);
}

@keyframes rotateOrbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  } 
}

#cnt {
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 10.8px;     
}

.image-wrapper {
  width: 88%;         /* Increase this to widen image: try 95%, 100%, etc */
  height: 100%;
  overflow: hidden; 
  border-radius: 0 0 6px 6px;
}

.cnt-img {
  width: 98%;
  height: 92%;
  object-fit: cover;
  display: block;
  
  position: relative;
  top: 0%;

}

#frt {
    margin-top: 22px;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  z-index: 999;
}

.scroll-img-container {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column; /* ✅ image + footer vertically flow karein */
  justify-content: flex-start;
  align-items: center;
}

.scroll-img-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 0px; /* space before footer */
}

.github-footer {
  margin-top: 20px;
  margin-bottom: 20px; 
  font-size: 16px;
  color: #333;
  text-align: center;
  background-color: #f7f7f7;
  padding: 12px 16px;
  border-top: 1px solid #ddd;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  word-break: break-word;
}

.github-footer a {
  color: #007acc;
  text-decoration: none;
  font-weight: 500;
}

.github-footer a:hover {
  text-decoration: underline;
}

 /* .image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.cnt-img {
  width: 100%;
  height: auto;
  display: block;
}  */ 

.contact-links {
  position: absolute;
  top: 64.5%;
  left: 18%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 34px; 
}

.link-item {
  font-size: 26px; 
  font-family: 'Arial', sans-serif;
  color: #333;
  white-space: nowrap;
}

.link-item a {
  text-decoration: none;
  color: #0077b5;
  font-weight: 500;
}

.link-item a:hover {
  text-decoration: underline;
}

/* Responsive tweak (optional) */
/* @media (max-width: 768px) {
  .contact-links {
    left: 10%;
    gap: 45px;
    font-size: 14px;
  }
} */

#big-image {
  width: 100%;
  height: auto;
  min-height: unset;     /* 👈 Remove min-height: 1034px */ 
  object-fit: contain;
  display: block;
  border-radius: 12px;
} 

body.slide-wrapper {
  background-image: url("Elements/Portfolio dark.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;

  opacity: 0;
  transform: translateY(-30px);
  animation: bodySlideFade 1s ease forwards;
  animation-delay: 0.3s;
}
 

@keyframes bodySlideFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}










  