/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

container p {
    font-size: 1.0em;
}

header {
    background: linear-gradient(to right, #f4f4f9, #adb9be, #8497a0);
    color: black;
    text-align: center;
    padding: 20px 0;
}

header h1 {
    margin: 10px 0;
    font-size: 2.3em;
}

header p {
    font-size: 1.1em;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 3px solid white;
}

nav {
    background-color: #333;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #fdbb2d;
}

section {
    margin: 20px 0;
}

h2 {
    color: #162358;
    border-bottom: 2px solid #8a8b8b;
    padding-bottom: 10px;
    font-size: 1.3em;
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    
    .container {
        width: 92%;
        padding-right: 5%;
    }

    header h1 {
        font-size: 2em; /* Reducimos el tamaño del título */
    }

    header p {
        font-size: 1em; /* Reducimos el tamaño del subtítulo */
    }

    .profile-img {
        width: 300px; /* Reducimos el tamaño de la imagen de perfil */
        height: 300px;
    }

    nav ul li {
        display: block; /* Cambiamos a un menú vertical */
        margin: 10px 0;
    }

    section {
        margin: 10px 0; /* Reducimos el margen entre secciones */
    }

    h2 {
        font-size: 1.3em; /* Reducimos el tamaño de los títulos de sección */
    }
}

@media (max-width: 480px) {
    .container {
        width: 92%;
        padding-right: 5%;
    }
    header h1 {
        font-size: 1.5em; /* Ajustamos el título para pantallas muy pequeñas */
    }

    header p {
        font-size: 0.9em; /* Ajustamos el subtítulo */
    }

    .profile-img {
        width: 200px; /* Hacemos la imagen de perfil aún más pequeña */
        height: 200px;
    }

    nav ul li a {
        font-size: 0.9em; /* Reducimos el tamaño de los enlaces del menú */
    }
}
/* Estilos para el enlace de descarga */
.download-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #1a2a6c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.download-link:hover {
    background-color: #fdbb2d;
    color: #1a2a6c;
}
/* Estilos para el botón de LinkedIn */
.linkedin-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0077b5; /* Color oficial de LinkedIn */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.linkedin-button:hover {
    background-color: #005582; /* Un tono más oscuro para el hover */
}




.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  
  margin: 0 auto;
  padding: 20px;
  
}



.feature-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.feature-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card h2 i {
    font-size: inherit;  /* Hereda el tamaño del h2 */
    color: inherit;      /* Hereda el color del h2 */
    margin-right: 8px;   /* Espacio entre el icono y el texto */
    vertical-align: top;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: black;
  text-align: left;
}


.feature-card h5 {
  margin: 8px 0;
  font-weight: normal;
  color: #555;
}

.feature-card p {
  color:  #5d5e5f;
  text-align: left;
  font-size: 0.9rem;
  
}

.profile-card {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  transition: transform 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #b1b3b4;
  margin-bottom: 15px;
}

.profile-card h2 {
  margin: 0;
  font-size: 1.6em;
  color: #010866;
}

.profile-card h4 {
  margin: 8px 0;
  font-weight: normal;
  color: #555;
}

.profile-card p {
  font-size: 0.95em;
  text-align: justify;
  line-height: 1.5;
  color: #444;
  margin-top: 10px;
}

/* Responsive design */
@media screen and (max-width: 480px) {
  .profile-card {
    margin: 20px;
    padding: 15px;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
  }

  .profile-card h2 {
    font-size: 1.4em;
  }

  .profile-card p {
    font-size: 0.9em;
  }
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin: 40px auto 20px;
  max-width: 400px;
  padding: 0 10px;
  flex-wrap: wrap;
  gap: 10px;
}

/* Estilo base de los botones */
.btn-nav {
  flex: 1 1 45%;
  background-color: #1788f8;
  color: #fff;
  padding: 10px 15px;
  border-radius: 30px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

/* Hover para desktop */
.btn-nav:hover {
  background-color: #005f91;
}

/* RESPONSIVE para pantallas pequeñas */
@media screen and (max-width: 480px) {
  .nav-buttons {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 0 20px;
  }

  .btn-nav {
    flex: 1 1 100%;
    font-size: 0.9em;
    padding: 12px 20px;
  }
}

