body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

.container {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 90%;
  max-width: 350px;
  border-width: 12px;
  color: #1D293D;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #d1f2eb;
  padding: 20px;
  border-right: 4px solid #1D293D;
}

.logo {
  font-size: 24px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.nav-links {
  list-style: none;
  padding: 40px;
  font-size: 20px;
  border-bottom: 4px solid #1D293D;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}
.nav-button {
  background-color: transparent;
  color: #1D293D;
  border: 2px solid #1D293D;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: #986735;
  color: #1D293D;
}

.nav-button a {
  all: unset; /* This removes all default styling including color and underline */
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

.nav-button:hover {
  animation: shake 0.4s ease;
}

.resume-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.resume-btn {
  text-decoration: none;
  color: #1D293D;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-weight: 500;
}

.resume-btn:hover {
  background-color: #986735;
  color: #1D293D;
}

.socials a {
  font-size: 24px;
  margin-left: 10px;
  /* justify-content: center;
  display: flex;
  flex-direction: row;
  align-items: center; */
  color: #1D293D;
  margin-right: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #986735;
}

.main {
  flex: 1;
  background: #d1f2eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 50px;
  text-align: center;
}

.image-box {
  position: relative;
  display: inline-block;
  width: 350px;
  height: 350px;
  border: 4px solid #1D293D;
  padding: 10px;
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  border-radius: 8px;
}
.image-box img {
  transition: transform 0.3s ease-in-out;
}

.image-box img:hover {
  transform: scale(1.05) rotate(1deg);
}

/* .paint-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, #986735 40%, transparent 60%);
  animation: paintMove 3s ease-in-out forwards;
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: screen;
  z-index: 2;
  overflow: hidden;
  border-radius: 12px;
}


@keyframes paintMove {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
} */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #fff;
  animation: typing 2s steps(20, end) forwards,  step-end infinite;
  font-size: 2rem;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

.fade-in {
  opacity: 0;
  animation: fadeInText 1s ease-out forwards;
  animation-delay: 1.5s;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #d1f2eb;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  text-align: center;
  max-width: 750px;
  width: 80%;
  max-height: 80vh; /* Controls modal height */
  overflow-y: auto;  /* Enables vertical scroll if content overflows */
}


.hidden {
  display: none;
}

.nav-btn {
  background-color: transparent;
  color: #1D293D;
  border: 2px solid #1D293D;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: #986735;
  color: #1D293D;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #555;
  cursor: pointer;
}
.section-title {
  font-size: 24px;
  color: #1D293D;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #1D293D;
  padding-bottom: 10px;
}

.category {
  margin-bottom: 20px;
  text-align: left;
}

.category h3 {
  font-size: 18px;
  color: #1D293D;
  margin-bottom: 5px;
  font-weight: 600;
  text-transform: uppercase;
}

.category p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}
.sidebar {
  animation: slideInLeft 1s ease forwards;
}

.main {
  animation: fadeInMain 1.2s ease forwards;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes fadeInMain {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
