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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

/* Animated background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #0a0a0a, #1a1a2e, #16213e);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Header */
.header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto; /* Center the hero content block */
  z-index: 2;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 4px;
  animation: pulse 2s infinite;
}

.profile-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 2rem;
  color: #b0b0b0;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  color: #d0d0d0;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* Cards Section */
.cards-section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Navigation Section */
.nav-container {
  max-width: 1000px; /* Widen the container to allow for columns */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsive grid */
  gap: 2rem; /* Control the space between cards */
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(38, 42, 59, 0.5); /* Semi-transparent background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px; /* Slightly more rounded corners */
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px); /* The glassmorphism effect */
  -webkit-backdrop-filter: blur(10px); /* For Safari */
}

.nav-item:hover {
  transform: translateY(-8px) scale(1.03); /* Lift effect */
  background: rgba(48, 52, 79, 0.7);
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(102, 126, 234, 0.3); /* Shadow for depth and glow */
}

.nav-icon {
  font-size: 1.5rem; /* Slightly smaller to fit in the circle */
  margin-right: 1.5rem;
  min-width: 48px; /* New width */
  height: 48px; /* New height */
  border-radius: 50%; /* Make it a circle */
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2),
    rgba(118, 75, 162, 0.2)
  ); /* Subtle gradient background */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9d1f9; /* A lighter color for the icon itself */
}

.nav-content {
  flex: 1;
}

.nav-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
  font-weight: 600;
}

.nav-content p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin: 0;
}

.nav-arrow {
  font-size: 1.2rem;
  color: #667eea;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.nav-item:hover .nav-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* Quick Info Section */
.quick-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 4rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.info-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 600;
}

.info-divider {
  color: #444;
  font-size: 1.2rem;
}

/* Activity Section Styles */
.activity-section {
  padding: 5rem 2rem;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.activity-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-nav-link {
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  text-decoration: none;
  color: #b0b0b0;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.activity-nav-link:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
}

.activity-category {
  margin-bottom: 4rem;
  scroll-margin-top: 100px;
}

.category-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
  display: inline-block;
}

.category-description {
  color: #b0b0b0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.category-description a {
  color: #667eea;
  text-decoration: none;
}

.category-description a:hover {
  text-decoration: underline;
}

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

.project-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.project-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(102, 126, 234, 0.2);
  transform: translateY(-3px);
}

.project-item h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-role {
  color: #667eea;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.project-item p {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.project-link {
  color: #667eea;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  margin-right: 1rem;
}

.project-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.promotion-content {
  display: grid;
  gap: 2rem;
}

.promotion-section h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.activity-list {
  list-style: none;
  padding: 0;
}

.activity-list li {
  color: #b0b0b0;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0.3rem 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(102, 126, 234, 0.2);
  margin-bottom: 0.5rem;
}

.activity-list strong {
  color: #667eea;
}

.volunteer-content {
  max-width: 600px;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.card p {
  color: #b0b0b0;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    max-width: 100%;
  }

  .nav-item {
    padding: 1.2rem 1.5rem;
  }

  .nav-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
  }

  .quick-info {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 3rem;
    padding: 1.5rem;
  }

  .info-divider {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
  }

  .activity-nav {
    flex-direction: column;
    align-items: center;
  }

  .activity-nav-link {
    width: 200px;
    text-align: center;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .category-title {
    font-size: 1.5rem;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  color: #b0b0b0;
  font-size: 28px; /* Replaces width/height for SVG */
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none; /* Ensure no underline on icons */
}

.social-icon:hover {
  color: #667eea;
  transform: translateY(-3px);
}

.location-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: #b0b0b0;
  font-size: 0.9rem;
}

.location-info i {
  color: #667eea;
}

