.about {
  background: var(--accent-yellow);
  border: 2px solid var(--border-primary);
  border-radius: 0;
  box-shadow: 9px 9px 0px var(--shadow-primary);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: 'Space Grotesk', sans-serif;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  max-height: none;
  min-height: 50vh;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  padding: 1rem !important;
}

.about .row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}

.about .row .image {
  text-align: center;
  flex: 1 1 35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 400px;
}

.about .row .content {
  flex: 1 1 45rem;
  padding: 2rem;
  padding-bottom: 3rem;
  border: 5px solid var(--border-primary);
  margin: 2rem;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.about .row .content h3 {
  color: var(--text-primary);
  font-size: 4rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about .row .content .tag {
  font-size: 2rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

.about .row .content .tag::before {
  content: "// ";
  color: var(--text-secondary);
}

.about .row .content p {
  font-size: 2rem;
  margin-top: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: none;
  color: var(--text-primary);
  line-height: 1.6;
}

.about .row .content .box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 2rem;
}

.about .row .content .box-container .box {
  background: var(--bg-secondary);
  border: 2px solid var(--border-primary);
  color: var(--text-primary);
  padding: 1.5rem;
  box-shadow: 9px 9px 0px var(--shadow-primary);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s ease,
              border-color 0.2s ease;
  will-change: transform;
}

.about .row .content .box-container .box:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0 0px 0 rgba(0, 0, 0, 0.1);
  border-color: var(--border-primary);
}

.about .row .content .box-container .box p {
  text-transform: none;
  color: var(--text-primary);
  margin: 0;
  font-weight: 400;
}

.about .row .content .box-container .box p span {
  color: var(--text-primary);
  font-weight: 700;
}

.about .row .content .box-container .box a {
  color: var(--text-primary) !important;
}
.resumebtn {
  margin-top: 6rem;
}

.resumebtn .btn {
  padding: 1.8rem 5rem;
  border-radius: 0;
  color: var(--bg-primary);
  background: var(--text-primary);
  border: 3px solid var(--border-primary);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 4px 4px 0px var(--shadow-primary);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s ease,
              background-color 0.2s ease,
              color 0.2s ease;
  will-change: transform;
  cursor: pointer;
}




.resumebtn .btn span {
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 1px;
}

.resumebtn .btn i {
  margin-left: 1rem;
  font-size: 1.4rem;
  transition: transform 0.2s ease;
  will-change: transform;
}

.resumebtn .btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
  transform: scale(1.05);
  box-shadow: 6px 6px 0px var(--shadow-primary);
}

.resumebtn .btn:hover i {
  transform: translateX(4px);
}

.resumebtn .btn:active {
  transform: scale(0.98);
  box-shadow: 2px 2px 0px var(--shadow-primary);
}

/* about media queries starts*/
@media screen and (max-width: 600px) {
  .about {
    padding: 0.5rem !important;
  }
  
  .about .row .image {
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .about .row .image img {
    margin: 0 auto;
    width: 200px;
    mix-blend-mode: normal;
  }
  
  .about .row {
    padding: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .about .row .content {
    padding: 1rem;
    margin: 0.5rem 0;
  }
  
  .about .row .content .box-container {
    gap: 1rem;
  }
}
/* about media queries ends */
/* Single Image Gallery Styles */
.gallery-container {
  position: relative;
  max-width: 35rem;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  border: 6px solid var(--border-primary);
  cursor: grab;
  user-select: none;
  background: var(--text-primary);
  aspect-ratio: 4/5;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s ease;
  will-change: transform;
  box-shadow: 12px 12px 0px var(--shadow-primary);
}

.gallery-container:hover {
  transform: translate(-3px, -3px);
  box-shadow: 15px 15px 0px var(--shadow-primary);
}

.gallery-container:active {
  cursor: grabbing;
  transform: translate(2px, 2px);
  box-shadow: 8px 8px 0px var(--shadow-primary);
}

#gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease;
  will-change: transform, opacity;
}

#gallery-image:hover {
  transform: scale(1.02);
}

/* Fade transition for image changes */
.gallery-container.changing #gallery-image {
  opacity: 0.7;
  transform: scale(0.98);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about .row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .about .row .image {
    padding: 1rem;
    min-height: 300px;
    order: -1;
  }
  
  .about .row .content {
    margin: 1rem 0;
    padding: 1.5rem;
  }
  
  .gallery-container {
    max-width: 30rem;
    margin: 0 auto;
    aspect-ratio: 4/5;
    border: 5px solid #000000;
    box-shadow: 10px 10px 0px #000000;
  }
  
  .gallery-container:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0px #000000;
  }
}

@media (max-width: 600px) {
  .about .row .image {
    padding: 1rem;
    min-height: 250px;
  }
  
  .about .row .content {
    padding: 1rem;
    margin: 0.5rem 0;
  }
  
  .about .row .content .box-container {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .about .row .image {
    min-height: 200px;
    padding: 0.5rem;
  }
  
  .gallery-container {
    max-width: 24rem;
    aspect-ratio: 5/6;
    border: 4px solid #000000;
    box-shadow: 8px 8px 0px #000000;
  }
  
  .gallery-container:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0px #000000;
  }
  
  .about .row .content{
    padding: 3rem;
  }
}

@media (max-width: 360px) {
  .about .row .image {
    min-height: 180px;
  }
  
  .gallery-container {
    max-width: 20rem;
    aspect-ratio: 1/1;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0px #000000;
  }
  
  .gallery-container:hover {
    transform: translate(-1px, -1px);
    box-shadow: 8px 8px 0px #000000;
  }
}

/* Neobrutalism Animations */
@keyframes borderGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0.3;
  }
}
