body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.7;
}

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

header {
    background-color: #fff;
    color: #2c3e50;
    padding: 25px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    transition: box-shadow 0.3s ease;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: 700;
    color: #1e3a8a;
}

header:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

main {
    padding: 40px 0;
}

.section {
    background-color: #caebfa;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #1e3a8a;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
    font-weight: 600;
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 15px;
}

#experiencia .experience-item,
#educacion .education-item {
    background-color: #f7fafc;
    border: 1px solid #edf2f7;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.skill-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.skill-item img:hover {
    transform: scale(1.1);
}

.services-list {
    list-style: none;
    padding-left: 0;
    font-size: 1.1em;
    color: #4a5568;
}

.services-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.services-list img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.contact-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-item {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.contact-item img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item a:hover {
    color: #217dbb;
    text-decoration: underline;
}

footer {
    background: #2c3e50;
    color: #6f9dda;
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #34495e;
    margin-top: 40px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

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

    .contact-info {
        flex-direction: column;
    }

    footer {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    header h1 {
      font-size: 1.8em;
      padding: 15px 0;
    }
    .container {
      padding: 0 10px;
    }
    .section {
      padding: 40px 0;
    }
    .section h2 {
      font-size: 1.8em;
      margin-bottom: 20px;
    }
    .skills-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .experience-list,
    .education-list {
      display: block;
    }
    .experience-item,
    .education-item {
      margin: 0 0 20px;
    }
    .contact-info {
      padding: 0;
    }
    .contact-item {
      width: 100%;
    }
  }
  
  @media (min-width: 481px) and (max-width: 1024px) {
    header h1 {
      font-size: 2.2em;
    }
    .skills-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .experience-list,
    .education-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }
    .contact-info {
      flex-direction: row;
      justify-content: space-around;
    }
    .contact-item {
      width: 45%;
    }
  }
  
  @media (min-width: 1025px) {
    .skills-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .experience-list,
    .education-list {
      grid-template-columns: repeat(3, 1fr);
    }
    .contact-info {
      flex-direction: row;
      justify-content: center;
      gap: 40px;
    }
    .contact-item {
      width: auto;
    }
  }
  