* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


#navbar {
  background: linear-gradient(135deg, #1976d2, #1565c0);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#navbar.scrolled {
  padding: 5px 0;
  background: rgba(25, 118, 210, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: white;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}


header {
  background: linear-gradient(135deg, #1976d2, #2196f3);
  color: white;
  padding: 150px 0 80px;
  text-align: center;
  margin-top: 60px;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  min-height: 60px;
}

#typing-text::after {
  content: "|";
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

header p {
  font-size: 1.3em;
  margin-bottom: 25px;
}


.cv-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cv-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cv-download {
  background-color: white;
  color: #1976d2;
}

.cv-download:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cv-view {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
  border: 2px solid white;
}

.cv-view:hover {
  background: linear-gradient(135deg, #1976d2, #1565c0);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cv-download:hover svg {
  animation: bounce 0.6s ease infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.cv-view:hover svg {
  animation: pulse 0.8s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}


section {
  padding: 60px 0;
}

section h2 {
  text-align: center;
  color: #1976d2;
  font-size: 2em;
  margin-bottom: 40px;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #666;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
  color: #1976d2;
  margin-bottom: 15px;
}

.about-card h4 {
  color: #1976d2;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1em;
}

.timeline {
  list-style: none;
  padding-left: 0;
}

.timeline li {
  padding: 8px 0;
  border-left: 3px solid #1976d2;
  padding-left: 15px;
  margin-bottom: 10px;
}

.profile-card {
  text-align: center;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 4px solid #1976d2;
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.1) rotate(5deg);
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  margin: 0 10px;
  color: #1976d2;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
  border: 2px solid #1976d2;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #1976d2;
  color: white;
  transform: translateY(-3px);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

table th {
  background: linear-gradient(135deg, #1976d2, #1565c0);
  color: white;
}

table tr {
  transition: background-color 0.3s ease;
}

table tr:hover {
  background-color: #f0f0f0;
}

#skills {
  background: white;
}

.skill-analysis {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.skill-analysis:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.skill-header h3 {
  color: #1976d2;
  font-size: 1.5em;
  margin: 0;
}

.skill-level {
  background: linear-gradient(135deg, #1976d2, #2196f3);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9em;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 25px;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #1976d2, #2196f3);
  transition: width 1s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: white;
  font-weight: bold;
  font-size: 0.8em;
}

.skill-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.skill-block {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #1976d2;
}

.skill-block h4 {
  color: #1976d2;
  margin-bottom: 12px;
  font-size: 1.1em;
}

.skill-block ul {
  list-style: none;
  padding-left: 0;
}

.skill-block ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.skill-block ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1976d2;
  font-weight: bold;
}

.skill-block p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.project-card-detailed {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.project-card-detailed:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card-detailed img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  background: #0a0a0a;
  padding: 20px;
  transition: transform 0.3s ease;
}

.project-card-detailed:hover img {
  transform: scale(1.05);
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  color: #1976d2;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.project-description {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-section {
  margin-bottom: 20px;
}

.project-section h4 {
  color: #1976d2;
  margin-bottom: 10px;
  font-size: 1em;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tech-tag {
  background: linear-gradient(135deg, #1976d2, #2196f3);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: bold;
}

.project-section ul {
  list-style: none;
  padding-left: 0;
}

.project-section ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: #555;
}

.project-section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1976d2;
  font-weight: bold;
  font-size: 1.2em;
}

.project-section p {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.project-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1976d2;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project-date {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.project-date small {
  color: #888;
  font-size: 0.9em;
}


.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #1976d2;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
  font-family: Arial, sans-serif;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #1976d2;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background: linear-gradient(135deg, #1976d2, #1565c0);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


footer {
  background: linear-gradient(135deg, #333, #222);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  margin: 80px auto 50px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  padding: 20px;
  animation: slideIn 0.4s ease;
  min-height: calc(100vh - 130px);
}

@keyframes slideIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cv-image {
  max-width: 700px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  border: 3px solid #1976d2;
}

.modal-download-btn {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-color: #1976d2;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  height: fit-content;
}

.modal-download-btn:hover {
  background-color: #1565c0;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.modal-download-btn svg {
  width: 40px;
  height: 40px;
}

.close-modal {
  position: sticky;
  top: 20px;
  align-self: flex-end;
  margin-left: auto;
  background-color: #d32f2f;
  color: white;
  font-size: 35px;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 10001;
}

.close-modal:hover {
  background-color: #b71c1c;
  transform: rotate(90deg) scale(1.1);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  header {
    padding: 100px 0 60px;
  }

  header h1 {
    font-size: 2em;
  }

  .cv-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .modal-content {
    flex-direction: column;
    margin: 5% auto;
    padding: 20px;
  }

  .cv-image {
    max-width: 90%;
  }

  .close-modal {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .skill-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .skill-content {
    grid-template-columns: 1fr;
  }
}


.like-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #666;
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Arial, sans-serif;
}

.like-button:hover {
  border-color: #ff4757;
  color: #ff4757;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.like-button .heart-icon {
  transition: all 0.3s ease;
}

.like-button:hover .heart-icon {
  stroke: #ff4757;
  transform: scale(1.1);
}


.like-button.liked {
  background: linear-gradient(135deg, #ff4757, #ff6348);
  color: white;
  border-color: #ff4757;
}

.like-button.liked .heart-icon {
  fill: white;
  stroke: white;
  animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.3);
  }
  50% {
    transform: scale(0.9);
  }
  75% {
    transform: scale(1.2);
  }
}


.like-count {
  font-size: 1.1em;
  min-width: 20px;
  text-align: center;
}

.like-button:active {
  transform: scale(0.95);
}


.like-button:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.like-button.liked:hover {
  background: linear-gradient(135deg, #ff6348, #ff4757);
}


@media (max-width: 768px) {
  .like-button {
    width: 100%;
    justify-content: center;
  }
}
:root {
  --primary-red: #dc143c;
  --dark-red: #8b0000;
  --bg-dark: #0a0a0a;
  --bg-dark-2: #1a1a1a;
  --text-light: #e0e0e0;
  --accent-red: #ff0000;
}


body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
  background-attachment: fixed;
}


#navbar {
  background: linear-gradient(135deg, #1a0000, #0a0a0a, #1a0000);
  border-bottom: 2px solid var(--primary-red);
  box-shadow: 0 2px 20px rgba(220, 20, 60, 0.3);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
}

.nav-links a:hover {
  background-color: rgba(220, 20, 60, 0.2);
  color: var(--primary-red);
  border-bottom: 2px solid var(--primary-red);
}


header {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(139, 0, 0, 0.85)),
              url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=1920&q=80') center/cover;
  background-attachment: fixed;
  border-bottom: 3px solid var(--primary-red);
  position: relative;
  overflow: hidden;
}


header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(220, 20, 60, 0.4), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 0, 0, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(220, 20, 60, 0.2), transparent);
  background-size: 200% 200%;
  animation: particlesMove 20s linear infinite;
  pointer-events: none;
}

@keyframes particlesMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

header h1 {
  text-shadow: 
    0 0 10px var(--primary-red),
    0 0 20px var(--dark-red),
    2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #fff;
}


.cv-download {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  color: white;
  border: 2px solid var(--primary-red);
}

.cv-download:hover {
  background: linear-gradient(135deg, var(--dark-red), #000);
  box-shadow: 0 6px 30px rgba(220, 20, 60, 0.5);
}

.cv-view {
  background: transparent;
  color: white;
  border: 2px solid var(--primary-red);
}

.cv-view:hover {
  background: var(--primary-red);
  box-shadow: 0 6px 30px rgba(220, 20, 60, 0.5);
}


section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

section:nth-child(even) {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 50%, var(--bg-dark) 100%);
}

section h2 {
  color: var(--primary-red);
  text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}


.about-card,
.skill-analysis,
.project-card-detailed,
.contact-form {
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  border: 1px solid rgba(220, 20, 60, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  color: var(--text-light);
}

.about-card:hover,
.skill-analysis:hover,
.project-card-detailed:hover {
  border-color: var(--primary-red);
  box-shadow: 0 8px 30px rgba(220, 20, 60, 0.4);
}

.about-card h3,
.about-card h4,
.skill-analysis h3,
.project-content h3 {
  color: var(--primary-red);
  text-shadow: 0 0 5px rgba(220, 20, 60, 0.3);
}

.about-card p,
.skill-analysis p,
.project-description {
  color: #bbb;
}


.profile-img {
  border: 4px solid var(--primary-red);
  box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}


.social-links a {
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.social-links a:hover {
  background-color: var(--primary-red);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}


table {
  background: #0f0f0f;
  border: 1px solid rgba(220, 20, 60, 0.3);
}

table th {
  background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
}

table tr:hover {
  background-color: rgba(220, 20, 60, 0.1);
}

table td {
  border-bottom: 1px solid rgba(220, 20, 60, 0.2);
}


.timeline li {
  border-left: 3px solid var(--primary-red);
  background: rgba(220, 20, 60, 0.05);
}


.progress-bar {
  background: #1a1a1a;
  border: 1px solid rgba(220, 20, 60, 0.3);
}

.progress {
  background: linear-gradient(90deg, var(--dark-red), var(--primary-red), var(--accent-red));
  box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}


.skill-level {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  box-shadow: 0 2px 10px rgba(220, 20, 60, 0.3);
}

.skill-block {
  background: #0f0f0f;
  border-left: 4px solid var(--primary-red);
  border-radius: 8px;
}

.skill-block h4 {
  color: var(--primary-red);
}

.skill-block ul li::before {
  color: var(--primary-red);
}


.tech-tag {
  background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

.project-card-detailed {
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
}

.project-card-detailed img {
  background: #000;
  border: 2px solid rgba(220, 20, 60, 0.3);
}

.project-section {
  border-top: 1px solid rgba(220, 20, 60, 0.2);
}

.project-section h4 {
  color: var(--primary-red);
}

.project-section ul li {
  color: #bbb;
}

.project-section ul li::before {
  color: var(--primary-red);
}


.project-link {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  box-shadow: 0 2px 10px rgba(220, 20, 60, 0.3);
}

.project-link:hover {
  background: linear-gradient(135deg, var(--dark-red), #000);
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.6);
}


.like-button {
  background: #1a1a1a;
  border: 2px solid var(--primary-red);
  color: var(--text-light);
}

.like-button:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
}

.like-button.liked {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}


input,
textarea {
  background: #0f0f0f;
  border: 2px solid rgba(220, 20, 60, 0.3);
  color: var(--text-light);
}

input:focus,
textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

label {
  color: var(--primary-red);
}

button {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

button:hover {
  background: linear-gradient(135deg, var(--dark-red), #000);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}


footer {
  background: linear-gradient(135deg, #000, var(--bg-dark), #000);
  border-top: 2px solid var(--primary-red);
  box-shadow: 0 -2px 20px rgba(220, 20, 60, 0.3);
}


.modal {
  background-color: rgba(0, 0, 0, 0.95);
}

.cv-image {
  border: 3px solid var(--primary-red);
  box-shadow: 0 10px 50px rgba(220, 20, 60, 0.5);
}

.modal-download-btn {
  background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
}

.modal-download-btn:hover {
  background: linear-gradient(135deg, var(--dark-red), #000);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6);
}

.close-modal {
  background-color: var(--primary-red);
  box-shadow: 0 4px 15px rgba(220, 20, 60, 0.5);
}

.close-modal:hover {
  background-color: var(--dark-red);
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-red), var(--dark-red));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red);
}


* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-red) #0a0a0a;
}

#skills-analysis {
  background: var(--bg-dark, #0a0a0a);
  padding: 80px 0;
}

#skills-analysis h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-red, #dc143c);
  font-size: 2.5em;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.2em;
  color: #bbb;
  line-height: 1.6;
}

.skill-analysis {
  background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
  border: 1px solid rgba(220, 20, 60, 0.3);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.skill-analysis:hover {
  border-color: var(--primary-red, #dc143c);
  box-shadow: 0 8px 30px rgba(220, 20, 60, 0.4);
  transform: translateY(-5px);
}

.skill-analysis h3 {
  color: var(--primary-red, #dc143c);
  font-size: 2em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.skill-level {
  display: inline-block;
  background: transparent;
  color: var(--primary-red, #dc143c);
  padding: 8px 0;
  border: none;
  border-bottom: 2px solid var(--primary-red, #dc143c);
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.skill-analysis h4 {
  color: var(--primary-red, #dc143c);
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 15px;
  border-left: 4px solid var(--primary-red, #dc143c);
}

.skill-block {
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(220, 20, 60, 0.3);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.skill-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-block ul li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: #ccc;
  line-height: 1.6;
  border-bottom: 1px solid rgba(220, 20, 60, 0.1);
}

.skill-block ul li:last-child {
  border-bottom: none;
}

.skill-block ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary-red, #dc143c);
  font-weight: bold;
  font-size: 1.2em;
}

.skill-block ul li strong {
  color: var(--primary-red, #dc143c);
}

.progress-container {
  margin: 30px 0;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(220, 20, 60, 0.3);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, var(--dark-red, #8b0000), var(--primary-red, #dc143c), #ff0000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.1em;
  transition: width 1s ease;
  box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
  animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.8);
  }
}

.progress-note {
  margin-top: 15px;
  font-style: italic;
  color: #999;
  padding-left: 20px;
  border-left: 3px solid rgba(220, 20, 60, 0.5);
}

.skills-summary {
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  border: 2px solid var(--primary-red, #dc143c);
  border-radius: 12px;
  padding: 40px;
  margin-top: 60px;
}

.skills-summary h3 {
  color: var(--primary-red, #dc143c);
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.summary-card {
  background: rgba(220, 20, 60, 0.1);
  border: 1px solid rgba(220, 20, 60, 0.3);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.summary-card:hover {
  background: rgba(220, 20, 60, 0.2);
  border-color: var(--primary-red, #dc143c);
  transform: translateY(-5px);
}

.summary-card h4 {
  color: var(--primary-red, #dc143c);
  font-size: 1.3em;
  margin-bottom: 15px;
}

.summary-card p {
  color: #ccc;
  line-height: 1.6;
}


#about table {
  width: 100%;
}

#about table th {
  background: linear-gradient(135deg, var(--dark-red, #8b0000), var(--primary-red, #dc143c));
  padding: 12px;
}

#about table td {
  padding: 12px;
  color: #ccc;
}

#about table tr:hover {
  background-color: rgba(220, 20, 60, 0.1);
}



@media (max-width: 768px) {
  .skill-analysis {
    padding: 25px;
  }
  
  .skill-analysis h3 {
    font-size: 1.5em;
  }
  
  .skill-analysis h4 {
    font-size: 1.2em;
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
  }
  
  .progress {
    font-size: 0.9em;
  }
}