.cv-download-bar {
  background: linear-gradient(135deg, var(--card-bg) 0%, #1a1a1a 100%);
  padding: 1.5rem 0;
  border-bottom: 2px solid rgba(0, 255, 136, 0.3);
  position: sticky;
  top: 70px;
  z-index: 998;
  text-align: center;
}

.cv-download-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-cv-download {
  background: linear-gradient(135deg, var(--accent) 0%, #00cc6a 100%);
  color: #000;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cv-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6);
}

.cv-download-bar p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.cv-container {
  padding: 2rem 0;
  background: var(--bg);
}

.cv-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cv-header {
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.cv-name-section h1 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-align: center;
}

.cv-title {
  font-size: 1.1rem;
  color: var(--accent2);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.cv-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-item i {
  color: var(--accent);
  width: 20px;
  font-size: 1rem;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--accent2);
}

.cv-section {
  margin-bottom: 2.5rem;
  page-break-inside: avoid;
}

.section-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 255, 136, 0.3);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-title i {
  color: var(--accent2);
  font-size: 1.3rem;
}

.section-content {
  margin-left: 0.5rem;
}

.education-item {
  margin-bottom: 1.5rem;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.item-header h3 {
  color: var(--accent2);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.date {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-head);
  white-space: nowrap;
}

.institution {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.specialization {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
}

.module-list {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.module-list li {
  color: var(--muted);
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.cert-item {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s;
}

.cert-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.cert-item h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cert-org {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.cert-type {
  display: inline-block;
  background: rgba(0, 255, 136, 0.2);
  color: var(--accent2);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.skills-category {
  margin-bottom: 1.5rem;
}

.skills-category h3 {
  color: var(--accent2);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skills-tags span {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 229, 255, 0.15) 100%);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.skills-tags span:hover {
  background: rgba(0, 255, 136, 0.25);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.project-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.project-item:last-child {
  border-bottom: none;
}

.project-item h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-desc {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.tech-used {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-category {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--accent2);
}

.service-category h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-category p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.achievements-list {
  margin-left: 1.5rem;
}

.achievements-list li {
  color: var(--text);
  margin-bottom: 0.8rem;
  line-height: 1.7;
  position: relative;
}

.achievements-list li::marker {
  color: var(--accent);
}

@media print {
  .site-header,
  .cv-download-bar,
  .site-footer {
    display: none !important;
  }

  body {
    background: white;
    color: #000;
  }

  .cv-wrapper {
    box-shadow: none;
    padding: 0;
    max-width: 100%;
  }

  .cv-header {
    page-break-after: avoid;
  }

  .cv-section {
    page-break-inside: avoid;
    margin-bottom: 1.5rem;
  }

  .cert-grid,
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  .section-title {
    border-bottom: 2px solid #000;
    color: #000;
  }

  .skills-tags span {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #000;
  }
}

@media (max-width: 768px) {
  .cv-wrapper {
    padding: 2rem 1.5rem;
  }

  .cv-name-section h1 {
    font-size: 2rem;
  }

  .cv-title {
    font-size: 1rem;
  }

  .cv-contact {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .item-header {
    flex-direction: column;
  }
}