/* Post Content Styles */
.content-section {
  padding: 3rem 2rem;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.content-container h1,
.content-container h2,
.content-container h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.content-container p,
.content-container li {
  /* Apply to paragraphs and list items */
  font-size: 20px;
  line-height: 1.7;
}

.content-container p {
  margin-bottom: 1rem;
}

.content-container ul,
.content-container ol {
  margin-bottom: 1rem; /* Add margin to the lists themselves */
  padding-left: 2rem; /* Indent the lists */
}

.content-container a {
  color: #764ba2;
  text-decoration: underline;
}

/* Syntax Highlighting (Pygments Monokai Theme) */
.content-container .codehilite {
  position: relative; /* For button positioning */
  background: #272822;
  color: #f8f8f2;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1rem;
}
.content-container .codehilite pre {
  line-height: 125%;
  white-space: pre !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.content-container .codehilite .hll {
  background-color: #49483e;
}
.content-container .codehilite .c {
  color: #75715e;
} /* Comment */
.content-container .codehilite .err {
  color: #960050;
  background-color: #1e0010;
} /* Error */
.content-container .codehilite .esc {
  color: #f8f8f2;
} /* Escape */
.content-container .codehilite .g {
  color: #f8f8f2;
} /* Generic */
.content-container .codehilite .k {
  color: #66d9ef;
} /* Keyword */
.content-container .codehilite .l {
  color: #ae81ff;
} /* Literal */
.content-container .codehilite .n {
  color: #f8f8f2;
} /* Name */
.content-container .codehilite .o {
  color: #f92672;
} /* Operator */
.content-container .codehilite .x {
  color: #f8f8f2;
} /* Other */
.content-container .codehilite .p {
  color: #f8f8f2;
} /* Punctuation */
.content-container .codehilite .ch {
  color: #75715e;
} /* Comment.Hashbang */
.content-container .codehilite .cm {
  color: #75715e;
} /* Comment.Multiline */
.content-container .codehilite .cp {
  color: #75715e;
} /* Comment.Preproc */
.content-container .codehilite .cpf {
  color: #75715e;
} /* Comment.PreprocFile */
.content-container .codehilite .c1 {
  color: #75715e;
} /* Comment.Single */
.content-container .codehilite .cs {
  color: #75715e;
} /* Comment.Special */
.content-container .codehilite .gd {
  color: #f92672;
} /* Generic.Deleted */
.content-container .codehilite .ge {
  font-style: italic;
} /* Generic.Emph */
.content-container .codehilite .gi {
  color: #a6e22e;
} /* Generic.Inserted */
.content-container .codehilite .gs {
  font-weight: bold;
} /* Generic.Strong */
.content-container .codehilite .gu {
  color: #75715e;
} /* Generic.Subheading */
.content-container .codehilite .kc {
  color: #66d9ef;
} /* Keyword.Constant */
.content-container .codehilite .kd {
  color: #66d9ef;
} /* Keyword.Declaration */
.content-container .codehilite .kn {
  color: #f92672;
} /* Keyword.Namespace */
.content-container .codehilite .kp {
  color: #66d9ef;
} /* Keyword.Pseudo */
.content-container .codehilite .kr {
  color: #66d9ef;
} /* Keyword.Reserved */
.content-container .codehilite .kt {
  color: #66d9ef;
} /* Keyword.Type */
.content-container .codehilite .ld {
  color: #e6db74;
} /* Literal.Date */
.content-container .codehilite .m {
  color: #ae81ff;
} /* Literal.Number */
.content-container .codehilite .s {
  color: #e6db74;
} /* Literal.String */
.content-container .codehilite .na {
  color: #a6e22e;
} /* Name.Attribute */
.content-container .codehilite .nb {
  color: #f8f8f2;
} /* Name.Builtin */
.content-container .codehilite .nc {
  color: #a6e22e;
} /* Name.Class */
.content-container .codehilite .no {
  color: #66d9ef;
} /* Name.Constant */
.content-container .codehilite .nd {
  color: #a6e22e;
} /* Name.Decorator */
.content-container .codehilite .ni {
  color: #f8f8f2;
} /* Name.Entity */
.content-container .codehilite .ne {
  color: #a6e22e;
} /* Name.Exception */
.content-container .codehilite .nf {
  color: #a6e22e;
} /* Name.Function */
.content-container .codehilite .nl {
  color: #f8f8f2;
} /* Name.Label */
.content-container .codehilite .nn {
  color: #f8f8f2;
} /* Name.Namespace */
.content-container .codehilite .nx {
  color: #a6e22e;
} /* Name.Other */
.content-container .codehilite .py {
  color: #f8f8f2;
} /* Name.Property */
.content-container .codehilite .nt {
  color: #f92672;
} /* Name.Tag */
.content-container .codehilite .nv {
  color: #f8f8f2;
} /* Name.Variable */
.content-container .codehilite .ow {
  color: #f92672;
} /* Operator.Word */
.content-container .codehilite .pm {
  color: #f8f8f2;
} /* Punctuation.Marker */
.content-container .codehilite .w {
  color: #f8f8f2;
} /* Text.Whitespace */
.content-container .codehilite .mb {
  color: #ae81ff;
} /* Literal.Number.Bin */
.content-container .codehilite .mf {
  color: #ae81ff;
} /* Literal.Number.Float */
.content-container .codehilite .mh {
  color: #ae81ff;
} /* Literal.Number.Hex */
.content-container .codehilite .mi {
  color: #ae81ff;
} /* Literal.Number.Integer */
.content-container .codehilite .mo {
  color: #ae81ff;
} /* Literal.Number.Oct */
.content-container .codehilite .sa {
  color: #e6db74;
} /* Literal.String.Affix */
.content-container .codehilite .sb {
  color: #e6db74;
} /* Literal.String.Backtick */
.content-container .codehilite .sc {
  color: #e6db74;
} /* Literal.String.Char */
.content-container .codehilite .dl {
  color: #e6db74;
} /* Literal.String.Delimiter */
.content-container .codehilite .sd {
  color: #e6db74;
} /* Literal.String.Doc */
.content-container .codehilite .s2 {
  color: #e6db74;
} /* Literal.String.Double */
.content-container .codehilite .se {
  color: #ae81ff;
} /* Literal.String.Escape */
.content-container .codehilite .sh {
  color: #e6db74;
} /* Literal.String.Heredoc */
.content-container .codehilite .si {
  color: #e6db74;
} /* Literal.String.Interpol */
.content-container .codehilite .sx {
  color: #e6db74;
} /* Literal.String.Other */
.content-container .codehilite .sr {
  color: #e6db74;
} /* Literal.String.Regex */
.content-container .codehilite .s1 {
  color: #e6db74;
} /* Literal.String.Single */
.content-container .codehilite .ss {
  color: #e6db74;
} /* Literal.String.Symbol */
.content-container .codehilite .bp {
  color: #f8f8f2;
} /* Name.Builtin.Pseudo */
.content-container .codehilite .fm {
  color: #a6e22e;
} /* Name.Function.Magic */
.content-container .codehilite .vc {
  color: #f8f8f2;
} /* Name.Variable.Class */
.content-container .codehilite .vg {
  color: #f8f8f2;
} /* Name.Variable.Global */
.content-container .codehilite .vi {
  color: #f8f8f2;
} /* Name.Variable.Instance */
.content-container .codehilite .vm {
  color: #f8f8f2;
} /* Name.Variable.Magic */
.content-container .codehilite .il {
  color: #ae81ff;
} /* Literal.Number.Integer.Long */

/* Copy Code Button Styles */
.copy-code-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #444;
  color: #eee;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.copy-code-button:hover {
  background-color: #555;
  opacity: 1;
}

.copy-code-button:active {
  background-color: #667eea;
}

/* Post Page Specific Styles */
.post-page-section {
  padding-top: 5rem;
  padding-bottom: 3rem; /* Add space before the footer link */
}

.post-page-section .hero-content {
  text-align: center;
  margin-bottom: 3rem;
}

.cta-section a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.cta-section a:hover {
  color: #667eea;
}

/* Blog Post List Styles */
.post-list-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-list-item {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  padding: 2rem;
  background: rgba(38, 42, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.post-list-item:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(48, 52, 79, 0.7);
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.post-list-content {
  flex: 1;
}

.post-list-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-weight: 600;
}

.post-list-date {
  font-size: 0.9rem;
  color: #b0b0b0;
  margin-bottom: 1rem;
}

.post-list-excerpt {
  font-size: 1rem;
  color: #d0d0d0;
  line-height: 1.6;
}

.post-list-arrow {
  font-size: 1.5rem;
  color: #667eea;
  opacity: 0.6;
  transition: all 0.3s ease;
  margin-left: 2rem;
  padding-top: 0.5rem; /* Align with title */
}

.post-list-item:hover .post-list-arrow {
  opacity: 1;
  transform: translateX(5px);
}

/* Curriculum Deportivo Specific Styles */
.stats-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(38, 42, 59, 0.3);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #667eea;
}

.stat-item p {
  font-size: 0.9rem;
  color: #d0d0d0;
  line-height: 1.4;
}

.stat-item strong {
  color: #ffffff;
}

.timeline h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #667eea;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
  padding-bottom: 0.5rem;
}

