:root {
  --primary-color: #6a11cb;
  --secondary-color: #291290;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --skill-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  --text-color: #212529;
  --focus-color: #0d6efd;
  --font-base: 16px;
  --max-content-width: 900px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light-color);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--font-base);
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  overflow-x: hidden; 
}


.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 80px 1rem;
  text-align: center;
  border-radius: 0 0 20px 20px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 100px 0;
  }
}


.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--skill-shadow);
}


.section-card {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  padding: 20px;
  background-color: var(--white);
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
}


.section-title {
  color: var(--primary-color);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1rem;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
}


a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--secondary-color);
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  border-radius: 4px;
}


.social-links a {
  color: var(--white);
  margin: 0 10px;
  font-size: 1.6rem;
}

.social-links a:hover {
  color: #eaeaea;
}


.timeline-item {
  position: relative;
  padding-left: 35px;
  margin-bottom: 25px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 25px;
  width: 2px;
  height: calc(100% - 25px);
  background-color: var(--primary-color);
}

.timeline-item:last-child::after {
  display: none;
}


.skill-icon,
.passion-icon {
  font-size: 2.2rem;
  color: var(--primary-color);
}


.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--secondary-color);
}


.footer-custom {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 1rem 0;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


@media (max-width: 576px) {
  .section-card {
    padding: 15px;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }

  .section-title {
    font-size: 1.2rem;
  }
}
