
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --primary-color: #2c3e50;
      --secondary-color: #3498db;
      --accent-color: #e74c3c;
      --success-color: #27ae60;
      --warning-color: #f39c12;
      --text-color: #333;
      --bg-color: #fff;
      --card-bg: #f8f9fa;
      --border-color: #e9ecef;
      --shadow: 0 2px 10px rgba(0,0,0,0.1);
      --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
      --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
      --gradient-warning: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
      color: var(--text-color);
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      min-height: 100vh;
      
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      
    
    }

    /* Header */
    .hero {
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: white;
      padding: 4rem 0;
     
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(30deg, transparent, rgba(255,255,255,0.1), transparent);
      transform: rotate(30deg);
      animation: shine 8s ease-in-out infinite;
    }

    @keyframes shine {
      0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
      50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero-image i {
      font-size: 4rem;
      margin-bottom: 1rem;
      opacity: 0.9;
      animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
    }

    .hero h1 {
      font-size: 3rem;
      margin-bottom: 1rem;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .hero p {
      font-size: 1.2rem;
      opacity: 0.9;
      max-width: 600px;
      margin: 0 auto;
    }

    /* Navigation */
    nav {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      padding: 1rem 0;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .nav-links a {
      color: var(--text-color);
      text-decoration: none;
      font-weight: 500;
      padding: 0.5rem 1rem;
      border-radius: 25px;
      transition: all 0.3s ease;
    }

    .nav-links a:hover, .nav-links a.active {
      background: var(--secondary-color);
      color: white;
      transform: translateY(-2px);
    }

    .nav-controls {
      display: flex;
      gap: 1rem;
    }

    .btn {
      color: white;
      border: none;
      padding: 0.5rem 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.9rem;
    }

    .btn:hover {
      background: var(--primary-color);
      transform: translateY(-2px);
    }

    /* Main Content */
    main {
      background: var(--bg-color);
    

    }

    

    .section h2 {
      font-size: 2.2rem;
      margin-bottom: 2rem;
      text-align: center;
      position: relative;
      color: var(--primary-color);
      text-decoration: none;
    }

    .section h2::after {
     
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background: var(--gradient-primary);
      border-radius: 2px;
      text-decoration: none;
    }

    /* Compact Timeline */
    .timeline-compact {
      position: relative;
      max-width: 1200px;
      margin: 0 auto;
      
    }

    .timeline-compact::before {
      content: '';
      position: absolute;
      left: 30px;
      top: 0;
      bottom: 0;
      width: 3px;
      background: var(--gradient-primary);
      border-radius: 2px;
    }

    .timeline-item-compact {
      position: relative;
      margin-bottom: 2rem;
      padding-left: 70px;
    }

    .final{
      margin-bottom: 150px;
    }

    .timeline-dot-compact {
      position: absolute;
      left: 18px;
      top: 12px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      color: white;
      z-index: 2;
    }

    .timeline-dot-compact.master {
      background: var(--gradient-primary);
    }

    .timeline-dot-compact.degree {
      background: var(--gradient-secondary);
    }

    .timeline-dot-compact.specialization {
      background: var(--gradient-tertiary);
    }

    .timeline-dot-compact.course {
      background: var(--gradient-success);
    }

    .timeline-dot-compact.ongoing {
      background: var(--gradient-warning);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.1); }
    }

    .timeline-content-compact {
      background: white;
      border-radius: 12px;
      padding: 1.2rem;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      border-left: 4px solid transparent;
      
    }

    .timeline-content-compact:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

    .timeline-content-compact.master {
      border-left-color: #667eea;
    }

    .timeline-content-compact.degree {
      border-left-color: #f093fb;
    }

    .timeline-content-compact.specialization {
      border-left-color: #4facfe;
    }

    .timeline-content-compact.course {
      border-left-color: #11998e;
    }

    .timeline-content-compact.ongoing {
      border-left-color: #f39c12;
    }

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

    .education-title {
      flex: 1;
    }

    .education-title h3 {
      color: var(--primary-color);
      font-size: 1.1rem;
      margin-bottom: 0.3rem;
      line-height: 1.3;
    }

    .education-institution {
      color: var(--secondary-color);
      font-size: 0.9rem;
      font-weight: 600;
    }

    .education-period {
      background: #f8f9fa;
      color: #666;
      padding: 0.3rem 0.8rem;
      border-radius: 15px;
      font-size: 0.8rem;
      font-weight: 600;
      white-space: nowrap;
    }

    .education-type {
      display: inline-block;
      padding: 0.2rem 0.6rem;
      border-radius: 10px;
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 0.5rem;
    }

    .education-type.master {
      background: rgba(102, 126, 234, 0.1);
      color: #667eea;
    }

    .education-type.degree {
      background: rgba(240, 147, 251, 0.1);
      color: #f093fb;
    }

    .education-type.specialization {
      background: rgba(79, 172, 254, 0.1);
      color: #4facfe;
    }

    .education-type.course {
      background: rgba(17, 153, 142, 0.1);
      color: #11998e;
    }

    .education-type.ongoing {
      background: rgba(243, 156, 18, 0.1);
      color: #f39c12;
    }

    /* Categories */
    .category-header {
  background: var(--gradient-primary);
  width: 45%;
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  margin: 2rem auto 1.5rem auto; /* Centra horizontalmente */
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}


    .category-header::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
      0% { left: -100%; }
      100% { left: 100%; }
    }

    /* Stats */
    .stats-mini {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 2rem;
}


    .stat-mini {
      background: white;
      border-radius: 12px;
      padding: 1.5rem;
      
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
    }

    .stat-mini:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

    .stat-mini-icon {
      font-size: 2rem;
      margin-bottom: 0.5rem;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .stat-mini-number {
      font-size: 1.8rem;
      font-weight: bold;
      color: var(--primary-color);
      margin-bottom: 0.3rem;
    }

    .stat-mini-label {
      color: #666;
      font-size: 0.9rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.2rem;
      }

      .hero p {
        font-size: 1rem;
      }

      .nav-container {
        justify-content: center;
        flex-direction: column;
      }

      .nav-links {
        gap: 1rem;
        justify-content: center;
      }

      .timeline-item-compact {
        padding-left: 60px;
      }

      .timeline-compact::before {
        left: 25px;
      }

      .timeline-dot-compact {
        left: 13px;
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
      }

      .education-header {
        flex-direction: column;
        align-items: flex-start;
      }

      .stats-mini {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }
  

    .cert-link, .language-item {
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.cert-link:hover, .language-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  color: var(--accent-color);
}

.cert-link:focus, .language-item:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}