.timeline h2 i {
  margin-right: 0.8rem;
  color: #764ba2;
}

.timeline ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.timeline li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #e0e0e0;
  transition: all 0.2s ease;
}

.timeline li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateX(5px);
}

.timeline li i {
  margin-right: 1rem;
  color: #c9d1f9;
  font-size: 1.2rem;
  min-width: 24px; /* Ensure consistent spacing for icons */
  text-align: center;
}

/* Activity Page Specific Styles */
.activity-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Reduced gap for tighter list */
  margin-bottom: 3rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05); /* Slightly more opaque */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(102, 126, 234, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.activity-item-icon {
  font-size: 1.8rem;
  color: #667eea;
  margin-right: 1.5rem;
  min-width: 40px;
  text-align: center;
}

.activity-item-content {
  flex: 1;
}

.activity-item-content strong {
  font-size: 1.1rem;
  color: #ffffff;
  display: block;
  margin-bottom: 0.3rem;
}

.activity-item-content span {
  font-size: 0.95rem;
  color: #d0d0d0;
  line-height: 1.5;
}

.technology-badges {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.technology-badge {
  background: rgba(102, 126, 234, 0.4); /* Increased opacity */
  color: #c9d1f9;
  padding: 0.3rem 0.8rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
  border: 1px solid rgba(102, 126, 234, 0.6); /* Added a subtle border */
  transition: all 0.2s ease; /* Added transition for hover */
}

.technology-badge:hover {
  background: rgba(102, 126, 234, 0.6); /* Darker on hover */
  border-color: rgba(102, 126, 234, 0.8);
}

.activity-item-links {
  margin-top: 0.8rem;
}

.activity-item-links a {
  color: #667eea;
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.activity-item-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.section-icon {
  font-size: 1.5rem;
  margin-right: 0.8rem;
  color: #764ba2;
}

/* Index for activity page */
.content-index {
    background: rgba(255, 255, 255, 0.02); /* More subtle background */
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 12px; /* Match other elements */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle border */
}

.content-index h3 {
    margin-top: 0;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem; /* Slightly smaller */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
}

.content-index ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Display items in a row */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 1rem; /* Space between items */
}

.content-index ul li {
    margin-bottom: 0; /* Remove bottom margin as gap is used */
}

.content-index ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 25px; /* Pill shape */
    font-size: 0.9rem;
}

.content-index ul li a:hover {
    color: #ffffff;
    background: rgba(102, 126, 234, 0.2);
}

.content-index ul li a i {
    margin-right: 0.5rem;
    color: #667eea;
}
