body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  animation: fadeIn 0.8s ease-in;
  background: #f4f6f9;
  min-height: 100vh;
  padding: 60px 20px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}
.cv-container {
  max-width: 850px;
  margin: 0 auto;
  border: none;
  padding: 50px 60px;
  transition: all 0.3s ease;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}
.cv-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: #2c3e50;
  border-radius: 12px 12px 0 0;
}
.cv-container:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
h1 {
  text-align: center;
  margin: 0 0 35px 0;
  font-size: 36px;
  font-weight: 700;
  text-decoration: none;
  animation: slideDown 0.6s ease-out;
  color: #2d3748;
  padding-bottom: 20px;
  border-bottom: 3px solid #2c3e50;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}
h1::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}
h1:hover::after {
  left: 100%;
}
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.top-section {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
.left-info {
  animation: fadeInLeft 0.8s ease-out 0.5s both;
}
.left-info p {
  margin: 10px 0;
  font-size: 15px;
  transition: all 0.3s ease;
  color: #4a5568;
  line-height: 1.8;
  padding: 6px 0 6px 12px;
  border-left: 3px solid transparent;
  border-radius: 2px;
}
.left-info p:hover {
  color: #2d3748;
  border-left-color: #2c3e50;
  padding-left: 16px;
  background: rgba(44, 62, 80, 0.05);
}
.left-info b {
  color: #2d3748;
  font-weight: 600;
  min-width: 100px;
  display: inline-block;
}
.left-info a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}
.left-info a:hover {
  color: #1a202c;
  text-decoration: underline;
}
.photo-box {
  width: 155px;
  height: 155px;
  border: 2px solid #2c3e50;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  background: #fafafa;
  transition: all 0.4s ease;
  overflow: hidden;
  border-radius: 8px;
  animation: fadeInRight 0.8s ease-out 0.5s both;
  position: relative;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.15);
  margin: 0;
}
.photo-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(44, 62, 80, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.photo-box:hover {
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
  transform: scale(1.06) rotate(1deg);
}
.photo-box:hover::before {
  opacity: 1;
}
.photo-box img {
  border-radius: 8px;
  transition: transform 0.4s ease;
}
.photo-box:hover img {
  transform: scale(1.08);
}
.section-title {
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  color: #2d3748;
  padding-bottom: 12px;
  padding-left: 16px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
  animation: fadeInLeft 0.6s ease-out both;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #2c3e50;
  border-radius: 2px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2c3e50;
  transition: width 0.4s ease;
}
.section-title:hover::after {
  width: 100%;
}
.section-title:hover {
  color: #2c3e50;
}
section {
  margin-bottom: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  animation: fadeInUp 0.8s ease-out both;
}
table,
th,
td {
  border: 1px solid #e0e0e0;
}
th {
  padding: 14px 12px;
  text-align: center;
  background: #2c3e50;
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
th::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}
th:hover {
  background: #34495e;
}
th:hover::before {
  left: 100%;
}
td {
  padding: 14px 12px;
  text-align: center;
  transition: all 0.3s ease;
  color: #4a5568;
  position: relative;
  font-size: 14px;
}
tr {
  transition: transform 0.2s ease;
}
tr:hover {
  transform: scale(1.01);
}
tr:hover td {
  background-color: #f8f9fa;
  color: #2d3748;
  box-shadow: inset 0 0 0 1px rgba(44, 62, 80, 0.2);
}
ul {
  margin: 10px 0;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out both;
  list-style: none;
}
li {
  transition: all 0.3s ease;
  padding: 4px 0 4px 0;
  position: relative;
  color: #333;
  border-left: 2px solid transparent;
}
li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #2c3e50;
  transition: width 0.3s ease;
}
li:hover {
  color: #2d3748;
  border-left-color: #2c3e50;
  padding-left: 15px;
  background: rgba(44, 62, 80, 0.05);
}
ul li:hover::before {
  width: 5px;
}
li b {
  color: #2c3e50;
  font-weight: 600;
}
ol {
  list-style: none;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out both;
  counter-reset: item;
  margin: 10px 0;
  padding-left: 0;
}
ol li {
  transition: all 0.3s ease;
  padding: 4px 0 4px 28px;
  position: relative;
  counter-increment: item;
  color: #333;
  border-left: 2px solid transparent;
  padding-left: 28px;
}
ol li:hover {
  color: #2d3748;
  border-left-color: #2c3e50;
  padding-left: 32px;
  background: rgba(44, 62, 80, 0.05);
}
ol li:hover::before {
  color: #2c3e50;
  left: 12px;
}
hr {
  border: none;
  height: 1px;
  background: #e0e0e0;
  margin: 20px 0;
}
p {
  animation: fadeInUp 0.8s ease-out both;
  transition: color 0.3s ease;
  color: #4a5568;
  line-height: 1.8;
}
p:hover {
  color: #2d3748;
}
.social-links {
  margin-top: 10px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.social-links a {
  margin-right: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 25px;
  background: white;
  color: #2c3e50;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}
.social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #2c3e50;
  transition: left 0.3s ease;
  z-index: -1;
}
.social-links a:hover::before {
  left: 0;
}
.social-links a:hover {
  color: white;
  border-color: #2c3e50;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.25);
}

@keyframes slideInProject {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
  animation: slideInProject 0.6s ease-out both;
}

ol li:nth-child(1) .project-item {
  animation-delay: 0.2s;
}

ol li:nth-child(2) .project-item {
  animation-delay: 0.4s;
}

.project-description {
  flex: 1;
  line-height: 1.8;
  transition: color 0.3s ease;
}

ol li:hover .project-description {
  color: #2d3748;
}

.live-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: white;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.live-preview-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #2c3e50;
  transition: left 0.3s ease;
  z-index: -1;
}

.live-preview-link:hover::before {
  left: 0;
}

.live-preview-link:hover {
  color: white;
  border-color: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

.link-arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.live-preview-link:hover .link-arrow {
  transform: translateX(4px);
}
